-
Notifications
You must be signed in to change notification settings - Fork 1
/
cat-angular.tpl.min.js.map
1 lines (1 loc) · 18.8 KB
/
cat-angular.tpl.min.js.map
1
{"version":3,"sources":["src/tpl-header.js.tpl","src/template/cat-base-additional-details-tabs-view.tpl.js","src/template/cat-base-detail.tpl.js","src/template/cat-base-list.tpl.js","src/template/cat-breadcrumbs.tpl.js","src/template/cat-facets.tpl.js","src/template/cat-field-errors-info.tpl.js","src/template/cat-field-errors.tpl.js","src/template/cat-global-errors.tpl.js","src/template/cat-input.tpl.js","src/template/cat-main-menu.tpl.js","src/template/cat-messages.tpl.js","src/template/cat-paginated.tpl.js","src/uib/template/tabs/tabset.js","src/tpl-footer.js.tpl"],"names":["angular","module","run","$templateCache","put","window"],"mappings":";;;;;;;;;;;;;;;CAeA,SAAAA,SACA,YAEAA,SAAAC,OAAA,gBAAA,sBClBAD,QAAQC,OAAO,gBAAgBC,KAAK,iBAAkB,SAASC,gBAC7DA,eAAeC,IAAI,0DACjB,ufCFJJ,QAAQC,OAAO,gBAAgBC,KAAK,iBAAkB,SAASC,gBAC7DA,eAAeC,IAAI,oCACjB,89FCFJJ,QAAQC,OAAO,gBAAgBC,KAAK,iBAAkB,SAASC,gBAC7DA,eAAeC,IAAI,kCACjB,0lBCFJJ,QAAQC,OAAO,gBAAgBC,KAAK,iBAAkB,SAASC,gBAC7DA,eAAeC,IAAI,oCACjB,4YCFJJ,QAAQC,OAAO,gBAAgBC,KAAK,iBAAkB,SAASC,gBAC7DA,eAAeC,IAAI,+BACjB,kqBCFJJ,QAAQC,OAAO,gBAAgBC,KAAK,iBAAkB,SAASC,gBAC7DA,eAAeC,IAAI,0CACjB,4JCFJJ,QAAQC,OAAO,gBAAgBC,KAAK,iBAAkB,SAASC,gBAC7DA,eAAeC,IAAI,qCACjB,qLCFJJ,QAAQC,OAAO,gBAAgBC,KAAK,iBAAkB,SAASC,gBAC7DA,eAAeC,IAAI,sCACjB,+QCFJJ,QAAQC,OAAO,gBAAgBC,KAAK,iBAAkB,SAASC,gBAC7DA,eAAeC,IAAI,8BACjB,sPCFJJ,QAAQC,OAAO,gBAAgBC,KAAK,iBAAkB,SAASC,gBAC7DA,eAAeC,IAAI,kCACjB,+sECFJJ,QAAQC,OAAO,gBAAgBC,KAAK,iBAAkB,SAASC,gBAC7DA,eAAeC,IAAI,iCACjB,wzBCFJJ,QAAQC,OAAO,gBAAgBC,KAAK,iBAAkB,SAASC,gBAC7DA,eAAeC,IAAI,kCACjB,6tECFJJ,QAAQC,OAAO,gBAAgBC,KAAK,iBAAkB,SAASC,gBAC7DA,eAAeC,IAAI,gCACjB,yeCFJC,OAAAL","file":"cat-angular.tpl.min.js","sourcesContent":["/*!\r\n Copyright 2014-2015 the original author or authors.\r\n\r\n Licensed under the Apache License, Version 2.0 (the \"License\");\r\n you may not use this file except in compliance with the License.\r\n You may obtain a copy of the License at\r\n\r\n http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n Unless required by applicable law or agreed to in writing, software\r\n distributed under the License is distributed on an \"AS IS\" BASIS,\r\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n See the License for the specific language governing permissions and\r\n limitations under the License.\r\n */\r\n(function (angular) {\r\n 'use strict';\r\n\r\n angular.module('cat.template', ['ui.bootstrap.tpls']);","angular.module('cat.template').run(['$templateCache', function($templateCache) {\n $templateCache.put('template/cat-base-additional-details-tabs-view.tpl.html',\n '<uib-tabset vertical=\"true\" type=\"pills\">\\n' +\n ' <uib-tab active=\"activeTab[tab.name]\" select=\"selectTab(tab.name)\" ng-repeat=\"tab in tabs\">\\n' +\n ' <uib-tab-heading>\\n' +\n ' <span ng-if=\"tab.icon\" ng-class=\"\\'glyphicon glyphicon-\\'+tab.icon\"></span> <span\\n' +\n ' cat-i18n=\"{{getTabKey(tab.name)}}\">{{getTabName(tab.name)}}</span>\\n' +\n ' </uib-tab-heading>\\n' +\n ' <div ng-include=\"getTabTemplate(tab.name)\" ng-controller=\"tabController\"></div>\\n' +\n ' </uib-tab>\\n' +\n '</uib-tabset>\\n' +\n '\\n' +\n '');\n}]);\n","angular.module('cat.template').run(['$templateCache', function($templateCache) {\n $templateCache.put('template/cat-base-detail.tpl.html',\n '<div ng-repeat=\"parent in uiStack\" class=\"alert alert-info\"><a ng-href=\"{{parent.url}}\">\\n' +\n ' {{parent.title}}\\n' +\n '</a></div>\\n' +\n '\\n' +\n '<div class=\"panel panel-default\">\\n' +\n ' <div class=\"panel-heading\">\\n' +\n ' <div class=\"pull-right edit-buttons\" ng-if=\"!editDetail && !!editTemplate\">\\n' +\n ' <div class=\"btn-group\">\\n' +\n ' <button type=\"button\" class=\"btn btn-xs btn-default\" cat-confirm-click cat-on-confirm=\"remove()\"\\n' +\n ' cat-element-visible=\"cat.base.delete\" cat-element-data=\"config\">\\n' +\n ' <span cat-icon=\"remove\" size=\"xs\"></span>\\n' +\n ' <span cat-i18n=\"cc.catalysts.general.delete\">Delete</span>\\n' +\n ' </button>\\n' +\n ' <button type=\"button\" class=\"btn btn-xs btn-default\" cat-confirm-click cat-on-confirm=\"copy()\"\\n' +\n ' cat-element-visible=\"cat.base.copy\" cat-element-data=\"config\">\\n' +\n ' <span class=\"glyphicon glyphicon-duplicate\"></span>\\n' +\n ' <span cat-i18n=\"cc.catalysts.general.copy\">Copy</span>\\n' +\n ' </button>\\n' +\n ' <button type=\"button\" class=\"btn btn-xs btn-default\" ng-click=\"edit()\"\\n' +\n ' cat-element-visible=\"cat.base.edit\" cat-element-data=\"config\"\\n' +\n ' cat-activate-on-shortcut=\"alt+e\"><span cat-icon=\"edit\" size=\"xs\"></span>\\n' +\n ' <span cat-i18n=\"cc.catalysts.general.edit\">Edit</span>\\n' +\n ' </button>\\n' +\n ' </div>\\n' +\n ' \\n' +\n ' <a ui-sref=\"^.detail({id: \\'new\\'})\" class=\"btn btn-xs btn-default\"\\n' +\n ' cat-element-visible=\"cat.base.new\" cat-element-data=\"config\">\\n' +\n ' <span cat-icon=\"create\" size=\"xs\"></span>\\n' +\n ' <span cat-i18n=\"cc.catalysts.general.new\">New</span></a>\\n' +\n ' </div>\\n' +\n ' <h5 ng-if=\"exists\">{{title()}}</h5>\\n' +\n ' <h5 ng-if=\"!exists\" cat-i18n=\"cc.catalysts.general.new\">New</h5>\\n' +\n ' </div>\\n' +\n ' <!-- create form element if editing -->\\n' +\n ' <div class=\"panel-body\">\\n' +\n ' <form name=\"form\" novalidate class=\"form-horizontal\"\\n' +\n ' ng-if=\"!!editDetail && !!editTemplate\">\\n' +\n ' <div ng-include=\"editTemplate\"></div>\\n' +\n ' </form>\\n' +\n '\\n' +\n ' <div ng-include=\"mainViewTemplate\" ng-if=\"!editDetail\"></div>\\n' +\n ' </div>\\n' +\n ' <div class=\"panel-footer text-right\" ng-if=\"!!editDetail\">\\n' +\n ' <button type=\"button\" class=\"btn btn-xs btn-default\" ng-click=\"cancelEdit()\"\\n' +\n ' cat-activate-on-shortcut=\"alt+esc\"><span class=\"glyphicon glyphicon-remove\"></span>\\n' +\n ' <span cat-i18n=\"cc.catalysts.general.cancel\">Cancel</span>\\n' +\n ' </button>\\n' +\n ' <button type=\"submit\" class=\"btn btn-xs btn-primary\" ng-click=\"save()\"\\n' +\n ' ng-disabled=\"form.$pristine\"><span class=\"glyphicon glyphicon-floppy-disk\"></span>\\n' +\n ' <span cat-i18n=\"cc.catalysts.general.save\">Save</span>\\n' +\n ' </button>\\n' +\n ' </div>\\n' +\n '</div>\\n' +\n '<div ng-if=\"!editDetail && !!additionalViewTemplate\" ng-include=\"additionalViewTemplate\"\\n' +\n ' ng-controller=\"baseTabsController\"></div>');\n}]);\n","angular.module('cat.template').run(['$templateCache', function($templateCache) {\n $templateCache.put('template/cat-base-list.tpl.html',\n '<h2>\\n' +\n ' <span cat-i18n=\"{{catBaseListController.titleKey}}\">{{catBaseListController.title}}</span>\\n' +\n ' <a class=\"btn btn-primary pull-right\" ui-sref=\"{{catBaseListController.config.name}}.detail({id: \\'new\\'})\"\\n' +\n ' cat-element-visible=\"cat.base.new\" cat-element-data=\"catBaseListController.config\">\\n' +\n ' <span cat-icon=\"create\"></span> <span cat-i18n=\"cc.catalysts.general.new\">New</span>\\n' +\n ' </a>\\n' +\n '</h2>\\n' +\n '\\n' +\n '<cat-paginated search-props=\"{{catBaseListController.searchProps}}\">\\n' +\n ' <ng-include src=\"catBaseListController.config.listTemplateUrl\"></ng-include>\\n' +\n '</cat-paginated>\\n' +\n '');\n}]);\n","angular.module('cat.template').run(['$templateCache', function($templateCache) {\n $templateCache.put('template/cat-breadcrumbs.tpl.html',\n '<ol class=\"breadcrumb\">\\n' +\n ' <li ng-if=\"showHome()\"><a ui-sref=\"{{homeState}}\" cat-i18n=\"cc.catalysts.cat-breadcrumbs.entry.home\">Home</a></li>\\n' +\n ' <li ng-class=\"{\\'active\\':$last}\" ng-repeat=\"bc in breadcrumbs\">\\n' +\n ' <a ng-if=\"!$last\" ng-href=\"{{bc.url}}\" cat-i18n=\"{{bc.key}}\">{{bc.title}}</a>\\n' +\n ' <span ng-if=\"$last\" cat-i18n=\"{{bc.key}}\">{{bc.title}}</span>\\n' +\n ' </li>\\n' +\n '</ol>');\n}]);\n","angular.module('cat.template').run(['$templateCache', function($templateCache) {\n $templateCache.put('template/cat-facets.tpl.html',\n '<div>\\n' +\n ' <ul class=\"nav\">\\n' +\n ' <li ng-repeat=\"facet in listData.facets\" ng-if=\"listData.facets\" ng-init=\"initFacets()\">\\n' +\n ' <label cat-i18n=\"{{\\'cc.catalysts.cat-facets.facet.\\'+facet.name}}\" i18n-params=\"{facet: facet}\">{{facetName(facet)}}</label>\\n' +\n ' <select class=\"form-control\" ui-select2=\"facetSelectOptions\" ng-model=\"facets[facet.name]\"\\n' +\n ' ng-change=\"facetChanged(facet)\">\\n' +\n ' <option></option>\\n' +\n ' <option ng-repeat=\"term in facet.terms\" value=\"{{term.id}}\">{{term.name}} ({{term.count}})\\n' +\n ' </option>\\n' +\n ' </select>\\n' +\n ' <br>\\n' +\n ' </li>\\n' +\n ' </ul>\\n' +\n '</div>');\n}]);\n","angular.module('cat.template').run(['$templateCache', function($templateCache) {\n $templateCache.put('template/cat-field-errors-info.tpl.html',\n '<div class=\"alert alert-danger\" ng-show=\"catFieldErrorsInfo.hasErrors()\">\\n' +\n ' <div cat-i18n=\"cc.catalysts.cat-field-errors-info.text\"></div>\\n' +\n '</div>');\n}]);\n","angular.module('cat.template').run(['$templateCache', function($templateCache) {\n $templateCache.put('template/cat-field-errors.tpl.html',\n '<div class=\"label label-danger\" ng-show=\"catFieldErrors.hasErrors()\">\\n' +\n ' <ul>\\n' +\n ' <li ng-repeat=\"error in catFieldErrors.getErrors()\">{{error}}</li>\\n' +\n ' </ul>\\n' +\n '</div>');\n}]);\n","angular.module('cat.template').run(['$templateCache', function($templateCache) {\n $templateCache.put('template/cat-global-errors.tpl.html',\n '<div class=\"alert alert-danger\" ng-show=\"catGlobalErrors.hasErrors()\">\\n' +\n ' <ul ng-class=\"catGlobalErrors.getErrors().length === 1 ? \\'list-unstyled unstyled\\' : \\'\\'\">\\n' +\n ' <li ng-repeat=\"error in catGlobalErrors.getErrors()\">{{error}}</li>\\n' +\n ' </ul>\\n' +\n '</div>');\n}]);\n","angular.module('cat.template').run(['$templateCache', function($templateCache) {\n $templateCache.put('template/cat-input.tpl.html',\n '<label class=\"col-sm-2 control-label\" for=\"{{name}}\" cat-i18n=\"{{catI18nKey}}\">{{label}}</label>\\n' +\n '<div class=\"col-sm-10\">\\n' +\n ' <div ng-transclude class=\"cat-input\"></div>\\n' +\n ' <cat-field-errors name=\"{{name}}\"></cat-field-errors>\\n' +\n '</div>\\n' +\n '');\n}]);\n","angular.module('cat.template').run(['$templateCache', function($templateCache) {\n $templateCache.put('template/cat-main-menu.tpl.html',\n '<ul class=\"nav navbar-nav\">\\n' +\n ' <li class=\"dropdown\" ng-repeat=\"menu in getMenus()\" uib-dropdown=\"\">\\n' +\n ' <a href=\"\" class=\"dropdown-toggle\" ng-if=\"isVisible(menu)\" uib-dropdown-toggle=\"\">\\n' +\n ' <span cat-i18n=\"cc.catalysts.cat-menu.menu.{{menu.completeId}}\">{{menu.getOptions().name}}</span>\\n' +\n ' <b class=\"caret\"></b>\\n' +\n ' </a>\\n' +\n ' <ul class=\"dropdown-menu\" uib-dropdown-menu=\"\" ng-if=\"isVisible(menu)\">\\n' +\n ' <li ng-repeat=\"entry in menu.getFlattened() track by entry.id\" ng-if=\"isVisible(entry)\"\\n' +\n ' ng-class=\"{\\'dropdown-header\\': entry.isGroup() && !entry.isSubMenu(), \\'dropdown dropdown-submenu\\' : entry.isSubMenu()}\">\\n' +\n ' <a ng-if=\"!entry.isGroup()\" ng-href=\"#{{entry.getOptions().path}}\">\\n' +\n ' <span cat-i18n=\"cc.catalysts.cat-menu.entry.{{entry.completeId}}\">{{entry.getOptions().name}}</span>\\n' +\n ' <span ng-if=\"entry.getOptions().keymap\" class=\"text-muted\">{{entry.getOptions().keymap}}</span>\\n' +\n ' </a>\\n' +\n ' <span ng-if=\"entry.isGroup() && !entry.isSubMenu()\"\\n' +\n ' cat-i18n=\"cc.catalysts.cat-menu.group.{{entry.completeId}}\">\\n' +\n ' {{entry.getOptions().name}}\\n' +\n ' </span>\\n' +\n ' <a ng-if=\"isVisible(entry) && entry.isGroup() && entry.isSubMenu()\" href=\"\" class=\"dropdown-toggle\"\\n' +\n ' data-toggle=\"dropdown\">\\n' +\n ' <span cat-i18n=\"cc.catalysts.cat-menu.group.{{entry.completeId}}\">{{entry.getOptions().name}}</span>\\n' +\n ' <ul ng-if=\"isVisible(entry) && entry.isGroup() && entry.isSubMenu()\" class=\"dropdown-menu\" uib-dropdown-menu=\"\">\\n' +\n ' <li ng-repeat=\"entry in entry.subEntries track by entry.id\" ng-if=\"isVisible(entry)\">\\n' +\n ' <a ng-href=\"#{{entry.getOptions().path}}\" ng-if=\"!entry.isGroup()\">\\n' +\n ' <span cat-i18n=\"cc.catalysts.cat-menu.entry.{{entry.completeId}}\">\\n' +\n ' {{entry.getOptions().name}}\\n' +\n ' </span>\\n' +\n ' </a>\\n' +\n ' </li>\\n' +\n ' </ul>\\n' +\n ' </a>\\n' +\n ' </li>\\n' +\n ' </ul>\\n' +\n ' </li>\\n' +\n '</ul>\\n' +\n '');\n}]);\n","angular.module('cat.template').run(['$templateCache', function($templateCache) {\n $templateCache.put('template/cat-messages.tpl.html',\n '<div class=\"global-messages\">\\n' +\n ' <div class=\"alert alert-success\" ng-if=\"type === \\'success\\' && hasMessages()\">\\n' +\n ' <ul>\\n' +\n ' <li ng-repeat=\"message in getMessages()\">{{message}}</li>\\n' +\n ' </ul>\\n' +\n ' </div>\\n' +\n ' <div class=\"alert alert-danger\" ng-if=\"type === \\'error\\' && hasMessages()\">\\n' +\n ' <ul>\\n' +\n ' <li ng-repeat=\"message in getMessages()\">{{message}}</li>\\n' +\n ' </ul>\\n' +\n ' </div>\\n' +\n ' <div class=\"alert alert-info\" ng-if=\"type === \\'info\\' && hasMessages()\">\\n' +\n ' <ul>\\n' +\n ' <li ng-repeat=\"message in getMessages()\">{{message}}</li>\\n' +\n ' </ul>\\n' +\n ' </div>\\n' +\n ' <div class=\"alert alert-warning\" ng-if=\"type === \\'warning\\' && hasMessages()\">\\n' +\n ' <ul>\\n' +\n ' <li ng-repeat=\"message in getMessages()\">{{message}}></li>\\n' +\n ' </ul>\\n' +\n ' </div>\\n' +\n '</div>');\n}]);\n","angular.module('cat.template').run(['$templateCache', function($templateCache) {\n $templateCache.put('template/cat-paginated.tpl.html',\n '<div ng-cloak>\\n' +\n ' <div ng-if=\"searchProps\" class=\"row search\">\\n' +\n ' <div class=\"col-sm-3 pull-right\" ng-repeat=\"prop in searchProps\">\\n' +\n ' <input class=\"form-control\" placeholder=\"{{searchPropertyPlaceholders[prop]}}\"\\n' +\n ' ng-model=\"listData.search[prop]\">\\n' +\n ' </div>\\n' +\n ' </div>\\n' +\n ' <div class=\"text-center\" ng-if=\"!listData.isSinglePageList && listData.count !== 0\">\\n' +\n ' <uib-pagination total-items=\"listData.count\" items-per-page=\"listData.pagination.size\"\\n' +\n ' ng-model=\"listData.pagination.page\" max-size=\"10\"\\n' +\n ' class=\"pagination-sm\" boundary-links=\"true\" rotate=\"false\"\\n' +\n ' previous-text=\"{{paginationText.previous}}\"\\n' +\n ' next-text=\"{{paginationText.next}}\"\\n' +\n ' first-text=\"{{paginationText.first}}\"\\n' +\n ' last-text=\"{{paginationText.last}}\">\\n' +\n ' </uib-pagination>\\n' +\n ' </div>\\n' +\n ' <div class=\"text-center\">\\n' +\n ' <div class=\"alert alert-info\" style=\"margin: 20px 0;\" ng-if=\"listData.count !== 0\"\\n' +\n ' cat-i18n=\"cc.catalysts.cat-paginated.itemsFound\" i18n-watch-params=\"true\"\\n' +\n ' i18n-params=\"{count: listData.count, firstResult: listData.firstResult, lastResult:listData.lastResult}\">\\n' +\n ' {{listData.count}} Einträge gefunden. Einträge {{listData.firstResult}}-{{listData.lastResult}}\\n' +\n ' </div>\\n' +\n ' <div class=\"alert alert-info\" style=\"margin: 20px 0;\" ng-if=\"listData.count === 0\">\\n' +\n ' <span cat-i18n=\"cc.catalysts.cat-paginated.noItemsFound\">Keine Einträge gefunden</span>\\n' +\n ' </div>\\n' +\n ' </div>\\n' +\n ' <div ng-transclude></div>\\n' +\n ' <div class=\"text-center\" ng-if=\"!listData.isSinglePageList && listData.count !== 0\">\\n' +\n ' <uib-pagination total-items=\"listData.count\" items-per-page=\"listData.pagination.size\"\\n' +\n ' ng-model=\"listData.pagination.page\" max-size=\"10\"\\n' +\n ' class=\"pagination-sm\" boundary-links=\"true\" rotate=\"false\"\\n' +\n ' previous-text=\"{{paginationText.previous}}\"\\n' +\n ' next-text=\"{{paginationText.next}}\"\\n' +\n ' first-text=\"{{paginationText.first}}\"\\n' +\n ' last-text=\"{{paginationText.last}}\">\\n' +\n ' </uib-pagination>\\n' +\n ' </div>\\n' +\n '</div>\\n' +\n '');\n}]);\n","angular.module('cat.template').run(['$templateCache', function($templateCache) {\n $templateCache.put('uib/template/tabs/tabset.html',\n '<div class=\"row\">\\n' +\n ' <!-- override angular-ui template -->\\n' +\n ' <div class=\"col-sm-2\">\\n' +\n ' <ul class=\"nav nav-{{type || \\'tabs\\'}}\" ng-class=\"{\\'nav-stacked\\': vertical, \\'nav-justified\\': justified}\" ng-transclude></ul>\\n' +\n ' </div>\\n' +\n ' <div class=\"col-sm-10 tab-content\">\\n' +\n ' <div class=\"tab-pane\"\\n' +\n ' ng-repeat=\"tab in tabs\"\\n' +\n ' ng-class=\"{active: tab.active}\"\\n' +\n ' uib-tab-content-transclude=\"tab\">\\n' +\n ' </div>\\n' +\n ' </div>\\n' +\n '</div>\\n' +\n '');\n}]);\n","})(window.angular);"],"sourceRoot":"src/../"}