-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbootstrap-table.min.js
3 lines (3 loc) · 77.5 KB
/
bootstrap-table.min.js
1
2
3
angular.module("schemaForm").run(["$templateCache",function(e){e.put("directives/decorators/bootstrap/table/bs-table.html",'<div ng-class="form.htmlClass" style="clear: both"><div ng-attr-id="{{ form.options.id }}-toolbar" class="ng-table-toolbar" ng-if="!form.hideTopToggle"><div id="toolbar_btnoption_list" class="pull-left"><div class="btnlist-inner"><button ng-repeat="btn in form.toolbar" class="btn btn-default" ng-class="btn.htmlClass" type="button" ng-if="btn.condition ? btn.condition() : true" ng-click="btn.action()"><i ng-if="btn.icon" ng-class="btn.icon"></i> <span>{{btn.name}}</span></button></div></div><div class="pull-right"></div></div><table ng-attr-id="{{ form.options.id }}" bs-table-control="form.options"></table></div>'),e.put("directives/decorators/bootstrap/table/ckeditor.html",'<div class="form-group schema-form-{{form.type}} {{form.htmlClass}}" ng-class="{\'has-error\': form.disableErrorState !== true && hasError(), \'has-success\': form.disableSuccessState !== true && hasSuccess()}"><label class="control-label {{form.labelHtmlClass}}" ng-class="{\'sr-only\': !showTitle(), \'schema-form-required\': form.inputrequired === true}" for="{{form.key.slice(-1)[0]}}">{{form.title}}<span ng-if="form.inputrequired === true" class="join-required"></span></label><div class="joininputcol"><textarea froala="form.options" ng-model="$$value$$" schema-validate="form"></textarea><div class="help-block" sf-message="form.description"></div></div></div>'),e.put("directives/decorators/bootstrap/table/cutuploadpic.html",'<div class="upload-button form-group schema-form-{{form.type}} {{form.htmlClass}}" ng-class="{\'has-error\': form.disableErrorState !== true && hasError(), \'has-success\': form.disableSuccessState !== true && hasSuccess()}"><label class="control-label {{form.labelHtmlClass}}" ng-class="{\'sr-only\': !showTitle(), \'schema-form-required\': form.inputrequired === true}" for="{{form.key.slice(-1)[0]}}">{{form.title}}<span ng-if="form.inputrequired === true" class="join-required"></span></label><div class="joininputcol" ng-class="form.fieldHtmlClass"><div class="uploadimgbody"><div ng-style="{\'background\':\'url(\'+($$value$$|formatImgUrl:form.options.suffix)+\') left top / 100% 100% no-repeat\'}" class="uploadimgcls"></div></div><div class="uploadimgcontent"><div class="uploadimgbuttom" file-button="" file-change="$$value$$=image" fl-title="剪裁" fl-image-format="form.options.imageFormat" fl-aspect-ratio="form.options.aspectRatio"><span class=\'btn {{form.btnHtmlClass || "btn-success"}}\'>{{form.btn_title || \'选择图片\'}}</span></div><span class="uploadimglabel" ng-if="form.options.suggestlabel" ng-bind-html="form.options.suggestlabel"></span></div><div class="help-block" sf-message="form.description"></div></div></div>'),e.put("directives/decorators/bootstrap/table/cutuploadpics.html",'<div class="upload-buttons form-group schema-form-{{form.type}} {{form.htmlClass}}" ng-class="{\'has-error\': form.disableErrorState !== true && hasError(), \'has-success\': form.disableSuccessState !== true && hasSuccess()}"><label class="control-label {{form.labelHtmlClass}}" ng-class="{\'sr-only\': !showTitle(), \'schema-form-required\': form.inputrequired === true}" for="{{form.key.slice(-1)[0]}}">{{form.title}}<span ng-if="form.inputrequired === true" class="join-required"></span></label><div class="joininputcol" ng-class="form.fieldHtmlClass"><div class="upload-img-one" ng-repeat="pic in $$value$$ track by $index"><div ng-style="{\'background\':\'url(\'+(pic|formatImgUrl:form.options.suffix)+\') left top / 100% 100% no-repeat\'}" class="uploadimgscls"></div><div class="icon icon-activities_icon_close file-del" ng-click="$$value$$.splice($index, 1)"></div></div><div class="uploadimgscontent"><div class="uploadimgsbuttom" ng-if="form.options.maxNum ? form.options.maxNum > $$value$$.length : true" file-button="" file-change="$$value$$.push(image)" fl-title="剪裁" fl-image-format="form.options.imageFormat" fl-aspect-ratio="form.options.aspectRatio"><span class=\'btn {{form.btnHtmlClass || "btn-success"}}\'>{{form.btn_title || \'选择图片\'}}</span></div><span class="uploadimgslabel" ng-if="form.options.suggestlabel" ng-bind-html="form.options.suggestlabel"></span></div><div class="help-block" sf-message="form.description"></div></div></div>'),e.put("directives/decorators/bootstrap/table/date-range.html",'<div class="form-group schema-form-{{form.type}} {{form.htmlClass}}" ng-class="{\'has-error\': form.disableErrorState !== true && hasError(), \'has-success\': form.disableSuccessState !== true && hasSuccess()}"><label class="control-label {{form.labelHtmlClass}}" ng-class="{\'schema-form-required\': form.inputrequired === true}" ng-show="showTitle()">{{form.title}}<span ng-if="form.inputrequired === true" class="join-required"></span></label><div class="joininputcol {{form.fieldHtmlClass}}" ng-class="{\'input-group\': (form.fieldAddonLeft || form.fieldAddonRight)}"><input type="daterange" id="{{form.key.slice(-1)[0]}}" placeholder="{{form.placeholder}}" class="form-control {{form.fieldHtmlClass}}" sf-changed="form" ng-model-options="form.ngModelOptions" ng-model="$$value$$" enabletimepicker="form.enabletimepicker||MosEnum.momentTimepicker" single-date-picker="form.singleDatePicker" min-date="form.minDate" max-date="form.maxDate" limit="form.limit" format="form.locale.format" separator="form.locale.separator" locale="form.locale||MosEnum.momentLocales" ranges="form.ranges||MosEnum.momentRanges" ng-disabled="{{form.readonly}}" schema-validate="form" aria-describedby="{{form.key.slice(-1)[0] + \'Status\'}}"> <span ng-if="form.fieldAddonRight && form.fieldAddonRight.type!=\'button\'" class="input-group-addon {{form.fieldAddonRight.htmlClass}}"></span> <span ng-if="form.feedback !== false" class="form-control-feedback" ng-class="evalInScope(form.feedback) || {\'glyphicon\': true, \'glyphicon-ok\': hasSuccess(), \'glyphicon-remove\': hasError() }" aria-hidden="true"></span> <span ng-if="hasError() || hasSuccess()" id="{{form.key.slice(-1)[0] + \'Status\'}}" class="sr-only">{{ hasSuccess() ? \'(success)\' : \'(error)\' }}</span><div class="help-block" sf-message="form.description"></div></div></div>'),e.put("directives/decorators/bootstrap/table/mos-array.html",'<div sf-array="form" class="form-group-sm {{form.htmlClass}}" style="margin-bottom:15px" ng-model="$$value$$" ng-model-options="form.ngModelOptions"><div style="padding-right:0;width:100%" class="{{form.fieldHtmlClass}}" ng-model="modelArray"><sf-decorator ng-repeat="tmpform in form.items" ng-init="tmpform.notitle = true" class="{{tmpform.htmlClass}}" form="tmpform"></sf-decorator></div></div>'),e.put("directives/decorators/bootstrap/table/mos-button-group.html",'<div class="btn-group" ng-model="$$value$$"><button type="button" class="btn btn-default dropdown-toggle {{form.htmlClass}}" style="{{form.style}}" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><span ng-if="form.icon" class="glyphicon glyphicon-{{form.icon}}"></span> {{form.title}} <span class="caret"></span></button><ul class="dropdown-menu dropdown-menu-right"><li ng-repeat="item in form.actions" role="{{item.title}}" class="{{item.title!=\'separator\' ? \'\' : \'divider\'}}"><a ng-click="item.onClick($event)" ng-hide="item.title==\'separator\'">{{item.title}}</a></li></ul></div>'),e.put("directives/decorators/bootstrap/table/mos-color.html",'<div class="form-group {{form.htmlClass}} schema-form-select" ng-class="{\'has-error\': form.disableErrorState !== true && hasError(), \'has-success\': form.disableSuccessState !== true && hasSuccess()}"><label class="control-label {{form.labelHtmlClass}}" ng-class="{\'schema-form-required\': form.inputrequired === true}" ng-show="showTitle()">{{form.title}}<span ng-if="form.inputrequired === true" class="join-required"></span></label><div class="joininputcol"><input colorpicker="" type="text" sf-changed="form" placeholder="{{form.placeholder}}" class="form-control {{form.fieldHtmlClass}}" ng-model="$$value$$" ng-disabled="{{form.readonly}}" schema-validate="form"><div class="help-block" sf-message="form.description"></div></div></div>'),e.put("directives/decorators/bootstrap/table/mos-commit-info.html",'<div class="form-group {{form.htmlClass}}"><label class="control-label" ng-bind-html="form.title + \':\'"></label><div class="joininputcol"><div class="list-group-item"><span ng-bind-html="JSON.stringify($$value$$)"></span><div class="form-group {{form.fieldHtmlClass}} schema-form-string" ng-repeat="item in $$value$$" ng-model="$$value$$"><span ng-if="item.isRequire" style="color: red;">* </span><label class="control-label" ng-bind-html="item.sciTitle + \':\'"></label> <input ng-if="item.sciType && item.sciType.value == 0" ng-disabled="form.readonly" class="form-control" type="string" ng-model="item.srciValue"><select ng-if="item.sciType && item.sciType.value == 1" ng-model="item.srciValue" ng-model-options="form.ngModelOptions" sf-changed="form" ng-disabled="form.readonly" class="form-control ng-valid-schema-form ng-touched" schema-validate="form" name="noenum{{$index}}" ng-options="option.scoiNum as option.name for option in item.options"></select><div ng-if="item.sciType && item.sciType.value == 2"><div class="radio" ng-repeat="option in item.options"><label><input type="radio" class="" sf-changed="form" ng-disabled="form.readonly" ng-model="item.srciValue" ng-value="option.scoiNum" name="radios{{option.sciId}}"> <span ng-bind-html="option.name" class="ng-binding"></span></label></div></div><div ng-if="item.sciType && item.sciType.value == 3"><div class="checkbox" ng-repeat="option in item.options track by $index"><label><input type="checkbox" ng-disabled="form.readonly" sf-changed="form" ng-true-value="true" ng-false-value="false" class="ng-dirty ng-valid-parse ng-touched" ng-value="option.scoiNum" name="checkbox{{option.sciId}}" ng-model="option.srciValue"> <span ng-bind-html="option.name" class="ng-binding">a</span></label></div></div><textarea ng-if="item.sciType && item.sciType.value == 4" ng-disabled="form.readonly" ng-model="item.srciValue" class="form-control"></textarea></div></div></div></div>'),e.put("directives/decorators/bootstrap/table/mos-default.html",'<div class="form-group schema-form-{{form.type}} {{form.htmlClass}}" ng-class="{\'has-error\': form.disableErrorState !== true && hasError(), \'has-success\': form.disableSuccessState !== true && hasSuccess()}"><label class="control-label {{form.labelHtmlClass}}" ng-class="{\'sr-only\': !showTitle(), \'schema-form-required\': form.inputrequired === true}" for="{{form.key.slice(-1)[0]}}">{{form.title}}<span ng-if="form.inputrequired === true" class="join-required"></span></label><div class="joininputcol"><input ng-if="!form.fieldAddonLeft && !form.fieldAddonRight" ng-show="form.key && form.type!=\'label\'" autocomplete="nope" type="{{form.input_type || form.type.replace(\'mos-\',\'\')}}" step="any" sf-changed="form" placeholder="{{form.placeholder}}" class="form-control {{form.fieldHtmlClass}}" ng-model-options="form.ngModelOptions" ng-model="$$value$$" ng-disabled="{{form.readonly}}" schema-validate="form" aria-describedby="{{form.key.slice(-1)[0] + \'Status\'}}"> <span ng-if="!form.fieldAddonLeft && !form.fieldAddonRight" class="form-control {{form.fieldHtmlClass}}" ng-show="form.key && form.type==\'label\'">{{$$value$$}}</span><div ng-if="form.fieldAddonLeft || form.fieldAddonRight" ng-class="{\'input-group\': (form.fieldAddonLeft || form.fieldAddonRight)}"><span ng-if="form.fieldAddonLeft && !form.fieldAddonLeft.hasOwnProperty(\'type\')" class="input-group-addon {{form.fieldAddonLeft.htmlClass}}" ng-bind-html="form.fieldAddonLeft"></span> <span ng-if="form.fieldAddonLeft && form.fieldAddonLeft.hasOwnProperty(\'type\')" class="input-group-btn" ng-init="form.fieldAddonLeft[\'htmlClass\']=\'input-group-btn\'"><sf-decorator form="form.fieldAddonLeft"></sf-decorator></span> <input ng-show="form.key && form.type!=\'label\'" autocomplete="nope" type="{{form.input_type || form.type.replace(\'mos-\',\'\')}}" step="any" sf-changed="form" placeholder="{{form.placeholder}}" class="form-control {{form.fieldHtmlClass}}" ng-model-options="form.ngModelOptions" ng-model="$$value$$" ng-disabled="{{form.readonly}}" schema-validate="form" aria-describedby="{{form.key.slice(-1)[0] + \'Status\'}}"> <span class="form-control {{form.fieldHtmlClass}}" ng-show="form.key && form.type==\'label\'">{{$$value$$}}</span> <span ng-if="form.fieldAddonRight && !form.fieldAddonRight.hasOwnProperty(\'type\')" class="input-group-addon {{form.fieldAddonRight.htmlClass}}" ng-bind-html="form.fieldAddonRight"></span> <span ng-if="form.fieldAddonRight && form.fieldAddonRight.hasOwnProperty(\'type\')" class="input-group-btn" ng-init="form.fieldAddonRight[\'htmlClass\']=\'input-group-btn\'"><sf-decorator form="form.fieldAddonRight"></sf-decorator></span></div><span ng-if="form.feedback !== false" class="form-control-feedback" ng-class="evalInScope(form.feedback) || {\'glyphicon\': true, \'glyphicon-ok\': hasSuccess(), \'glyphicon-remove\': hasError() }" aria-hidden="true"></span> <span ng-if="hasError() || hasSuccess()" id="{{form.key.slice(-1)[0] + \'Status\'}}" class="sr-only">{{ hasSuccess() ? \'(success)\' : \'(error)\' }}</span><div class="help-block" sf-message="form.description"></div></div></div>'),e.put("directives/decorators/bootstrap/table/mos-multiselect.html",'<div class="form-group {{form.htmlClass}} schema-form-select" ng-class="{\'has-error\': form.disableErrorState !== true && hasError(), \'has-success\': form.disableSuccessState !== true && hasSuccess()}"><label class="control-label {{form.labelHtmlClass}}" ng-class="{\'schema-form-required\': form.inputrequired === true}" ng-show="showTitle()">{{form.title}}<span ng-if="form.inputrequired === true" class="join-required"></span></label><div class="joininputcol"><div ng-dropdown-multiselect="" class="{{form.controlHtmlClass}}" ng-model-options="form.ngModelOptions" options="form.titleMap" ng-disabled="{{form.readonly}}" selected-model="$$value$$" translation-texts="form.selectText" group-by="{{form.groupField}}" extra-settings="form.map"></div><div class="help-block" sf-message="form.description"></div></div></div>'),e.put("directives/decorators/bootstrap/table/mos-multiselect2.html",'<div class="form-group {{form.htmlClass}} schema-form-select" ng-class="{\'has-error\': form.disableErrorState !== true && hasError(), \'has-success\': form.disableSuccessState !== true && hasSuccess()}"><label ng-if="!form.notitle" class="control-label {{form.labelHtmlClass}}" ng-class="{\'schema-form-required\': form.inputrequired === true}" ng-show="showTitle()">{{form.title}}<span ng-if="form.inputrequired === true" class="join-required"></span></label><div class="joininputcol"><div ng-if="form.addDataOption" class="input-group"><ui-select multiple="" ng-model="$$value$$" theme="select2" ng-disabled="{{form.readonly}}" class="{{form.fieldHtmlClass}}" schema-validate="form" sf-changed="form"><ui-select-match placeholder="{{form.placeholder}}">{{$item[form.map.displayProp]}}</ui-select-match><ui-select-choices repeat="tmpitem in form.titleMap | propsFilter: form.filter1($select.search)" refresh="form.refreshData($select.search, form)" refresh-delay="500"><div ng-bind-html="tmpitem[form.map.displayProp] | highlight: $select.search"></div><small ng-if="form.map.moreitemname1"><span ng-bind-html="tmpitem[form.map.moreitemname1]" style="padding-right: 10px;"></span><span ng-if="form.map.moreitemname2" ng-bind-html="tmpitem[form.map.moreitemname2]"></span></small></ui-select-choices></ui-select><span class="input-group-btn"><button class="btn" ng-class="form.addDataOption.class" type="button" ng-click="form.addDataOption.cb($event,form)"><span class="icon icon-activities_icon_add" style="padding-right:5px;" ng-if="!form.addDataOption.title"></span>{{form.addDataOption.title||\'新增\'}}</button></span></div><ui-select ng-if="!form.addDataOption" multiple="" ng-model="$$value$$" theme="select2" ng-disabled="{{form.readonly}}" class="joininputcol {{form.fieldHtmlClass}}" schema-validate="form" sf-changed="form"><ui-select-match placeholder="{{form.placeholder}}">{{$item[form.map.displayProp]}}</ui-select-match><ui-select-choices repeat="tmpitem in form.titleMap | propsFilter: form.filter1($select.search)" refresh="form.refreshData($select.search, form)" refresh-delay="500"><div ng-bind-html="tmpitem[form.map.displayProp] | highlight: $select.search"></div><small ng-if="form.map.moreitemname1"><span ng-bind-html="tmpitem[form.map.moreitemname1]" style="padding-right: 10px;"></span><span ng-if="form.map.moreitemname2" ng-bind-html="tmpitem[form.map.moreitemname2]"></span></small></ui-select-choices></ui-select><div class="help-block" sf-message="form.description"></div></div></div>'),e.put("directives/decorators/bootstrap/table/mos-radio-buttons.html",'<div class="form-group schema-form-radiobuttons {{form.htmlClass}}" ng-class="{\'has-error\': form.disableErrorState !== true && hasError(), \'has-success\': form.disableSuccessState !== true && hasSuccess(), \'has-feedback\': form.feedback !== false }"><div><label class="control-label {{form.labelHtmlClass}}" ng-class="{\'schema-form-required\': form.inputrequired === true}" ng-show="showTitle()">{{form.title}}<span ng-if="form.inputrequired === true" class="join-required"></span></label></div><div class="joininputcol"><div class="btn-group"><label class="btn {{ (item.value === $$value$$) ? form.style.selected || \'btn-default\' : form.style.unselected || \'btn-default\'; }}" ng-class="{ active: item.value === $$value$$ }" ng-repeat="item in form.titleMap"><input type="radio" class="{{form.fieldHtmlClass}}" sf-changed="form" style="display: none;" ng-disabled="form.readonly" ng-model="$$value$$" ng-model-options="form.ngModelOptions" schema-validate="form" ng-value="item.value" name="{{form.key.join(\'.\')}}"> <span ng-bind-html="item.name"></span></label></div><div class="help-block" sf-message="form.description"></div></div></div>'),e.put("directives/decorators/bootstrap/table/mos-radios.html",'<div class="form-group schema-form-radiobuttons {{form.htmlClass}}" ng-class="{\'has-error\': form.disableErrorState !== true && hasError(), \'has-success\': form.disableSuccessState !== true && hasSuccess(), \'has-feedback\': form.feedback !== false }"><label class="control-label {{form.labelHtmlClass}}" ng-class="{\'schema-form-required\': form.inputrequired === true}" ng-show="showTitle()">{{form.title}}<span ng-if="form.inputrequired === true" class="join-required"></span></label><div class="joininputcol"><div class="radio"><label class="join-radio" ng-repeat="item in form.titleMap"><input type="radio" sf-changed="form" style="display: none;" ng-disabled="form.readonly" ng-model="$$value$$" ng-model-options="form.ngModelOptions" schema-validate="form" ng-value="item.value" name="{{form.key.join(\'.\')}}"> <span ng-class="{\'icon icon-activities_icon_Radio\': item.value === $$value$$, \'icon icon-activities_icon_Radio_nor\': item.value !== $$value$$}"></span> <span ng-bind-html="item.name"></span> <span ng-if="item.label" class="join-radio-label" ng-bind-html="item.label"></span></label> <span ng-if="form.suggestlabel" ng-bind-html="form.suggestlabel"></span></div><div class="help-block" sf-message="form.description"></div></div></div>'),e.put("directives/decorators/bootstrap/table/mos-select.html",'<div class="form-group {{form.htmlClass}} schema-form-select" ng-class="{\'has-error\': form.disableErrorState !== true && hasError(), \'has-success\': form.disableSuccessState !== true && hasSuccess(), \'has-feedback\': form.feedback !== false }"><label class="control-label {{form.labelHtmlClass}}" ng-class="{\'schema-form-required\': form.inputrequired === true}" ng-show="showTitle()">{{form.title}}<span ng-if="form.inputrequired === true" class="join-required"></span></label><div class="joininputcol"><select ng-model="$$value$$" ng-model-options="form.ngModelOptions" sf-changed="form" ng-disabled="{{form.readonly}}" class="form-control {{form.fieldHtmlClass}}" schema-validate="form" ng-options="item[form.map.value || \'value\'] as item[form.map.name || \'name\'] group by item.group for item in form.titleMap" name="{{form.key.slice(-1)[0]}}"><option value="">{{form.placeholder||\'请选择...\'}}</option></select><div class="help-block" sf-message="form.description"></div></div></div>'),e.put("directives/decorators/bootstrap/table/mos-select2.html",'<div class="form-group {{form.htmlClass}} schema-form-select" ng-class="{\'has-error\': form.disableErrorState !== true && hasError(), \'has-success\': form.disableSuccessState !== true && hasSuccess(), \'has-feedback\': form.feedback !== false }"><label ng-if="!form.notitle" class="control-label {{form.labelHtmlClass}}" ng-show="showTitle()" ng-class="{\'schema-form-required\': form.inputrequired === true}">{{form.title}}<span ng-if="form.inputrequired === true" class="join-required"></span></label><div class="joininputcol"><div ng-if="form.addDataOption" class="input-group"><ui-select ng-model="$$value$$" theme="bootstrap" ng-disabled="{{form.readonly}}" reset-search-input="false" class="{{form.fieldHtmlClass}}" schema-validate="form" sf-changed="form"><ui-select-match placeholder="{{form.placeholder}}">{{$select.selected[form.map.displayProp]}}</ui-select-match><ui-select-choices repeat="tmpitem in form.titleMap | propsFilter: form.filter1($select.search) track by $index" refresh="form.refreshData($select.search, form)" refresh-delay="500"><div ng-bind-html="tmpitem[form.map.displayProp] | highlight: $select.search"></div><small ng-if="form.map.moreitemname1"><span ng-bind-html="tmpitem[form.map.moreitemname1]" style="padding-right: 10px;"></span><span ng-if="form.map.moreitemname2" ng-bind-html="tmpitem[form.map.moreitemname2]"></span></small></ui-select-choices></ui-select><span class="input-group-btn"><button class="btn" ng-class="form.addDataOption.class" type="button" ng-click="form.addDataOption.cb($event,form)"><span class="icon icon-activities_icon_add" style="padding-right:5px;" ng-if="!form.addDataOption.title"></span>{{form.addDataOption.title||\'新增\'}}</button></span></div><ui-select ng-if="!form.addDataOption" ng-model="$$value$$" theme="bootstrap" ng-disabled="{{form.readonly}}" reset-search-input="false" class="joininputcol {{form.fieldHtmlClass}}" schema-validate="form" sf-changed="form"><ui-select-match placeholder="{{form.placeholder}}">{{$select.selected[form.map.displayProp]}}</ui-select-match><ui-select-choices repeat="tmpitem in form.titleMap | propsFilter: form.filter1($select.search) track by $index" refresh="form.refreshData($select.search, form)" refresh-delay="500"><div ng-bind-html="tmpitem[form.map.displayProp] | highlight: $select.search"></div><small ng-if="form.map.moreitemname1"><span ng-bind-html="tmpitem[form.map.moreitemname1]" style="padding-right: 10px;"></span><span ng-if="form.map.moreitemname2" ng-bind-html="tmpitem[form.map.moreitemname2]"></span></small></ui-select-choices></ui-select><div class="help-block" sf-message="form.description"></div></div></div>'),e.put("directives/decorators/bootstrap/table/mos-template.html",'<div class="{{form.htmlClass}}"><label class="{{form.fieldHtmlClass}}" ng-bind-html="form.title"></label> <label class="joininputcol" ng-class="form.labelHtmlClass" ng-bind-html="(form.formatterFn?form.formatterFn($$value$$):$$value$$)"></label></div>'),e.put("directives/decorators/bootstrap/table/mos-textarea.html",'<div class="form-group schema-form-{{form.type}} {{form.htmlClass}}" ng-class="{\'has-error\': form.disableErrorState !== true && hasError(), \'has-success\': form.disableSuccessState !== true && hasSuccess()}"><label class="control-label {{form.labelHtmlClass}}" ng-class="{\'sr-only\': !showTitle(), \'schema-form-required\': form.inputrequired === true}" for="{{form.key.slice(-1)[0]}}">{{form.title}}<span ng-if="form.inputrequired === true" class="join-required"></span></label><div class="joininputcol"><textarea sf-changed="form" placeholder="{{form.placeholder}}" class="form-control {{form.fieldHtmlClass}}" id="{{form.key.slice(-1)[0]}}" ng-model-options="form.ngModelOptions" ng-model="$$value$$" ng-disabled="{{form.readonly}}" schema-validate="form" name="{{form.key.slice(-1)[0]}}"></textarea><div ng-if="form.fieldAddonLeft || form.fieldAddonRight" ng-class="{\'input-group\': (form.fieldAddonLeft || form.fieldAddonRight)}"><span ng-if="form.fieldAddonLeft && !form.fieldAddonLeft.hasOwnProperty(\'type\')" class="input-group-addon {{form.fieldAddonLeft.htmlClass}}" ng-bind-html="form.fieldAddonLeft"></span> <span ng-if="form.fieldAddonLeft && form.fieldAddonLeft.hasOwnProperty(\'type\')" class="input-group-btn" ng-init="form.fieldAddonLeft[\'htmlClass\']=\'input-group-btn\'"><sf-decorator form="form.fieldAddonLeft"></sf-decorator></span> <textarea sf-changed="form" placeholder="{{form.placeholder}}" class="form-control {{form.fieldHtmlClass}}" id="{{form.key.slice(-1)[0]}}" ng-model-options="form.ngModelOptions" ng-model="$$value$$" ng-disabled="{{form.readonly}}" schema-validate="form" name="{{form.key.slice(-1)[0]}}"></textarea> <span ng-if="form.fieldAddonRight && !form.fieldAddonRight.hasOwnProperty(\'type\')" class="input-group-addon {{form.fieldAddonRight.htmlClass}}" ng-bind-html="form.fieldAddonRight"></span> <span ng-if="form.fieldAddonRight && form.fieldAddonRight.hasOwnProperty(\'type\')" class="input-group-btn" ng-init="form.fieldAddonRight[\'htmlClass\']=\'input-group-btn\'"><sf-decorator form="form.fieldAddonRight"></sf-decorator></span></div><span ng-if="form.feedback !== false" class="form-control-feedback" ng-class="evalInScope(form.feedback) || {\'glyphicon\': true, \'glyphicon-ok\': hasSuccess(), \'glyphicon-remove\': hasError() }" aria-hidden="true"></span> <span ng-if="hasError() || hasSuccess()" id="{{form.key.slice(-1)[0] + \'Status\'}}" class="sr-only">{{ hasSuccess() ? \'(success)\' : \'(error)\' }}</span><div class="help-block" sf-message="form.description"></div></div></div>'),e.put("directives/decorators/bootstrap/table/mos-tree-grid.html",'<tree-grid tree-data="$$value$$" col-defs="form.col_defs" expand-on="form.expanding_property" tree-control="form.control_tree" icon-leaf="{{form.iconLeaf ? form.iconLeaf : \'file icon\'}}" icon-expand="{{form.iconExpand ? form.iconExpand : \'plus icon\'}}" icon-collapse="{{form.iconCollapse ? form.iconCollapse : \'minus icon\'}}" on-select="form.gridtree_selecthandler(branch)" on-click="form.gridtree_clickhandler(branch)" expand-level="{{form.expandLevel?form.expandLevel:\'2\'}}"></tree-grid>'),e.put("directives/decorators/bootstrap/table/mos-treemultiselect2.html",'<div class="form-group {{form.htmlClass}} schema-form-treemultiselect" ng-class="{\'has-error\': form.disableErrorState !== true && hasError(), \'has-success\': form.disableSuccessState !== true && hasSuccess()}"><label ng-if="!form.notitle" class="control-label {{form.labelHtmlClass}}" ng-class="{\'schema-form-required\': form.inputrequired === true}" ng-show="showTitle()">{{form.title}}<span ng-if="form.inputrequired === true" class="join-required"></span></label><div class="joininputcol ui-select-container ui-select-multiple select2 select2-container select2-container-multi" ng-model="$$value$$" ng-href="" ng-click="form.openSelect($event, form)" schema-validate="form" sf-changed="form"><div ng-if="form.addDataOption" class="input-group"><ul class="select2-choices"><li class="select2-search-field" ng-if="!$$value$$ || $$value$$.length == 0"><input type="text" class="select2-input ui-select-search ng-pristine" readonly="readonly" placeholder="{{form.placeholder}}"></li><li class="ui-select-match-item select2-search-choice" ng-repeat="item in $$value$$"><div ng-bind-html="item[form.map.displayProp]"></div><small ng-if="form.map.moreitemname1" ng-bind="item[form.map.moreitemname1]" style="padding-right: 10px;"></small> <small ng-if="form.map.moreitemname2" ng-bind="item[form.map.moreitemname2]"></small></li></ul><span class="input-group-btn"><button class="btn" ng-class="form.addDataOption.class" type="button" ng-click="form.addDataOption.cb($event,form)"><span class="icon icon-activities_icon_add" style="padding-right:5px;" ng-if="!form.addDataOption.title"></span>{{form.addDataOption.title||\'新增\'}}</button></span></div><ul ng-if="!form.addDataOption" class="select2-choices"><li class="select2-search-field" ng-if="!$$value$$ || $$value$$.length == 0"><input type="text" class="select2-input ui-select-search ng-pristine" readonly="readonly" placeholder="{{form.placeholder}}"></li><li class="ui-select-match-item select2-search-choice" ng-repeat="item in $$value$$"><div ng-bind-html="item[form.map.displayProp]"></div><small ng-if="form.map.moreitemname1" ng-bind="item[form.map.moreitemname1]" style="padding-right: 10px;"></small> <small ng-if="form.map.moreitemname2" ng-bind="item[form.map.moreitemname2]"></small></li></ul><div class="help-block" sf-message="form.description"></div></div></div>'),e.put("directives/decorators/bootstrap/table/mos-treeselect2.html",'<div class="form-group {{form.htmlClass}} schema-form-treeselect" ng-class="{\'has-error\': form.disableErrorState !== true && hasError(), \'has-success\': form.disableSuccessState !== true && hasSuccess(), \'has-feedback\': form.feedback !== false }"><label ng-if="!form.notitle" class="control-label {{form.labelHtmlClass}}" ng-show="showTitle()" ng-class="{\'schema-form-required\': form.inputrequired === true}">{{form.title}}<span ng-if="form.inputrequired === true" class="join-required"></span></label><div class="joininputcol ui-select-container ui-select-bootstrap dropdown" ng-href="" ng-click="form.openSelect($event, form)" ng-model="$$value$$" schema-validate="form" sf-changed="form"><div ng-if="form.addDataOption" class="input-group"><div class="ui-select-match" ng-class="form.fieldHtmlClass"><span tabindex="-1" class="btn btn-default form-control ui-select-toggle" style="outline: 0;"><span class="ui-select-match-text pull-left"><div ng-bind-html="($$value$$?$$value$$[form.map.displayProp]:\'\') || form.placeholder"></div><small ng-if="$$value$$ && form.map.moreitemname1" ng-bind="$$value$$[form.map.moreitemname1]" style="padding-right: 10px;"></small> <small ng-if="$$value$$ && form.map.moreitemname2" ng-bind="$$value$$[form.map.moreitemname2]"></small></span> <i class="caret pull-right"></i></span></div><span class="input-group-btn"><button class="btn" ng-class="form.addDataOption.class" type="button" ng-click="form.addDataOption.cb($event,form)"><span class="icon icon-activities_icon_add" style="padding-right:5px;" ng-if="!form.addDataOption.title"></span>{{form.addDataOption.title||\'新增\'}}</button></span></div><div ng-if="!form.addDataOption" class="ui-select-match" ng-class="form.fieldHtmlClass"><span tabindex="-1" class="btn btn-default form-control ui-select-toggle" style="outline: 0;"><span class="ui-select-match-text pull-left"><div ng-bind-html="($$value$$?$$value$$[form.map.displayProp]:\'\') || form.placeholder"></div><small ng-if="$$value$$ && form.map.moreitemname1" ng-bind="$$value$$[form.map.moreitemname1]" style="padding-right: 10px;"></small> <small ng-if="$$value$$ && form.map.moreitemname2" ng-bind="$$value$$[form.map.moreitemname2]"></small></span> <i class="caret pull-right"></i></span></div><div class="help-block" sf-message="form.description"></div></div></div>'),e.put("directives/decorators/bootstrap/table/ngtree.html",'<div class="form-group schema-form-{{form.type}} {{form.htmlClass}}" ng-class="{\'has-error\': form.disableErrorState !== true && hasError(), \'has-success\': form.disableSuccessState !== true && hasSuccess()}"><label class="control-label {{form.labelHtmlClass}}" ng-class="{\'sr-only\': !showTitle()}" for="{{form.key.slice(-1)[0]}}" ng-bind-html="form.title"></label><div class="jstree" js-tree="form.options" sf-changed="form" schema-validate="form" ng-model="$$value$$" ng-model-options="form.ngModelOptions" should-apply="form.ignoreModelChanges()" tree="form.treeInstance" tree-events-obj="form.treeEventsObj"></div><span ng-if="hasError() || hasSuccess()" id="{{form.key.slice(-1)[0] + \'Status\'}}" class="sr-only">{{ hasSuccess() ? \'(success)\' : \'(error)\' }}</span><div class="help-block" sf-message="form.description"></div></div>'),
e.put("directives/decorators/bootstrap/table/popover-tree.html",'<div class="form-group schema-form-{{form.type}} {{form.htmlClass}}"><label class="control-label {{form.labelHtmlClass}}" ng-class="{\'sr-only\': !showTitle()}" for="{{form.key.slice(-1)[0]}}" ng-bind-html="form.title"></label><br><div class="btn-group"><button type="button" class="btn btn-default" ng-click="form.open(\'sm\', $$value$$, form)">{{form.name}}</button></div><span ng-if="hasError() || hasSuccess()" id="{{form.key.slice(-1)[0] + \'Status\'}}" class="sr-only">{{ hasSuccess() ? \'(success)\' : \'(error)\' }}</span><script type="text/ng-template" id="tree.html"><div class="modal-header"> <h3 class="modal-title" ng-bind-html="form.title"></h3> </div> <div class="modal-body"> <div class="help-block" sf-message="form.description"></div> <div js-tree="form.options" ng-model="items" should-apply="form.ignoreModelChanges()" tree="form.treeInstance" tree-events-obj="form.treeEventsObj"></div> </div> <div class="modal-footer"> <button class="btn btn-primary" type="button" ng-click="ok()">OK</button> <button class="btn btn-warning" type="button" ng-click="cancel()">Cancel</button> </div></script></div>'),e.put("directives/decorators/bootstrap/table/popover-user.html",'<style>\n .popover{\n min-width: 900px;\n width: 900px;\n }\n .title-btn {\n position: absolute;\n right: 2px;\n top: 2px;\n padding: 7px 9px !important;\n border-radius: 100px !important;\n }\n .popover-inner{\n position: relative;\n }\n</style><div class="form-group schema-form-{{form.type}} {{form.htmlClass}}" ng-init="form.options.resultKey=\'url\' ; form.options.progressKey=\'progress\' ; form.options.errorMsgKey=\'errorMsg\'"><label class="control-label {{form.labelHtmlClass}}" ng-class="{\'sr-only\': !showTitle()}" for="{{form.key.slice(-1)[0]}}" ng-bind-html="form.title"></label><input ng-if="!form.fieldAddonLeft && !form.fieldAddonRight" ng-show="form.key && form.type!=\'label\'" type="string" step="any" sf-changed="form" placeholder="{{form.placeholder}}" class="form-control ng-dirty" id="publisherId" ng-model-options="form.ngModelOptions" ng-model="model[form.key]" uib-popover-template="\'popoverTemplate.html\'" popover-title="{{form.option.title}}" popover-placement="{{form.option.placement}}" popover-trigger="none" popover-is-open="form.popoverIsOpen" ng-click="form.popoverIsOpen=!form.popoverIsOpen" ng-init="editmodel.assignfield=form.assignfield" style="background-color: white;" readonly="readonly" schema-validate="form" name="aniTitle" aria-describedby="aniTitleStatus"></div><script type="text/ng-template" id="popoverTemplate.html"><div ng-controller="popoverCtrl" id="popoverCtrl" onkeydown="stopEnterEvent(event)" onkeyup="stopEnterEvent(event)" onkeypress="stopEnterEvent(event)"> <button type="button" class="circular ui icon button title-btn" ng-click="form.popoverIsOpen=false"> <i class="fa fa-close"></i> </button> <div sf-schema="popoverschema" sf-form="popoverform" sf-model="model" ng-init="initParams(form)" sf-options="{ formDefaults: { disableSuccessState: true, feedback: false }}"></div> </div></script><script>\n function popoverCtrl($scope, $http, Upload, $sce, $timeout) {\n $scope.model = {search_key_type: [], selected: {}};\n console.log("初始化idname" + JSON.stringify($scope.$parent.model) + "---------\\n" + $scope.$parent.model[$scope.$parent.editmodel.assignfield.id]);\n $scope.model.selected.id = $scope.$parent.model[$scope.$parent.editmodel.assignfield.id] ? ($scope.$parent.model[$scope.$parent.editmodel.assignfield.id]+"").split(",") : [];\n $scope.model.selected.name = $scope.$parent.model[$scope.$parent.editmodel.assignfield.name] ? $scope.$parent.model[$scope.$parent.editmodel.assignfield.name].split(",") : [];\n $scope.model.selected.No = $scope.$parent.model[$scope.$parent.editmodel.assignfield.No] ? ($scope.$parent.model[$scope.$parent.editmodel.assignfield.No]+"").split(",") : [];\n $scope.model.selected.phone = $scope.$parent.model[$scope.$parent.editmodel.assignfield.phone] ? ($scope.$parent.model[$scope.$parent.editmodel.assignfield.phone]+"").split(",") : [];\n $scope.model.selected.uoiId = $scope.$parent.model[$scope.$parent.editmodel.assignfield.uoiId] ? ($scope.$parent.model[$scope.$parent.editmodel.assignfield.uoiId]+"").split(",") : [];\n $scope.model.selected.uuiGrade = $scope.$parent.model[$scope.$parent.editmodel.assignfield.uuiGrade] ? ($scope.$parent.model[$scope.$parent.editmodel.assignfield.uuiGrade]+"").split(",") : [];\n\n $scope.initParams =function(form){\n $scope.model.multiselect=form.multiselect;\n $scope.model.queryBy=form.option.queryBy;\n $scope.model.criteria=form.option.criteria;\n }\n $scope.search_postdata = $.extend(GetUrlParsFun(), $scope.model);\n $scope.popoverschema = {\n type: "object",\n title: "Comment",\n properties: {\n search_key_name: {"type": "string"}\n },\n required: []\n };\n $scope.popoverform = [\n {\n type: "section",\n items: [\n {\n key: "search_key_name",\n htmlClass: "pull-left col-xs-6 col-sm-4 col-md-3 col-lg-2 no-padding-type",// form-group-sm",\n fieldHtmlClass: "ht-addon-left",\n type: \'text\',\n notitle: true,\n placeholder: "输入关键字..."\n },\n {\n type: \'button\',\n htmlClass: "pull-left btn-margin-right",\n icon: "glyphicon glyphicon-search",\n style: "btn-info ht-addon-right",\n title: \'搜索\',\n onClick: function () {\n $scope.search_postdata[\'offset\'] = 0;\n $(\'#popover_tbl_datapage_list\').bootstrapTable(\'selectPage\', 1);\n }\n }\n ]\n },\n {\n type: "template",\n template: \'<table id="popover_tbl_datapage_list" ng-init="form.foo()"></table>\',\n name: \'popover_tbl_datapage_list\',\n foo: function () {\n $(\'#popover_tbl_datapage_list\').bootstrapTable({\n method: \'post\',\n contentType: \'application/x-www-form-urlencoded;charset=UTF-8\',\n url: \'/api/sysuserinfo/getList\',\n cache: false,\n responseHandler: function (res) {\n console.log("用户数据:" + JSON.stringify(res));\n return {\n rows: (res && res.data && res.data.queryData && res.data.queryData.length > 0) ? res.data.queryData : [],\n total: (res && res.data && res.data.totalCnt) ? res.data.totalCnt : 0,\n pageNumber: (res && res.data && res.data.page) ? res.data.page : 1\n };\n },\n queryParams: function (p) {\n $scope.search_postdata["limit"] = _.parseInt(p[\'limit\']);\n $scope.search_postdata["is_page"] = 1;\n $scope.search_postdata.search_key_name = $scope.model.search_key_name;\n var search_postdata = angular.copy($scope.search_postdata);\n console.log("搜索参数:" + JSON.stringify(search_postdata) + JSON.stringify($scope.model));\n if (_.isUndefined(search_postdata.offset))\n search_postdata[\'offset\'] = p[\'offset\'];\n else\n delete $scope.search_postdata.offset;\n $scope.search_postdata[\'page\'] = _.parseInt(_.parseInt(search_postdata[\'offset\']) / _.parseInt(search_postdata[\'limit\'])) + 1;\n search_postdata[\'page\'] = $scope.search_postdata[\'page\'];\n ArrayObjectToIntData(search_postdata);\n console.log(JSON.stringify($scope.$parent.model));\n if($scope.$parent.model && $scope.$parent.model.abiId && ($scope.$parent.model.abiId.id || $scope.$parent.model.abiId.id ==0)\n && $scope.model.queryBy == "abiId"){\n search_postdata.abiId = $scope.$parent.model.abiId.id;\n }\n if($scope.model.criteria){\n _.extend(search_postdata, $scope.model.criteria);\n }\n return search_postdata;\n },\n striped: true,\n pagination: true,\n sortName: \'sortno\',\n sortOrder: \'desc\',\n pageSize: 5,\n locale: \'zh-CN\',\n search: false,\n clickToSelect: true,\n onCheck: function (row) {\n var uoiId = row.uoiId ? row.uoiId.id : ""\n $scope.btnSelectUser(row.id, row.uuiName, row.gradeCode, row.uuiMobile || row.loginName, uoiId, row.uuiGrade);\n },\n onUncheck: function (row) {\n var uoiId = row.uoiId ? row.uoiId.id : ""\n $scope.btnSelectUser(row.id, row.uuiName, row.gradeCode, row.uuiMobile || row.loginName, uoiId, row.uuiGrade);\n },\n onCheckAll: function (rows) {\n return false;\n },\n onUncheckAll: function (rows) {\n return false;\n },\n queryParamsType: \'limit\',\n sidePagination: "server",\n smartDisplay: true,\n checkboxHeader: false,\n undefinedText: \'-\',\n searchOnEnterKey: false,\n minimumCountColumns: 1000,\n selectItemName: "选择",\n columns: [\n {\n radio: true,\n align: \'center\',\n valign: \'top\',\n title: "选择",\n visible: !$scope.model.multiselect ? true : false,\n class: \'column_class\',\n formatter: function (value, row, index) {\n if ($.inArray(row.id+"", $scope.model.selected.id) > -1) {\n return {checked: true}\n }\n return value;\n }\n },\n {\n checkbox: true,\n align: \'center\',\n valign: \'top\',\n title: "选择",\n visible: $scope.model.multiselect ? true : false,\n class: \'column_class\',\n formatter: function (value, row, index) {\n if ($scope.model.multiselect && $.inArray(row.id+"", $scope.model.selected.id) > -1) {\n return {checked: true}\n }\n return value;\n }\n },\n {\n field: \'uuiNum\',\n title: \'序号\',\n align: \'center\',\n valign: \'top\',\n visible: true,\n class: \'column_class\',\n formatter: function (value, row, index) {\n return _.toString((_.parseInt($scope.search_postdata[\'page\']) - 1) * _.parseInt($scope.search_postdata[\'limit\']) + 1 + index);\n }\n },\n {\n field: \'uoiId\',\n title: \'隶属院系\',\n align: \'center\',\n valign: \'top\',\n sortable: false,\n visible: true,\n class: \'column_class\',\n formatter: function (value, row, index) {\n if (!_.isUndefined(value) && _.isObject(row["uoiId"])) {\n return row["uoiId"].fullName;\n }\n return " ";\n }\n },\n /*{\n field: \'uuiGrade\',\n title: \'年级\',\n align: \'left\',\n valign: \'top\',\n sortable: false,\n visible: true,\n class: \'column_class\'\n },*/\n {\n field: \'uuiName\',\n title: \'姓名\',\n align: \'left\',\n valign: \'top\',\n sortable: false,\n visible: true,\n class: \'column_class\'\n },\n {\n field: \'gradeCode\',\n title: \'学号\',\n align: \'left\',\n valign: \'top\',\n sortable: false,\n visible: true,\n class: \'column_class\'\n },\n {\n field: \'uuiMobile\',\n title: \'手机号\',\n align: \'left\',\n valign: \'top\',\n sortable: false,\n visible: true,\n class: \'column_class\'\n },\n {\n field: \'uuiIdcard\',\n title: \'身份证号码\',\n align: \'left\',\n valign: \'top\',\n sortable: false,\n visible: true,\n class: \'column_class\'\n },\n {\n field: \'uuiSex\',\n title: \'性别\',\n align: \'center\',\n valign: \'top\',\n sortable: false,\n visible: true,\n class: \'column_class\',\n formatter: function (value, row, index) {\n if (value == 0 ) {\n return "女";\n } else if(value == 1){\n return "男";\n }\n return " ";\n }\n },\n {\n field: \'uuiType\',\n title: \'用户类型\',\n align: \'center\',\n valign: \'top\',\n sortable: true,\n visible: true,\n class: \'column_class\',\n formatter: function (value, row, index) {\n if (value == 0 ) {\n return "默认用户";\n } else if(value == 1){\n return "老师";\n } else if(value == 2){\n return "学生";\n }\n return " ";\n }\n },\n /*{\n title: \'是否选取\',\n align: \'center\',\n valign: \'middle\',\n visible: true,\n class: \'column_class\',\n formatter: function (value, row, index) {\n console.log("格式化"+JSON.stringify(row.uoiId) + row.uoiId + "\\n" + JSON.stringify($scope.model.selected));\n var uoiId = row.uoiId ? row.uoiId.id : ""\n if ($.inArray(row.id+"", $scope.model.selected.id) > -1) {\n return \'<a href="javascript:void(0)" class="flag_\' + row.id +\'" onclick="btnSelectUser(this, \' + row.id\n + \',\\\'\' + row.uuiName + \'\\\',\\\'\' + row.gradeCode + \'\\\',\\\'\' + row.uuiMobile + \'\\\',\\\'\' + uoiId\n + \'\\\',\\\'\' + row.uuiGrade + \'\\\')">取消</a>\';\n }\n return \'<a href="javascript:void(0)" class="flag_\' + row.id +\'" onclick="btnSelectUser(this, \' + row.id\n + \',\\\'\' + row.uuiName + \'\\\',\\\'\' + row.gradeCode + \'\\\',\\\'\' + row.uuiMobile + \'\\\',\\\'\' + uoiId\n + \'\\\',\\\'\' + row.uuiGrade + \'\\\')">选取</a>\';\n }\n }*/\n ]\n });\n $(window).resize(function () {\n $(\'#popover_tbl_datapage_list\').bootstrapTable(\'resetView\');\n });\n }\n }\n ];\n /*\n * 数组删除某元素\n * */\n Array.prototype.remove = function (index) {\n for (var i = 0; i < this.length; i++) {\n if (i == index) {\n this.splice(i, 1);\n break;\n console.log("删除元素" + obj + "数组" + this);\n }\n }\n }\n //选择用户\n $scope.btnSelectUser = function (id, name, No, phone, uoiId, uuiGrade) {\n console.log("选择用户\\n" + "uoiId" + JSON.stringify(uoiId));\n var isSelected = false;\n var arrIndex = $.inArray(id+"", $scope.model.selected.id);\n if(!$scope.model.multiselect && $scope.model.selected.id == id)\n return;\n if(arrIndex > -1){\n $scope.model.selected.id.remove(arrIndex);\n $scope.model.selected.name.remove(arrIndex);\n $scope.model.selected.No.remove(arrIndex);\n $scope.model.selected.phone.remove(arrIndex);\n $scope.model.selected.uoiId.remove(arrIndex);\n $scope.model.selected.uuiGrade.remove(arrIndex);\n// $(opt).html("选取");\n } else {\n if($scope.model.selected.id.length > 0 && !$scope.model.multiselect){\n var tmpIndex = $.inArray($scope.$parent.model[$scope.$parent.editmodel.assignfield.id]+"", $scope.model.selected.id);\n// $(".flag_" + $scope.$parent.model[$scope.$parent.editmodel.assignfield.id]).html("选取");\n $scope.model.selected.id.remove(tmpIndex);\n $scope.model.selected.name.remove(tmpIndex);\n $scope.model.selected.No.remove(tmpIndex);\n $scope.model.selected.phone.remove(tmpIndex);\n $scope.model.selected.uoiId.remove(tmpIndex);\n $scope.model.selected.uuiGrade.remove(tmpIndex);\n }\n $scope.model.selected.id.push(id+"");\n $scope.model.selected.name.push(name);\n $scope.model.selected.No.push(No);\n $scope.model.selected.phone.push(phone);\n $scope.model.selected.uoiId.push(uoiId);\n $scope.model.selected.uuiGrade.push(uuiGrade);\n// $(opt).html("取消");\n }\n// console.log($scope.model.multiselect+"\\n\\n");\n// if($scope.$parent.model[$scope.$parent.editmodel.assignfield.id] == id)\n// $(opt).html("取消");\n// return;\n// if($scope.$parent.model[$scope.$parent.editmodel.assignfield.id]){\n// $(".flag_" + $scope.$parent.model[$scope.$parent.editmodel.assignfield.id]).html("选取");\n// }\n// $(opt).html("取消");\n $timeout(function () {\n if ($scope.$parent.editmodel.assignfield.id)\n $scope.$parent.model[$scope.$parent.editmodel.assignfield.id] = $scope.model.selected.id.toString();\n if ($scope.$parent.editmodel.assignfield.name)\n $scope.$parent.model[$scope.$parent.editmodel.assignfield.name] = $scope.model.selected.name.toString();\n if ($scope.$parent.editmodel.assignfield.No)\n $scope.$parent.model[$scope.$parent.editmodel.assignfield.No] = $scope.model.selected.No.toString();\n if ($scope.$parent.editmodel.assignfield.phone)\n $scope.$parent.model[$scope.$parent.editmodel.assignfield.phone] = $scope.model.selected.phone.toString();\n if ($scope.$parent.editmodel.assignfield.uoiId)\n $scope.$parent.model[$scope.$parent.editmodel.assignfield.uoiId] = $scope.model.selected.uoiId.toString();\n if ($scope.$parent.editmodel.assignfield.uuiGrade)\n $scope.$parent.model[$scope.$parent.editmodel.assignfield.uuiGrade] = $scope.model.selected.uuiGrade.toString();\n console.log("用户信息" + JSON.stringify($scope.$parent.model) + id + "--" + name + "--" + No + "--" + phone + "--" + uoiId + "--" + uuiGrade);\n });\n }\n }\n //绑定选取用户方法\n function btnSelectUser(opt, id, uuiName, gradeCode, uuiMobile, uoiId, uuiGrade) {\n var tmpFn = GetAngularFun(\'#popoverCtrl\', \'btnSelectUser\');\n tmpFn(opt, id, uuiName, gradeCode, uuiMobile, uoiId, uuiGrade);\n }\n</script>'),e.put("directives/decorators/bootstrap/table/table-title.html",'<div sf-array="form" class="form-group {{form.htmlClass}}" style="clear: both" ng-model="$$value$$" ng-model-options="form.ngModelOptions"><button ng-click="form.add()" type="button" class="btn btn-success pull-right" style="margin-bottom:20px;margin-left: 10px" ng-init="(!$$value$$ || $$value$$.length == 0 ) && form.add()"><i class="glyphicon glyphicon-plus"></i> 增加{{form.title}}</button> <button ng-show="form.actionTitle" ng-click="form.action()" type="button" class="btn btn-success pull-right" style="margin-bottom:20px">{{form.actionTitle}} <i class="glyphicon glyphicon-chevron-right"></i></button><h3>{{form.title}}</h3></div>'),e.put("directives/decorators/bootstrap/table/table.html",'<div ng-class="form.htmlClass" style="clear: both" ng-model="$$value$$" ng-model-options="form.ngModelOptions"><div class="ng-table-toolbar" ng-if="!form.hideTopToggle"><div id="toolbar_btnoption_list" class="pull-left btn-group ng-scope"><div class="btnlist-inner"><button ng-repeat="btn in form.toolbar" class="btn btn-default" ng-class="btn.htmlClass" type="button" ng-if="btn.condition ? btn.condition() : true" ng-click="btn.action();"><i ng-if="btn.icon" ng-class="btn.icon"></i> <span>{{btn.name}}</span></button></div></div><div class="columns columns-right btn-group pull-right"><button class="btn btn-default" type="button" name="refresh" title="刷新" ng-click="form.tableParams.reload()"><i class="refresh icon"></i></button> <button ng-if="form.showToggle" class="btn btn-default" ng-click="form.toggleView=!form.toggleView" type="button" name="toggle" title="切换"><i class="browser icon"></i></button><div class="keep-open btn-group" title="列"><button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="grid layout icon"></i> <span class="caret"></span></button><ul class="dropdown-menu" role="menu"><li ng-repeat="col in form.items"><label class="col-checkbox-label" ng-class="{\'icon icon-home_Screen_hook active\': col.show}"><input type="checkbox" ng-model="col.show"></label><span>{{col.title}}</span></li></ul></div><div class="export btn-group"><button class="btn btn-default dropdown-toggle" data-toggle="dropdown" type="button" aria-expanded="false"><i class="cloud download icon"></i> <span class="caret"></span></button><ul class="dropdown-menu export-table" role="menu"><li><a title="excel" href="javascript:void(0)">MS-Excel</a></li><li><a title="csv" href="javascript:void(0)">CSV</a></li><li><a title="png" href="javascript:void(0)">PNG</a></li><li><a title="doc" href="javascript:void(0)">MS-Word</a></li></ul></div></div></div><div class="table-responsive"><table table-scroll-plug="" ng-table-dynamic="form.tableParams with form.items" template-pagination="customPagination.html" class="table table-hover" ng-init="form.tableParams.settings({dataset: $$value$$ });"><tr ng-repeat="row in $data"><td ng-repeat="col in $columns" ng-switch="col.type" ng-style="col.style" header="\'headerCheckbox.html\'"><div ng-switch-when="checkRow" ng-class="col.fieldClass"><label class="col-checkbox-label" ng-class="{\'icon icon-home_Screen_hook active\': row[\'selected\']}"><input type="checkbox" ng-model="row[\'selected\']" ng-click="form.selectOne($event)"></label></div><div ng-switch-when="radioRow" ng-class="col.fieldClass"><input type="radio" ng-model="form[\'selected\']" ng-value="row"></div><div ng-switch-when="serial" ng-class="col.fieldClass" ng-bind="$data.indexOf(row)+1+(params.count()*(params.page()-1))"></div><div ng-switch-when="txt" ng-class="col.fieldClass" ng-bind-html="col.formatter ? col.formatter(row[col.field], row, $index) : row[col.field]"></div><div ng-switch-when="actionLink" ng-class="col.fieldClass" ng-if="col.condition? col.condition : true"><a href="javascript:;" ng-click="col.action(this, row)" ng-bind-html="col.formatter ? col.formatter(row[col.field], row, $index) : row[col.field]"></a></div><div ng-switch-when="input" ng-class="col.fieldClass"><input type="{{col.inputType}}" ng-model="row[col.field]"></div><div ng-switch-when="template" ng-class="col.fieldClass"><div ng-include="col.templateUrl"></div></div><a ng-switch-when="button" type="button" class="btn" ng-attr-title="{{col.title}}" ng-class="col.fieldClass" ng-click="col.action(this, row)"><span ng-if="col.iconClass" class="glyphicon" ng-class="col.iconClass"></span> <span ng-bind="col.text"></span></a><div ng-switch-when="buttons" ng-class="col.fieldClass"><a ng-repeat="colBtn in col.items" type="button" class="btn" ng-attr-title="{{colBtn.title}}" ng-class="colBtn.fieldClass" ng-click="colBtn.action(this, row)"><span ng-if="colBtn.iconClass" class="glyphicon" ng-class="colBtn.iconClass"></span> <span ng-bind="colBtn.text"></span></a></div><div ng-switch-default="">[{{col.field}}]该列类型未开发。。。</div></td></tr><tr ng-if="$data && $data.length == 0"><td class="schema-table-nodata" ng-attr-colspan="{{$columns.length}}">暂无该类数据</td></tr></table></div><script type="text/ng-template" id="customPagination.html"><div class="ng-cloak ng-table-pager" ng-if="!params.settings().showPageListInfo && params.data.length" style="display: inline-block;width: 100%; margin-bottom: 5px; clear: both;"> <div class="pull-left"> <span style="margin-left:5px; line-height: 32px;vertical-align: top;">第{{params.page()}}/{{(params.settings().total / params.count()) | ceil}}页</span> <div ng-if="params.settings().counts.length" class="ng-table-counts btn-group"> <select class="form-control" ng-model="params.count" ng-model-options="{ getterSetter: true }" ng-options="count for count in params.settings().counts"> </select> </div> </div> <ul ng-if="pages.length" class="pagination ng-table-pagination pull-right"> <li ng-repeat="page in pages" ng-class="{\'disabled\': !page.active && !page.current, \'active\': page.current}" ng-switch="page.type"> <a ng-switch-when="prev" ng-click="params.page(page.number)" href=""> <!--‹-->上一页</a> <a ng-switch-when="first" ng-click="params.page(page.number)" href=""> <span ng-bind="page.number"></span> </a> <a ng-switch-when="page" ng-click="params.page(page.number)" href=""> <span ng-bind="page.number"></span> </a> <a ng-switch-when="more" ng-click="params.page(page.number)" href="">…</a> <a ng-switch-when="last" ng-click="params.page(page.number)" href=""> <span ng-bind="page.number"></span> </a> <a ng-switch-when="next" ng-click="params.page(page.number)" href=""> <!--›-->下一页</a> </li> </ul> <ul ng-if="pages.length == 0" class="pagination ng-table-pagination pull-right"> <li class="disabled"> <a href="">上一页</a> </li> <li class="active"> <a href=""> <span>1</span> </a> </li> <li class="disabled"> <a href="">下一页</a> </li> </ul> <div class="pull-right"> <!--<span style="margin-left:5px; line-height: 32px;vertical-align: top;">共{{params.settings().total}}条记录,第{{params.page()}}/{{(params.settings().total / params.count()) | ceil}}页</span>--> <span style="margin-left:5px; line-height: 32px;vertical-align: top;">{{params.settings().total}}条</span> </div> </div></script><script type="text/ng-template" id="headerCheckbox.html"><label class="col-checkbox-label" ng-class="{\'icon icon-home_Screen_hook active\': form.checkedAll}"><input type="checkbox" ng-model="form.checkedAll" class="select-all" ng-click="form.selectAll($event)" /></label></script></div>'),e.put("directives/decorators/bootstrap/table/uploadfile.html",'<div class="form-group schema-form-{{form.type}} {{form.htmlClass}}" ng-init="form.options.resultKey=\'url\' ; form.options.progressKey=\'progress\' ; form.options.errorMsgKey=\'errorMsg\'" ng-class="{\'has-error\': form.disableErrorState !== true && hasError(), \'has-success\': form.disableSuccessState !== true && hasSuccess(), \'has-feedback\': form.feedback !== false }"><label class="control-label {{form.labelHtmlClass}}" ng-class="{\'sr-only\': !showTitle(), \'schema-form-required\': form.inputrequired === true}" for="{{form.key.slice(-1)[0]}}">{{form.title}}<span ng-if="form.inputrequired === true" class="join-required"></span></label><div class="joininputcol" ng-class="form.fieldHtmlClass"><div class="uploadfilebody"><a class="btn btn-success uploadfilebuttom" ngf-select="" ngf-change="form.options.uploadPic($file, form.options, arrayIndex)" ngf-fix-orientation="true" ngf-validate="form.options.uploadvalidate?form.options.uploadvalidate:{size: {max: \'20MB\', min: \'10B\'}}" ng-class="form.class" tabindex="-1"><span ng-if="!$file[form.options.resultKey]" ng-bind="$$value$$ ? \'重新上传\':\'上传文件\'"></span> <span class="file-progress" ng-if="!$file[form.options.resultKey]" ng-show="$file[form.options.progressKey] >= 0"><span style="width:{{$file[form.options.progressKey]}}%" ng-bind="$file[form.options.progressKey] + \'%\'"></span></span> <span ng-show="$file[form.options.resultKey]">上传成功</span></a> <span class="uploadfilecls" ng-if="form.options.showThumb && form.options.fileName">已上传: {{form.options.fileName}}</span><br ng-if="form.options.suggestBottom"><span class="uploadfilelabel" ng-if="form.options.suggestlabel" ng-style="{\'padding-left\': (form.options.suggestBottom? \'0px\' : \'10px\')}" ng-bind="form.options.suggestlabel"></span></div><span ng-if="$file[form.options.errorMsgKey]" class="sr-only">错误: {{$file[form.options.errorMsgKey]}}</span><div class="help-block" sf-message="form.description"></div></div></div>'),e.put("directives/decorators/bootstrap/table/uploadfiles.html",'<div class="form-group schema-form-{{form.type}} {{form.htmlClass}}" ng-init="form.options.resultKey=\'url\' ; form.options.progressKey=\'progress\' ; form.options.errorMsgKey=\'errorMsg\'" ng-class="{\'has-error\': form.disableErrorState !== true && hasError(), \'has-success\': form.disableSuccessState !== true && hasSuccess(), \'has-feedback\': form.feedback !== false }"><label class="control-label {{form.labelHtmlClass}}" ng-class="{\'sr-only\': !showTitle(), \'schema-form-required\': form.inputrequired === true}" for="{{form.key.slice(-1)[0]}}">{{form.title}}<span ng-if="form.inputrequired === true" class="join-required"></span></label><div class="joininputcol" ng-class="form.fieldHtmlClass"><div class="uploadfilesbody"><div class="uploadfilescls" ng-repeat="f in $$value$$ track by $index"><span ng-if="$files[$index][form.options.errorMsgKey]" class="sr-only">错误: {{$files[$index][form.options.errorMsgKey]}}</span> <a ng-if="form.options.showThumb" href="{{f}}" target="_blank">{{f.substring(f.lastIndexOf(\'/\')+1)}}</a> <span class="file-progress" ng-show="$files[$index][form.options.progressKey] >= 0"><div style="width:{{$files[$index][form.options.progressKey]}}%" ng-bind="$files[$index][form.options.progressKey] + \'%\'"></div></span><div ng-show="f" class="icon icon-activities_icon_close file-del" ng-click="form.options.deleteFn($$value$$, f)"></div></div><a ng-if="form.options.maxNum ? form.options.maxNum > $$value$$.length : true" ngf-multiple="true" class="btn btn-success uploadfilesbuttom" ngf-select="" ngf-change="form.options.uploadPics($files, form.options, $$value$$)" ngf-fix-orientation="true" ngf-validate="form.options.uploadvalidate?form.options.uploadvalidate:{size: {max: \'20MB\', min: \'10B\'}}" ng-class="form.class" tabindex="-1"><span>批量上传</span></a><br ng-if="form.options.suggestBottom"><span class="uploadfileslabel" ng-if="form.options.suggestlabel" ng-style="{\'padding-left\': (form.options.suggestBottom? \'0px\' : \'10px\')}" ng-bind="form.options.suggestlabel"></span></div><div class="help-block" sf-message="form.description"></div></div></div>'),e.put("directives/decorators/bootstrap/table/uploadpic.html",'<div class="form-group schema-form-{{form.type}} {{form.htmlClass}}" ng-init="form.options.resultKey=\'url\' ; form.options.progressKey=\'progress\' ; form.options.errorMsgKey=\'errorMsg\'" ng-class="{\'has-error\': form.disableErrorState !== true && hasError(), \'has-success\': form.disableSuccessState !== true && hasSuccess(), \'has-feedback\': form.feedback !== false }"><label class="control-label {{form.labelHtmlClass}}" ng-class="{\'sr-only\': !showTitle(), \'schema-form-required\': form.inputrequired === true}" for="{{form.key.slice(-1)[0]}}">{{form.title}}<span ng-if="form.inputrequired === true" class="join-required"></span></label><div class="joininputcol" ng-class="form.fieldHtmlClass"><a ng-if="form.options.showThumb" href="{{$$value$$}}" target="_blank"><img ng-if="form.options.showThumb" ngf-src="$$value$$" height="{{form.options.thumbSize}}" width="{{form.options.thumbSize}}" style="margin-bottom: 10px" class="thumb"></a><br><a class="btn btn-success" ngf-select="" ngf-change="form.options.uploadPic($file, form.options, arrayIndex, $newFiles, $duplicateFiles, $invalidFiles, $event)" ngf-fix-orientation="true" ngf-validate="form.options.uploadvalidate" ngf-resize="{width: (form.options.resizewidth?form.options.resizewidth:960), quality: 0.8, type: \'image/jpeg\'}" ngf-resize-if="$width > (form.options.resizewidth?form.options.resizewidth:960) || $height > (form.options.resizewidth?form.options.resizewidth:960)" ng-class="form.class" tabindex="-1"><span ng-if="!$file[form.options.resultKey]">上传图片</span> <span class="file-progress" ng-if="!$file[form.options.resultKey]" ng-show="$file[form.options.progressKey] >= 0"><span style="width:{{$file[form.options.progressKey]}}%" ng-bind="$file[form.options.progressKey] + \'%\'"></span></span> <span ng-show="$file[form.options.resultKey]">上传成功</span></a><br ng-if="form.options.suggestBottom"><span ng-if="form.options.suggestlabel" ng-style="{\'padding-left\': (form.options.suggestBottom? \'0px\' : \'10px\')}" ng-bind="form.options.suggestlabel"></span> <span ng-if="$file[form.options.errorMsgKey]" class="sr-only">错误: {{$file[form.options.errorMsgKey]}}</span><div class="help-block" sf-message="form.description"></div></div></div>'),
e.put("directives/decorators/bootstrap/table/uploadpics.html",'<div class="form-group schema-form-{{form.type}} {{form.htmlClass}}" ng-init="form.options.resultKey=\'url\' ; form.options.progressKey=\'progress\' ; form.options.errorMsgKey=\'errorMsg\'" ng-class="{\'has-error\': form.disableErrorState !== true && hasError(), \'has-success\': form.disableSuccessState !== true && hasSuccess(), \'has-feedback\': form.feedback !== false }"><label class="control-label {{form.labelHtmlClass}}" ng-class="{\'sr-only\': !showTitle(), \'schema-form-required\': form.inputrequired === true}" for="{{form.key.slice(-1)[0]}}">{{form.title}}<span ng-if="form.inputrequired === true" class="join-required"></span></label><div class="joininputcol" ng-class="form.fieldHtmlClass"><div ng-repeat="f in $$value$$ track by $index"><span ng-if="$files[$index][form.options.errorMsgKey]" class="sr-only">错误: {{$files[$index][form.options.errorMsgKey]}}</span> <a ng-if="form.options.showThumb" href="{{f}}" target="_blank"><img ngf-src="f" height="{{form.options.thumbSize}}px" width="{{form.options.thumbSize}}px" style="margin-bottom: 2px" class="thumb"></a> <span class="file-progress" ng-show="$files[$index][form.options.progressKey] >= 0"><div style="width:{{$files[$index][form.options.progressKey]}}%" ng-bind="$files[$index][form.options.progressKey] + \'%\'"></div></span><div ng-show="f" class="glyphicon glyphicon-remove-sign file-del" ng-click="form.options.deleteFn($$value$$, f)"></div></div><a ngf-multiple="true" class="btn btn-success" ngf-select="" ngf-change="form.options.uploadPics($files, form.options, $$value$$, $newFiles, $duplicateFiles, $invalidFiles, $event)" ng-init="form.options.init($files, $$value$$);" ngf-fix-orientation="true" ngf-validate="form.options.uploadvalidate" ngf-resize="{width: (form.options.resizewidth?form.options.resizewidth:960), quality: 0.8, type: \'image/jpeg\', restoreExif: true}" ngf-resize-if="$width > (form.options.resizewidth?form.options.resizewidth:960) || $height > (form.options.resizewidth?form.options.resizewidth:960)" ng-class="form.class" tabindex="-1"><span>批量上传</span></a><br ng-if="form.options.suggestBottom"><span ng-if="form.options.suggestlabel" ng-style="{\'padding-left\': (form.options.suggestBottom? \'0px\' : \'10px\')}" ng-bind="form.options.suggestlabel"></span><div class="help-block" sf-message="form.description"></div></div></div>')}]),angular.module("schemaForm").config(["schemaFormProvider","schemaFormDecoratorsProvider","sfPathProvider",function(e,t,o){var s="directives/decorators/bootstrap/table/",a=function(t,s,a){if("array"===s.type&&"table"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="table",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift(a),t.addMapping("bootstrapDecorator","table",s+"table.html"),t.createDirective("table",s+"table.html");var r=function(t,s,a){if("array"===s.type&&"table-title"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="table-title",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift(r),t.addMapping("bootstrapDecorator","table-title",s+"table-title.html"),t.createDirective("table-title",s+"table-title.html");var l=function(t,s,a){if("default"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="default",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift(l),t.addMapping("bootstrapDecorator","default",s+"mos-default.html"),t.createDirective("default",s+"mos-default.html");var i=function(t,s,a){if("multi-select"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="multi-select",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift(i),t.addMapping("bootstrapDecorator","multi-select",s+"mos-multiselect.html"),t.createDirective("multi-select",s+"mos-multiselect.html");var n=function(t,s,a){if("button-group"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="button-group",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift(n),t.addMapping("bootstrapDecorator","button-group",s+"mos-button-group.html"),t.createDirective("button-group",s+"mos-button-group.html");var m=function(t,s,a){if("mos-array"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="mos-array",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift(m),t.addMapping("bootstrapDecorator","mos-array",s+"mos-array.html"),t.createDirective("mos-array",s+"mos-array.html");var c=function(t,s,a){if("mos-color"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="mos-color",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift(c),t.addMapping("bootstrapDecorator","mos-color",s+"mos-color.html"),t.createDirective("mos-color",s+"mos-color.html");var d=function(t,s,a){if("mos-textarea"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="mos-textarea",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift(d),t.addMapping("bootstrapDecorator","mos-textarea",s+"mos-textarea.html"),t.createDirective("mos-textarea",s+"mos-textarea.html");var p=function(t,s,a){if("mos-select"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="mos-select",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift(p),t.addMapping("bootstrapDecorator","mos-select",s+"mos-select.html"),t.createDirective("mos-select",s+"mos-select.html");var f=function(t,s,a){if("mos-select2"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="mos-select2",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift(f),t.addMapping("bootstrapDecorator","mos-select2",s+"mos-select2.html"),t.createDirective("mos-select2",s+"mos-select2.html");var u=function(t,s,a){if("mos-multiselect2"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="mos-multiselect2",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift(u),t.addMapping("bootstrapDecorator","mos-multiselect2",s+"mos-multiselect2.html"),t.createDirective("mos-multiselect2",s+"mos-multiselect2.html");var g=function(t,s,a){if("mos-treeselect2"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="mos-treeselect2",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift(g),t.addMapping("bootstrapDecorator","mos-treeselect2",s+"mos-treeselect2.html"),t.createDirective("mos-treeselect2",s+"mos-treeselect2.html");var h=function(t,s,a){if("mos-treemultiselect2"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="mos-treemultiselect2",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift(h),t.addMapping("bootstrapDecorator","mos-treemultiselect2",s+"mos-treemultiselect2.html"),t.createDirective("mos-treemultiselect2",s+"mos-treemultiselect2.html");var b=function(t,s,a){if("mos-template"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="mos-template",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift(b),t.addMapping("bootstrapDecorator","mos-template","directives/decorators/bootstrap/table/mos-template.html"),t.createDirective("mos-template","directives/decorators/bootstrap/table/mos-template.html");var v=function(t,s,a){if("uploadpic"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="uploadpic",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift(v),t.addMapping("bootstrapDecorator","uploadpic",s+"uploadpic.html"),t.createDirective("uploadpic",s+"uploadpic.html");var $=function(t,s,a){if("uploadpics"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="uploadpics",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift($),t.addMapping("bootstrapDecorator","uploadpics",s+"uploadpics.html"),t.createDirective("uploadpics",s+"uploadpics.html");var y=function(t,s,a){if("cutuploadpic"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="cutuploadpic",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift(y),t.addMapping("bootstrapDecorator","cutuploadpic",s+"cutuploadpic.html"),t.createDirective("cutuploadpic",s+"cutuploadpic.html");var k=function(t,s,a){if("cutuploadpics"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="cutuploadpics",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift(k),t.addMapping("bootstrapDecorator","cutuploadpics",s+"cutuploadpics.html"),t.createDirective("cutuploadpics",s+"cutuploadpics.html");var w=function(t,s,a){if("uploadfile"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="uploadfile",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift(w),t.addMapping("bootstrapDecorator","uploadfile",s+"uploadfile.html"),t.createDirective("uploadfile",s+"uploadfile.html");var x=function(t,s,a){if("uploadfiles"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="uploadfiles",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift(x),t.addMapping("bootstrapDecorator","uploadfiles",s+"uploadfiles.html"),t.createDirective("uploadfiles",s+"uploadfiles.html");var S=function(t,s,a){if("ckeditor"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="ckeditor",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift(S),t.addMapping("bootstrapDecorator","ckeditor",s+"ckeditor.html"),t.createDirective("ckeditor",s+"ckeditor.html");var C=function(t,s,a){if("ngtree"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="ngtree",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift(C),t.addMapping("bootstrapDecorator","ngtree",s+"ngtree.html"),t.createDirective("ngtree",s+"ngtree.html");var _=function(t,s,a){if("popover-tree"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="popover-tree",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift(_),t.addMapping("bootstrapDecorator","popover-tree",s+"popover-tree.html"),t.createDirective("popover-tree",s+"popover-tree.html");var O=function(t,s,a){if("date-range"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="date-range",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift(O),t.addMapping("bootstrapDecorator","date-range",s+"date-range.html"),t.createDirective("date-range",s+"date-range.html");var D=function(t,s,a){if("mos-radio-buttons"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="mos-radio-buttons",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift(D),t.addMapping("bootstrapDecorator","mos-radio-buttons",s+"mos-radio-buttons.html"),t.createDirective("mos-radio-buttons",s+"mos-radio-buttons.html");var j=function(t,s,a){if("popoverUser"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="popoverUser",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift(j),t.addMapping("bootstrapDecorator","popoverUser",s+"popover-user.html"),t.createDirective("popoverUser",s+"popover-user.html");var q=function(t,s,a){if("mos-commit-info"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="mos-commit-info",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift(q),t.addMapping("bootstrapDecorator","mos-commit-info",s+"mos-commit-info.html"),t.createDirective("mos-commit-info",s+"mos-commit-info.html");var M=function(t,s,a){if("mos-tree-grid"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="mos-tree-grid",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift(M),t.addMapping("bootstrapDecorator","mos-tree-grid",s+"mos-tree-grid.html"),t.createDirective("mos-tree-grid",s+"mos-tree-grid.html");var I=function(t,s,a){if("mos-radios"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="mos-radios",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift(I),t.addMapping("bootstrapDecorator","mos-radios",s+"mos-radios.html"),t.createDirective("mos-radios",s+"mos-radios.html");var A=function(t,s,a){if("bs-table"===s.format){var r=e.stdFormObj(t,s,a);return r.key=a.path,r.type="bs-table",a.lookup[o.stringify(a.path)]=r,r}};e.defaults.string.unshift(A),t.addMapping("bootstrapDecorator","bs-table",s+"bs-table.html"),t.createDirective("bs-table",s+"bs-table.html"),t.createDirectives({"mos-number":s+"mos-default.html",text:s+"mos-default.html",date:s+"mos-default.html",password:s+"mos-default.html",input:s+"mos-default.html","multi-select":s+"mos-multiselect.html","table-title":s+"table-title.html",table:s+"table.html","button-group":s+"mos-button-group.html","mos-array":s+"mos-array.html","mos-color":s+"mos-color.html","mos-textarea":s+"mos-textarea.html","mos-commit-info":s+"mos-commit-info.html","mos-select":s+"mos-select.html","mos-select2":s+"mos-select2.html","mos-multiselect2":s+"mos-multiselect2.html","mos-treeselect2":s+"mos-treeselect2.html","mos-treemultiselect2":s+"mos-treemultiselect2.html","mos-template":s+"mos-template.html",uploadpic:s+"uploadpic.html",uploadpics:s+"uploadpics.html",cutuploadpic:s+"cutuploadpic.html",cutuploadpics:s+"cutuploadpics.html",uploadfile:s+"uploadfile.html",uploadfiles:s+"uploadfiles.html",ckeditor:s+"ckeditor.html",ngtree:s+"ngtree.html","popover-tree":s+"popover-tree.html","date-range":s+"date-range.html","mos-radio-buttons":s+"mos-radio-buttons.html","mos-tree-grid":s+"mos-tree-grid.html",popoverUser:s+"popover-user.html","mos-radios":s+"mos-radios.html","bs-table":s+"bs-table.html",label:s+"mos-default.html"})}]);