���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/alphpwcp/public_html/us/alphachat/design/defaulttheme/js/checklist-model.min.js
���ѧ٧ѧ�
angular.module("checklist-model",[]).directive("checklistModel",["$parse","$compile",function(e,t){function c(e,t,c){if(angular.isArray(e))for(var r=e.length;r--;)if(c(e[r],t))return!0;return!1}function r(r,a,i){t(a)(r);var n=e(i.checklistModel),l=n.assign,o=e(i.checklistChange),h=e(i.checklistValue)(r.$parent),u=angular.equals;function s(e,t){r.checked=c(e,h,u)}i.hasOwnProperty("checklistComparator")&&(u=e(i.checklistComparator)(r.$parent)),r.$watch("checked",(function(e,t){if(e!==t){var a=n(r.$parent);l(r.$parent,!0===e?function(e,t,r){return c(e=angular.isArray(e)?e:[],t,r)||e.push(t),e}(a,h,u):function(e,t,c){if(angular.isArray(e))for(var r=e.length;r--;)if(c(e[r],t)){e.splice(r,1);break}return e}(a,h,u)),o&&o(r)}})),angular.isFunction(r.$parent.$watchCollection)?r.$parent.$watchCollection(i.checklistModel,s):r.$parent.$watch(i.checklistModel,s,!0)}return{restrict:"A",priority:1e3,terminal:!0,scope:!0,compile:function(e,t){if("INPUT"!==e[0].tagName||"checkbox"!==t.type)throw'checklist-model should be applied to `input[type="checkbox"]`.';if(!t.checklistValue)throw"You should provide `checklist-value`.";return e.removeAttr("checklist-model"),e.attr("ng-model","checked"),r}}}]);
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�