@a2simcode/ui 0.0.238 → 0.0.240
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.cursor/skills/ui-component-helper/README.md +86 -86
- package/.cursor/skills/ui-component-helper/SKILL.md +115 -115
- package/LICENSE +53 -53
- package/README.md +156 -156
- package/dist/components/comp/src/interface.d.ts +1 -0
- package/dist/components/inject-provide.d.ts +1 -1
- package/dist/components/input-button/src/input-button.vue.d.ts +2 -0
- package/dist/components/input-code/src/input-code.vue.d.ts +2 -0
- package/dist/simcode-ui.es.js +208 -202
- package/dist/simcode-ui.umd.js +2 -2
- package/dist/stats.html +1 -1
- package/dist/ui.css +1 -1
- package/docs/components/autocomplete.md +89 -89
- package/docs/components/barcode.md +101 -101
- package/docs/components/button-select.md +24 -24
- package/docs/components/button.md +117 -117
- package/docs/components/buttons.md +119 -119
- package/docs/components/cascader-select.md +114 -114
- package/docs/components/checkbox.md +114 -114
- package/docs/components/code-mirror.md +85 -85
- package/docs/components/collapse.md +26 -26
- package/docs/components/comp.md +71 -71
- package/docs/components/count-up.md +24 -24
- package/docs/components/count.md +24 -24
- package/docs/components/data-panel.md +24 -24
- package/docs/components/date.md +76 -76
- package/docs/components/dialog-full.md +112 -112
- package/docs/components/dialog.md +127 -127
- package/docs/components/divider.md +24 -24
- package/docs/components/drawer.md +127 -127
- package/docs/components/dynamic-layer.md +118 -118
- package/docs/components/echarts.md +72 -72
- package/docs/components/editor.md +24 -24
- package/docs/components/form.md +87 -87
- package/docs/components/guid.md +39 -39
- package/docs/components/hpanel.md +24 -24
- package/docs/components/icon.md +56 -56
- package/docs/components/input-button.md +24 -24
- package/docs/components/input-code.md +24 -24
- package/docs/components/input-color.md +114 -114
- package/docs/components/input-layer.md +56 -56
- package/docs/components/input-rows.md +370 -370
- package/docs/components/input-tag.md +50 -50
- package/docs/components/input.md +129 -129
- package/docs/components/layer-form.md +61 -61
- package/docs/components/layer.md +127 -127
- package/docs/components/layout.md +132 -132
- package/docs/components/map.md +24 -24
- package/docs/components/menu.md +121 -121
- package/docs/components/meta/button.ts +212 -212
- package/docs/components/meta/buttons.ts +76 -76
- package/docs/components/meta/code-mirror.ts +108 -108
- package/docs/components/meta/comp.ts +236 -236
- package/docs/components/meta/date.ts +267 -267
- package/docs/components/meta/echarts.ts +64 -64
- package/docs/components/meta/form-item.ts +50 -50
- package/docs/components/meta/form.ts +181 -181
- package/docs/components/meta/input-button.ts +165 -165
- package/docs/components/meta/input-cards.ts +112 -112
- package/docs/components/meta/input-code.ts +151 -151
- package/docs/components/meta/input-color.ts +243 -243
- package/docs/components/meta/input-layer.ts +382 -382
- package/docs/components/meta/input-rows.ts +119 -119
- package/docs/components/meta/layer-form.ts +74 -74
- package/docs/components/meta/map.ts +68 -68
- package/docs/components/meta/panel.ts +152 -152
- package/docs/components/meta/radio.ts +55 -55
- package/docs/components/meta/select.ts +279 -279
- package/docs/components/meta/slider.ts +270 -270
- package/docs/components/meta/table-panel.ts +260 -260
- package/docs/components/meta/table.ts +403 -403
- package/docs/components/meta/tabs.ts +146 -146
- package/docs/components/meta/title.ts +91 -91
- package/docs/components/meta/tree-select.ts +199 -199
- package/docs/components/meta/tree.ts +219 -219
- package/docs/components/meta/vpanel.ts +19 -19
- package/docs/components/meta/workflow-viewer.ts +55 -55
- package/docs/components/number.md +124 -124
- package/docs/components/page.md +102 -102
- package/docs/components/panel.md +37 -37
- package/docs/components/radio.md +87 -87
- package/docs/components/rate.md +71 -71
- package/docs/components/select.md +133 -133
- package/docs/components/slider-captcha.md +41 -41
- package/docs/components/slider.md +101 -101
- package/docs/components/switch.md +90 -90
- package/docs/components/table-panel.md +282 -282
- package/docs/components/table.md +435 -435
- package/docs/components/tabs.md +26 -26
- package/docs/components/title.md +24 -24
- package/docs/components/tree.md +207 -207
- package/docs/components/upload.md +117 -117
- package/docs/components/workflow-viewer.md +21 -21
- package/docs/components/workflow.md +21 -21
- package/docs/examples/autocomplete/advanced.vue +35 -35
- package/docs/examples/autocomplete/basic.vue +32 -32
- package/docs/examples/autocomplete/clearable.vue +33 -33
- package/docs/examples/autocomplete/custom-template.vue +49 -49
- package/docs/examples/autocomplete/disabled.vue +33 -33
- package/docs/examples/autocomplete/icon.vue +37 -37
- package/docs/examples/barcode/all-types.vue +380 -380
- package/docs/examples/barcode/basic.vue +14 -14
- package/docs/examples/barcode/props-appearance.vue +243 -243
- package/docs/examples/barcode/props-geometry.vue +143 -143
- package/docs/examples/barcode/props-logic.vue +216 -216
- package/docs/examples/barcode/props-symbology.vue +199 -199
- package/docs/examples/barcode/props-text.vue +268 -268
- package/docs/examples/button/basic.vue +7 -7
- package/docs/examples/button/disabled.vue +42 -42
- package/docs/examples/button/loading.vue +6 -6
- package/docs/examples/button/shape.vue +7 -7
- package/docs/examples/button/size.vue +14 -14
- package/docs/examples/button/status.vue +34 -34
- package/docs/examples/button/type.vue +10 -10
- package/docs/examples/button-select/basic.vue +19 -19
- package/docs/examples/buttons/basic.vue +62 -62
- package/docs/examples/buttons/disabled.vue +36 -36
- package/docs/examples/buttons/dropdown.vue +63 -63
- package/docs/examples/buttons/group.vue +52 -52
- package/docs/examples/buttons/link.vue +47 -47
- package/docs/examples/buttons/popup.vue +39 -39
- package/docs/examples/buttons/size.vue +45 -45
- package/docs/examples/cascader-select/basic.vue +28 -28
- package/docs/examples/cascader-select/clearable.vue +34 -34
- package/docs/examples/cascader-select/disabled.vue +43 -43
- package/docs/examples/cascader-select/filterable.vue +37 -37
- package/docs/examples/cascader-select/methods.vue +84 -84
- package/docs/examples/cascader-select/multiple.vue +38 -38
- package/docs/examples/cascader-select/slot.vue +45 -45
- package/docs/examples/checkbox/basic.vue +18 -18
- package/docs/examples/checkbox/button.vue +19 -19
- package/docs/examples/checkbox/color.vue +25 -25
- package/docs/examples/checkbox/disabled.vue +17 -17
- package/docs/examples/checkbox/min-max.vue +20 -20
- package/docs/examples/checkbox/mixed.vue +56 -56
- package/docs/examples/checkbox/size.vue +28 -28
- package/docs/examples/code-mirror/basic.vue +11 -11
- package/docs/examples/code-mirror/events.vue +42 -42
- package/docs/examples/code-mirror/height.vue +25 -25
- package/docs/examples/code-mirror/mode.vue +33 -33
- package/docs/examples/code-mirror/readonly.vue +14 -14
- package/docs/examples/collapse/basic.vue +82 -82
- package/docs/examples/comp/basic.vue +7 -7
- package/docs/examples/comp/collapse.vue +38 -38
- package/docs/examples/comp/tabs.vue +38 -38
- package/docs/examples/count/basic.vue +101 -101
- package/docs/examples/count-up/basic.vue +89 -89
- package/docs/examples/data-panel/basic.vue +110 -110
- package/docs/examples/date/basic.vue +73 -73
- package/docs/examples/date/default-value.vue +59 -59
- package/docs/examples/date/format.vue +75 -75
- package/docs/examples/date/range.vue +66 -66
- package/docs/examples/date/types.vue +79 -79
- package/docs/examples/decorated-title/basic.vue +31 -31
- package/docs/examples/dialog/basic.vue +36 -36
- package/docs/examples/dialog/custom-buttons.vue +44 -44
- package/docs/examples/dialog/fullscreen.vue +23 -23
- package/docs/examples/dialog/no-mask.vue +17 -17
- package/docs/examples/dialog/size.vue +44 -44
- package/docs/examples/dialog/steps.vue +57 -57
- package/docs/examples/dialog-full/basic.vue +29 -29
- package/docs/examples/dialog-full/custom-buttons.vue +45 -45
- package/docs/examples/dialog-full/no-buttons.vue +18 -18
- package/docs/examples/dialog-full/no-header.vue +27 -27
- package/docs/examples/dialog-full/steps.vue +71 -71
- package/docs/examples/divider/basic.vue +52 -52
- package/docs/examples/drawer/basic.vue +35 -35
- package/docs/examples/drawer/custom-buttons.vue +34 -34
- package/docs/examples/drawer/direction.vue +47 -47
- package/docs/examples/drawer/mask.vue +36 -36
- package/docs/examples/drawer/no-buttons.vue +20 -20
- package/docs/examples/drawer/size.vue +28 -28
- package/docs/examples/dynamic-layer/basic.vue +33 -33
- package/docs/examples/dynamic-layer/custom-buttons.vue +43 -43
- package/docs/examples/dynamic-layer/form.vue +73 -73
- package/docs/examples/dynamic-layer/steps.vue +52 -52
- package/docs/examples/dynamic-layer/types.vue +40 -40
- package/docs/examples/echarts/basic.vue +31 -31
- package/docs/examples/echarts/dynamic.vue +43 -43
- package/docs/examples/echarts/line.vue +46 -46
- package/docs/examples/echarts/pie.vue +44 -44
- package/docs/examples/editor/basic.vue +15 -15
- package/docs/examples/form/basic.vue +663 -663
- package/docs/examples/form/init.vue +76 -76
- package/docs/examples/form/master-detail.vue +203 -203
- package/docs/examples/form/rule-format.vue +179 -179
- package/docs/examples/form/view-table.vue +378 -378
- package/docs/examples/guid/basic.vue +10 -10
- package/docs/examples/guid/size.vue +13 -13
- package/docs/examples/hpanel/basic.vue +79 -79
- package/docs/examples/icon/basic.vue +9 -9
- package/docs/examples/icon/rotate-flip.vue +9 -9
- package/docs/examples/icon/size.vue +7 -7
- package/docs/examples/input/basic.vue +10 -10
- package/docs/examples/input/clearable.vue +12 -12
- package/docs/examples/input/disabled.vue +6 -6
- package/docs/examples/input/icon.vue +23 -23
- package/docs/examples/input/password.vue +18 -18
- package/docs/examples/input/size.vue +13 -13
- package/docs/examples/input/textarea.vue +25 -25
- package/docs/examples/input/word-limit.vue +28 -28
- package/docs/examples/input-button/basic.vue +33 -33
- package/docs/examples/input-cards/basic.vue +79 -79
- package/docs/examples/input-code/basic.vue +29 -29
- package/docs/examples/input-color/basic.vue +10 -10
- package/docs/examples/input-color/disabled.vue +13 -13
- package/docs/examples/input-color/format.vue +17 -17
- package/docs/examples/input-color/no-alpha.vue +13 -13
- package/docs/examples/input-color/only-button.vue +15 -15
- package/docs/examples/input-color/predefine.vue +31 -31
- package/docs/examples/input-color/size.vue +15 -15
- package/docs/examples/input-layer/basic.vue +85 -85
- package/docs/examples/input-layer/render-vnode-page.vue +160 -160
- package/docs/examples/input-layer/render-vnode.vue +127 -127
- package/docs/examples/input-rows/basic.vue +73 -73
- package/docs/examples/input-rows/drag.vue +48 -48
- package/docs/examples/input-rows/layer-form.vue +85 -85
- package/docs/examples/input-rows/nested.vue +91 -91
- package/docs/examples/input-tag/basic.vue +27 -27
- package/docs/examples/input-tag/colors.vue +23 -23
- package/docs/examples/input-tag/readonly.vue +17 -17
- package/docs/examples/layer/basic.vue +43 -43
- package/docs/examples/layer/custom-buttons.vue +61 -61
- package/docs/examples/layer/drawer.vue +37 -37
- package/docs/examples/layer/full.vue +38 -38
- package/docs/examples/layer/modal.vue +34 -34
- package/docs/examples/layer/steps.vue +46 -46
- package/docs/examples/layer-form/basic.vue +76 -76
- package/docs/examples/layer-form/config.vue +82 -82
- package/docs/examples/layer-form/size.vue +72 -72
- package/docs/examples/layout/basic.vue +36 -36
- package/docs/examples/layout/custom-size.vue +50 -50
- package/docs/examples/layout/disable-move.vue +37 -37
- package/docs/examples/layout/hide-mid-when-narrow.vue +96 -96
- package/docs/examples/layout/min-size.vue +73 -73
- package/docs/examples/layout/percent-size.vue +80 -80
- package/docs/examples/layout/simple.vue +22 -22
- package/docs/examples/layout/top-side.vue +34 -34
- package/docs/examples/map/basic.vue +22 -22
- package/docs/examples/menu/basic.vue +58 -58
- package/docs/examples/menu/collapsed.vue +49 -49
- package/docs/examples/menu/horizontal.vue +44 -44
- package/docs/examples/menu/selection-test.vue +104 -104
- package/docs/examples/menu/theme.vue +46 -46
- package/docs/examples/menu/vertical.vue +46 -46
- package/docs/examples/number/advanced.vue +143 -143
- package/docs/examples/number/basic.vue +63 -63
- package/docs/examples/number/disabled.vue +49 -49
- package/docs/examples/number/size.vue +42 -42
- package/docs/examples/number/slots.vue +123 -123
- package/docs/examples/number/step-strictly.vue +41 -41
- package/docs/examples/number/step.vue +47 -47
- package/docs/examples/page/basic.vue +41 -41
- package/docs/examples/page/code-table-model.vue +428 -428
- package/docs/examples/page/dept-user-management.vue +211 -211
- package/docs/examples/page/init.vue +87 -87
- package/docs/examples/page/log.vue +453 -453
- package/docs/examples/page/user-management.vue +313 -313
- package/docs/examples/panel/tool-buttons.vue +18 -18
- package/docs/examples/radio/basic.vue +17 -17
- package/docs/examples/radio/button.vue +17 -17
- package/docs/examples/radio/color.vue +18 -18
- package/docs/examples/radio/disabled.vue +17 -17
- package/docs/examples/radio/size.vue +29 -29
- package/docs/examples/rate/basic.vue +24 -24
- package/docs/examples/rate/half.vue +24 -24
- package/docs/examples/rate/readonly.vue +11 -11
- package/docs/examples/rate/text.vue +37 -37
- package/docs/examples/select/basic.vue +16 -16
- package/docs/examples/select/clearable.vue +22 -22
- package/docs/examples/select/disabled.vue +31 -31
- package/docs/examples/select/filterable.vue +24 -24
- package/docs/examples/select/group.vue +23 -23
- package/docs/examples/select/icon.vue +16 -16
- package/docs/examples/select/multiple.vue +18 -18
- package/docs/examples/select/size.vue +39 -39
- package/docs/examples/slider/basic.vue +42 -42
- package/docs/examples/slider/disabled.vue +17 -17
- package/docs/examples/slider/marks.vue +30 -30
- package/docs/examples/slider/size.vue +37 -37
- package/docs/examples/slider/tooltip.vue +36 -36
- package/docs/examples/slider/vertical.vue +26 -26
- package/docs/examples/slider-captcha/basic.vue +44 -44
- package/docs/examples/slider-captcha/custom.vue +48 -48
- package/docs/examples/switch/basic.vue +16 -16
- package/docs/examples/switch/disabled.vue +13 -13
- package/docs/examples/switch/loading.vue +13 -13
- package/docs/examples/switch/size.vue +15 -15
- package/docs/examples/switch/text.vue +13 -13
- package/docs/examples/table/action-filter.vue +126 -126
- package/docs/examples/table/actions.vue +116 -116
- package/docs/examples/table/add-row.vue +103 -103
- package/docs/examples/table/basic.vue +168 -168
- package/docs/examples/table/checkbox-layout.vue +68 -68
- package/docs/examples/table/custom-layout.vue +115 -115
- package/docs/examples/table/dynamic-type.vue +73 -73
- package/docs/examples/table/editable.vue +262 -262
- package/docs/examples/table/field-selection.vue +87 -87
- package/docs/examples/table/frozen-column.vue +140 -140
- package/docs/examples/table/height-mode.vue +99 -99
- package/docs/examples/table/icon.vue +85 -85
- package/docs/examples/table/layer-form.vue +133 -133
- package/docs/examples/table/link.vue +66 -66
- package/docs/examples/table/multiple-disabled.vue +112 -112
- package/docs/examples/table/multiple.vue +188 -188
- package/docs/examples/table/pagination.vue +151 -151
- package/docs/examples/table/row-drag.vue +67 -67
- package/docs/examples/table/single-selection.vue +64 -64
- package/docs/examples/table/sub-table-lazy.vue +97 -97
- package/docs/examples/table/sub-table.vue +103 -103
- package/docs/examples/table/tag.vue +43 -43
- package/docs/examples/table/tree-column.vue +119 -119
- package/docs/examples/table/tree-data.vue +141 -141
- package/docs/examples/table/tree-default-expand-all.vue +60 -60
- package/docs/examples/table/tree-lazy.vue +80 -80
- package/docs/examples/table/tree-set-selection.vue +75 -75
- package/docs/examples/table-panel/basic.vue +229 -229
- package/docs/examples/table-panel/batch-operations.vue +286 -286
- package/docs/examples/table-panel/button-visibility.vue +88 -88
- package/docs/examples/table-panel/filter.vue +219 -219
- package/docs/examples/table-panel/get-selection.vue +111 -111
- package/docs/examples/table-panel/mask.vue +151 -151
- package/docs/examples/table-panel/model-value.vue +87 -87
- package/docs/examples/table-panel/multiple-selection.vue +243 -243
- package/docs/examples/table-panel/pagination.vue +133 -133
- package/docs/examples/table-panel/search-list.vue +207 -207
- package/docs/examples/table-panel/sub-table-lazy.vue +118 -118
- package/docs/examples/table-panel/tree-parent-key.vue +67 -67
- package/docs/examples/tabs/basic.vue +98 -98
- package/docs/examples/time/base.vue +67 -67
- package/docs/examples/title/basic.vue +87 -87
- package/docs/examples/tree/accordion.vue +46 -46
- package/docs/examples/tree/basic.vue +50 -50
- package/docs/examples/tree/buttons.vue +53 -53
- package/docs/examples/tree/checkable.vue +52 -52
- package/docs/examples/tree/custom-keys.vue +39 -39
- package/docs/examples/tree/default-expanded.vue +52 -52
- package/docs/examples/tree/draggable.vue +29 -29
- package/docs/examples/tree/expand-on-click.vue +39 -39
- package/docs/examples/tree/flat-data.vue +20 -20
- package/docs/examples/tree/icon.vue +40 -40
- package/docs/examples/tree/load-data.vue +37 -37
- package/docs/examples/tree/methods.vue +74 -74
- package/docs/examples/tree/theme.vue +33 -33
- package/docs/examples/tree-select/basic.vue +47 -47
- package/docs/examples/upload/accept.vue +31 -31
- package/docs/examples/upload/basic.vue +12 -12
- package/docs/examples/upload/drag.vue +11 -11
- package/docs/examples/upload/image.vue +17 -17
- package/docs/examples/upload/limit.vue +20 -20
- package/docs/examples/upload/multiple.vue +17 -17
- package/docs/examples/upload/readonly.vue +17 -17
- package/docs/examples/utils/cipher.vue +160 -160
- package/docs/examples/utils/common.vue +153 -153
- package/docs/examples/utils/date.vue +56 -56
- package/docs/examples/utils/dom.vue +52 -52
- package/docs/examples/utils/is.vue +70 -70
- package/docs/examples/workflow/basic.vue +265 -265
- package/docs/examples/workflow-viewer/basic.vue +248 -248
- package/package.json +23 -23
package/dist/simcode-ui.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Fragment as Me, computed as H, createBlock as N, createCommentVNode as ne, createElementBlock as D, createElementVNode as B, createSlots as Yn, createTextVNode as Wn, createVNode as Z, defineComponent as ye, getCurrentInstance as mc, guardReactiveProps as
|
|
1
|
+
import { Fragment as Me, computed as H, createBlock as N, createCommentVNode as ne, createElementBlock as D, createElementVNode as B, createSlots as Yn, createTextVNode as Wn, createVNode as Z, defineComponent as ye, getCurrentInstance as mc, guardReactiveProps as Lo, h as Ei, inject as jd, mergeModels as Ho, mergeProps as Ue, nextTick as Ht, normalizeClass as We, normalizeProps as ja, normalizeStyle as ce, onBeforeUnmount as zo, onMounted as Et, onUnmounted as Do, openBlock as R, provide as Pd, reactive as ra, ref as L, render as Ti, renderList as Ie, renderSlot as et, resolveComponent as V, resolveDirective as $o, resolveDynamicComponent as Ba, shallowRef as Fo, toDisplayString as xe, unref as J, useModel as Oo, useSlots as Bd, useTemplateRef as Aa, vShow as br, watch as it, watchEffect as bc, withCtx as q, withDirectives as la, withKeys as wr, withModifiers as Xt } from "vue";
|
|
2
2
|
import { Icon as zl, getIcon as Ta } from "@iconify/vue";
|
|
3
3
|
import eo from "dayjs";
|
|
4
4
|
import Hd from "sortablejs";
|
|
@@ -29,8 +29,8 @@ import gf from "async-validator";
|
|
|
29
29
|
import { createEditor as vf, createToolbar as yf } from "@wangeditor/editor";
|
|
30
30
|
import wc from "diagram-js";
|
|
31
31
|
import { assignStyle as Vi, attr as Rn, classes as sn, clear as _c, closest as Nr, delegate as aa, domify as fn, event as ut, matches as mf, query as Zt, queryAll as _r, remove as xr } from "min-dom";
|
|
32
|
-
import { assign as De, bind as Wr, debounce as bf, every as Ur, filter as mn, find as On, flatten as wf, forEach as ge, groupBy as Yr, has as xc, isArray as ft, isDefined as kn, isFunction as In, isNil as $l, isNumber as Bt, isObject as bn, isString as Cr, isUndefined as _f, map as
|
|
33
|
-
import { append as tt, attr as ze, classes as pt, clear as Gr, clone as Cc, create as Xe, createTransform as
|
|
32
|
+
import { assign as De, bind as Wr, debounce as bf, every as Ur, filter as mn, find as On, flatten as wf, forEach as ge, groupBy as Yr, has as xc, isArray as ft, isDefined as kn, isFunction as In, isNil as $l, isNumber as Bt, isObject as bn, isString as Cr, isUndefined as _f, map as Vo, matchPattern as Ai, omit as xf, pick as Mi, reduce as Sr, size as Cf, some as Sf, sortBy as Io, uniqueBy as kf, values as Jr, without as Rf } from "min-dash";
|
|
33
|
+
import { append as tt, attr as ze, classes as pt, clear as Gr, clone as Cc, create as Xe, createTransform as Ao, remove as yn, transform as Kr } from "tiny-svg";
|
|
34
34
|
import Ha from "inherits";
|
|
35
35
|
import Ef from "diagram-js-direct-editing";
|
|
36
36
|
var Tf = Object.create, Sc = Object.defineProperty, Af = Object.getOwnPropertyDescriptor, Mf = Object.getOwnPropertyNames, jf = Object.getPrototypeOf, Pf = Object.prototype.hasOwnProperty, cn = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), Bf = (e, t, n, a) => {
|
|
@@ -157,7 +157,7 @@ var en = (e) => !!(e == null || typeof e == "string" && e.trim() === "" || Array
|
|
|
157
157
|
setup(e, { expose: t, emit: n }) {
|
|
158
158
|
const a = e, o = n, i = (u) => {
|
|
159
159
|
a.isNotStopClick || u.stopPropagation(), !d.value && !a.disabled && (o("click", u), a.href && window.open(a.href, a.target ? a.target : "_self"));
|
|
160
|
-
}, r =
|
|
160
|
+
}, r = Fo(null), l = () => {
|
|
161
161
|
r.value?.focus();
|
|
162
162
|
}, c = () => {
|
|
163
163
|
r.value?.blur();
|
|
@@ -219,7 +219,7 @@ var en = (e) => !!(e == null || typeof e == "string" && e.trim() === "" || Array
|
|
|
219
219
|
], 10, Lf));
|
|
220
220
|
}
|
|
221
221
|
}), $f = Df, Ff = ke($f);
|
|
222
|
-
function
|
|
222
|
+
function Mo(e) {
|
|
223
223
|
Object.keys(e || {}).forEach((t) => {
|
|
224
224
|
delete e[t];
|
|
225
225
|
});
|
|
@@ -1472,12 +1472,12 @@ var nh = /* @__PURE__ */ cn(((e, t) => {
|
|
|
1472
1472
|
decrypt(e) {
|
|
1473
1473
|
return Hc(e, this.key, this.getOptions).toString(Pi);
|
|
1474
1474
|
}
|
|
1475
|
-
}, mh = class
|
|
1475
|
+
}, mh = class ko {
|
|
1476
1476
|
static instance;
|
|
1477
1477
|
constructor() {
|
|
1478
1478
|
}
|
|
1479
1479
|
static getInstance() {
|
|
1480
|
-
return
|
|
1480
|
+
return ko.instance || (ko.instance = new ko()), ko.instance;
|
|
1481
1481
|
}
|
|
1482
1482
|
encrypt(t) {
|
|
1483
1483
|
return Pi.parse(t).toString(Nl.default);
|
|
@@ -1485,32 +1485,32 @@ var nh = /* @__PURE__ */ cn(((e, t) => {
|
|
|
1485
1485
|
decrypt(t) {
|
|
1486
1486
|
return Nl.default.parse(t).toString(Pi);
|
|
1487
1487
|
}
|
|
1488
|
-
}, bh = class
|
|
1488
|
+
}, bh = class Ro {
|
|
1489
1489
|
static instance;
|
|
1490
1490
|
constructor() {
|
|
1491
1491
|
}
|
|
1492
1492
|
static getInstance() {
|
|
1493
|
-
return
|
|
1493
|
+
return Ro.instance || (Ro.instance = new Ro()), Ro.instance;
|
|
1494
1494
|
}
|
|
1495
1495
|
hash(t) {
|
|
1496
1496
|
return (0, hh.default)(t).toString();
|
|
1497
1497
|
}
|
|
1498
|
-
}, wh = class
|
|
1498
|
+
}, wh = class Eo {
|
|
1499
1499
|
static instance;
|
|
1500
1500
|
constructor() {
|
|
1501
1501
|
}
|
|
1502
1502
|
static getInstance() {
|
|
1503
|
-
return
|
|
1503
|
+
return Eo.instance || (Eo.instance = new Eo()), Eo.instance;
|
|
1504
1504
|
}
|
|
1505
1505
|
hash(t) {
|
|
1506
1506
|
return (0, ph.default)(t).toString();
|
|
1507
1507
|
}
|
|
1508
|
-
}, _h = class
|
|
1508
|
+
}, _h = class To {
|
|
1509
1509
|
static instance;
|
|
1510
1510
|
constructor() {
|
|
1511
1511
|
}
|
|
1512
1512
|
static getInstance() {
|
|
1513
|
-
return
|
|
1513
|
+
return To.instance || (To.instance = new To()), To.instance;
|
|
1514
1514
|
}
|
|
1515
1515
|
hash(t) {
|
|
1516
1516
|
return (0, gh.default)(t).toString();
|
|
@@ -1644,7 +1644,7 @@ function Ic(e) {
|
|
|
1644
1644
|
function Ni() {
|
|
1645
1645
|
return Jn(Vt.TABLE_PROVIDE, {});
|
|
1646
1646
|
}
|
|
1647
|
-
function
|
|
1647
|
+
function ao(e) {
|
|
1648
1648
|
Gn(Vt.TABLE_PROVIDE, e);
|
|
1649
1649
|
}
|
|
1650
1650
|
function kh() {
|
|
@@ -1687,7 +1687,7 @@ var Hh = /* @__PURE__ */ ye({
|
|
|
1687
1687
|
name: "JDynamicLayer",
|
|
1688
1688
|
__name: "dynamic-layer",
|
|
1689
1689
|
setup(e, { expose: t }) {
|
|
1690
|
-
const n = L(), a = L(600), o = L(400), i = L(!0), r = L(!0), l = L(!0), c = L(""), s = L([]), d = L(!0), f = L(), u =
|
|
1690
|
+
const n = L(), a = L(600), o = L(400), i = L(!0), r = L(!0), l = L(!0), c = L(""), s = L([]), d = L(!0), f = L(), u = Fo(), h = L(), { getPageName: p } = Ah(), g = () => {
|
|
1691
1691
|
const z = p();
|
|
1692
1692
|
return z || (typeof u.value == "string" ? u.value : "");
|
|
1693
1693
|
}, b = L(!1), x = L([]), w = async (z) => {
|
|
@@ -1790,7 +1790,7 @@ var Hh = /* @__PURE__ */ ye({
|
|
|
1790
1790
|
i && i(), Ti(null, a);
|
|
1791
1791
|
}, o.component && o.component.exposed && o.component.exposed.open(e);
|
|
1792
1792
|
};
|
|
1793
|
-
function
|
|
1793
|
+
function oo() {
|
|
1794
1794
|
const e = mc(), t = e?.appContext, n = e?.provides;
|
|
1795
1795
|
return { openLayer: (o) => {
|
|
1796
1796
|
Oh(o, t, n);
|
|
@@ -1819,7 +1819,7 @@ var Ih = ke(zc), Lh = /* @__PURE__ */ ye({
|
|
|
1819
1819
|
s.groupId = s.groupId || qr(), i[s.groupId] = i[s.groupId] || [], i[s.groupId].push(s);
|
|
1820
1820
|
}
|
|
1821
1821
|
return i;
|
|
1822
|
-
}), { openLayer: a } =
|
|
1822
|
+
}), { openLayer: a } = oo(), o = (i) => {
|
|
1823
1823
|
i.config?.disabled || i.click && i.click({ openLayer: a });
|
|
1824
1824
|
};
|
|
1825
1825
|
return (i, r) => {
|
|
@@ -3516,7 +3516,7 @@ var Ih = ke(zc), Lh = /* @__PURE__ */ ye({
|
|
|
3516
3516
|
t.hideMidWhenNarrow && a.value && typeof window < "u" && window.ResizeObserver && (j(), z = new ResizeObserver(() => {
|
|
3517
3517
|
j();
|
|
3518
3518
|
}), z.observe(a.value));
|
|
3519
|
-
}),
|
|
3519
|
+
}), Do(() => {
|
|
3520
3520
|
z && z.disconnect();
|
|
3521
3521
|
}), (O, M) => (R(), D("div", {
|
|
3522
3522
|
ref_key: "layout",
|
|
@@ -3622,7 +3622,7 @@ function ln(e, t) {
|
|
|
3622
3622
|
return ((n = wt(e).originalRowHeights) === null || n === void 0 ? void 0 : n.get(t)) || 0;
|
|
3623
3623
|
}
|
|
3624
3624
|
var Yl = /* @__PURE__ */ new WeakMap();
|
|
3625
|
-
function
|
|
3625
|
+
function jo(e, t) {
|
|
3626
3626
|
let n = Yl.get(e);
|
|
3627
3627
|
if (n || (n = /* @__PURE__ */ new Map(), Yl.set(e, n)), n.has(t)) return n.get(t);
|
|
3628
3628
|
for (let a = 0; a < e.colCount; a++) if (e.getHeaderField(a, 0) === t) return n.set(t, a), a;
|
|
@@ -4059,12 +4059,12 @@ var jp = class {
|
|
|
4059
4059
|
if (!e.stateManager) return;
|
|
4060
4060
|
const n = t?.headerCheckedState || e.stateManager.headerCheckedState, a = t?.checkedState || {};
|
|
4061
4061
|
Object.keys(n).forEach(((o) => {
|
|
4062
|
-
const i = n[o], r =
|
|
4062
|
+
const i = n[o], r = jo(e, o);
|
|
4063
4063
|
r !== -1 && e.isHeader(r, 0) && e.scenegraph.updateHeaderCheckboxCellState(r, 0, i);
|
|
4064
4064
|
})), t?.checkedState ? Object.keys(a).forEach(((o) => {
|
|
4065
4065
|
const i = a[o], r = Number(o);
|
|
4066
4066
|
Object.keys(i).forEach(((l) => {
|
|
4067
|
-
const c = i[l], s =
|
|
4067
|
+
const c = i[l], s = jo(e, l);
|
|
4068
4068
|
if (s !== -1) {
|
|
4069
4069
|
for (let d = e.columnHeaderLevelCount; d < e.rowCount; d++) if (e.getRecordIndexByCell(s, d) === r) {
|
|
4070
4070
|
Bi(s, d, c, e);
|
|
@@ -4075,7 +4075,7 @@ var jp = class {
|
|
|
4075
4075
|
})) : e.stateManager.checkedState.forEach(((o, i) => {
|
|
4076
4076
|
const r = Number(i);
|
|
4077
4077
|
Object.keys(o).forEach(((l) => {
|
|
4078
|
-
const c = o[l], s =
|
|
4078
|
+
const c = o[l], s = jo(e, l);
|
|
4079
4079
|
if (s !== -1) {
|
|
4080
4080
|
for (let d = e.columnHeaderLevelCount; d < e.rowCount; d++) if (e.getRecordIndexByCell(s, d) === r) {
|
|
4081
4081
|
Bi(s, d, c, e);
|
|
@@ -4883,7 +4883,7 @@ function zp(e, t, n, a) {
|
|
|
4883
4883
|
let i = !1;
|
|
4884
4884
|
const r = t.stateManager.headerCheckedState[a];
|
|
4885
4885
|
r !== void 0 && (i = r);
|
|
4886
|
-
const l =
|
|
4886
|
+
const l = jo(e, a);
|
|
4887
4887
|
if (l !== -1 && e.stateManager && (e.stateManager.setCheckedState(l, o, a, i), e.getCellType(l, o) === "checkbox" && Bi(l, o, i, e), e.internalProps.enableCheckboxCascade)) {
|
|
4888
4888
|
const c = e.stateManager.headerCheckedState[a], s = e.stateManager.updateHeaderCheckedState(a, l, 0);
|
|
4889
4889
|
c !== s && e.isHeader(l, 0) && e.scenegraph.updateHeaderCheckboxCellState(l, 0, s);
|
|
@@ -4897,7 +4897,7 @@ function Jl(e, t, n) {
|
|
|
4897
4897
|
let l = e.stateManager.checkedState.get(r);
|
|
4898
4898
|
l || (l = {}, e.stateManager.checkedState.set(r, l)), l[t] = n;
|
|
4899
4899
|
}));
|
|
4900
|
-
const a =
|
|
4900
|
+
const a = jo(e, t);
|
|
4901
4901
|
if (a >= 0) {
|
|
4902
4902
|
e.scenegraph.updateHeaderCheckboxCellState(a, 0, n);
|
|
4903
4903
|
for (let o = e.columnHeaderLevelCount; o < e.rowCount; o++) Bi(a, o, n, e);
|
|
@@ -5310,7 +5310,7 @@ var Dp = class {
|
|
|
5310
5310
|
error: J(d)(y.value),
|
|
5311
5311
|
class: We(`${u.value}-form-item`)
|
|
5312
5312
|
}, {
|
|
5313
|
-
default: q(() => [Z(_, ja(
|
|
5313
|
+
default: q(() => [Z(_, ja(Lo(g.value)), null, 16)]),
|
|
5314
5314
|
_: 1
|
|
5315
5315
|
}, 8, [
|
|
5316
5316
|
"label",
|
|
@@ -5387,7 +5387,7 @@ var Dp = class {
|
|
|
5387
5387
|
emits: ["update:modelValue", "change"],
|
|
5388
5388
|
setup(e, { emit: t }) {
|
|
5389
5389
|
const n = e, a = t, { useData: o } = mt(), { loadDataByComp: i, getDataByComp: r, getLabel: l } = o(), { contextType: c } = kh(), { formData: s, formChange: d, gutter: f, runFlow: u, runFlowByNotRunActions: h } = Ia(), p = H(() => f?.value || 16), { registerMethod: g, runFlow: b, runFlowByNotRunActions: x } = Ph(), { getTableData: w, row: m, rowChange: y, pRowData: C } = Ni(), v = n.row || m;
|
|
5390
|
-
|
|
5390
|
+
ao({
|
|
5391
5391
|
getTableData: w,
|
|
5392
5392
|
row: v,
|
|
5393
5393
|
rowChange: y,
|
|
@@ -5533,7 +5533,7 @@ var Dp = class {
|
|
|
5533
5533
|
Ze();
|
|
5534
5534
|
}, { immediate: !0 }), Et(() => {
|
|
5535
5535
|
n.id && h && h(n.id), n.id && x && x(n.id);
|
|
5536
|
-
}),
|
|
5536
|
+
}), zo(() => {
|
|
5537
5537
|
Pe();
|
|
5538
5538
|
}), (te, Oe) => {
|
|
5539
5539
|
const ee = V("JComp"), ie = V("el-row");
|
|
@@ -5751,7 +5751,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
5751
5751
|
},
|
|
5752
5752
|
setup(e) {
|
|
5753
5753
|
const t = e;
|
|
5754
|
-
return
|
|
5754
|
+
return ao({
|
|
5755
5755
|
...Ni(),
|
|
5756
5756
|
row: t.rowData
|
|
5757
5757
|
}), (n, a) => (R(), N(Nc, {
|
|
@@ -5909,7 +5909,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
5909
5909
|
"change"
|
|
5910
5910
|
],
|
|
5911
5911
|
setup(e, { expose: t, emit: n }) {
|
|
5912
|
-
const a = mc(), o = e, i = n, { formData: r } = Ia(), { useData: l, t: c } = mt(), { getLabel: s, getCode: d, loadDataState: f, getObjectList: u } = l(), { openLayer: h } =
|
|
5912
|
+
const a = mc(), o = e, i = n, { formData: r } = Ia(), { useData: l, t: c } = mt(), { getLabel: s, getCode: d, loadDataState: f, getObjectList: u } = l(), { openLayer: h } = oo(), p = H(() => o.heightMode === "auto" ? { height: "auto" } : {}), g = ra({}), b = () => {
|
|
5913
5913
|
Object.keys(g).forEach((I) => {
|
|
5914
5914
|
delete g[I];
|
|
5915
5915
|
});
|
|
@@ -6142,16 +6142,16 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
6142
6142
|
formData: r || {},
|
|
6143
6143
|
getTableData: lt,
|
|
6144
6144
|
row: he
|
|
6145
|
-
}) || {}, Ae = Number(be.min) || 0, He = Number(be.max) || 100, Ee = Number(Y) || 0, Ke = He - Ae, Ye = Ke === 0 ? 0 : Math.max(0, Math.min(100, (Ee - Ae) / Ke * 100)), Te = 4, Fe = 8, Ve = 8, ct = (oe.height - Te) / 2, yt = String(Ee), we = Sn(yt) || 0, ot = Fe, Ne = ct, Pt = oe.width - Fe * 2 - we - Ve, gn = Pt * Ye / 100, Tn = [],
|
|
6145
|
+
}) || {}, Ae = Number(be.min) || 0, He = Number(be.max) || 100, Ee = Number(Y) || 0, Ke = He - Ae, Ye = Ke === 0 ? 0 : Math.max(0, Math.min(100, (Ee - Ae) / Ke * 100)), Te = 4, Fe = 8, Ve = 8, ct = (oe.height - Te) / 2, yt = String(Ee), we = Sn(yt) || 0, ot = Fe, Ne = ct, Pt = oe.width - Fe * 2 - we - Ve, gn = Pt * Ye / 100, Tn = [], yo = (Ut, qt, kt) => {
|
|
6146
6146
|
const nt = Math.min(kt, qt / 2, Ut / 2);
|
|
6147
6147
|
return `M ${nt} 0 L ${Ut - nt} 0 Q ${Ut} 0 ${Ut} ${nt} L ${Ut} ${qt - nt} Q ${Ut} ${qt} ${Ut - nt} ${qt} L ${nt} ${qt} Q 0 ${qt} 0 ${qt - nt} L 0 ${nt} Q 0 0 ${nt} 0 Z`;
|
|
6148
6148
|
}, An = (Ut, qt, kt) => {
|
|
6149
6149
|
const nt = Math.min(kt, qt / 2, Ut / 2);
|
|
6150
|
-
return Ut <= nt * 2 ?
|
|
6151
|
-
},
|
|
6150
|
+
return Ut <= nt * 2 ? yo(Ut, qt, kt) : `M ${nt} 0 L ${Ut} 0 L ${Ut} ${qt} L ${nt} ${qt} Q 0 ${qt} 0 ${qt - nt} L 0 ${nt} Q 0 0 ${nt} 0 Z`;
|
|
6151
|
+
}, mo = yo(Pt, Te, Te / 2);
|
|
6152
6152
|
if (Tn.push({
|
|
6153
6153
|
type: "icon",
|
|
6154
|
-
svg: `<svg xmlns="http://www.w3.org/2000/svg" width="${Pt}" height="${Te}" viewBox="0 0 ${Pt} ${Te}"><path d="${
|
|
6154
|
+
svg: `<svg xmlns="http://www.w3.org/2000/svg" width="${Pt}" height="${Te}" viewBox="0 0 ${Pt} ${Te}"><path d="${mo}" fill="#e5e6eb"/></svg>`,
|
|
6155
6155
|
x: ot,
|
|
6156
6156
|
y: Ne,
|
|
6157
6157
|
width: Pt,
|
|
@@ -6275,7 +6275,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
6275
6275
|
width: Ja,
|
|
6276
6276
|
height: Te
|
|
6277
6277
|
}), { tagWidth: Ja };
|
|
6278
|
-
},
|
|
6278
|
+
}, yo = () => {
|
|
6279
6279
|
const kt = [];
|
|
6280
6280
|
let nt = [], Mn = 0;
|
|
6281
6281
|
for (let jn = 0; jn < Ke.length; jn++) {
|
|
@@ -6298,11 +6298,11 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
6298
6298
|
needsWrap: kt.length > 1
|
|
6299
6299
|
};
|
|
6300
6300
|
};
|
|
6301
|
-
let { lines: An, needsWrap:
|
|
6302
|
-
we !== 0 &&
|
|
6301
|
+
let { lines: An, needsWrap: mo } = yo();
|
|
6302
|
+
we !== 0 && mo && (we = 0, ot = Math.max(0, oe.width - we * 2), Ne = Math.max(0, ot - Ve * 2), { lines: An, needsWrap: mo } = yo());
|
|
6303
6303
|
const ri = An.length * Te + (An.length > 1 ? (An.length - 1) * yt : 0);
|
|
6304
6304
|
let li = Math.max(0, (oe.height - ri) / 2);
|
|
6305
|
-
const Ut =
|
|
6305
|
+
const Ut = mo;
|
|
6306
6306
|
for (let kt = 0; kt < An.length; kt++) {
|
|
6307
6307
|
const nt = An[kt];
|
|
6308
6308
|
let Mn = Ut ? we : He === "center" ? we + Math.max(0, (ot - nt.lineWidth) / 2) : He === "right" ? we + Math.max(0, ot - nt.lineWidth) : we;
|
|
@@ -6874,7 +6874,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
6874
6874
|
}, lt = () => y ? y.records : [];
|
|
6875
6875
|
Et(() => {
|
|
6876
6876
|
de();
|
|
6877
|
-
}),
|
|
6877
|
+
}), zo(() => {
|
|
6878
6878
|
Se(), Q(), document.removeEventListener("wheel", qe);
|
|
6879
6879
|
});
|
|
6880
6880
|
const Wt = H({
|
|
@@ -7076,7 +7076,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
7076
7076
|
Qt();
|
|
7077
7077
|
}), it(() => o.actions, () => {
|
|
7078
7078
|
Qt();
|
|
7079
|
-
}, { deep: !0 }),
|
|
7079
|
+
}, { deep: !0 }), ao({
|
|
7080
7080
|
getTableData: lt,
|
|
7081
7081
|
rowChange: dn
|
|
7082
7082
|
}), t({
|
|
@@ -7626,7 +7626,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
7626
7626
|
showLoading: m,
|
|
7627
7627
|
hideLoading: y
|
|
7628
7628
|
}), (A, j) => {
|
|
7629
|
-
const z = V("el-step"), O = V("el-steps"), M = V("j-button"), E = V("el-space"), F = V("el-divider"), X = V("el-dialog"), ue =
|
|
7629
|
+
const z = V("el-step"), O = V("el-steps"), M = V("j-button"), E = V("el-space"), F = V("el-divider"), X = V("el-dialog"), ue = $o("loading");
|
|
7630
7630
|
return R(), N(X, {
|
|
7631
7631
|
modelValue: l.value,
|
|
7632
7632
|
"onUpdate:modelValue": j[0] || (j[0] = (_e) => l.value = _e),
|
|
@@ -7895,7 +7895,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
7895
7895
|
showLoading: d,
|
|
7896
7896
|
hideLoading: f
|
|
7897
7897
|
}), (A, j) => {
|
|
7898
|
-
const z = V("el-input"), O = V("j-button"), M = V("el-space"), E = V("el-step"), F = V("el-steps"), X = V("el-drawer"), ue =
|
|
7898
|
+
const z = V("el-input"), O = V("j-button"), M = V("el-space"), E = V("el-step"), F = V("el-steps"), X = V("el-drawer"), ue = $o("loading");
|
|
7899
7899
|
return R(), N(X, {
|
|
7900
7900
|
modelValue: s.value,
|
|
7901
7901
|
"onUpdate:modelValue": j[0] || (j[0] = (_e) => s.value = _e),
|
|
@@ -8894,7 +8894,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
8894
8894
|
return o && o(`当前限制选择${n.limit}个文件`), !1;
|
|
8895
8895
|
};
|
|
8896
8896
|
return (ee, ie) => {
|
|
8897
|
-
const Re = V("j-icon"), Ge = V("el-popover"), rt = V("j-button"), Qe = V("el-upload"), nn = V("el-text"), an = V("j-dialog-full"), on =
|
|
8897
|
+
const Re = V("j-icon"), Ge = V("el-popover"), rt = V("j-button"), Qe = V("el-upload"), nn = V("el-text"), an = V("j-dialog-full"), on = $o("loading");
|
|
8898
8898
|
return R(), D("div", Gg, [
|
|
8899
8899
|
Z(Qe, {
|
|
8900
8900
|
action: "",
|
|
@@ -9032,7 +9032,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
9032
9032
|
},
|
|
9033
9033
|
emits: ["click", "ready"],
|
|
9034
9034
|
setup(e, { expose: t, emit: n }) {
|
|
9035
|
-
const a = e, o = n, i = L(), r =
|
|
9035
|
+
const a = e, o = n, i = L(), r = Fo();
|
|
9036
9036
|
let l = null, c = null;
|
|
9037
9037
|
const s = async () => {
|
|
9038
9038
|
i.value && (r.value = Id.init(i.value, a.theme, a.initOptions), d(a.option), r.value && r.value.on("click", (p) => {
|
|
@@ -9049,7 +9049,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
9049
9049
|
d(p);
|
|
9050
9050
|
}, { deep: !0 }), Et(() => {
|
|
9051
9051
|
s();
|
|
9052
|
-
}),
|
|
9052
|
+
}), Do(() => {
|
|
9053
9053
|
c && clearTimeout(c), l && i.value && (l.unobserve(i.value), l.disconnect(), l = null), r.value && (r.value.dispose(), r.value = void 0);
|
|
9054
9054
|
}), t({
|
|
9055
9055
|
getInstance: () => r.value,
|
|
@@ -9069,7 +9069,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
9069
9069
|
const n = e.__vccOpts || e;
|
|
9070
9070
|
for (const [a, o] of t) n[a] = o;
|
|
9071
9071
|
return n;
|
|
9072
|
-
}, lv = /* @__PURE__ */ rv(iv, [["__scopeId", "data-v-
|
|
9072
|
+
}, lv = /* @__PURE__ */ rv(iv, [["__scopeId", "data-v-69ad659b"]]), sv = ke(lv), cv = ["innerHTML"], uv = {
|
|
9073
9073
|
key: 1,
|
|
9074
9074
|
class: "j-barcode-error"
|
|
9075
9075
|
}, dv = /* @__PURE__ */ ye({
|
|
@@ -10072,9 +10072,9 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
10072
10072
|
n.callback?.(i.value);
|
|
10073
10073
|
}));
|
|
10074
10074
|
};
|
|
10075
|
-
return
|
|
10075
|
+
return Do(() => {
|
|
10076
10076
|
i.value = null;
|
|
10077
|
-
}),
|
|
10077
|
+
}), zo(() => {
|
|
10078
10078
|
i.value = null;
|
|
10079
10079
|
}), t({
|
|
10080
10080
|
myProps: a,
|
|
@@ -10171,6 +10171,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
10171
10171
|
type: {},
|
|
10172
10172
|
layerType: {},
|
|
10173
10173
|
btnText: { default: "设置" },
|
|
10174
|
+
icon: {},
|
|
10174
10175
|
title: {},
|
|
10175
10176
|
size: { default: "default" },
|
|
10176
10177
|
width: { default: 1e3 },
|
|
@@ -10203,11 +10204,13 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
10203
10204
|
type: e.type,
|
|
10204
10205
|
label: e.btnText,
|
|
10205
10206
|
size: e.size,
|
|
10207
|
+
icon: e.icon,
|
|
10206
10208
|
onClick: s
|
|
10207
10209
|
}), null, 16, [
|
|
10208
10210
|
"type",
|
|
10209
10211
|
"label",
|
|
10210
|
-
"size"
|
|
10212
|
+
"size",
|
|
10213
|
+
"icon"
|
|
10211
10214
|
]), Z(h, {
|
|
10212
10215
|
ref_key: "layerRef",
|
|
10213
10216
|
ref: o,
|
|
@@ -10236,6 +10239,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
10236
10239
|
type: {},
|
|
10237
10240
|
mode: { default: "application/json" },
|
|
10238
10241
|
btnText: { default: "设置脚本" },
|
|
10242
|
+
icon: {},
|
|
10239
10243
|
title: {},
|
|
10240
10244
|
size: {},
|
|
10241
10245
|
width: { default: 1200 },
|
|
@@ -10269,6 +10273,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
10269
10273
|
"btn-text": d.value,
|
|
10270
10274
|
title: e.title,
|
|
10271
10275
|
size: e.size,
|
|
10276
|
+
icon: e.icon,
|
|
10272
10277
|
width: e.width,
|
|
10273
10278
|
height: e.height,
|
|
10274
10279
|
"before-close": c,
|
|
@@ -10309,6 +10314,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
10309
10314
|
"btn-text",
|
|
10310
10315
|
"title",
|
|
10311
10316
|
"size",
|
|
10317
|
+
"icon",
|
|
10312
10318
|
"width",
|
|
10313
10319
|
"height"
|
|
10314
10320
|
]);
|
|
@@ -10930,7 +10936,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
10930
10936
|
await Ht(), await d(), typeof window < "u" && window.ResizeObserver && i.value && (p = new ResizeObserver(() => {
|
|
10931
10937
|
l && l.dispatch({ scrollIntoView: !0 });
|
|
10932
10938
|
}), p.observe(i.value));
|
|
10933
|
-
}),
|
|
10939
|
+
}), Do(() => {
|
|
10934
10940
|
p && i.value && (p.unobserve(i.value), p.disconnect(), p = null), l && (l.destroy(), l = null);
|
|
10935
10941
|
}), t({ sqlFormatter: h }), (g, b) => (R(), D("div", {
|
|
10936
10942
|
ref_key: "codeWraperRef",
|
|
@@ -11056,7 +11062,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
11056
11062
|
}), em = Qy, tm = /* @__PURE__ */ ye({
|
|
11057
11063
|
name: "JSliderCaptcha",
|
|
11058
11064
|
__name: "slider-captcha",
|
|
11059
|
-
props: /* @__PURE__ */
|
|
11065
|
+
props: /* @__PURE__ */ Ho({
|
|
11060
11066
|
class: {},
|
|
11061
11067
|
actionStyle: { default: () => ({}) },
|
|
11062
11068
|
barStyle: { default: () => ({}) },
|
|
@@ -11071,14 +11077,14 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
11071
11077
|
},
|
|
11072
11078
|
modelModifiers: {}
|
|
11073
11079
|
}),
|
|
11074
|
-
emits: /* @__PURE__ */
|
|
11080
|
+
emits: /* @__PURE__ */ Ho([
|
|
11075
11081
|
"end",
|
|
11076
11082
|
"move",
|
|
11077
11083
|
"start",
|
|
11078
11084
|
"success"
|
|
11079
11085
|
], ["update:modelValue"]),
|
|
11080
11086
|
setup(e, { emit: t }) {
|
|
11081
|
-
const n = e, a = t, o =
|
|
11087
|
+
const n = e, a = t, o = Oo(e, "modelValue"), i = ra({
|
|
11082
11088
|
endTime: 0,
|
|
11083
11089
|
isMoving: !1,
|
|
11084
11090
|
isPassing: !1,
|
|
@@ -11200,7 +11206,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
11200
11206
|
"max-height": "calc(100vh - 80px)",
|
|
11201
11207
|
"border-radius": "8px"
|
|
11202
11208
|
}
|
|
11203
|
-
}, J(u)), [B("div", ja(
|
|
11209
|
+
}, J(u)), [B("div", ja(Lo(J(h))), [(R(!0), D(Me, null, Ie(J(f), (b) => (R(), N(Wi, {
|
|
11204
11210
|
key: b.data.value,
|
|
11205
11211
|
"parent-actives": J(r)?.pid?.split(".") || [],
|
|
11206
11212
|
item: b.data,
|
|
@@ -11345,7 +11351,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
11345
11351
|
return (d, f) => (R(), D("div", Ue({ class: ["j-menu", {
|
|
11346
11352
|
collapsed: e.collapsed,
|
|
11347
11353
|
"j-menu-dark": J(i) === "dark"
|
|
11348
|
-
}] }, J(c)), [B("div", ja(
|
|
11354
|
+
}] }, J(c)), [B("div", ja(Lo(J(s))), [(R(!0), D(Me, null, Ie(J(l), (u) => (R(), N(Wi, {
|
|
11349
11355
|
key: u.data.value,
|
|
11350
11356
|
"parent-actives": J(o)?.pid?.split(".") || [],
|
|
11351
11357
|
item: u.data,
|
|
@@ -11408,7 +11414,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
11408
11414
|
}), u = (h) => {
|
|
11409
11415
|
a("click", h);
|
|
11410
11416
|
};
|
|
11411
|
-
return Th({ getHMoreMenus: d }),
|
|
11417
|
+
return Th({ getHMoreMenus: d }), Do(() => {
|
|
11412
11418
|
c && r.value && (c.unobserve(r.value), c.disconnect(), c = null);
|
|
11413
11419
|
}), (h, p) => (R(), D("div", {
|
|
11414
11420
|
ref_key: "menuRef",
|
|
@@ -11443,7 +11449,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
11443
11449
|
}), n.menuList)), c = H(() => o.value?.pid?.split(".") || []), s = (h) => {
|
|
11444
11450
|
a("click", h);
|
|
11445
11451
|
}, { list: d, containerProps: f, wrapperProps: u } = Vr(l, { itemHeight: 96 });
|
|
11446
|
-
return (h, p) => (R(), D("div", Ue({ class: ["j-menu-vertical", { "j-menu-dark": J(i) === "dark" }] }, J(f)), [B("div", ja(
|
|
11452
|
+
return (h, p) => (R(), D("div", Ue({ class: ["j-menu-vertical", { "j-menu-dark": J(i) === "dark" }] }, J(f)), [B("div", ja(Lo(J(u))), [(R(!0), D(Me, null, Ie(J(d), (g) => (R(), N(Wi, {
|
|
11447
11453
|
key: g.data.value,
|
|
11448
11454
|
"parent-actives": c.value,
|
|
11449
11455
|
item: g.data,
|
|
@@ -11577,7 +11583,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
11577
11583
|
}, Cm = /* @__PURE__ */ ye({
|
|
11578
11584
|
name: "JKeywordPanel",
|
|
11579
11585
|
__name: "keyword-panel",
|
|
11580
|
-
props: /* @__PURE__ */
|
|
11586
|
+
props: /* @__PURE__ */ Ho({ columns: {
|
|
11581
11587
|
type: Array,
|
|
11582
11588
|
default: () => []
|
|
11583
11589
|
} }, {
|
|
@@ -11588,7 +11594,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
11588
11594
|
}),
|
|
11589
11595
|
emits: ["update:checkAll", "update:checkFields"],
|
|
11590
11596
|
setup(e, { expose: t }) {
|
|
11591
|
-
const { t: n } = mt(), a = e, o =
|
|
11597
|
+
const { t: n } = mt(), a = e, o = Oo(e, "checkAll"), i = Oo(e, "checkFields"), r = L(!1), l = L(""), c = H(() => a.columns.filter((u) => u.config?.filter?.isSearchKeyword ? l.value ? u.config?.label?.indexOf(l.value) != -1 : !0 : !1).map((u) => ({
|
|
11592
11598
|
label: u.config?.label,
|
|
11593
11599
|
value: u.id
|
|
11594
11600
|
}))), s = () => {
|
|
@@ -11645,7 +11651,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
11645
11651
|
}, Tm = { class: "relation" }, Am = { style: { width: "72px" } }, Mm = { class: "btn-wrapper" }, jm = { class: "field-wrapper" }, Pm = { class: "buttons" }, Bm = /* @__PURE__ */ ye({
|
|
11646
11652
|
name: "JFilterPanel",
|
|
11647
11653
|
__name: "filter-panel",
|
|
11648
|
-
props: /* @__PURE__ */
|
|
11654
|
+
props: /* @__PURE__ */ Ho({
|
|
11649
11655
|
columns: {
|
|
11650
11656
|
type: Array,
|
|
11651
11657
|
default: () => []
|
|
@@ -11664,9 +11670,9 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
11664
11670
|
isPin: { default: !1 },
|
|
11665
11671
|
isPinModifiers: {}
|
|
11666
11672
|
}),
|
|
11667
|
-
emits: /* @__PURE__ */
|
|
11673
|
+
emits: /* @__PURE__ */ Ho(["filter", "close"], ["update:relation", "update:isPin"]),
|
|
11668
11674
|
setup(e, { expose: t, emit: n }) {
|
|
11669
|
-
const { t: a } = mt(), o = e, i =
|
|
11675
|
+
const { t: a } = mt(), o = e, i = Oo(e, "relation"), r = Oo(e, "isPin"), l = L([]), c = L([]), s = () => {
|
|
11670
11676
|
r.value = !r.value;
|
|
11671
11677
|
}, d = [
|
|
11672
11678
|
{
|
|
@@ -11963,7 +11969,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
11963
11969
|
c.value.forEach((C) => {
|
|
11964
11970
|
C.value = void 0;
|
|
11965
11971
|
}), p("filter");
|
|
11966
|
-
}, w = () => c.value, m =
|
|
11972
|
+
}, w = () => c.value, m = Fo();
|
|
11967
11973
|
return t({
|
|
11968
11974
|
getSearchFields: w,
|
|
11969
11975
|
getFixedSearchData: () => m.value?.getFormData() || {}
|
|
@@ -12399,7 +12405,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
12399
12405
|
},
|
|
12400
12406
|
emits: ["select", "ready"],
|
|
12401
12407
|
setup(e, { expose: t, emit: n }) {
|
|
12402
|
-
const { t: a } = mt(), { openLayer: o } =
|
|
12408
|
+
const { t: a } = mt(), { openLayer: o } = oo(), i = e, r = n;
|
|
12403
12409
|
i.isMultiple && !i.rowKey && console.warn("rowKey is required when isMultiple is true");
|
|
12404
12410
|
const l = L();
|
|
12405
12411
|
let c = [];
|
|
@@ -12490,7 +12496,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
12490
12496
|
Ht(It), un = new ResizeObserver(() => {
|
|
12491
12497
|
It();
|
|
12492
12498
|
}), ht.value && un.observe(ht.value);
|
|
12493
|
-
}),
|
|
12499
|
+
}), zo(() => {
|
|
12494
12500
|
un?.disconnect();
|
|
12495
12501
|
}), it(() => on.value, () => {
|
|
12496
12502
|
Ht(It);
|
|
@@ -12650,7 +12656,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
12650
12656
|
},
|
|
12651
12657
|
getTableRef: at
|
|
12652
12658
|
}), (de, Se) => {
|
|
12653
|
-
const vt = V("j-buttons"), zt = V("j-icon"), Ce = V("el-popover"), lt = V("el-tooltip"), Wt = V("el-input"), Mt = V("j-button"), Ft = V("el-pagination"), jt = V("j-table"), Kt =
|
|
12659
|
+
const vt = V("j-buttons"), zt = V("j-icon"), Ce = V("el-popover"), lt = V("el-tooltip"), Wt = V("el-input"), Mt = V("j-button"), Ft = V("el-pagination"), jt = V("j-table"), Kt = $o("loading");
|
|
12654
12660
|
return R(), D("div", { class: We(["j-table-panel-wrapper", {
|
|
12655
12661
|
fullscreen: Ge.value,
|
|
12656
12662
|
"no-padding": e.noPadding || Ge.value
|
|
@@ -13144,7 +13150,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
13144
13150
|
buttons: M,
|
|
13145
13151
|
node: O
|
|
13146
13152
|
}) : M;
|
|
13147
|
-
}, { openLayer: k } =
|
|
13153
|
+
}, { openLayer: k } = oo(), T = (O, M) => {
|
|
13148
13154
|
O.config?.disabled || O.click && O.click({
|
|
13149
13155
|
data: M,
|
|
13150
13156
|
openLayer: k
|
|
@@ -13163,7 +13169,7 @@ var Yp = /* @__PURE__ */ ye({
|
|
|
13163
13169
|
setCheck: m,
|
|
13164
13170
|
getCheck: y
|
|
13165
13171
|
}), (O, M) => {
|
|
13166
|
-
const E = V("j-icon"), F = V("j-button"), X = V("el-dropdown-item"), ue = V("el-dropdown-menu"), _e = V("el-dropdown"), U = V("el-tree"), K = V("el-empty"), Q =
|
|
13172
|
+
const E = V("j-icon"), F = V("j-button"), X = V("el-dropdown-item"), ue = V("el-dropdown-menu"), _e = V("el-dropdown"), U = V("el-tree"), K = V("el-empty"), Q = $o("loading");
|
|
13167
13173
|
return la((R(), D("div", {
|
|
13168
13174
|
class: We([
|
|
13169
13175
|
"j-block",
|
|
@@ -13521,7 +13527,7 @@ var Wc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
13521
13527
|
const re = ++E, le = b.value;
|
|
13522
13528
|
b.value = !1, le && await Ht();
|
|
13523
13529
|
const me = !!pe;
|
|
13524
|
-
if (S.length = 0, T = /* @__PURE__ */ Object.create(null), A = /* @__PURE__ */ Object.create(null), j = [], je = pe,
|
|
13530
|
+
if (S.length = 0, T = /* @__PURE__ */ Object.create(null), A = /* @__PURE__ */ Object.create(null), j = [], je = pe, Mo(v), Mo(k), me && qe(pe, ""), Ze(G, S, me), O = _e(), M = !1, z = O, ue(() => {
|
|
13525
13531
|
re === E && (z = Yt(O), M = !0);
|
|
13526
13532
|
}), b.value = !0, await Ht(), await X(), a.config?.codeInit) {
|
|
13527
13533
|
const Be = a.config.codeInit;
|
|
@@ -13637,7 +13643,7 @@ var Wc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
13637
13643
|
const G = await nn();
|
|
13638
13644
|
return Object.keys(G).length > 0 ? (_.value = G, g(`${h(k[Object.keys(G)[0]]?.config?.label)}:${h(G[Object.keys(G)[0]].msg)}`), !1) : !0;
|
|
13639
13645
|
}, on = () => {
|
|
13640
|
-
_.value = {}, U(),
|
|
13646
|
+
_.value = {}, U(), Mo(v), Object.keys(z || {}).forEach((G) => {
|
|
13641
13647
|
v[G] = z[G];
|
|
13642
13648
|
});
|
|
13643
13649
|
}, ht = (G) => {
|
|
@@ -13770,7 +13776,7 @@ var Wc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
13770
13776
|
const pe = Nt[G];
|
|
13771
13777
|
pe && (delete Nt[G], await Lt(pe.data, pe.inputParams));
|
|
13772
13778
|
}
|
|
13773
|
-
}), Lc({ contextType: "form" }), t({
|
|
13779
|
+
}), Lc({ contextType: "form" }), ao({}), t({
|
|
13774
13780
|
init: te,
|
|
13775
13781
|
reset: on,
|
|
13776
13782
|
validate: an,
|
|
@@ -13844,12 +13850,12 @@ var Wc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
13844
13850
|
i[y.id] = C, C.config = [], ji(C.config, y.config || {}, ["defaultValue"]), y?.config?.defaultValue !== void 0 && (r[y.id] = y.config.defaultValue), m.push(C), v && v.length > 0 && (C.children = [], l(v, C.children));
|
|
13845
13851
|
});
|
|
13846
13852
|
}, c = (w) => {
|
|
13847
|
-
a.value = !1, o.splice(0, o.length),
|
|
13853
|
+
a.value = !1, o.splice(0, o.length), Mo(i), Mo(r), l(w, o), Ht(() => {
|
|
13848
13854
|
a.value = !0;
|
|
13849
13855
|
});
|
|
13850
13856
|
};
|
|
13851
13857
|
n.schema && c(n.schema);
|
|
13852
|
-
const { openLayer: s } =
|
|
13858
|
+
const { openLayer: s } = oo(), d = {}, f = async (w, m) => {
|
|
13853
13859
|
const { run: y } = Wc({
|
|
13854
13860
|
data: w,
|
|
13855
13861
|
actions: n.actions,
|
|
@@ -13965,7 +13971,7 @@ var Wc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
13965
13971
|
size: { default: "default" }
|
|
13966
13972
|
},
|
|
13967
13973
|
setup(e) {
|
|
13968
|
-
const { openLayer: t } =
|
|
13974
|
+
const { openLayer: t } = oo(), n = (a) => {
|
|
13969
13975
|
a.config?.disabled || a.click && a.click({ openLayer: t });
|
|
13970
13976
|
};
|
|
13971
13977
|
return (a, o) => {
|
|
@@ -14143,7 +14149,7 @@ var Wc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
14143
14149
|
_();
|
|
14144
14150
|
});
|
|
14145
14151
|
const { row: C } = Ni();
|
|
14146
|
-
return
|
|
14152
|
+
return ao({
|
|
14147
14153
|
getTableData: () => g.value,
|
|
14148
14154
|
rowChange: y,
|
|
14149
14155
|
pRowData: C
|
|
@@ -14809,7 +14815,7 @@ var Wc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
14809
14815
|
},
|
|
14810
14816
|
emits: ["update:value", "change"],
|
|
14811
14817
|
setup(e, { emit: t }) {
|
|
14812
|
-
const n = e, a = t, o = L(), i = L(), r =
|
|
14818
|
+
const n = e, a = t, o = L(), i = L(), r = Fo(), l = H(() => ({
|
|
14813
14819
|
height: typeof n.height == "number" ? `${n.height}px` : n.height,
|
|
14814
14820
|
overflowY: "hidden"
|
|
14815
14821
|
}));
|
|
@@ -14859,7 +14865,7 @@ var Wc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
14859
14865
|
}), it(() => n.readonly, (f) => {
|
|
14860
14866
|
const u = r.value;
|
|
14861
14867
|
u && (f ? u.disable() : u.enable());
|
|
14862
|
-
}),
|
|
14868
|
+
}), zo(() => {
|
|
14863
14869
|
const f = r.value;
|
|
14864
14870
|
f?.destroy();
|
|
14865
14871
|
}), (f, u) => (R(), D("div", h0, [B("div", {
|
|
@@ -15104,7 +15110,7 @@ var Wc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
15104
15110
|
"size",
|
|
15105
15111
|
"clearable"
|
|
15106
15112
|
]),
|
|
15107
|
-
B("div", ja(
|
|
15113
|
+
B("div", ja(Lo(y.$attrs)), null, 16),
|
|
15108
15114
|
Z(k, {
|
|
15109
15115
|
ref_key: "layerRef",
|
|
15110
15116
|
ref: i,
|
|
@@ -15131,11 +15137,11 @@ var Wc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
15131
15137
|
function Zl(e) {
|
|
15132
15138
|
!e || typeof e.stopPropagation != "function" || e.stopPropagation();
|
|
15133
15139
|
}
|
|
15134
|
-
function
|
|
15140
|
+
function io(e) {
|
|
15135
15141
|
return e.originalEvent || e.srcEvent;
|
|
15136
15142
|
}
|
|
15137
15143
|
function ur(e) {
|
|
15138
|
-
Zl(e), Zl(
|
|
15144
|
+
Zl(e), Zl(io(e));
|
|
15139
15145
|
}
|
|
15140
15146
|
function to(e) {
|
|
15141
15147
|
return e.pointers && e.pointers.length && (e = e.pointers[0]), e.touches && e.touches.length && (e = e.touches[0]), e ? {
|
|
@@ -15193,7 +15199,7 @@ function Yc() {
|
|
|
15193
15199
|
return /mac/i.test(navigator.platform);
|
|
15194
15200
|
}
|
|
15195
15201
|
function Jc(e, t) {
|
|
15196
|
-
return (
|
|
15202
|
+
return (io(e) || e).button === t;
|
|
15197
15203
|
}
|
|
15198
15204
|
function ca(e) {
|
|
15199
15205
|
return Jc(e, 0);
|
|
@@ -15202,11 +15208,11 @@ function R0(e) {
|
|
|
15202
15208
|
return Jc(e, 1);
|
|
15203
15209
|
}
|
|
15204
15210
|
function es(e) {
|
|
15205
|
-
var t =
|
|
15211
|
+
var t = io(e) || e;
|
|
15206
15212
|
return ca(e) ? Yc() ? t.metaKey : t.ctrlKey : !1;
|
|
15207
15213
|
}
|
|
15208
15214
|
function Er(e) {
|
|
15209
|
-
var t =
|
|
15215
|
+
var t = io(e) || e;
|
|
15210
15216
|
return ca(e) && t.shiftKey;
|
|
15211
15217
|
}
|
|
15212
15218
|
function Wo(e) {
|
|
@@ -15420,7 +15426,7 @@ var tl = {
|
|
|
15420
15426
|
__init__: ["interactionEvents"],
|
|
15421
15427
|
interactionEvents: ["type", Kc]
|
|
15422
15428
|
};
|
|
15423
|
-
function
|
|
15429
|
+
function ro(e, t) {
|
|
15424
15430
|
this._eventBus = e, this._canvas = t, this._selectedElements = [];
|
|
15425
15431
|
var n = this;
|
|
15426
15432
|
e.on(["shape.remove", "connection.remove"], function(a) {
|
|
@@ -15430,8 +15436,8 @@ function io(e, t) {
|
|
|
15430
15436
|
n.select(null);
|
|
15431
15437
|
});
|
|
15432
15438
|
}
|
|
15433
|
-
|
|
15434
|
-
|
|
15439
|
+
ro.$inject = ["eventBus", "canvas"];
|
|
15440
|
+
ro.prototype.deselect = function(e) {
|
|
15435
15441
|
var t = this._selectedElements, n = t.indexOf(e);
|
|
15436
15442
|
if (n !== -1) {
|
|
15437
15443
|
var a = t.slice();
|
|
@@ -15441,13 +15447,13 @@ io.prototype.deselect = function(e) {
|
|
|
15441
15447
|
});
|
|
15442
15448
|
}
|
|
15443
15449
|
};
|
|
15444
|
-
|
|
15450
|
+
ro.prototype.get = function() {
|
|
15445
15451
|
return this._selectedElements;
|
|
15446
15452
|
};
|
|
15447
|
-
|
|
15453
|
+
ro.prototype.isSelected = function(e) {
|
|
15448
15454
|
return this._selectedElements.indexOf(e) !== -1;
|
|
15449
15455
|
};
|
|
15450
|
-
|
|
15456
|
+
ro.prototype.select = function(e, t) {
|
|
15451
15457
|
var n = this._selectedElements, a = n.slice();
|
|
15452
15458
|
ft(e) || (e = e ? [e] : []);
|
|
15453
15459
|
var o = this._canvas, i = o.getRootElement();
|
|
@@ -15523,10 +15529,10 @@ Xc.$inject = [
|
|
|
15523
15529
|
function j0(e) {
|
|
15524
15530
|
return !e.hidden;
|
|
15525
15531
|
}
|
|
15526
|
-
var
|
|
15532
|
+
var lo = {
|
|
15527
15533
|
__init__: ["selectionVisuals", "selectionBehavior"],
|
|
15528
15534
|
__depends__: [tl],
|
|
15529
|
-
selection: ["type",
|
|
15535
|
+
selection: ["type", ro],
|
|
15530
15536
|
selectionVisuals: ["type", qc],
|
|
15531
15537
|
selectionBehavior: ["type", Xc]
|
|
15532
15538
|
}, P0 = /^djs-cursor-.*$/;
|
|
@@ -15655,7 +15661,7 @@ function nu(e, t, n, a) {
|
|
|
15655
15661
|
function w(m, y, C, v) {
|
|
15656
15662
|
i && b(!1), typeof y == "string" && (v = C, C = y, y = null), v = De({}, o, v || {});
|
|
15657
15663
|
var _ = v.data || {}, S, k, T, A, j;
|
|
15658
|
-
v.trapClick ? A = u : A = d, m ? (S =
|
|
15664
|
+
v.trapClick ? A = u : A = d, m ? (S = io(m) || m, k = to(m), ur(m), S.type === "dragstart" && Sa(S)) : (S = null, k = {
|
|
15659
15665
|
x: 0,
|
|
15660
15666
|
y: 0
|
|
15661
15667
|
}), T = r(k), y || (y = T), j = H0(S), i = De({
|
|
@@ -15681,7 +15687,7 @@ nu.$inject = [
|
|
|
15681
15687
|
"elementRegistry"
|
|
15682
15688
|
];
|
|
15683
15689
|
var La = {
|
|
15684
|
-
__depends__: [k0,
|
|
15690
|
+
__depends__: [k0, lo],
|
|
15685
15691
|
dragging: ["type", nu]
|
|
15686
15692
|
};
|
|
15687
15693
|
function Ar(e) {
|
|
@@ -15787,7 +15793,7 @@ ol.prototype.allowed = function(e, t) {
|
|
|
15787
15793
|
var n = !0, a = this._commandStack;
|
|
15788
15794
|
return a && (n = a.canExecute(e, t)), n === void 0 ? !0 : n;
|
|
15789
15795
|
};
|
|
15790
|
-
var
|
|
15796
|
+
var so = {
|
|
15791
15797
|
__init__: ["rules"],
|
|
15792
15798
|
rules: ["type", ol]
|
|
15793
15799
|
};
|
|
@@ -15829,7 +15835,7 @@ function U0(e, t) {
|
|
|
15829
15835
|
}
|
|
15830
15836
|
function Y0(e, t, n) {
|
|
15831
15837
|
_f(t) && (t = !0), bn(t) && (n = t, t = !0), n = n || {};
|
|
15832
|
-
var a =
|
|
15838
|
+
var a = bo(n.allShapes), o = bo(n.allConnections), i = bo(n.enclosedElements), r = bo(n.enclosedConnections), l = bo(n.topLevel, t && Yr(e, function(d) {
|
|
15833
15839
|
return d.id;
|
|
15834
15840
|
}));
|
|
15835
15841
|
function c(d) {
|
|
@@ -15876,7 +15882,7 @@ function J0(e) {
|
|
|
15876
15882
|
function G0(e) {
|
|
15877
15883
|
return !!(e && e.isFrame);
|
|
15878
15884
|
}
|
|
15879
|
-
function
|
|
15885
|
+
function bo(e, t) {
|
|
15880
15886
|
return De({}, e || {}, t || {});
|
|
15881
15887
|
}
|
|
15882
15888
|
function tn(e) {
|
|
@@ -15999,7 +16005,7 @@ function iu(e, t, n, a, o) {
|
|
|
15999
16005
|
return !h.hidden;
|
|
16000
16006
|
}));
|
|
16001
16007
|
ge(s, function(h) {
|
|
16002
|
-
tn(h) && (h.waypoints =
|
|
16008
|
+
tn(h) && (h.waypoints = Vo(h.waypoints, function(p) {
|
|
16003
16009
|
return {
|
|
16004
16010
|
x: p.x - u.x - u.width / 2,
|
|
16005
16011
|
y: p.y - u.y - u.height / 2
|
|
@@ -16035,11 +16041,11 @@ function fs(e) {
|
|
|
16035
16041
|
return e && e.length === 1 && !tn(e[0]);
|
|
16036
16042
|
}
|
|
16037
16043
|
function X0(e, t, n, a, o) {
|
|
16038
|
-
var i =
|
|
16044
|
+
var i = Ao();
|
|
16039
16045
|
i.setTranslate(t, n);
|
|
16040
|
-
var r =
|
|
16046
|
+
var r = Ao();
|
|
16041
16047
|
r.setRotate(a || 0, 0, 0);
|
|
16042
|
-
var l =
|
|
16048
|
+
var l = Ao();
|
|
16043
16049
|
l.setScale(o || 1, o || 1), Kr(e, [
|
|
16044
16050
|
i,
|
|
16045
16051
|
r,
|
|
@@ -16047,11 +16053,11 @@ function X0(e, t, n, a, o) {
|
|
|
16047
16053
|
]);
|
|
16048
16054
|
}
|
|
16049
16055
|
function Ln(e, t, n) {
|
|
16050
|
-
var a =
|
|
16056
|
+
var a = Ao();
|
|
16051
16057
|
a.setTranslate(t, n), Kr(e, a);
|
|
16052
16058
|
}
|
|
16053
16059
|
function Z0(e, t) {
|
|
16054
|
-
var n =
|
|
16060
|
+
var n = Ao();
|
|
16055
16061
|
n.setRotate(t, 0, 0), Kr(e, n);
|
|
16056
16062
|
}
|
|
16057
16063
|
var Q0 = 750;
|
|
@@ -16086,8 +16092,8 @@ var lu = {
|
|
|
16086
16092
|
__depends__: [
|
|
16087
16093
|
La,
|
|
16088
16094
|
al,
|
|
16089
|
-
|
|
16090
|
-
|
|
16095
|
+
so,
|
|
16096
|
+
lo
|
|
16091
16097
|
],
|
|
16092
16098
|
__init__: ["create", "createPreview"],
|
|
16093
16099
|
create: ["type", iu],
|
|
@@ -16563,7 +16569,7 @@ function mw(e) {
|
|
|
16563
16569
|
height: Math.round(e.height)
|
|
16564
16570
|
};
|
|
16565
16571
|
}
|
|
16566
|
-
function
|
|
16572
|
+
function Po(e) {
|
|
16567
16573
|
return {
|
|
16568
16574
|
x: Math.round(e.x),
|
|
16569
16575
|
y: Math.round(e.y)
|
|
@@ -16586,7 +16592,7 @@ function uu(e) {
|
|
|
16586
16592
|
};
|
|
16587
16593
|
}
|
|
16588
16594
|
function bw(e) {
|
|
16589
|
-
return
|
|
16595
|
+
return Po({
|
|
16590
16596
|
x: e.x + (e.width || 0) / 2,
|
|
16591
16597
|
y: e.y + (e.height || 0) / 2
|
|
16592
16598
|
});
|
|
@@ -16627,10 +16633,10 @@ function sa(e, t, n) {
|
|
|
16627
16633
|
}
|
|
16628
16634
|
function Pr(e, t, n) {
|
|
16629
16635
|
var a = _w(e, t);
|
|
16630
|
-
return a.length === 1 || a.length === 2 && Uo(a[0], a[1]) < 1 ?
|
|
16636
|
+
return a.length === 1 || a.length === 2 && Uo(a[0], a[1]) < 1 ? Po(a[0]) : a.length > 1 ? (a = Io(a, function(o) {
|
|
16631
16637
|
var i = Math.floor(o.t2 * 100) || 1;
|
|
16632
16638
|
return i = 100 - i, i = (i < 10 ? "0" : "") + i, o.segment2 + "#" + i;
|
|
16633
|
-
}),
|
|
16639
|
+
}), Po(a[n ? 0 : a.length - 1])) : null;
|
|
16634
16640
|
}
|
|
16635
16641
|
function _w(e, t) {
|
|
16636
16642
|
return su(e, t);
|
|
@@ -16731,8 +16737,8 @@ fu.$inject = [
|
|
|
16731
16737
|
];
|
|
16732
16738
|
var sl = {
|
|
16733
16739
|
__depends__: [
|
|
16734
|
-
ro,
|
|
16735
16740
|
lo,
|
|
16741
|
+
so,
|
|
16736
16742
|
La
|
|
16737
16743
|
],
|
|
16738
16744
|
__init__: ["connectPreview"],
|
|
@@ -17223,7 +17229,7 @@ var fl = new wn({
|
|
|
17223
17229
|
name: "incoming",
|
|
17224
17230
|
collection: !0
|
|
17225
17231
|
}, { name: "target" });
|
|
17226
|
-
function
|
|
17232
|
+
function co() {
|
|
17227
17233
|
Object.defineProperty(this, "businessObject", { writable: !0 }), Object.defineProperty(this, "label", {
|
|
17228
17234
|
get: function() {
|
|
17229
17235
|
return this.labels[0];
|
|
@@ -17235,11 +17241,11 @@ function so() {
|
|
|
17235
17241
|
}), fl.bind(this, "parent"), _u.bind(this, "labels"), xu.bind(this, "outgoing"), Cu.bind(this, "incoming");
|
|
17236
17242
|
}
|
|
17237
17243
|
function Yo() {
|
|
17238
|
-
|
|
17244
|
+
co.call(this), fl.bind(this, "children"), Ts.bind(this, "host"), Ts.bind(this, "attachers");
|
|
17239
17245
|
}
|
|
17240
|
-
za(Yo,
|
|
17246
|
+
za(Yo, co);
|
|
17241
17247
|
function Su() {
|
|
17242
|
-
|
|
17248
|
+
co.call(this), fl.bind(this, "children");
|
|
17243
17249
|
}
|
|
17244
17250
|
za(Su, Yo);
|
|
17245
17251
|
function ku() {
|
|
@@ -17247,9 +17253,9 @@ function ku() {
|
|
|
17247
17253
|
}
|
|
17248
17254
|
za(ku, Yo);
|
|
17249
17255
|
function Ru() {
|
|
17250
|
-
|
|
17256
|
+
co.call(this), xu.bind(this, "source"), Cu.bind(this, "target");
|
|
17251
17257
|
}
|
|
17252
|
-
za(Ru,
|
|
17258
|
+
za(Ru, co);
|
|
17253
17259
|
var Fw = {
|
|
17254
17260
|
connection: Ru,
|
|
17255
17261
|
shape: Yo,
|
|
@@ -17262,7 +17268,7 @@ function Vw(e, t) {
|
|
|
17262
17268
|
return De(new n(), t);
|
|
17263
17269
|
}
|
|
17264
17270
|
function Nw(e) {
|
|
17265
|
-
return e instanceof
|
|
17271
|
+
return e instanceof co;
|
|
17266
17272
|
}
|
|
17267
17273
|
function fa() {
|
|
17268
17274
|
this._uid = 12;
|
|
@@ -17402,7 +17408,7 @@ hl.prototype.preExecute = function(e) {
|
|
|
17402
17408
|
return !d.hidden;
|
|
17403
17409
|
}));
|
|
17404
17410
|
ge(t, function(d) {
|
|
17405
|
-
tn(d) && (d.waypoints =
|
|
17411
|
+
tn(d) && (d.waypoints = Vo(d.waypoints, function(f) {
|
|
17406
17412
|
return {
|
|
17407
17413
|
x: gi(f.x - l.x - l.width / 2 + o.x),
|
|
17408
17414
|
y: gi(f.y - l.y - l.height / 2 + o.y)
|
|
@@ -17554,7 +17560,7 @@ qi.prototype.preExecute = function(e) {
|
|
|
17554
17560
|
x && x !== n.length - 1 && (i(b, b.elements[0]), g += c(b.range));
|
|
17555
17561
|
return;
|
|
17556
17562
|
}
|
|
17557
|
-
w =
|
|
17563
|
+
w = Io(b.elements, a), m = w[0], x === f && (m = w[l(w)]), y = r(m), b.range = null, ge(w, function(C) {
|
|
17558
17564
|
if (s(y, C), b.range === null) {
|
|
17559
17565
|
b.range = {
|
|
17560
17566
|
min: C[a],
|
|
@@ -17604,7 +17610,7 @@ function Zi(e, t, n) {
|
|
|
17604
17610
|
x: i.x * (n.width / t.width),
|
|
17605
17611
|
y: i.y * (n.height / t.height)
|
|
17606
17612
|
};
|
|
17607
|
-
return
|
|
17613
|
+
return Po({
|
|
17608
17614
|
x: o.x + r.x,
|
|
17609
17615
|
y: o.y + r.y
|
|
17610
17616
|
});
|
|
@@ -17639,7 +17645,7 @@ function Qi(e) {
|
|
|
17639
17645
|
return t;
|
|
17640
17646
|
}
|
|
17641
17647
|
function Tu(e, t) {
|
|
17642
|
-
return mn(
|
|
17648
|
+
return mn(Vo(e, qw), function(n) {
|
|
17643
17649
|
return Kw(n, t);
|
|
17644
17650
|
});
|
|
17645
17651
|
}
|
|
@@ -17852,11 +17858,11 @@ function Xw(e, t) {
|
|
|
17852
17858
|
var o = a.incoming, i = a.outgoing;
|
|
17853
17859
|
ge(o.concat(i), function(r) {
|
|
17854
17860
|
var l = r.source, c = r.target;
|
|
17855
|
-
(
|
|
17861
|
+
(wo(e, l) || wo(e, c) || wo(t, l) || wo(t, c)) && (wo(n, r) || n.push(r));
|
|
17856
17862
|
});
|
|
17857
17863
|
}), n;
|
|
17858
17864
|
}
|
|
17859
|
-
function
|
|
17865
|
+
function wo(e, t) {
|
|
17860
17866
|
return e.indexOf(t) !== -1;
|
|
17861
17867
|
}
|
|
17862
17868
|
function Zw(e, t, n) {
|
|
@@ -17933,7 +17939,7 @@ pa.prototype.updateConnectionWaypoints = function(e, t, n, a, o, i, r) {
|
|
|
17933
17939
|
var l = this, c = o.concat(i);
|
|
17934
17940
|
ge(e, function(s) {
|
|
17935
17941
|
var d = s.source, f = s.target, u = Qw(s), h = Au(n), p = {};
|
|
17936
|
-
ta(c, d) && ta(c, f) ? (u =
|
|
17942
|
+
ta(c, d) && ta(c, f) ? (u = Vo(u, function(g) {
|
|
17937
17943
|
return Bs(g, a, n) && (g[h] = g[h] + t[h]), g.original && Bs(g.original, a, n) && (g.original[h] = g.original[h] + t[h]), g;
|
|
17938
17944
|
}), l._modeling.updateWaypoints(s, u, { labelBehavior: !1 })) : (ta(c, d) || ta(c, f)) && (ta(o, d) ? p.connectionStart = ml(s, d, t) : ta(o, f) ? p.connectionEnd = bl(s, f, t) : ta(i, d) ? p.connectionStart = vl(s, d, r[d.id]) : ta(i, f) && (p.connectionEnd = yl(s, f, r[f.id])), l._modeling.layoutConnection(s, p));
|
|
17939
17945
|
});
|
|
@@ -17942,7 +17948,7 @@ function Ps(e) {
|
|
|
17942
17948
|
return De({}, e);
|
|
17943
17949
|
}
|
|
17944
17950
|
function Qw(e) {
|
|
17945
|
-
return
|
|
17951
|
+
return Vo(e.waypoints, function(t) {
|
|
17946
17952
|
return t = Ps(t), t.original && (t.original = Ps(t.original)), t;
|
|
17947
17953
|
});
|
|
17948
17954
|
}
|
|
@@ -18321,7 +18327,7 @@ function Cl(e) {
|
|
|
18321
18327
|
].includes(e.type);
|
|
18322
18328
|
}
|
|
18323
18329
|
function Ou(e) {
|
|
18324
|
-
return
|
|
18330
|
+
return Bo(e.label);
|
|
18325
18331
|
}
|
|
18326
18332
|
function o_(e) {
|
|
18327
18333
|
const t = e.length / 2 - 1, n = e[Math.floor(t)], a = e[Math.ceil(t + 0.01)], o = i_(e), i = Math.atan((a.y - n.y) / (a.x - n.x));
|
|
@@ -18344,7 +18350,7 @@ function Iu(e) {
|
|
|
18344
18350
|
y: e.y + e.height + a_.height / 2
|
|
18345
18351
|
};
|
|
18346
18352
|
}
|
|
18347
|
-
function
|
|
18353
|
+
function Bo(e) {
|
|
18348
18354
|
return e && !!e.labelTarget;
|
|
18349
18355
|
}
|
|
18350
18356
|
var r_ = {
|
|
@@ -18358,7 +18364,7 @@ function Lu(e, t) {
|
|
|
18358
18364
|
}
|
|
18359
18365
|
function a(l) {
|
|
18360
18366
|
const { element: c, newLabel: s } = l, { businessObject: d } = c;
|
|
18361
|
-
if (!
|
|
18367
|
+
if (!Bo(c) && Cl(c) && !Ou(c) && !Os(s)) {
|
|
18362
18368
|
let u = Iu(c);
|
|
18363
18369
|
u = {
|
|
18364
18370
|
x: u.x,
|
|
@@ -18378,8 +18384,8 @@ function Lu(e, t) {
|
|
|
18378
18384
|
function r(l) {
|
|
18379
18385
|
const { element: c, newLabel: s } = l, d = c.label || c, f = l.hints || {};
|
|
18380
18386
|
let { newBounds: u } = l;
|
|
18381
|
-
if (!
|
|
18382
|
-
if (
|
|
18387
|
+
if (!Bo(d)) return;
|
|
18388
|
+
if (Bo(d) && Os(s)) {
|
|
18383
18389
|
f.removeShape !== !1 && e.removeShape(d, { unsetLabel: !1 });
|
|
18384
18390
|
return;
|
|
18385
18391
|
}
|
|
@@ -18739,7 +18745,7 @@ var Vu = {
|
|
|
18739
18745
|
__depends__: [
|
|
18740
18746
|
Pw,
|
|
18741
18747
|
Iw,
|
|
18742
|
-
|
|
18748
|
+
lo
|
|
18743
18749
|
],
|
|
18744
18750
|
__init__: ["modeling", "elementUpdater"],
|
|
18745
18751
|
modeling: ["type", Qo],
|
|
@@ -19967,11 +19973,11 @@ var tx = {
|
|
|
19967
19973
|
return e.y + e.height;
|
|
19968
19974
|
}
|
|
19969
19975
|
};
|
|
19970
|
-
function
|
|
19976
|
+
function uo(e, t) {
|
|
19971
19977
|
this._modeling = e, this._rules = t;
|
|
19972
19978
|
}
|
|
19973
|
-
|
|
19974
|
-
|
|
19979
|
+
uo.$inject = ["modeling", "rules"];
|
|
19980
|
+
uo.prototype._getOrientationDetails = function(e) {
|
|
19975
19981
|
var t = [
|
|
19976
19982
|
"top",
|
|
19977
19983
|
"bottom",
|
|
@@ -19982,10 +19988,10 @@ co.prototype._getOrientationDetails = function(e) {
|
|
|
19982
19988
|
dimension: a
|
|
19983
19989
|
};
|
|
19984
19990
|
};
|
|
19985
|
-
|
|
19991
|
+
uo.prototype._isType = function(e, t) {
|
|
19986
19992
|
return t.indexOf(e) !== -1;
|
|
19987
19993
|
};
|
|
19988
|
-
|
|
19994
|
+
uo.prototype._alignmentPosition = function(e, t) {
|
|
19989
19995
|
var n = this._getOrientationDetails(e), a = n.axis, o = n.dimension, i = {}, r = {}, l = !1, c, s, d;
|
|
19990
19996
|
function f(u, h) {
|
|
19991
19997
|
return Math.round((u[a] + h[a] + h[o]) / 2);
|
|
@@ -20000,28 +20006,28 @@ co.prototype._alignmentPosition = function(e, t) {
|
|
|
20000
20006
|
elements: [u],
|
|
20001
20007
|
center: h
|
|
20002
20008
|
};
|
|
20003
|
-
}), c =
|
|
20009
|
+
}), c = Io(r, function(u) {
|
|
20004
20010
|
return u.elements.length > 1 && (l = !0), u.elements.length;
|
|
20005
20011
|
}), l)
|
|
20006
20012
|
return i[e] = pr(c).center, i;
|
|
20007
|
-
s = t[0], t =
|
|
20013
|
+
s = t[0], t = Io(t, function(u) {
|
|
20008
20014
|
return u[a] + u[o];
|
|
20009
20015
|
}), d = pr(t), i[e] = f(s, d);
|
|
20010
20016
|
}
|
|
20011
20017
|
return i;
|
|
20012
20018
|
};
|
|
20013
|
-
|
|
20019
|
+
uo.prototype.trigger = function(e, t) {
|
|
20014
20020
|
var n = this._modeling, a, o = mn(e, function(c) {
|
|
20015
20021
|
return !(c.waypoints || c.host || c.labelTarget);
|
|
20016
20022
|
});
|
|
20017
20023
|
if (a = this._rules.allowed("elements.align", { elements: o }), ft(a) && (o = a), !(o.length < 2 || !a)) {
|
|
20018
|
-
var i = tx[t], r =
|
|
20024
|
+
var i = tx[t], r = Io(o, i), l = this._alignmentPosition(t, r);
|
|
20019
20025
|
n.alignElements(r, l);
|
|
20020
20026
|
}
|
|
20021
20027
|
};
|
|
20022
20028
|
var nx = {
|
|
20023
20029
|
__init__: ["alignElements"],
|
|
20024
|
-
alignElements: ["type",
|
|
20030
|
+
alignElements: ["type", uo]
|
|
20025
20031
|
}, bi = Math.round, ax = Math.max;
|
|
20026
20032
|
function ox(e, t) {
|
|
20027
20033
|
return [
|
|
@@ -20320,12 +20326,12 @@ ed.$inject = [
|
|
|
20320
20326
|
function yx(e) {
|
|
20321
20327
|
return Zt(".djs-visual", e);
|
|
20322
20328
|
}
|
|
20323
|
-
var Us = Math.round, Ra = "reconnectStart", Ea = "reconnectEnd",
|
|
20329
|
+
var Us = Math.round, Ra = "reconnectStart", Ea = "reconnectEnd", _o = "updateWaypoints";
|
|
20324
20330
|
function Al(e, t, n, a, o, i) {
|
|
20325
20331
|
this._injector = e, this.start = function(r, l, c, s) {
|
|
20326
20332
|
var d = n.getGraphics(l), f = l.source, u = l.target, h = l.waypoints, p;
|
|
20327
|
-
!s && c === 0 ? p = Ra : !s && c === h.length - 1 ? p = Ea : p =
|
|
20328
|
-
var g = p ===
|
|
20333
|
+
!s && c === 0 ? p = Ra : !s && c === h.length - 1 ? p = Ea : p = _o;
|
|
20334
|
+
var g = p === _o ? "connection.updateWaypoints" : "connection.reconnect", b = o.allowed(g, {
|
|
20329
20335
|
connection: l,
|
|
20330
20336
|
source: f,
|
|
20331
20337
|
target: u
|
|
@@ -20352,7 +20358,7 @@ function Al(e, t, n, a, o, i) {
|
|
|
20352
20358
|
l.hover = f;
|
|
20353
20359
|
var h;
|
|
20354
20360
|
if (f) {
|
|
20355
|
-
var p = u ===
|
|
20361
|
+
var p = u === _o ? "connection.updateWaypoints" : "connection.reconnect";
|
|
20356
20362
|
if (h = l.allowed = o.allowed(p, {
|
|
20357
20363
|
connection: c,
|
|
20358
20364
|
source: u === Ra ? f : s,
|
|
@@ -20369,14 +20375,14 @@ function Al(e, t, n, a, o, i) {
|
|
|
20369
20375
|
}
|
|
20370
20376
|
}), t.on(["bendpoint.move.out", "bendpoint.move.cleanup"], function(r) {
|
|
20371
20377
|
var l = r.context, c = l.type;
|
|
20372
|
-
l.hover = null, l.source = null, l.target = null, c !==
|
|
20378
|
+
l.hover = null, l.source = null, l.target = null, c !== _o && (l.allowed = !1);
|
|
20373
20379
|
}), t.on("bendpoint.move.end", function(r) {
|
|
20374
20380
|
var l = r.context, c = l.allowed, s = l.bendpointIndex, d = l.connection, f = l.insert, u = d.waypoints.slice(), h = l.source, p = l.target, g = l.type, b = l.hints || {}, x = {
|
|
20375
20381
|
x: Us(r.x),
|
|
20376
20382
|
y: Us(r.y)
|
|
20377
20383
|
};
|
|
20378
20384
|
if (!c) return !1;
|
|
20379
|
-
g ===
|
|
20385
|
+
g === _o ? (f ? u.splice(s, 0, x) : u[s] = x, b.bendpointMove = {
|
|
20380
20386
|
insert: f,
|
|
20381
20387
|
bendpointIndex: s
|
|
20382
20388
|
}, u = this.cropWaypoints(d, u), i.updateWaypoints(d, xw(u), b)) : (g === Ra ? (b.docking = "source", Li(l) && (b.docking = "target", b.newWaypoints = u.reverse())) : g === Ea && (b.docking = "target", Li(l) && (b.docking = "source", b.newWaypoints = u.reverse())), i.reconnect(d, h, p, x, b));
|
|
@@ -20401,7 +20407,7 @@ function Li(e) {
|
|
|
20401
20407
|
if (o === Ra) return t && a && t === a && n !== a;
|
|
20402
20408
|
if (o === Ea) return t && n && t === n && n !== a;
|
|
20403
20409
|
}
|
|
20404
|
-
var mx = "reconnectStart", bx = "reconnectEnd", Ys = "updateWaypoints",
|
|
20410
|
+
var mx = "reconnectStart", bx = "reconnectEnd", Ys = "updateWaypoints", xo = "connect-ok", wi = "connect-not-ok", Js = "connect-hover", Gs = "djs-updating", Ks = "djs-dragging", qs = 1100;
|
|
20405
20411
|
function td(e, t, n, a) {
|
|
20406
20412
|
this._injector = t;
|
|
20407
20413
|
var o = t.get("connectionPreview", !1);
|
|
@@ -20415,11 +20421,11 @@ function td(e, t, n, a) {
|
|
|
20415
20421
|
var r = i.context, l = r.allowed, c = r.hover, s = r.type;
|
|
20416
20422
|
if (c) {
|
|
20417
20423
|
if (a.addMarker(c, Js), s === Ys) return;
|
|
20418
|
-
l ? (a.removeMarker(c, wi), a.addMarker(c,
|
|
20424
|
+
l ? (a.removeMarker(c, wi), a.addMarker(c, xo)) : l === !1 && (a.removeMarker(c, xo), a.addMarker(c, wi));
|
|
20419
20425
|
}
|
|
20420
20426
|
}), n.on(["bendpoint.move.out", "bendpoint.move.cleanup"], qs, function(i) {
|
|
20421
20427
|
var r = i.context, l = r.hover, c = r.target;
|
|
20422
|
-
l && (a.removeMarker(l, Js), a.removeMarker(l, c ?
|
|
20428
|
+
l && (a.removeMarker(l, Js), a.removeMarker(l, c ? xo : wi));
|
|
20423
20429
|
}), n.on("bendpoint.move.move", function(i) {
|
|
20424
20430
|
var r = i.context, l = r.allowed, c = r.bendpointIndex, s = r.draggerGfx, d = r.hover, f = r.type, u = r.connection, h = u.source, p = u.target, g = u.waypoints.slice(), b = {
|
|
20425
20431
|
x: i.x,
|
|
@@ -20428,7 +20434,7 @@ function td(e, t, n, a) {
|
|
|
20428
20434
|
o && (x.connectionStart && (w.connectionStart = x.connectionStart), x.connectionEnd && (w.connectionEnd = x.connectionEnd), f === mx ? Li(r) ? (w.connectionEnd = w.connectionEnd || b, w.source = p, w.target = d || h, g = g.reverse()) : (w.connectionStart = w.connectionStart || b, w.source = d || h, w.target = p) : f === bx ? Li(r) ? (w.connectionStart = w.connectionStart || b, w.source = d || p, w.target = h, g = g.reverse()) : (w.connectionEnd = w.connectionEnd || b, w.source = h, w.target = d || p) : (w.noCropping = !0, w.noLayout = !0, g[c] = b), f === Ys && (g = e.cropWaypoints(u, g)), w.waypoints = g, o.drawPreview(r, l, w)), Ln(s, i.x, i.y);
|
|
20429
20435
|
}, this), n.on(["bendpoint.move.end", "bendpoint.move.cancel"], qs, function(i) {
|
|
20430
20436
|
var r = i.context, l = r.connection, c = r.draggerGfx, s = r.hover, d = r.target;
|
|
20431
|
-
l.waypoints = r.waypoints, yn(c), a.removeMarker(l, Gs), a.removeMarker(l, Ks), s && (a.removeMarker(s,
|
|
20437
|
+
l.waypoints = r.waypoints, yn(c), a.removeMarker(l, Gs), a.removeMarker(l, Ks), s && (a.removeMarker(s, xo), a.removeMarker(s, d ? xo : wi)), o && o.cleanUp(r);
|
|
20432
20438
|
});
|
|
20433
20439
|
}
|
|
20434
20440
|
td.$inject = [
|
|
@@ -20667,7 +20673,7 @@ function id(e) {
|
|
|
20667
20673
|
}
|
|
20668
20674
|
id.$inject = ["eventBus"];
|
|
20669
20675
|
var Rx = {
|
|
20670
|
-
__depends__: [La,
|
|
20676
|
+
__depends__: [La, so],
|
|
20671
20677
|
__init__: [
|
|
20672
20678
|
"bendpoints",
|
|
20673
20679
|
"bendpointSnapping",
|
|
@@ -20929,20 +20935,20 @@ var Hx = {
|
|
|
20929
20935
|
__init__: ["overlays"],
|
|
20930
20936
|
overlays: ["type", $t]
|
|
20931
20937
|
}, Ox = new Ui();
|
|
20932
|
-
function
|
|
20938
|
+
function fo(e) {
|
|
20933
20939
|
this._scheduled = {}, e.on("diagram.destroy", () => {
|
|
20934
20940
|
Object.keys(this._scheduled).forEach((t) => {
|
|
20935
20941
|
this.cancel(t);
|
|
20936
20942
|
});
|
|
20937
20943
|
});
|
|
20938
20944
|
}
|
|
20939
|
-
|
|
20940
|
-
|
|
20945
|
+
fo.$inject = ["eventBus"];
|
|
20946
|
+
fo.prototype.schedule = function(e, t = Ox.next()) {
|
|
20941
20947
|
this.cancel(t);
|
|
20942
20948
|
const n = this._schedule(e, t);
|
|
20943
20949
|
return this._scheduled[t] = n, n.promise;
|
|
20944
20950
|
};
|
|
20945
|
-
|
|
20951
|
+
fo.prototype._schedule = function(e, t) {
|
|
20946
20952
|
const n = Ix();
|
|
20947
20953
|
return {
|
|
20948
20954
|
executionId: setTimeout(() => {
|
|
@@ -20960,11 +20966,11 @@ uo.prototype._schedule = function(e, t) {
|
|
|
20960
20966
|
promise: n.promise
|
|
20961
20967
|
};
|
|
20962
20968
|
};
|
|
20963
|
-
|
|
20969
|
+
fo.prototype.cancel = function(e) {
|
|
20964
20970
|
const t = this._scheduled[e];
|
|
20965
20971
|
t && (this._cancel(t), this._scheduled[e] = null);
|
|
20966
20972
|
};
|
|
20967
|
-
|
|
20973
|
+
fo.prototype._cancel = function(e) {
|
|
20968
20974
|
clearTimeout(e.executionId);
|
|
20969
20975
|
};
|
|
20970
20976
|
function Ix() {
|
|
@@ -20973,7 +20979,7 @@ function Ix() {
|
|
|
20973
20979
|
e.resolve = t, e.reject = n;
|
|
20974
20980
|
}), e;
|
|
20975
20981
|
}
|
|
20976
|
-
var Lx = { scheduler: ["type",
|
|
20982
|
+
var Lx = { scheduler: ["type", fo] }, zx = "djs-element-hidden", _i = ".entry", Dx = 1e3, ac = 8, $x = 300;
|
|
20977
20983
|
function At(e, t, n, a) {
|
|
20978
20984
|
this._canvas = e, this._elementRegistry = t, this._eventBus = n, this._scheduler = a, this._current = null, this._init();
|
|
20979
20985
|
}
|
|
@@ -21269,7 +21275,7 @@ var Bl = {
|
|
|
21269
21275
|
__init__: ["mouse"],
|
|
21270
21276
|
mouse: ["type", Pl]
|
|
21271
21277
|
}, vr = 1500, sd = "grab";
|
|
21272
|
-
function
|
|
21278
|
+
function ho(e, t, n, a, o, i) {
|
|
21273
21279
|
this._dragging = n, this._mouse = i;
|
|
21274
21280
|
var r = this, l = a.get("keyboard", !1);
|
|
21275
21281
|
o.registerTool("hand", {
|
|
@@ -21304,7 +21310,7 @@ function fo(e, t, n, a, o, i) {
|
|
|
21304
21310
|
}), !1;
|
|
21305
21311
|
});
|
|
21306
21312
|
}
|
|
21307
|
-
|
|
21313
|
+
ho.$inject = [
|
|
21308
21314
|
"eventBus",
|
|
21309
21315
|
"canvas",
|
|
21310
21316
|
"dragging",
|
|
@@ -21312,14 +21318,14 @@ fo.$inject = [
|
|
|
21312
21318
|
"toolManager",
|
|
21313
21319
|
"mouse"
|
|
21314
21320
|
];
|
|
21315
|
-
|
|
21321
|
+
ho.prototype.activateMove = function(e, t, n) {
|
|
21316
21322
|
typeof t == "object" && (n = t, t = !1), this._dragging.init(e, "hand.move", {
|
|
21317
21323
|
autoActivate: t,
|
|
21318
21324
|
cursor: sd,
|
|
21319
21325
|
data: { context: n || {} }
|
|
21320
21326
|
});
|
|
21321
21327
|
};
|
|
21322
|
-
|
|
21328
|
+
ho.prototype.activateHand = function(e, t, n) {
|
|
21323
21329
|
this._dragging.init(e, "hand", {
|
|
21324
21330
|
trapClick: !1,
|
|
21325
21331
|
autoActivate: t,
|
|
@@ -21327,12 +21333,12 @@ fo.prototype.activateHand = function(e, t, n) {
|
|
|
21327
21333
|
data: { context: { reactivate: n } }
|
|
21328
21334
|
});
|
|
21329
21335
|
};
|
|
21330
|
-
|
|
21336
|
+
ho.prototype.toggle = function() {
|
|
21331
21337
|
if (this.isActive()) return this._dragging.cancel();
|
|
21332
21338
|
var e = this._mouse.getLastMoveEvent();
|
|
21333
21339
|
this.activateHand(e, !!e);
|
|
21334
21340
|
};
|
|
21335
|
-
|
|
21341
|
+
ho.prototype.isActive = function() {
|
|
21336
21342
|
var e = this._dragging.context();
|
|
21337
21343
|
return e ? /^(hand|hand\.move)$/.test(e.prefix) : !1;
|
|
21338
21344
|
};
|
|
@@ -21342,7 +21348,7 @@ function oc(e) {
|
|
|
21342
21348
|
var Gx = {
|
|
21343
21349
|
__depends__: [jl, Bl],
|
|
21344
21350
|
__init__: ["handTool"],
|
|
21345
|
-
handTool: ["type",
|
|
21351
|
+
handTool: ["type", ho]
|
|
21346
21352
|
}, cd = "crosshair", ic = "selected", Kx = "djs-dragging-active-lasso";
|
|
21347
21353
|
function ya(e, t, n, a, o, i, r) {
|
|
21348
21354
|
this._selection = o, this._dragging = n, this._mouse = r;
|
|
@@ -21489,7 +21495,7 @@ var qx = {
|
|
|
21489
21495
|
__init__: ["lassoTool"],
|
|
21490
21496
|
lassoTool: ["type", ya]
|
|
21491
21497
|
}, lc = "connect-ok", sc = "connect-not-ok";
|
|
21492
|
-
function
|
|
21498
|
+
function po(e, t, n, a, o, i, r) {
|
|
21493
21499
|
var l = this;
|
|
21494
21500
|
this._dragging = t, this._rules = i, this._mouse = r, o.registerTool("global-connect", {
|
|
21495
21501
|
tool: "global-connect",
|
|
@@ -21513,7 +21519,7 @@ function ho(e, t, n, a, o, i, r) {
|
|
|
21513
21519
|
}), !1;
|
|
21514
21520
|
});
|
|
21515
21521
|
}
|
|
21516
|
-
|
|
21522
|
+
po.$inject = [
|
|
21517
21523
|
"eventBus",
|
|
21518
21524
|
"dragging",
|
|
21519
21525
|
"connect",
|
|
@@ -21522,34 +21528,34 @@ ho.$inject = [
|
|
|
21522
21528
|
"rules",
|
|
21523
21529
|
"mouse"
|
|
21524
21530
|
];
|
|
21525
|
-
|
|
21531
|
+
po.prototype.start = function(e, t) {
|
|
21526
21532
|
this._dragging.init(e, "global-connect", {
|
|
21527
21533
|
autoActivate: t,
|
|
21528
21534
|
trapClick: !1,
|
|
21529
21535
|
data: { context: {} }
|
|
21530
21536
|
});
|
|
21531
21537
|
};
|
|
21532
|
-
|
|
21538
|
+
po.prototype.toggle = function() {
|
|
21533
21539
|
if (this.isActive()) return this._dragging.cancel();
|
|
21534
21540
|
var e = this._mouse.getLastMoveEvent();
|
|
21535
21541
|
return this.start(e, !!e);
|
|
21536
21542
|
};
|
|
21537
|
-
|
|
21543
|
+
po.prototype.isActive = function() {
|
|
21538
21544
|
var e = this._dragging.context();
|
|
21539
21545
|
return e && /^global-connect/.test(e.prefix);
|
|
21540
21546
|
};
|
|
21541
|
-
|
|
21547
|
+
po.prototype.canStartConnect = function(e) {
|
|
21542
21548
|
return this._rules.allowed("connection.start", { source: e });
|
|
21543
21549
|
};
|
|
21544
21550
|
var Xx = {
|
|
21545
21551
|
__depends__: [
|
|
21546
21552
|
sl,
|
|
21547
|
-
|
|
21553
|
+
so,
|
|
21548
21554
|
La,
|
|
21549
21555
|
jl,
|
|
21550
21556
|
Bl
|
|
21551
21557
|
],
|
|
21552
|
-
globalConnect: ["type",
|
|
21558
|
+
globalConnect: ["type", po]
|
|
21553
21559
|
}, Zx = 500, Qx = 1e3;
|
|
21554
21560
|
function Wa(e, t) {
|
|
21555
21561
|
this._eventBus = e, this.offset = 5;
|
|
@@ -21649,7 +21655,7 @@ function eC(e) {
|
|
|
21649
21655
|
};
|
|
21650
21656
|
}
|
|
21651
21657
|
var ud = {
|
|
21652
|
-
__depends__: [
|
|
21658
|
+
__depends__: [lo],
|
|
21653
21659
|
__init__: ["outline", "multiSelectionOutline"],
|
|
21654
21660
|
outline: ["type", Wa],
|
|
21655
21661
|
multiSelectionOutline: ["type", Hl]
|
|
@@ -21701,7 +21707,7 @@ function dd(e, t, n, a, o) {
|
|
|
21701
21707
|
});
|
|
21702
21708
|
}), e.on("element.mousedown", function(l) {
|
|
21703
21709
|
if (ca(l)) {
|
|
21704
|
-
var c =
|
|
21710
|
+
var c = io(l);
|
|
21705
21711
|
if (!c) throw new Error("must supply DOM mousedown event");
|
|
21706
21712
|
return r(c, l.element);
|
|
21707
21713
|
}
|
|
@@ -21800,9 +21806,9 @@ function lC(e) {
|
|
|
21800
21806
|
var sC = {
|
|
21801
21807
|
__depends__: [
|
|
21802
21808
|
tl,
|
|
21803
|
-
ro,
|
|
21804
|
-
ud,
|
|
21805
21809
|
lo,
|
|
21810
|
+
ud,
|
|
21811
|
+
so,
|
|
21806
21812
|
La,
|
|
21807
21813
|
al
|
|
21808
21814
|
],
|
|
@@ -22005,12 +22011,12 @@ function bC(e, t, n, a) {
|
|
|
22005
22011
|
right: $i(i.right, r.right)
|
|
22006
22012
|
});
|
|
22007
22013
|
}
|
|
22008
|
-
function
|
|
22014
|
+
function Co(e, t) {
|
|
22009
22015
|
return typeof e < "u" ? e : vC;
|
|
22010
22016
|
}
|
|
22011
22017
|
function wC(e, t) {
|
|
22012
22018
|
var n, a, o, i;
|
|
22013
|
-
return typeof t == "object" ? (n =
|
|
22019
|
+
return typeof t == "object" ? (n = Co(t.left), a = Co(t.right), o = Co(t.top), i = Co(t.bottom)) : n = a = o = i = Co(t), {
|
|
22014
22020
|
x: e.x - n,
|
|
22015
22021
|
y: e.y - o,
|
|
22016
22022
|
width: e.width + n + a,
|
|
@@ -22130,7 +22136,7 @@ yd.$inject = [
|
|
|
22130
22136
|
"canvas",
|
|
22131
22137
|
"previewSupport"
|
|
22132
22138
|
];
|
|
22133
|
-
var Si = -6, ki = 8, Ri = 20,
|
|
22139
|
+
var Si = -6, ki = 8, Ri = 20, So = "djs-resizer", RC = [
|
|
22134
22140
|
"n",
|
|
22135
22141
|
"w",
|
|
22136
22142
|
"s",
|
|
@@ -22160,21 +22166,21 @@ ma.prototype.makeDraggable = function(e, t, n) {
|
|
|
22160
22166
|
};
|
|
22161
22167
|
ma.prototype._createResizer = function(e, t, n, a) {
|
|
22162
22168
|
var o = this._getResizersParent(), i = EC(a), r = Xe("g");
|
|
22163
|
-
pt(r).add(
|
|
22169
|
+
pt(r).add(So), pt(r).add(So + "-" + e.id), pt(r).add(So + "-" + a), tt(o, r);
|
|
22164
22170
|
var l = Xe("rect");
|
|
22165
22171
|
ze(l, {
|
|
22166
22172
|
x: -ki / 2 + i.x,
|
|
22167
22173
|
y: -ki / 2 + i.y,
|
|
22168
22174
|
width: ki,
|
|
22169
22175
|
height: ki
|
|
22170
|
-
}), pt(l).add(
|
|
22176
|
+
}), pt(l).add(So + "-visual"), tt(r, l);
|
|
22171
22177
|
var c = Xe("rect");
|
|
22172
22178
|
return ze(c, {
|
|
22173
22179
|
x: -Ri / 2 + i.x,
|
|
22174
22180
|
y: -Ri / 2 + i.y,
|
|
22175
22181
|
width: Ri,
|
|
22176
22182
|
height: Ri
|
|
22177
|
-
}), pt(c).add(
|
|
22183
|
+
}), pt(c).add(So + "-hit"), tt(r, c), X0(r, t, n), r;
|
|
22178
22184
|
};
|
|
22179
22185
|
ma.prototype.createResizer = function(e, t) {
|
|
22180
22186
|
var n = vd(e, t), a = this._createResizer(e, n.x, n.y, t);
|
|
@@ -22207,7 +22213,7 @@ function EC(e) {
|
|
|
22207
22213
|
}
|
|
22208
22214
|
var TC = {
|
|
22209
22215
|
__depends__: [
|
|
22210
|
-
|
|
22216
|
+
so,
|
|
22211
22217
|
La,
|
|
22212
22218
|
al
|
|
22213
22219
|
],
|
|
@@ -22306,7 +22312,7 @@ ti.prototype.getEditingBBox = function(e) {
|
|
|
22306
22312
|
lineHeight: d,
|
|
22307
22313
|
paddingTop: g + "px",
|
|
22308
22314
|
paddingBottom: b + "px"
|
|
22309
|
-
})), Cl(n) && !Ou(n) && !
|
|
22315
|
+
})), Cl(n) && !Ou(n) && !Bo(n)) {
|
|
22310
22316
|
const x = Iu(e), w = t.getAbsoluteBBox({
|
|
22311
22317
|
x: x.x,
|
|
22312
22318
|
y: x.y,
|
|
@@ -22466,18 +22472,18 @@ $n.prototype.getSnapTargets = function(e, t) {
|
|
|
22466
22472
|
function PC(e) {
|
|
22467
22473
|
return !!e.hidden;
|
|
22468
22474
|
}
|
|
22469
|
-
function
|
|
22475
|
+
function go(e) {
|
|
22470
22476
|
e.invoke($n, this);
|
|
22471
22477
|
}
|
|
22472
|
-
Ha(
|
|
22473
|
-
|
|
22474
|
-
|
|
22478
|
+
Ha(go, $n);
|
|
22479
|
+
go.$inject = ["injector"];
|
|
22480
|
+
go.prototype.initSnap = function(e) {
|
|
22475
22481
|
return $n.prototype.initSnap.call(this, e);
|
|
22476
22482
|
};
|
|
22477
|
-
|
|
22483
|
+
go.prototype.addSnapTargetPoints = function(e, t, n) {
|
|
22478
22484
|
return $n.prototype.addSnapTargetPoints.call(this, e, t, n);
|
|
22479
22485
|
};
|
|
22480
|
-
|
|
22486
|
+
go.prototype.getSnapTargets = function(e, t) {
|
|
22481
22487
|
return $n.prototype.getSnapTargets.call(this, e, t);
|
|
22482
22488
|
};
|
|
22483
22489
|
var BC = 1250;
|
|
@@ -22603,14 +22609,14 @@ var $C = {
|
|
|
22603
22609
|
}, FC = {
|
|
22604
22610
|
__depends__: [$C],
|
|
22605
22611
|
__init__: ["createMoveSnapping"],
|
|
22606
|
-
createMoveSnapping: ["type",
|
|
22612
|
+
createMoveSnapping: ["type", go]
|
|
22607
22613
|
};
|
|
22608
|
-
function
|
|
22614
|
+
function vo(e) {
|
|
22609
22615
|
Jt.call(this, e), this.init();
|
|
22610
22616
|
}
|
|
22611
|
-
|
|
22612
|
-
za(
|
|
22613
|
-
|
|
22617
|
+
vo.$inject = ["eventBus"];
|
|
22618
|
+
za(vo, Jt);
|
|
22619
|
+
vo.prototype.addRule = function(e, t, n) {
|
|
22614
22620
|
var a = this;
|
|
22615
22621
|
typeof e == "string" && (e = [e]), e.forEach(function(o) {
|
|
22616
22622
|
a.canExecute(o, t, function(i, r, l) {
|
|
@@ -22618,13 +22624,13 @@ go.prototype.addRule = function(e, t, n) {
|
|
|
22618
22624
|
}, !0);
|
|
22619
22625
|
});
|
|
22620
22626
|
};
|
|
22621
|
-
|
|
22627
|
+
vo.prototype.init = function() {
|
|
22622
22628
|
};
|
|
22623
22629
|
function ai(e) {
|
|
22624
|
-
|
|
22630
|
+
vo.call(this, e);
|
|
22625
22631
|
}
|
|
22626
22632
|
ai.$inject = ["eventBus"];
|
|
22627
|
-
Ha(ai,
|
|
22633
|
+
Ha(ai, vo);
|
|
22628
22634
|
ai.prototype.init = function() {
|
|
22629
22635
|
this.addRule("connection.start", function(e) {
|
|
22630
22636
|
var t = e.source;
|
|
@@ -23222,7 +23228,7 @@ var s1 = {
|
|
|
23222
23228
|
const _ = v || a.labelWidth;
|
|
23223
23229
|
return typeof _ == "string" ? _ : typeof _ == "number" ? _ + "px" : _;
|
|
23224
23230
|
};
|
|
23225
|
-
return t({ validate: () => x() }),
|
|
23231
|
+
return t({ validate: () => x() }), ao({
|
|
23226
23232
|
getTableData: () => h.value,
|
|
23227
23233
|
rowChange: p
|
|
23228
23234
|
}), (v, _) => {
|
|
@@ -23423,7 +23429,7 @@ export {
|
|
|
23423
23429
|
eh as calcDate,
|
|
23424
23430
|
oS as calcDateHours,
|
|
23425
23431
|
iS as calcDateText,
|
|
23426
|
-
|
|
23432
|
+
Mo as clearJson,
|
|
23427
23433
|
ji as clone,
|
|
23428
23434
|
Yt as deepClone,
|
|
23429
23435
|
dS as default,
|
|
@@ -23471,7 +23477,7 @@ export {
|
|
|
23471
23477
|
Eh as useHMenuInject,
|
|
23472
23478
|
Th as useHMenuProvide,
|
|
23473
23479
|
Jn as useInject,
|
|
23474
|
-
|
|
23480
|
+
oo as useLayer,
|
|
23475
23481
|
uS as useLayerInject,
|
|
23476
23482
|
jh as useLayerProvide,
|
|
23477
23483
|
No as useMenuInject,
|
|
@@ -23481,5 +23487,5 @@ export {
|
|
|
23481
23487
|
Gn as useProvide,
|
|
23482
23488
|
Ch as useSortable,
|
|
23483
23489
|
Ni as useTableInject,
|
|
23484
|
-
|
|
23490
|
+
ao as useTableProvide
|
|
23485
23491
|
};
|