UNPKG

@incdevco/framework

Version:
480 lines (377 loc) 8.17 kB
/* global angular */ angular.module('icon', []) .directive('iconAdd', [ function () { return { link: function ($scope) { $scope.modern = $scope.modern || false; }, replace: true, restrict: 'E', scope: { modern: '=' }, templateUrl: 'icon/templates/add.html' }; } ]) .directive('iconAddBox', [ function () { return { link: function ($scope) { $scope.modern = $scope.modern || false; }, replace: true, restrict: 'E', scope: { modern: '=' }, templateUrl: 'icon/templates/add-box.html' }; } ]) .directive('iconAddCircle', [ function () { return { link: function ($scope) { $scope.modern = $scope.modern || false; }, replace: true, restrict: 'E', scope: { modern: '=' }, templateUrl: 'icon/templates/add-circle.html' }; } ]) .directive('iconAddCircleOutline', [ function () { return { link: function ($scope) { $scope.modern = $scope.modern || false; }, replace: true, restrict: 'E', scope: { modern: '=' }, templateUrl: 'icon/templates/add-circle-outline.html' }; } ]) .directive('iconClear', [ function () { return { link: function ($scope) { $scope.modern = $scope.modern || false; }, replace: true, restrict: 'E', scope: { modern: '=' }, templateUrl: 'icon/templates/clear.html' }; } ]) .directive('iconClearAll', [ function () { return { link: function ($scope) { $scope.modern = $scope.modern || false; }, replace: true, restrict: 'E', scope: { modern: '=' }, templateUrl: 'icon/templates/clear-all.html' }; } ]) .directive('iconClose', [ function () { return { link: function ($scope) { $scope.modern = $scope.modern || false; }, replace: true, restrict: 'E', scope: { modern: '=' }, templateUrl: 'icon/templates/close.html' }; } ]) .directive('iconCloudDone', [ function () { return { link: function ($scope) { $scope.modern = $scope.modern || false; }, replace: true, restrict: 'E', scope: { modern: '=' }, templateUrl: 'icon/templates/cloud-done.html' }; } ]) .directive('iconDelete', [ function () { return { link: function ($scope) { $scope.modern = $scope.modern || false; }, replace: true, restrict: 'E', scope: { modern: '=' }, templateUrl: 'icon/templates/delete.html' }; } ]) .directive('iconDone', [ function () { return { link: function ($scope) { $scope.modern = $scope.modern || false; }, replace: true, restrict: 'E', scope: { modern: '=' }, templateUrl: 'icon/templates/done.html' }; } ]) .directive('iconDoneAll', [ function () { return { link: function ($scope) { $scope.modern = $scope.modern || false; }, replace: true, restrict: 'E', scope: { modern: '=' }, templateUrl: 'icon/templates/done-all.html' }; } ]) .directive('iconEdit', [ function () { return { link: function ($scope) { $scope.modern = $scope.modern || false; }, replace: true, restrict: 'E', scope: { modern: '=' }, templateUrl: 'icon/templates/edit.html' }; } ]) .directive('iconExpandLess', [ function () { return { link: function ($scope) { $scope.modern = $scope.modern || false; }, replace: true, restrict: 'E', scope: { modern: '=' }, templateUrl: 'icon/templates/expand-less.html' }; } ]) .directive('iconExpandMore', [ function () { return { link: function ($scope) { $scope.modern = $scope.modern || false; }, replace: true, restrict: 'E', scope: { modern: '=' }, templateUrl: 'icon/templates/expand-more.html' }; } ]) .directive('iconInput', [ function () { return { link: function ($scope) { $scope.modern = $scope.modern || false; }, replace: true, restrict: 'E', scope: { modern: '=' }, templateUrl: 'icon/templates/input.html' }; } ]) .directive('iconLibraryAdd', [ function () { return { link: function ($scope) { $scope.modern = $scope.modern || false; }, replace: true, restrict: 'E', scope: { modern: '=' }, templateUrl: 'icon/templates/library-add.html' }; } ]) .directive('iconMinus', [ function () { return { link: function ($scope) { $scope.modern = $scope.modern || false; }, replace: true, restrict: 'E', scope: { modern: '=' }, templateUrl: 'icon/templates/remove.html' }; } ]) .directive('iconOpacity', [ function () { return { link: function ($scope) { $scope.modern = $scope.modern || false; }, replace: true, restrict: 'E', scope: { modern: '=' }, templateUrl: 'icon/templates/opacity.html' }; } ]) .directive('iconRefresh', [ function () { return { link: function ($scope) { $scope.modern = $scope.modern || false; }, replace: true, restrict: 'E', scope: { modern: '=' }, templateUrl: 'icon/templates/refresh.html' }; } ]) .directive('iconRemove', [ function () { return { link: function ($scope) { $scope.modern = $scope.modern || false; }, replace: true, restrict: 'E', scope: { modern: '=' }, templateUrl: 'icon/templates/remove.html' }; } ]) .directive('iconRemoveCircle', [ function () { return { link: function ($scope) { $scope.modern = $scope.modern || false; }, replace: true, restrict: 'E', scope: { modern: '=' }, templateUrl: 'icon/templates/remove-circle.html' }; } ]) .directive('iconRemoveCircleOutline', [ function () { return { link: function ($scope) { $scope.modern = $scope.modern || false; }, replace: true, restrict: 'E', scope: { modern: '=' }, templateUrl: 'icon/templates/remove-circle-outline.html' }; } ]) .directive('iconReport', [ function () { return { link: function ($scope) { $scope.modern = $scope.modern || false; }, replace: true, restrict: 'E', scope: { modern: '=' }, templateUrl: 'icon/templates/report.html' }; } ]) .directive('iconSubtract', [ function () { return { link: function ($scope) { $scope.modern = $scope.modern || false; }, replace: true, restrict: 'E', scope: { modern: '=' }, templateUrl: 'icon/templates/remove.html' }; } ]) .directive('iconUpdate', [ function () { return { link: function ($scope) { $scope.modern = $scope.modern || false; }, replace: true, restrict: 'E', scope: { modern: '=' }, templateUrl: 'icon/templates/edit.html' }; } ]);