Lines Matching refs:t
16 var __decorate = this && this.__decorate || function (e, t, o, i) {
17 …var s, a = arguments.length, d = a < 3 ? t : null === i ? i = Object.getOwnPropertyDescriptor(t, o…
18 …Reflect.decorate(e, t, o, i); else for (var r = e.length - 1;r >= 0; r--) (s = e[r]) && (d = (a < …
19 return a > 3 && d && Object.defineProperty(t, o, d), d
24 const t = "#00000000"; constant
32 on(e, t) { argument
34 …i = e.length;o < i; o++) this.on(e[o], t); else (this._events[e] || (this._events[e] = [])).push(t)
37 once(e, t) { argument
42 t.apply(null, [e, t])
45 i.callback = t;
49 off(e, t) { argument
51 if (Array.isArray(e)) for (let o = 0, i = e.length;o < i; o++) this.off(e[o], t);
54 null == t && (this._events[e] = null);
58 if (i === t || i.callback === t) {
65 emit(e, t) { argument
70 i[e].apply(o, t)
122 const t = this.listeners.indexOf(e);
123 t >= 0 && this.listeners.splice(t, 1)
133 this.listeners.forEach((t => {
134 t.onDataAdd(e)
139 this.listeners.forEach((t => {
140 t.onDataChange(e)
145 this.listeners.forEach((t => {
146 t.onDataDelete(e)
150 notifyDataMove(e, t) { argument
152 o.onDataMove(e, t)
305 constructor(e, t, o, i, s, a) { argument
316 this.imageSelectedSource = null != t ? t : this.imageNormalSource;
375 setImageCollapseSource(e, t) {
409 …this.imageCollapseSource = t == I.Collapse ? this.imageCollapseRightSource : this.imageCollapseDow…
982 traverseNodeDF(e, t = this._root) { argument
984 o.unshift(t);
996 let t = [];
998 t.push(this._root);
999 let i = t.shift();
1007 t.push(...i.children);
1008 i = t.shift()
1013 contains(e, t) { argument
1014 t.call(this, e,!0)
1017 updateParentChildNum(e, t, o) { argument
1021 … e.getChildNodeInfo().allChildNum = t ? e.getChildNodeInfo().allChildNum + o : e.getChildNodeInfo()
1031 let t = null;
1034 t = o;
1039 return t.parentNodeId
1042 addNode(e, t, o) { argument
1050 this.contains((function (t) { argument
1051 if (t.currentNodeId == e) {
1052 i = t;
1062 s.currentNodeId = t;
1074 findNodeIndex(e, t) { argument
1076 for (let i = 0, s = e.length;i < s; i++) if (e[i].currentNodeId === t) {
1083 freeNodeMemory(e, t) { argument
1090 t.push(e.currentNodeId);
1095 removeNode(e, t, o) { argument
1098 if (e.currentNodeId == t) {
1105 let t = [];
1110 this.freeNodeMemory(i.children[o], t);
1118 return t
1124 let t = null;
1127 t = o;
1140 if (t) if (0 === t.children.length) if (null != t.getNodeItem().imageNode) {
1141 o.icon = t.getNodeItem().imageNode.normalSource;
1142 o.selectedIcon = t.getNodeItem().imageNode.selectedSource;
1143 o.editIcon = t.getNodeItem().imageNode.editSource;
1144 o.menu = t.getMenu()
1149 o.menu = t.getMenu()
1150 } else if (t.children.length > 0) if (null != t.getNodeItem().imageNode) {
1151 o.icon = null != t.children[0].getNodeItem().imageNode ? t.children[0].getNodeItem()
1154 o.selectedIcon = null != t.children[0].getNodeItem().imageNode ? t.children[0].getNodeItem()
1157 o.editIcon = null != t.children[0].getNodeItem().imageNode ? t.children[0].getNodeItem()
1160 o.menu = t.children[0].getMenu()
1165 o.menu = t.children[0].getMenu()
1171 let t = null;
1174 t = o;
1179 if (t) {
1180 if (0 === t.children.length) return [];
1181 if (t.children.length > 0) {
1182 var o = new Array(t.children.length);
1184 … for (let e = 0;e < t.children.length && e < o.length; e++) o[e] = t.children[e].currentNodeId;
1192 let t = null;
1195 t = o;
1200 if (t) {
1201 if (0 === t.children.length) return [];
1202 if (t.children.length > 0) {
1203 var o = new Array(t.children.length);
1205 for (let e = 0;e < t.children.length && e < o.length; e++) {
1206 o[e].itemId = t.children[e].currentNodeId;
1207 …t.children[e].getNodeItem().imageNode && (o[e].itemIcon = t.children[e].getNodeItem().imageNode.so…
1208 … t.children[e].getNodeItem().mainTitleNode && (o[e].itemTitle = t.children[e].getNodeItem()
1211 o[e].isFolder = t.children[e].getIsFolder()
1220 let t = /^[\u4e00-\u9fa5]+$/;
2456 popupForShowTitle(e, t, o, i = null) {
2460 Row.backgroundColor(t);
2503 this.observeComponentCreation(((t, i) => {
2504 ViewStackProcessor.StartGetAccessRecordingFor(t);
2527 this.observeComponentCreation(((e, t) => {
2546 t || Row.pop();
2556 Row.backgroundColor(t);
2563 this.observeComponentCreation(((t, o) => {
2564 ViewStackProcessor.StartGetAccessRecordingFor(t);
2579 this.observeComponentCreation(((t, o) => {
2580 ViewStackProcessor.StartGetAccessRecordingFor(t);
2597 this.observeComponentCreation(((t, o) => {
2598 ViewStackProcessor.StartGetAccessRecordingFor(t);
2601 this.observeComponentCreation(((t, o) => {
2602 ViewStackProcessor.StartGetAccessRecordingFor(t);
2623 this.observeComponentCreation(((e, t) => {
2633 let t = Math.floor(e.getY() / 24) % 2 ? g.DOWN_FLAG : g.UP_FLAG;
2637 t = g.DOWN_FLAG;
2653 this.listNodeDataSource.setVisibility(t, o, i);
2659 List.onDragEnter(((e, t) => {
2666 List.onDragLeave(((e, t) => {
2674 List.onDrop(((e, t) => {
2711 let t = _.call(e, l);
2712 this.listNodeDataSource.setClickIndex(t);
2713 this.listNodeDataSource.handleEvent(r.DRAG, t);
2722 let t = _.call(e, a);
2723 …this.listNodeDataSource.ListNode[t].getIsHighLight() && this.listNodeDataSource.expandAndCollapseN…
2745 t || List.pop();
2753 const a = (t, o) => {
2754 ViewStackProcessor.StartGetAccessRecordingFor(t);
2760 ListItem.onDragStart(((e, t) => {
2765 this.dropSelectedIndex = JSON.parse(t).selectedIndex;
2766 let o = JSON.parse(t).selectedIndex;
2795 this.observeComponentCreation(((e, t) => {
2800 let t = this;
2801 let o = _.call(t, i.getNodeCurrentNodeId());
2803 … t.listNodeDataSource.handleEvent(r.MOUSE_BUTTON_RIGHT, _.call(t, i.getNodeCurrentNodeId()));
2805 t.listNodeDataSource.setClickIndex(o);
2806 t.listNodeDataSource.setPopUpInfo(l.HINTS, h.NONE,!1, o);
2823 t || Column.pop();
2826 this.observeComponentCreation(((e, t) => {
2838 t || Divider.pop();
2841 this.observeComponentCreation(((e, t) => {
2849 t || Row.pop();
2852 this.observeComponentCreation(((e, t) => {
2857 let t = this;
2858 let o = _.call(t, i.getNodeCurrentNodeId());
2860 t.listNodeDataSource.setClickIndex(o);
2864 … this.listNodeDataSource.getIsTouchDown() || t.listNodeDataSource.handleEvent(r.TOUCH_DOWN, o)
2871 t.listNodeDataSource.handleEvent(r.TOUCH_UP, o)
2875 let t = this;
2876 let o = _.call(t, i.getNodeCurrentNodeId());
2877 …e ? t.listNodeDataSource.handleEvent(r.HOVER, o) : t.listNodeDataSource.getIsTouchDown() || t.list…
2896 t || Row.pop();
2906 Row.backgroundColor(t);
2913 this.observeComponentCreation(((e, t) => {
2931 t || Image.pop();
2940 this.observeComponentCreation(((e, t) => {
2944 t || Row.pop();
2947 this.observeComponentCreation(((e, t) => {
2951 this.observeComponentCreation(((e, t) => {
2967 t || Text.pop();
2972 t || If.pop();
2976 this.observeComponentCreation(((e, t) => {
2981 this.observeComponentCreation(((e, t) => {
2987 t || Row.pop();
2990 this.observeComponentCreation(((e, t) => {
3006 let t = this;
3007 var o = _.call(t, i.getNodeCurrentNodeId());
3011 if (t.checkInvalidPattern(e)) {
3012 … for (let o = 0;o < e.length; o++) t.checkInvalidPattern(e[o]) || (s += e[o]);
3014 t.listNodeDataSource.setPopUpInfo(l.WARNINGS, h.INVALID_ERROR,!0, o)
3018 t.listNodeDataSource.setPopUpInfo(l.WARNINGS, h.INVALID_ERROR,!1, o)
3020 …if (t.checkIsAllCN(s) && s.length > this.MAX_CN_LENGTH || !t.checkIsAllCN(s) && s.length > this.MA…
3021 … s = t.checkIsAllCN(s) ? s.substr(0, this.MAX_CN_LENGTH) : s.substr(0, this.MAX_EN_LENGTH);
3023 t.listNodeDataSource.setPopUpInfo(l.WARNINGS, h.LENGTH_ERROR,!0, o)
3026 t.listNodeDataSource.setPopUpInfo(l.WARNINGS, h.LENGTH_ERROR,!1, o);
3027 t.listNodeDataSource.setMainTitleNameOnEdit(o, s)
3031 let t = this;
3032 var o = _.call(t, i.getNodeCurrentNodeId());
3033 t.listNodeDataSource.setPopUpInfo(l.WARNINGS, h.NONE,!1, o);
3034 t.listNodeDataSource.setItemVisibilityOnEdit(o, n.COMMIT_NODE)
3036 t || TextInput.pop();
3041 t || If.pop();
3045 this.observeComponentCreation(((e, t) => {
3048 t || Blank.pop();
3053 this.observeComponentCreation(((e, t) => {
3057 this.observeComponentCreation(((e, t) => {
3066 t || Row.pop();
3069 this.observeComponentCreation(((e, t) => {
3075 t || Text.pop();
3081 t || If.pop();
3092 Row.backgroundColor(t);
3101 Image.fillColor(i.getNodeItem().imageCollapse.isCollapse ? t : o);
3128 this.observeComponentCreation(((e, t) => {
3132 this.observeComponentCreation(((e, t) => {
3136 this.observeComponentCreation(((e, t) => {
3148 t || Divider.pop();
3152 t || If.pop();
3157 t || If.pop();
3176 this.observeComponentCreation(((e, t) => {
3181 let t = this;
3182 let o = _.call(t, i.getNodeCurrentNodeId());
3184 … t.listNodeDataSource.handleEvent(r.MOUSE_BUTTON_RIGHT, _.call(t, i.getNodeCurrentNodeId()));
3186 t.listNodeDataSource.setClickIndex(o);
3187 t.listNodeDataSource.setPopUpInfo(l.HINTS, h.NONE,!1, o);
3204 t || Column.pop();
3207 this.observeComponentCreation(((e, t) => {
3219 t || Divider.pop();
3222 this.observeComponentCreation(((e, t) => {
3230 t || Row.pop();
3233 this.observeComponentCreation(((e, t) => {
3238 let t = this;
3239 let o = _.call(t, i.getNodeCurrentNodeId());
3241 t.listNodeDataSource.setClickIndex(o);
3245 … this.listNodeDataSource.getIsTouchDown() || t.listNodeDataSource.handleEvent(r.TOUCH_DOWN, o)
3252 t.listNodeDataSource.handleEvent(r.TOUCH_UP, o)
3256 let t = this;
3257 let o = _.call(t, i.getNodeCurrentNodeId());
3258 …e ? t.listNodeDataSource.handleEvent(r.HOVER, o) : t.listNodeDataSource.getIsTouchDown() || t.list…
3277 t || Row.pop();
3287 Row.backgroundColor(t);
3294 this.observeComponentCreation(((e, t) => {
3312 t || Image.pop();
3321 this.observeComponentCreation(((e, t) => {
3325 t || Row.pop();
3328 this.observeComponentCreation(((e, t) => {
3332 this.observeComponentCreation(((e, t) => {
3348 t || Text.pop();
3353 t || If.pop();
3357 this.observeComponentCreation(((e, t) => {
3362 this.observeComponentCreation(((e, t) => {
3368 t || Row.pop();
3371 this.observeComponentCreation(((e, t) => {
3387 let t = this;
3388 var o = _.call(t, i.getNodeCurrentNodeId());
3392 if (t.checkInvalidPattern(e)) {
3393 … for (let o = 0;o < e.length; o++) t.checkInvalidPattern(e[o]) || (s += e[o]);
3395 t.listNodeDataSource.setPopUpInfo(l.WARNINGS, h.INVALID_ERROR,!0, o)
3399 t.listNodeDataSource.setPopUpInfo(l.WARNINGS, h.INVALID_ERROR,!1, o)
3401 …if (t.checkIsAllCN(s) && s.length > this.MAX_CN_LENGTH || !t.checkIsAllCN(s) && s.length > this.MA…
3402 … s = t.checkIsAllCN(s) ? s.substr(0, this.MAX_CN_LENGTH) : s.substr(0, this.MAX_EN_LENGTH);
3404 t.listNodeDataSource.setPopUpInfo(l.WARNINGS, h.LENGTH_ERROR,!0, o)
3407 t.listNodeDataSource.setPopUpInfo(l.WARNINGS, h.LENGTH_ERROR,!1, o);
3408 t.listNodeDataSource.setMainTitleNameOnEdit(o, s)
3412 let t = this;
3413 var o = _.call(t, i.getNodeCurrentNodeId());
3414 t.listNodeDataSource.setPopUpInfo(l.WARNINGS, h.NONE,!1, o);
3415 t.listNodeDataSource.setItemVisibilityOnEdit(o, n.COMMIT_NODE)
3417 t || TextInput.pop();
3422 t || If.pop();
3426 this.observeComponentCreation(((e, t) => {
3429 t || Blank.pop();
3434 this.observeComponentCreation(((e, t) => {
3438 this.observeComponentCreation(((e, t) => {
3447 t || Row.pop();
3450 this.observeComponentCreation(((e, t) => {
3456 t || Text.pop();
3462 t || If.pop();
3473 Row.backgroundColor(t);
3482 Image.fillColor(i.getNodeItem().imageCollapse.isCollapse ? t : o);
3509 this.observeComponentCreation(((e, t) => {
3513 this.observeComponentCreation(((e, t) => {
3517 this.observeComponentCreation(((e, t) => {
3529 t || Divider.pop();
3533 t || If.pop();
3538 t || If.pop();
3596 let t = this.listNodeUtils.findParentNodeId(e);
3597 let o = this.listNodeUtils.removeNode(e, t, this.listNodeUtils.traverseNodeBF);
3598 this.listNodeDataSource.refreshData(this.listNodeUtils, n.REMOVE_NODE, t, o);
3610 let t = { class in e.TreeController.add
3618 t = this.listNodeUtils.getNewNodeInfo(e);
3623 isFolder: t.isFolder,
3624 icon: t.icon,
3625 selectedIcon: t.selectedIcon,
3626 editIcon: t.editIcon,
3628 menu: t.menu,
3629 secondaryTitle: t.secondaryTitle
3657 this.nodeIdList.sort(((e, t) => e - t))
3660 refreshNode(e, t = "", o = "") { argument
3661 this.listNodeDataSource.setNodeSubtitlePara(e, t, o)