@a2simcode/ui 0.0.258 → 0.0.260
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/form-item/index.d.ts +15 -0
- package/dist/components/form-item/src/form-item.vue.d.ts +9 -0
- package/dist/simcode-ui.es.js +130 -126
- 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/card-list.md +38 -38
- 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/card-list.ts +210 -210
- 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 +175 -175
- package/docs/components/meta/input-cards.ts +112 -112
- package/docs/components/meta/input-code.ts +161 -161
- package/docs/components/meta/input-color.ts +243 -243
- 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 +326 -326
- package/docs/components/meta/table.ts +409 -409
- 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 +312 -312
- package/docs/components/table.md +450 -450
- 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/card-list/basic.vue +70 -70
- package/docs/examples/card-list/selection-pagination.vue +69 -69
- 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 +687 -686
- 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/column-filter.vue +96 -96
- 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/card.vue +101 -101
- package/docs/examples/table-panel/column-filter.vue +116 -116
- 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 je, computed as P, createBlock as N, createCommentVNode as te, createElementBlock as L, createElementVNode as O, createSlots as Xn, createTextVNode as Fn, createVNode as ee, defineComponent as we, getCurrentInstance as Cc, guardReactiveProps as Ko, h as Hi, inject as Md, mergeModels as Wo, mergeProps as Qe, nextTick as Lt, normalizeClass as Ze, normalizeProps as Fa, normalizeStyle as ce, onBeforeUnmount as Jo, onMounted as Ft, onUnmounted as Go, openBlock as k, provide as Bd, reactive as
|
|
1
|
+
import { Fragment as je, computed as P, createBlock as N, createCommentVNode as te, createElementBlock as L, createElementVNode as O, createSlots as Xn, createTextVNode as Fn, createVNode as ee, defineComponent as we, getCurrentInstance as Cc, guardReactiveProps as Ko, h as Hi, inject as Md, mergeModels as Wo, mergeProps as Qe, nextTick as Lt, normalizeClass as Ze, normalizeProps as Fa, normalizeStyle as ce, onBeforeUnmount as Jo, onMounted as Ft, onUnmounted as Go, openBlock as k, provide as Bd, reactive as Zn, ref as D, render as Oi, renderList as De, renderSlot as rt, resolveComponent as F, resolveDirective as go, resolveDynamicComponent as Na, shallowRef as qo, toDisplayString as Ee, unref as G, useModel as Uo, useSlots as Pd, useTemplateRef as Da, vShow as kr, watch as st, watchEffect as Sc, withCtx as Z, withDirectives as Qn, withKeys as Rr, withModifiers as Xt } from "vue";
|
|
2
2
|
import { Icon as Nl, getIcon as za } from "@iconify/vue";
|
|
3
3
|
import fo from "dayjs";
|
|
4
4
|
import Hd from "sortablejs";
|
|
@@ -28,7 +28,7 @@ import { useVirtualList as Jr } from "@vueuse/core";
|
|
|
28
28
|
import gf from "async-validator";
|
|
29
29
|
import { createEditor as vf, createToolbar as yf } from "@wangeditor/editor";
|
|
30
30
|
import kc from "diagram-js";
|
|
31
|
-
import { assignStyle as Gi, attr as Pn, classes as hn, clear as Rc, closest as Gr, delegate as
|
|
31
|
+
import { assignStyle as Gi, attr as Pn, classes as hn, clear as Rc, closest as Gr, delegate as fa, domify as wn, event as yt, matches as mf, query as ln, queryAll as Er, remove as Tr } from "min-dom";
|
|
32
32
|
import { assign as Ge, bind as qr, debounce as bf, every as Xr, filter as kn, find as Vn, flatten as wf, forEach as be, groupBy as Zr, has as Ec, isArray as bt, isDefined as Bn, isFunction as Nn, isNil as Ul, isNumber as Wt, isObject as Rn, isString as jr, isUndefined as _f, map as Xo, matchPattern as Li, omit as xf, pick as Ii, reduce as Ar, size as Cf, some as Sf, sortBy as Yo, uniqueBy as kf, values as Qr, without as Rf } from "min-dash";
|
|
33
33
|
import { append as lt, attr as Je, classes as _t, clear as el, clone as Tc, create as it, createTransform as Do, remove as Sn, transform as tl } from "tiny-svg";
|
|
34
34
|
import Wa from "inherits";
|
|
@@ -1429,7 +1429,7 @@ var ah = /* @__PURE__ */ pn(((e, t) => {
|
|
|
1429
1429
|
var _n = f[Ue - 15], dt = _n.high, Ut = _n.low, Rt = (dt >>> 1 | Ut << 31) ^ (dt >>> 8 | Ut << 24) ^ dt >>> 7, Et = (Ut >>> 1 | dt << 31) ^ (Ut >>> 8 | dt << 24) ^ (Ut >>> 7 | dt << 25), on = f[Ue - 2], Bt = on.high, Pt = on.low, gn = (Bt >>> 19 | Pt << 13) ^ (Bt << 3 | Pt >>> 29) ^ Bt >>> 6, X = (Pt >>> 19 | Bt << 13) ^ (Pt << 3 | Bt >>> 29) ^ (Pt >>> 6 | Bt << 26), me = f[Ue - 7], re = me.high, le = me.low, Ce = f[Ue - 16], He = Ce.high, We = Ce.low;
|
|
1430
1430
|
gt = Et + le, zt = Rt + re + (gt >>> 0 < Et >>> 0 ? 1 : 0), gt = gt + X, zt = zt + gn + (gt >>> 0 < X >>> 0 ? 1 : 0), gt = gt + We, zt = zt + He + (gt >>> 0 < We >>> 0 ? 1 : 0), Jt.high = zt, Jt.low = gt;
|
|
1431
1431
|
}
|
|
1432
|
-
var ft = Se & Y ^ ~Se & ve, Tt = Ie & ke ^ ~Ie & Be, wt = I & Ve ^ I & Ne ^ Ve & Ne, Hn = Re & xe ^ Re & et ^ xe & et, Ta = (I >>> 28 | Re << 4) ^ (I << 30 | Re >>> 2) ^ (I << 25 | Re >>> 7), no = (Re >>> 28 | I << 4) ^ (Re << 30 | I >>> 2) ^ (Re << 25 | I >>> 7), ao = (Se >>> 14 | Ie << 18) ^ (Se >>> 18 | Ie << 14) ^ (Se << 23 | Ie >>> 9), vn = (Ie >>> 14 | Se << 18) ^ (Ie >>> 18 | Se << 14) ^ (Ie << 23 | Se >>> 9),
|
|
1432
|
+
var ft = Se & Y ^ ~Se & ve, Tt = Ie & ke ^ ~Ie & Be, wt = I & Ve ^ I & Ne ^ Ve & Ne, Hn = Re & xe ^ Re & et ^ xe & et, Ta = (I >>> 28 | Re << 4) ^ (I << 30 | Re >>> 2) ^ (I << 25 | Re >>> 7), no = (Re >>> 28 | I << 4) ^ (Re << 30 | I >>> 2) ^ (Re << 25 | I >>> 7), ao = (Se >>> 14 | Ie << 18) ^ (Se >>> 18 | Ie << 14) ^ (Se << 23 | Ie >>> 9), vn = (Ie >>> 14 | Se << 18) ^ (Ie >>> 18 | Se << 14) ^ (Ie << 23 | Se >>> 9), ia = d[Ue], ja = ia.high, ra = ia.low, Qt = Fe + vn, he = ot + ao + (Qt >>> 0 < Fe >>> 0 ? 1 : 0), Qt = Qt + Tt, he = he + ft + (Qt >>> 0 < Tt >>> 0 ? 1 : 0), Qt = Qt + ra, he = he + ja + (Qt >>> 0 < ra >>> 0 ? 1 : 0), Qt = Qt + gt, he = he + zt + (Qt >>> 0 < gt >>> 0 ? 1 : 0), de = no + Hn, $e = Ta + wt + (de >>> 0 < no >>> 0 ? 1 : 0);
|
|
1433
1433
|
ot = ve, Fe = Be, ve = Y, Be = ke, Y = Se, ke = Ie, Ie = ie + Qt | 0, Se = xt + he + (Ie >>> 0 < ie >>> 0 ? 1 : 0) | 0, xt = Ne, ie = et, Ne = Ve, et = xe, Ve = I, xe = Re, Re = Qt + de | 0, I = he + $e + (Re >>> 0 < Qt >>> 0 ? 1 : 0) | 0;
|
|
1434
1434
|
}
|
|
1435
1435
|
R = b.low = R + Re, b.high = S + I + (R >>> 0 < Re >>> 0 ? 1 : 0), T = x.low = T + xe, x.high = j + Ve + (T >>> 0 < xe >>> 0 ? 1 : 0), B = w.low = B + et, w.high = H + Ne + (B >>> 0 < et >>> 0 ? 1 : 0), A = m.low = A + ie, m.high = M + xt + (A >>> 0 < ie >>> 0 ? 1 : 0), z = y.low = z + Ie, y.high = E + Se + (z >>> 0 < Ie >>> 0 ? 1 : 0), ae = C.low = ae + ke, C.high = K + Y + (ae >>> 0 < ke >>> 0 ? 1 : 0), q = v.low = q + Be, v.high = _e + ve + (q >>> 0 < Be >>> 0 ? 1 : 0), U = _.low = U + Fe, _.high = Q + ot + (U >>> 0 < Fe >>> 0 ? 1 : 0);
|
|
@@ -1593,14 +1593,14 @@ var kh = async (e) => new Promise((t, n) => {
|
|
|
1593
1593
|
LAYER_PROVIDE: "jcode_layer_provide",
|
|
1594
1594
|
PAGE_PROVIDE: "jcode_page_provide"
|
|
1595
1595
|
};
|
|
1596
|
-
function
|
|
1596
|
+
function ea(e, t) {
|
|
1597
1597
|
return Md(e, t);
|
|
1598
1598
|
}
|
|
1599
|
-
function
|
|
1599
|
+
function ta(e, t) {
|
|
1600
1600
|
Bd(e, t);
|
|
1601
1601
|
}
|
|
1602
1602
|
function St() {
|
|
1603
|
-
return
|
|
1603
|
+
return ea(Zt.APP_PROVIDE, {
|
|
1604
1604
|
t: (e, ...t) => {
|
|
1605
1605
|
if (!e) return "";
|
|
1606
1606
|
if (typeof e != "string") return e;
|
|
@@ -1633,55 +1633,55 @@ function St() {
|
|
|
1633
1633
|
});
|
|
1634
1634
|
}
|
|
1635
1635
|
function _S(e) {
|
|
1636
|
-
|
|
1636
|
+
ta(Zt.APP_PROVIDE, e);
|
|
1637
1637
|
}
|
|
1638
1638
|
function Ya() {
|
|
1639
|
-
return
|
|
1639
|
+
return ea(Zt.FORM_PROVIDE, {});
|
|
1640
1640
|
}
|
|
1641
1641
|
function Fc(e) {
|
|
1642
|
-
|
|
1642
|
+
ta(Zt.FORM_PROVIDE, e);
|
|
1643
1643
|
}
|
|
1644
1644
|
function Zo() {
|
|
1645
|
-
return
|
|
1645
|
+
return ea(Zt.TABLE_PROVIDE, {});
|
|
1646
1646
|
}
|
|
1647
1647
|
function vo(e) {
|
|
1648
|
-
|
|
1648
|
+
ta(Zt.TABLE_PROVIDE, e);
|
|
1649
1649
|
}
|
|
1650
1650
|
function Rh() {
|
|
1651
|
-
return
|
|
1651
|
+
return ea(Zt.COMP_PROVIDE, {});
|
|
1652
1652
|
}
|
|
1653
1653
|
function Vc(e) {
|
|
1654
|
-
|
|
1654
|
+
ta(Zt.COMP_PROVIDE, e);
|
|
1655
1655
|
}
|
|
1656
1656
|
function Qo() {
|
|
1657
|
-
return
|
|
1657
|
+
return ea(Zt.MENU_PROVIDE, {});
|
|
1658
1658
|
}
|
|
1659
1659
|
function Eh(e) {
|
|
1660
|
-
|
|
1660
|
+
ta(Zt.MENU_PROVIDE, e);
|
|
1661
1661
|
}
|
|
1662
1662
|
function Th() {
|
|
1663
|
-
return
|
|
1663
|
+
return ea(Zt.H_MENU_PROVIDE, {});
|
|
1664
1664
|
}
|
|
1665
1665
|
function jh(e) {
|
|
1666
|
-
|
|
1666
|
+
ta(Zt.H_MENU_PROVIDE, e);
|
|
1667
1667
|
}
|
|
1668
1668
|
function Ah() {
|
|
1669
|
-
return
|
|
1669
|
+
return ea(Zt.AUTH_PAGE_PROVIDE, { getPageName: () => "" });
|
|
1670
1670
|
}
|
|
1671
1671
|
function Mh(e) {
|
|
1672
|
-
|
|
1672
|
+
ta(Zt.AUTH_PAGE_PROVIDE, e);
|
|
1673
1673
|
}
|
|
1674
1674
|
function xS() {
|
|
1675
|
-
return
|
|
1675
|
+
return ea(Zt.LAYER_PROVIDE, {});
|
|
1676
1676
|
}
|
|
1677
1677
|
function Bh(e) {
|
|
1678
|
-
|
|
1678
|
+
ta(Zt.LAYER_PROVIDE, e);
|
|
1679
1679
|
}
|
|
1680
1680
|
function Ph() {
|
|
1681
|
-
return
|
|
1681
|
+
return ea(Zt.PAGE_PROVIDE, {});
|
|
1682
1682
|
}
|
|
1683
1683
|
function Hh(e) {
|
|
1684
|
-
|
|
1684
|
+
ta(Zt.PAGE_PROVIDE, e);
|
|
1685
1685
|
}
|
|
1686
1686
|
var Oh = /* @__PURE__ */ we({
|
|
1687
1687
|
name: "JDynamicLayer",
|
|
@@ -3401,7 +3401,7 @@ var Ih = Te(Nc), zh = /* @__PURE__ */ we({
|
|
|
3401
3401
|
}
|
|
3402
3402
|
},
|
|
3403
3403
|
setup(e) {
|
|
3404
|
-
const t = e, n = Pd(), a = D(), o = D(), i = D(-1), r = D(-1), l = D(-1), c = D(-1), s = D(0), d = D(!1), f =
|
|
3404
|
+
const t = e, n = Pd(), a = D(), o = D(), i = D(-1), r = D(-1), l = D(-1), c = D(-1), s = D(0), d = D(!1), f = Zn({
|
|
3405
3405
|
type: "",
|
|
3406
3406
|
isMove: !1,
|
|
3407
3407
|
pageX: 0,
|
|
@@ -5257,6 +5257,10 @@ var $p = class {
|
|
|
5257
5257
|
isNotCol: {
|
|
5258
5258
|
type: Boolean,
|
|
5259
5259
|
default: !1
|
|
5260
|
+
},
|
|
5261
|
+
plabelWidth: {
|
|
5262
|
+
type: String,
|
|
5263
|
+
default: ""
|
|
5260
5264
|
}
|
|
5261
5265
|
},
|
|
5262
5266
|
setup(e) {
|
|
@@ -5293,7 +5297,7 @@ var $p = class {
|
|
|
5293
5297
|
type: u.value,
|
|
5294
5298
|
config: h.value,
|
|
5295
5299
|
children: n.children
|
|
5296
|
-
})), b = P(() => al(u.value) && !h.value?.notInput || h.value?.isInput), x = P(() => h.value.notLabel ? "" : h.value.label || ""), w = P(() => x.value === "" ? 0 : h.value?.labelWidth || r.value), m = P(() => (h.value?.rule || []).some((C) => C.required === !0)), y = P(() => o?.value?.[n.id]?.msg || "");
|
|
5300
|
+
})), b = P(() => al(u.value) && !h.value?.notInput || h.value?.isInput), x = P(() => h.value.notLabel ? "" : h.value.label || ""), w = P(() => x.value === "" ? 0 : h.value?.labelWidth || n.plabelWidth || r.value), m = P(() => (h.value?.rule || []).some((C) => C.required === !0)), y = P(() => o?.value?.[n.id]?.msg || "");
|
|
5297
5301
|
return (C, v) => {
|
|
5298
5302
|
const _ = F("j-comp"), S = F("el-form-item"), R = F("el-col");
|
|
5299
5303
|
return p.value && !e.isNotCol ? (k(), N(R, {
|
|
@@ -5637,7 +5641,7 @@ var $p = class {
|
|
|
5637
5641
|
key: 0,
|
|
5638
5642
|
gutter: p.value
|
|
5639
5643
|
}, {
|
|
5640
|
-
default: Z(() => [U.value.needFormItem === !0 || U.value.needFormItem?.[Fe] === !0 ? (k(!0), L(je, { key: 0 }, De(ot, (Ue) => (k(), N(Uc, Qe({ key: Ue.id }, { ref_for: !0 }, Ue), null, 16))), 128)) : (k(!0), L(je, { key: 1 }, De(ot, (Ue) => (k(), N(ve, Qe({ key: Ue.id }, { ref_for: !0 }, Ue), null, 16))), 128))]),
|
|
5644
|
+
default: Z(() => [U.value.needFormItem === !0 || U.value.needFormItem?.[Fe] === !0 ? (k(!0), L(je, { key: 0 }, De(ot, (Ue) => (k(), N(Uc, Qe({ key: Ue.id }, { ref_for: !0 }, Ue, { plabelWidth: z.value === "el-tab-pane" ? U.value.labelWidth : "" }), null, 16, ["plabelWidth"]))), 128)) : (k(!0), L(je, { key: 1 }, De(ot, (Ue) => (k(), N(ve, Qe({ key: Ue.id }, { ref_for: !0 }, Ue), null, 16))), 128))]),
|
|
5641
5645
|
_: 2
|
|
5642
5646
|
}, 1032, ["gutter"])) : (k(!0), L(je, { key: 1 }, De(ot, (Ue) => (k(), N(ve, Qe({ key: Ue.id }, { ref_for: !0 }, Ue), null, 16))), 128))])
|
|
5643
5647
|
}))]), 1040, ["run-flow"])) : te("", !0);
|
|
@@ -6002,7 +6006,7 @@ var Kp = /* @__PURE__ */ we({
|
|
|
6002
6006
|
"change"
|
|
6003
6007
|
],
|
|
6004
6008
|
setup(e, { expose: t, emit: n }) {
|
|
6005
|
-
const a = Cc(), o = e, i = n, { formData: r } = Ya(), { useData: l, t: c } = St(), { getLabel: s, getCode: d, loadDataState: f, getObjectList: u } = l(), { openLayer: h } = Ka(), p = P(() => o.heightMode === "auto" ? { height: "auto" } : {}), g =
|
|
6009
|
+
const a = Cc(), o = e, i = n, { formData: r } = Ya(), { useData: l, t: c } = St(), { getLabel: s, getCode: d, loadDataState: f, getObjectList: u } = l(), { openLayer: h } = Ka(), p = P(() => o.heightMode === "auto" ? { height: "auto" } : {}), g = Zn({}), b = () => {
|
|
6006
6010
|
Object.keys(g).forEach(($) => {
|
|
6007
6011
|
delete g[$];
|
|
6008
6012
|
});
|
|
@@ -6241,10 +6245,10 @@ var Kp = /* @__PURE__ */ we({
|
|
|
6241
6245
|
}, bn = (tn, rn, Dt) => {
|
|
6242
6246
|
const ut = Math.min(Dt, rn / 2, tn / 2);
|
|
6243
6247
|
return tn <= ut * 2 ? jt(tn, rn, Dt) : `M ${ut} 0 L ${tn} 0 L ${tn} ${rn} L ${ut} ${rn} Q 0 ${rn} 0 ${rn - ut} L 0 ${ut} Q 0 0 ${ut} 0 Z`;
|
|
6244
|
-
},
|
|
6248
|
+
}, la = jt(Ht, Me, Me / 2);
|
|
6245
6249
|
if (mn.push({
|
|
6246
6250
|
type: "icon",
|
|
6247
|
-
svg: `<svg xmlns="http://www.w3.org/2000/svg" width="${Ht}" height="${Me}" viewBox="0 0 ${Ht} ${Me}"><path d="${
|
|
6251
|
+
svg: `<svg xmlns="http://www.w3.org/2000/svg" width="${Ht}" height="${Me}" viewBox="0 0 ${Ht} ${Me}"><path d="${la}" fill="#e5e6eb"/></svg>`,
|
|
6248
6252
|
x: ht,
|
|
6249
6253
|
y: at,
|
|
6250
6254
|
width: Ht,
|
|
@@ -6391,11 +6395,11 @@ var Kp = /* @__PURE__ */ we({
|
|
|
6391
6395
|
needsWrap: Dt.length > 1
|
|
6392
6396
|
};
|
|
6393
6397
|
};
|
|
6394
|
-
let { lines: bn, needsWrap:
|
|
6395
|
-
Le !== 0 &&
|
|
6398
|
+
let { lines: bn, needsWrap: la } = jt();
|
|
6399
|
+
Le !== 0 && la && (Le = 0, ht = Math.max(0, oe.width - Le * 2), at = Math.max(0, ht - Xe * 2), { lines: bn, needsWrap: la } = jt());
|
|
6396
6400
|
const Ma = bn.length * Me + (bn.length > 1 ? (bn.length - 1) * Ct : 0);
|
|
6397
6401
|
let pi = Math.max(0, (oe.height - Ma) / 2);
|
|
6398
|
-
const tn =
|
|
6402
|
+
const tn = la;
|
|
6399
6403
|
for (let Dt = 0; Dt < bn.length; Dt++) {
|
|
6400
6404
|
const ut = bn[Dt];
|
|
6401
6405
|
let Ln = tn ? Le : Oe === "center" ? Le + Math.max(0, (ht - ut.lineWidth) / 2) : Oe === "right" ? Le + Math.max(0, ht - ut.lineWidth) : Le;
|
|
@@ -6691,8 +6695,8 @@ var Kp = /* @__PURE__ */ we({
|
|
|
6691
6695
|
_getCompConfig: Oe,
|
|
6692
6696
|
_getCompType: Ae,
|
|
6693
6697
|
frozen: Ht
|
|
6694
|
-
}, bn = typeof Ae == "function",
|
|
6695
|
-
if ((
|
|
6698
|
+
}, bn = typeof Ae == "function", la = Kc(ue);
|
|
6699
|
+
if ((la || bn) && (jt.editor = la || "j-comp-editor", S = !0), bn ? jt.customRender = Ut : (ue === "j-switch" && (jt.customRender = Se), ue === "j-rate" && (jt.customRender = Ie), ue === "j-slider" && (jt.customRender = Y), (ue === "j-tag" || ue === "j-input-tag") && (jt.customRender = ot), ue === "j-icon" && (jt.customRender = Be)), ue === "link" && (jt.customLayout = Ue), (ue === "j-layerform" || ue === "j-layer-form") && (jt.customLayout = zt), ue === "checkbox" && (jt.customLayout = Jt), ue === "j-switch" && (jt.minWidth = jt.minWidth || Ye, jt.maxWidth = jt.maxWidth || Ye), qe && (jt.customLayout = _n), jt.fieldFormat = Rt, tt && tt.length > 0) {
|
|
6696
6700
|
const Ma = oe(tt, fe, se + 1);
|
|
6697
6701
|
if (Ma.length === 0) return;
|
|
6698
6702
|
jt.columns = Ma;
|
|
@@ -6980,21 +6984,21 @@ var Kp = /* @__PURE__ */ we({
|
|
|
6980
6984
|
}), Jo(() => {
|
|
6981
6985
|
Hn(), U(), document.removeEventListener("wheel", Ve);
|
|
6982
6986
|
});
|
|
6983
|
-
const
|
|
6987
|
+
const ia = P({
|
|
6984
6988
|
get() {
|
|
6985
6989
|
return o.tablePage;
|
|
6986
6990
|
},
|
|
6987
6991
|
set($) {
|
|
6988
6992
|
i("update:tablePage", $);
|
|
6989
6993
|
}
|
|
6990
|
-
}), ja = D(0),
|
|
6994
|
+
}), ja = D(0), ra = P({
|
|
6991
6995
|
get() {
|
|
6992
6996
|
return ja.value !== 0 ? ja.value : o.pageSize;
|
|
6993
6997
|
},
|
|
6994
6998
|
set($) {
|
|
6995
6999
|
ja.value = $, i("update:pageSize", $);
|
|
6996
7000
|
}
|
|
6997
|
-
}), Qt = P(() => (
|
|
7001
|
+
}), Qt = P(() => (ia.value - 1) * ra.value), he = ($, V) => {
|
|
6998
7002
|
i("loadPageData", {
|
|
6999
7003
|
rows: V,
|
|
7000
7004
|
page: $
|
|
@@ -7227,10 +7231,10 @@ var Kp = /* @__PURE__ */ we({
|
|
|
7227
7231
|
V[2] || (V[2] = O("div", null, null, -1)),
|
|
7228
7232
|
e.isPage ? (k(), N(W, {
|
|
7229
7233
|
key: 0,
|
|
7230
|
-
"current-page":
|
|
7231
|
-
"onUpdate:currentPage": V[0] || (V[0] = (ne) =>
|
|
7232
|
-
"page-size":
|
|
7233
|
-
"onUpdate:pageSize": V[1] || (V[1] = (ne) =>
|
|
7234
|
+
"current-page": ia.value,
|
|
7235
|
+
"onUpdate:currentPage": V[0] || (V[0] = (ne) => ia.value = ne),
|
|
7236
|
+
"page-size": ra.value,
|
|
7237
|
+
"onUpdate:pageSize": V[1] || (V[1] = (ne) => ra.value = ne),
|
|
7234
7238
|
"page-sizes": e.pageSizes || [
|
|
7235
7239
|
100,
|
|
7236
7240
|
200,
|
|
@@ -7369,7 +7373,7 @@ var Kp = /* @__PURE__ */ we({
|
|
|
7369
7373
|
"closed"
|
|
7370
7374
|
],
|
|
7371
7375
|
setup(e, { expose: t, emit: n }) {
|
|
7372
|
-
const a = e, o = n, { t: i } = St(), r = D(!1), l = D(!1), c = D(""), s = D(!1), d = D(!0), f = D(!1), u = D(!0), h = D(-1), p =
|
|
7376
|
+
const a = e, o = n, { t: i } = St(), r = D(!1), l = D(!1), c = D(""), s = D(!1), d = D(!0), f = D(!1), u = D(!0), h = D(-1), p = Zn({
|
|
7373
7377
|
isMove: !1,
|
|
7374
7378
|
pageX: 0,
|
|
7375
7379
|
pageY: 0,
|
|
@@ -7744,7 +7748,7 @@ var Kp = /* @__PURE__ */ we({
|
|
|
7744
7748
|
"destroy-on-close": e.destroyOnClose,
|
|
7745
7749
|
onClosed: w
|
|
7746
7750
|
}, {
|
|
7747
|
-
default: Z(() => [
|
|
7751
|
+
default: Z(() => [Qn((k(), L("div", {
|
|
7748
7752
|
class: "j-block j-dialog-full-window",
|
|
7749
7753
|
"element-loading-text": G(r)(s.value)
|
|
7750
7754
|
}, [e.hasHeader ? (k(), L("div", dg, [
|
|
@@ -8016,7 +8020,7 @@ var Kp = /* @__PURE__ */ we({
|
|
|
8016
8020
|
"close-on-click-modal": !0,
|
|
8017
8021
|
onClosed: u
|
|
8018
8022
|
}, {
|
|
8019
|
-
default: Z(() => [
|
|
8023
|
+
default: Z(() => [Qn((k(), L("div", {
|
|
8020
8024
|
class: Ze(["j-drawer--warpper", { "j-drawer--warpper-hasSteps": e.isStep }]),
|
|
8021
8025
|
"element-loading-text": l.value
|
|
8022
8026
|
}, [
|
|
@@ -8643,7 +8647,7 @@ var Kp = /* @__PURE__ */ we({
|
|
|
8643
8647
|
style: { width: "100%" },
|
|
8644
8648
|
alt: ""
|
|
8645
8649
|
}, null, 8, Ug)) : te("", !0),
|
|
8646
|
-
|
|
8650
|
+
Qn(O("div", Yg, [s.status === "done" || s.status === "unUpload" ? (k(), N(o, {
|
|
8647
8651
|
key: 0,
|
|
8648
8652
|
type: "link",
|
|
8649
8653
|
icon: "mdi:eye",
|
|
@@ -8692,7 +8696,7 @@ var Kp = /* @__PURE__ */ we({
|
|
|
8692
8696
|
icon: "mdi:check-circle",
|
|
8693
8697
|
size: 24
|
|
8694
8698
|
})) : te("", !0),
|
|
8695
|
-
e.readonly ? te("", !0) :
|
|
8699
|
+
e.readonly ? te("", !0) : Qn((k(), N(r, {
|
|
8696
8700
|
key: 2,
|
|
8697
8701
|
class: "j-upload-item-error",
|
|
8698
8702
|
icon: "mdi:delete",
|
|
@@ -9091,7 +9095,7 @@ var Kp = /* @__PURE__ */ we({
|
|
|
9091
9095
|
style: { "max-width": "1024px" },
|
|
9092
9096
|
src: Q.value,
|
|
9093
9097
|
alt: ""
|
|
9094
|
-
}, null, 8, ev)])) : Q.value != "" ?
|
|
9098
|
+
}, null, 8, ev)])) : Q.value != "" ? Qn((k(), L("div", tv, [O("iframe", {
|
|
9095
9099
|
ref: "iframe",
|
|
9096
9100
|
src: Q.value,
|
|
9097
9101
|
style: {
|
|
@@ -9174,7 +9178,7 @@ var Kp = /* @__PURE__ */ we({
|
|
|
9174
9178
|
const n = e.__vccOpts || e;
|
|
9175
9179
|
for (const [a, o] of t) n[a] = o;
|
|
9176
9180
|
return n;
|
|
9177
|
-
}, sv = /* @__PURE__ */ lv(rv, [["__scopeId", "data-v-
|
|
9181
|
+
}, sv = /* @__PURE__ */ lv(rv, [["__scopeId", "data-v-69ad659b"]]), cv = Te(sv), uv = ["innerHTML"], dv = {
|
|
9178
9182
|
key: 1,
|
|
9179
9183
|
class: "j-barcode-error"
|
|
9180
9184
|
}, fv = /* @__PURE__ */ we({
|
|
@@ -10001,7 +10005,7 @@ var Kp = /* @__PURE__ */ we({
|
|
|
10001
10005
|
"示例:SUMPRODUCT([1,2,3],[0.1,0.2,0.3])返回1.4,也就是 1×0.1 + 2×0.2 + 3×0.3的值"
|
|
10002
10006
|
]
|
|
10003
10007
|
}
|
|
10004
|
-
], l = D(!1), c = D([]), s =
|
|
10008
|
+
], l = D(!1), c = D([]), s = Zn({
|
|
10005
10009
|
cells: [],
|
|
10006
10010
|
cursor: 0
|
|
10007
10011
|
}), d = P({
|
|
@@ -11189,7 +11193,7 @@ var Kp = /* @__PURE__ */ we({
|
|
|
11189
11193
|
"success"
|
|
11190
11194
|
], ["update:modelValue"]),
|
|
11191
11195
|
setup(e, { emit: t }) {
|
|
11192
|
-
const n = e, a = t, o = Uo(e, "modelValue"), i =
|
|
11196
|
+
const n = e, a = t, o = Uo(e, "modelValue"), i = Zn({
|
|
11193
11197
|
endTime: 0,
|
|
11194
11198
|
isMoving: !1,
|
|
11195
11199
|
isPassing: !1,
|
|
@@ -12829,7 +12833,7 @@ var Kp = /* @__PURE__ */ we({
|
|
|
12829
12833
|
200,
|
|
12830
12834
|
500,
|
|
12831
12835
|
1e3
|
|
12832
|
-
]), vn = P(() => !!i.rowKey && !i.isMultiple),
|
|
12836
|
+
]), vn = P(() => !!i.rowKey && !i.isMultiple), ia = P(() => !!i.rowKey && i.isMultiple), ja = ({ buttons: he, row: de }) => {
|
|
12833
12837
|
if (!i.actionFilter) return;
|
|
12834
12838
|
const $e = s.value.findIndex((ze) => S(ze) === S(de));
|
|
12835
12839
|
he.forEach((ze) => {
|
|
@@ -12847,7 +12851,7 @@ var Kp = /* @__PURE__ */ we({
|
|
|
12847
12851
|
}
|
|
12848
12852
|
pe && typeof pe == "object" && (pe.display !== void 0 && (ze.config = ze.config || {}, ze.config.display = pe.display), pe.disabled !== void 0 && (ze.config = ze.config || {}, ze.config.disabled = pe.disabled));
|
|
12849
12853
|
});
|
|
12850
|
-
},
|
|
12854
|
+
}, ra = ({ selections: he, rows: de }) => {
|
|
12851
12855
|
if (!i.isMultiple) {
|
|
12852
12856
|
const ze = de[0], pe = ze ? [ze] : [];
|
|
12853
12857
|
g.value = pe, r("select", {
|
|
@@ -13064,7 +13068,7 @@ var Kp = /* @__PURE__ */ we({
|
|
|
13064
13068
|
}, null, 8, ["icon"])]),
|
|
13065
13069
|
_: 1
|
|
13066
13070
|
}, 8, ["content"])) : te("", !0)
|
|
13067
|
-
])]),
|
|
13071
|
+
])]), Qn((k(), L("div", Qm, [e.renderVNode ? (k(), L("div", {
|
|
13068
13072
|
key: 0,
|
|
13069
13073
|
class: Ze([
|
|
13070
13074
|
"j-block",
|
|
@@ -13113,7 +13117,7 @@ var Kp = /* @__PURE__ */ we({
|
|
|
13113
13117
|
"max-btns": e.actionsMaxCount,
|
|
13114
13118
|
"row-key": e.rowKey,
|
|
13115
13119
|
"is-radio": vn.value,
|
|
13116
|
-
"is-multi-select":
|
|
13120
|
+
"is-multi-select": ia.value,
|
|
13117
13121
|
"background-color": e.cardBackgroundColor,
|
|
13118
13122
|
"show-big-edit-button": e.cardShowBigEditButton,
|
|
13119
13123
|
"card-width": e.cardWidth,
|
|
@@ -13121,7 +13125,7 @@ var Kp = /* @__PURE__ */ we({
|
|
|
13121
13125
|
"image-fit": e.cardImageFit,
|
|
13122
13126
|
"set-button": ja,
|
|
13123
13127
|
onLoadPageData: X,
|
|
13124
|
-
onSelectionChange:
|
|
13128
|
+
onSelectionChange: ra
|
|
13125
13129
|
}, null, 8, [
|
|
13126
13130
|
"data-source",
|
|
13127
13131
|
"load-src",
|
|
@@ -13450,7 +13454,7 @@ var Kp = /* @__PURE__ */ we({
|
|
|
13450
13454
|
getCheck: y
|
|
13451
13455
|
}), (M, A) => {
|
|
13452
13456
|
const E = F("j-icon"), z = F("j-button"), K = F("el-dropdown-item"), ae = F("el-dropdown-menu"), _e = F("el-dropdown"), q = F("el-tree"), Q = F("el-empty"), U = go("loading");
|
|
13453
|
-
return
|
|
13457
|
+
return Qn((k(), L("div", {
|
|
13454
13458
|
class: Ze([
|
|
13455
13459
|
"j-block",
|
|
13456
13460
|
"j-tree",
|
|
@@ -13739,7 +13743,7 @@ var Gc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
13739
13743
|
i && (p = i());
|
|
13740
13744
|
const g = (X) => {
|
|
13741
13745
|
f && f(X);
|
|
13742
|
-
}, b = D(!1), x = P(() => a.config?.gutter || 16), w = P(() => a.config?.span || 24), m = P(() => a.config?.labelWidth), y = P(() => a.config?.labelPosition || "right"), C = P(() => S.length === 1 && (S[0].type === "j-tabs" || S[0].type === "j-layout" || S[0].config?.isAutoWindow)), v =
|
|
13746
|
+
}, b = D(!1), x = P(() => a.config?.gutter || 16), w = P(() => a.config?.span || 24), m = P(() => a.config?.labelWidth), y = P(() => a.config?.labelPosition || "right"), C = P(() => S.length === 1 && (S[0].type === "j-tabs" || S[0].type === "j-layout" || S[0].config?.isAutoWindow)), v = Zn({}), _ = D({}), S = Zn([]), R = {};
|
|
13743
13747
|
let j = {}, T = {}, H = [], B = {}, M = {}, A = !1, E = 0, z;
|
|
13744
13748
|
const K = () => new Promise((X) => {
|
|
13745
13749
|
const me = globalThis.requestAnimationFrame;
|
|
@@ -14087,7 +14091,7 @@ var Gc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
14087
14091
|
key: 1,
|
|
14088
14092
|
gutter: x.value
|
|
14089
14093
|
}, {
|
|
14090
|
-
default: Z(() => [(k(), L(je, null, De(S, (He) =>
|
|
14094
|
+
default: Z(() => [(k(!0), L(je, null, De(S, (He) => (k(), N(re, Qe({ key: He.id }, { ref_for: !0 }, He), null, 16))), 128))]),
|
|
14091
14095
|
_: 1
|
|
14092
14096
|
}, 8, ["gutter"]))]),
|
|
14093
14097
|
_: 1
|
|
@@ -14117,7 +14121,7 @@ var Gc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
14117
14121
|
}
|
|
14118
14122
|
},
|
|
14119
14123
|
setup(e, { expose: t }) {
|
|
14120
|
-
const n = e, a = D(!1), o =
|
|
14124
|
+
const n = e, a = D(!1), o = Zn([]), i = {}, r = Zn({}), l = (w, m) => {
|
|
14121
14125
|
w.forEach((y) => {
|
|
14122
14126
|
y.id = y.id || nl("c");
|
|
14123
14127
|
const C = {
|
|
@@ -15624,11 +15628,11 @@ function eu(e, t, n) {
|
|
|
15624
15628
|
var j = i[S] = function(T) {
|
|
15625
15629
|
o(S, T);
|
|
15626
15630
|
};
|
|
15627
|
-
R && (s[S] = R), j.$delegate =
|
|
15631
|
+
R && (s[S] = R), j.$delegate = fa.bind(v, f, _, j);
|
|
15628
15632
|
}
|
|
15629
15633
|
function h(v, _, S) {
|
|
15630
15634
|
var R = r(S);
|
|
15631
|
-
R &&
|
|
15635
|
+
R && fa.unbind(v, _, R.$delegate);
|
|
15632
15636
|
}
|
|
15633
15637
|
function p(v) {
|
|
15634
15638
|
be(c, function(_, S) {
|
|
@@ -16401,7 +16405,7 @@ function fl(e, t, n, a) {
|
|
|
16401
16405
|
return Math.abs(o / i) <= a;
|
|
16402
16406
|
}
|
|
16403
16407
|
var tw = 2;
|
|
16404
|
-
function
|
|
16408
|
+
function ha(e, t) {
|
|
16405
16409
|
var n = Array.from(arguments).flat();
|
|
16406
16410
|
for (const [a, o] of Object.entries({
|
|
16407
16411
|
x: "v",
|
|
@@ -16424,7 +16428,7 @@ function Lr(e, t) {
|
|
|
16424
16428
|
y: Math.round(e.y + (t.y - e.y) / 2)
|
|
16425
16429
|
};
|
|
16426
16430
|
}
|
|
16427
|
-
var aw = /,?([a-z]),?/gi, bs = parseFloat, $t = Math,
|
|
16431
|
+
var aw = /,?([a-z]),?/gi, bs = parseFloat, $t = Math, sa = $t.PI, Dn = $t.min, $n = $t.max, ws = $t.pow, pa = $t.abs, ow = /([a-z])[\s,]*((-?\d*\.?\d*(?:e[-+]?\d+)?[\s]*,?[\s]*)+)/gi, iw = /(-?\d*\.?\d*(?:e[-+]?\d+)?)[\s]*,?[\s]*/gi, _s = Array.isArray || function(e) {
|
|
16428
16432
|
return e instanceof Array;
|
|
16429
16433
|
};
|
|
16430
16434
|
function rw(e, t) {
|
|
@@ -16505,11 +16509,11 @@ function Cs(e) {
|
|
|
16505
16509
|
var t = mw(...e);
|
|
16506
16510
|
return Ir(t.x0, t.y0, t.x1 - t.x0, t.y1 - t.y0);
|
|
16507
16511
|
}
|
|
16508
|
-
function
|
|
16512
|
+
function ca(e, t, n) {
|
|
16509
16513
|
return t >= e.x && t <= e.x + e.width && n >= e.y && n <= e.y + e.height;
|
|
16510
16514
|
}
|
|
16511
16515
|
function hw(e, t) {
|
|
16512
|
-
return e = Ir(e), t = Ir(t),
|
|
16516
|
+
return e = Ir(e), t = Ir(t), ca(t, e.x, e.y) || ca(t, e.x2, e.y) || ca(t, e.x, e.y2) || ca(t, e.x2, e.y2) || ca(e, t.x, t.y) || ca(e, t.x2, t.y) || ca(e, t.x, t.y2) || ca(e, t.x2, t.y2) || (e.x < t.x2 && e.x > t.x || t.x < e.x2 && t.x > e.x) && (e.y < t.y2 && e.y > t.y || t.y < e.y2 && t.y > e.y);
|
|
16513
16517
|
}
|
|
16514
16518
|
function Ss(e, t, n, a, o) {
|
|
16515
16519
|
return e * (e * (-3 * t + 9 * n - 9 * a + 3 * o) + 6 * t - 12 * n + 6 * a) - 3 * t + 3 * n;
|
|
@@ -16582,11 +16586,11 @@ function gw(e, t, n) {
|
|
|
16582
16586
|
t: f / r
|
|
16583
16587
|
};
|
|
16584
16588
|
for (f = 0; f < i; f++) for (u = 0; u < r; u++) {
|
|
16585
|
-
var p = l[f], g = l[f + 1], b = c[u], x = c[u + 1], w =
|
|
16589
|
+
var p = l[f], g = l[f + 1], b = c[u], x = c[u + 1], w = pa(g.x - p.x) < 0.01 ? "y" : "x", m = pa(x.x - b.x) < 0.01 ? "y" : "x", y = pw(p.x, p.y, g.x, g.y, b.x, b.y, x.x, x.y), C;
|
|
16586
16590
|
if (y) {
|
|
16587
16591
|
if (C = y.x.toFixed(9) + "#" + y.y.toFixed(9), s[C]) continue;
|
|
16588
16592
|
s[C] = !0;
|
|
16589
|
-
var v = p.t +
|
|
16593
|
+
var v = p.t + pa((y[w] - p[w]) / (g[w] - p[w])) * (g.t - p.t), _ = b.t + pa((y[m] - b[m]) / (x[m] - b[m])) * (x.t - b.t);
|
|
16590
16594
|
v >= 0 && v <= 1 && _ >= 0 && _ <= 1 && (n ? d++ : d.push({
|
|
16591
16595
|
x: y.x,
|
|
16592
16596
|
y: y.y,
|
|
@@ -16722,7 +16726,7 @@ function Es(e, t, n, a, o, i) {
|
|
|
16722
16726
|
];
|
|
16723
16727
|
}
|
|
16724
16728
|
function pu(e, t, n, a, o, i, r, l, c, s) {
|
|
16725
|
-
var d =
|
|
16729
|
+
var d = sa * 120 / 180, f = sa / 180 * (+o || 0), u = [], h, p = sw(function(xe, Ne, et) {
|
|
16726
16730
|
return {
|
|
16727
16731
|
x: xe * $t.cos(et) - Ne * $t.sin(et),
|
|
16728
16732
|
y: xe * $t.sin(et) + Ne * $t.cos(et)
|
|
@@ -16734,11 +16738,11 @@ function pu(e, t, n, a, o, i, r, l, c, s) {
|
|
|
16734
16738
|
h = p(e, t, -f), e = h.x, t = h.y, h = p(l, c, -f), l = h.x, c = h.y;
|
|
16735
16739
|
var g = (e - l) / 2, b = (t - c) / 2, x = g * g / (n * n) + b * b / (a * a);
|
|
16736
16740
|
x > 1 && (x = $t.sqrt(x), n = x * n, a = x * a);
|
|
16737
|
-
var w = n * n, m = a * a, y = (i == r ? -1 : 1) * $t.sqrt(
|
|
16738
|
-
_ = e < C ?
|
|
16741
|
+
var w = n * n, m = a * a, y = (i == r ? -1 : 1) * $t.sqrt(pa((w * m - w * b * b - m * g * g) / (w * b * b + m * g * g))), C = y * n * b / a + (e + l) / 2, v = y * -a * g / n + (t + c) / 2, _ = $t.asin(((t - v) / a).toFixed(9)), S = $t.asin(((c - v) / a).toFixed(9));
|
|
16742
|
+
_ = e < C ? sa - _ : _, S = l < C ? sa - S : S, _ < 0 && (_ = sa * 2 + _), S < 0 && (S = sa * 2 + S), r && _ > S && (_ = _ - sa * 2), !r && S > _ && (S = S - sa * 2);
|
|
16739
16743
|
}
|
|
16740
16744
|
var R = S - _;
|
|
16741
|
-
if (
|
|
16745
|
+
if (pa(R) > d) {
|
|
16742
16746
|
var j = S, T = l, H = c;
|
|
16743
16747
|
S = _ + d * (r && S > _ ? 1 : -1), l = C + n * $t.cos(S), c = v + a * $t.sin(S), u = pu(l, c, n, a, o, 0, r, T, H, [
|
|
16744
16748
|
S,
|
|
@@ -16764,8 +16768,8 @@ function pu(e, t, n, a, o, i, r, l, c, s) {
|
|
|
16764
16768
|
}
|
|
16765
16769
|
function mw(e, t, n, a, o, i, r, l) {
|
|
16766
16770
|
for (var c = [], s = [[], []], d, f, u, h, p, g, b, x, w = 0; w < 2; ++w) {
|
|
16767
|
-
if (w == 0 ? (f = 6 * e - 12 * n + 6 * o, d = -3 * e + 9 * n - 9 * o + 3 * r, u = 3 * n - 3 * e) : (f = 6 * t - 12 * a + 6 * i, d = -3 * t + 9 * a - 9 * i + 3 * l, u = 3 * a - 3 * t),
|
|
16768
|
-
if (
|
|
16771
|
+
if (w == 0 ? (f = 6 * e - 12 * n + 6 * o, d = -3 * e + 9 * n - 9 * o + 3 * r, u = 3 * n - 3 * e) : (f = 6 * t - 12 * a + 6 * i, d = -3 * t + 9 * a - 9 * i + 3 * l, u = 3 * a - 3 * t), pa(d) < 1e-12) {
|
|
16772
|
+
if (pa(f) < 1e-12) continue;
|
|
16769
16773
|
h = -u / f, 0 < h && h < 1 && c.push(h);
|
|
16770
16774
|
continue;
|
|
16771
16775
|
}
|
|
@@ -17353,16 +17357,16 @@ an.prototype.on = function(e, t, n, a, o, i) {
|
|
|
17353
17357
|
r.on(c, n, o ? Ow(a, i) : a, i);
|
|
17354
17358
|
});
|
|
17355
17359
|
};
|
|
17356
|
-
an.prototype.canExecute =
|
|
17357
|
-
an.prototype.preExecute =
|
|
17358
|
-
an.prototype.preExecuted =
|
|
17359
|
-
an.prototype.execute =
|
|
17360
|
-
an.prototype.executed =
|
|
17361
|
-
an.prototype.postExecute =
|
|
17362
|
-
an.prototype.postExecuted =
|
|
17363
|
-
an.prototype.revert =
|
|
17364
|
-
an.prototype.reverted =
|
|
17365
|
-
function
|
|
17360
|
+
an.prototype.canExecute = na("canExecute");
|
|
17361
|
+
an.prototype.preExecute = na("preExecute");
|
|
17362
|
+
an.prototype.preExecuted = na("preExecuted");
|
|
17363
|
+
an.prototype.execute = na("execute");
|
|
17364
|
+
an.prototype.executed = na("executed");
|
|
17365
|
+
an.prototype.postExecute = na("postExecute");
|
|
17366
|
+
an.prototype.postExecuted = na("postExecuted");
|
|
17367
|
+
an.prototype.revert = na("revert");
|
|
17368
|
+
an.prototype.reverted = na("reverted");
|
|
17369
|
+
function na(e) {
|
|
17366
17370
|
return function(n, a, o, i, r) {
|
|
17367
17371
|
(Nn(n) || Wt(n)) && (r = i, i = o, o = a, a = n, n = null), this.on(n, e, a, o, i, r);
|
|
17368
17372
|
};
|
|
@@ -18053,11 +18057,11 @@ li.prototype.revert = function(e) {
|
|
|
18053
18057
|
function Ls(e) {
|
|
18054
18058
|
return e.original || e;
|
|
18055
18059
|
}
|
|
18056
|
-
function
|
|
18060
|
+
function aa(e, t) {
|
|
18057
18061
|
this._modeling = e, this._rules = t;
|
|
18058
18062
|
}
|
|
18059
|
-
|
|
18060
|
-
|
|
18063
|
+
aa.$inject = ["modeling", "rules"];
|
|
18064
|
+
aa.prototype.preExecute = function(e) {
|
|
18061
18065
|
var t = this, n = this._modeling, a = this._rules, o = e.oldShape, i = e.newData, r = e.hints || {}, l;
|
|
18062
18066
|
function c(p, g, b) {
|
|
18063
18067
|
return a.allowed("connection.reconnect", {
|
|
@@ -18090,21 +18094,21 @@ na.prototype.preExecute = function(e) {
|
|
|
18090
18094
|
c(l, g, p) && t.reconnectStart(p, l, xl(p, l, d), r);
|
|
18091
18095
|
});
|
|
18092
18096
|
};
|
|
18093
|
-
|
|
18097
|
+
aa.prototype.postExecute = function(e) {
|
|
18094
18098
|
var t = e.oldShape;
|
|
18095
18099
|
this._modeling.removeShape(t);
|
|
18096
18100
|
};
|
|
18097
|
-
|
|
18101
|
+
aa.prototype.execute = function(e) {
|
|
18098
18102
|
};
|
|
18099
|
-
|
|
18103
|
+
aa.prototype.revert = function(e) {
|
|
18100
18104
|
};
|
|
18101
|
-
|
|
18105
|
+
aa.prototype.createShape = function(e, t, n, a) {
|
|
18102
18106
|
return this._modeling.createShape(e, t, n, a);
|
|
18103
18107
|
};
|
|
18104
|
-
|
|
18108
|
+
aa.prototype.reconnectStart = function(e, t, n, a) {
|
|
18105
18109
|
this._modeling.reconnectStart(e, t, n, a);
|
|
18106
18110
|
};
|
|
18107
|
-
|
|
18111
|
+
aa.prototype.reconnectEnd = function(e, t, n, a) {
|
|
18108
18112
|
this._modeling.reconnectEnd(e, t, n, a);
|
|
18109
18113
|
};
|
|
18110
18114
|
function si(e) {
|
|
@@ -18232,9 +18236,9 @@ _a.prototype.updateConnectionWaypoints = function(e, t, n, a, o, i, r) {
|
|
|
18232
18236
|
var l = this, c = o.concat(i);
|
|
18233
18237
|
be(e, function(s) {
|
|
18234
18238
|
var d = s.source, f = s.target, u = e_(s), h = Hu(n), p = {};
|
|
18235
|
-
|
|
18239
|
+
ua(c, d) && ua(c, f) ? (u = Xo(u, function(g) {
|
|
18236
18240
|
return zs(g, a, n) && (g[h] = g[h] + t[h]), g.original && zs(g.original, a, n) && (g.original[h] = g.original[h] + t[h]), g;
|
|
18237
|
-
}), l._modeling.updateWaypoints(s, u, { labelBehavior: !1 })) : (
|
|
18241
|
+
}), l._modeling.updateWaypoints(s, u, { labelBehavior: !1 })) : (ua(c, d) || ua(c, f)) && (ua(o, d) ? p.connectionStart = Sl(s, d, t) : ua(o, f) ? p.connectionEnd = kl(s, f, t) : ua(i, d) ? p.connectionStart = xl(s, d, r[d.id]) : ua(i, f) && (p.connectionEnd = Cl(s, f, r[f.id])), l._modeling.layoutConnection(s, p));
|
|
18238
18242
|
});
|
|
18239
18243
|
};
|
|
18240
18244
|
function Is(e) {
|
|
@@ -18262,7 +18266,7 @@ function zs(e, t, n) {
|
|
|
18262
18266
|
if (/e|s/.test(n)) return e[a] > t;
|
|
18263
18267
|
if (/n|w/.test(n)) return e[a] < t;
|
|
18264
18268
|
}
|
|
18265
|
-
function
|
|
18269
|
+
function ua(e, t) {
|
|
18266
18270
|
return e.indexOf(t) !== -1;
|
|
18267
18271
|
}
|
|
18268
18272
|
function t_(e) {
|
|
@@ -18355,7 +18359,7 @@ pt.prototype.getHandlers = function() {
|
|
|
18355
18359
|
"shape.delete": ii,
|
|
18356
18360
|
"shape.move": Xa,
|
|
18357
18361
|
"shape.resize": si,
|
|
18358
|
-
"shape.replace":
|
|
18362
|
+
"shape.replace": aa,
|
|
18359
18363
|
"shape.toggleCollapse": lr,
|
|
18360
18364
|
spaceTool: _a,
|
|
18361
18365
|
"label.create": ai,
|
|
@@ -18897,7 +18901,7 @@ function Bl(e, t, n, a) {
|
|
|
18897
18901
|
});
|
|
18898
18902
|
}
|
|
18899
18903
|
function i(d, f, u) {
|
|
18900
|
-
switch (
|
|
18904
|
+
switch (ha(f, d)) {
|
|
18901
18905
|
case "v":
|
|
18902
18906
|
return {
|
|
18903
18907
|
x: u.x,
|
|
@@ -18921,7 +18925,7 @@ function Bl(e, t, n, a) {
|
|
|
18921
18925
|
}
|
|
18922
18926
|
if (o(a)) return null;
|
|
18923
18927
|
var l = a[0], c = a.slice(), s;
|
|
18924
|
-
return c[0] = n, c[1] = i(c[1], l, n), s = r(c, e, t), s !== c && (c = Bl(e, t, n, s)), c &&
|
|
18928
|
+
return c[0] = n, c[1] = i(c[1], l, n), s = r(c, e, t), s !== c && (c = Bl(e, t, n, s)), c && ha(c) ? null : c;
|
|
18925
18929
|
}
|
|
18926
18930
|
function C_(e, t) {
|
|
18927
18931
|
if (Uu(t)) return t;
|
|
@@ -19237,7 +19241,7 @@ function B_(e) {
|
|
|
19237
19241
|
["z"]
|
|
19238
19242
|
]);
|
|
19239
19243
|
}
|
|
19240
|
-
var Fr = 10, mr = 0.95,
|
|
19244
|
+
var Fr = 10, mr = 0.95, da = (e, t) => e.type === t;
|
|
19241
19245
|
function Qa(e, t, n, a, o, i, r) {
|
|
19242
19246
|
Za.call(this, e, r);
|
|
19243
19247
|
const l = "var(--j-color-bg-container)", c = "var(--j-color-text)", s = {};
|
|
@@ -19715,7 +19719,7 @@ Qa.prototype.drawConnection = function(e, t) {
|
|
|
19715
19719
|
return a(e, t);
|
|
19716
19720
|
};
|
|
19717
19721
|
Qa.prototype.getShapePath = function(e) {
|
|
19718
|
-
return
|
|
19722
|
+
return da(e, "startEvent") || da(e, "endEvent") ? j_(e) : da(e, "userTask") || da(e, "scriptTask") || da(e, "subprocess") ? A_(e, Fr) : da(e, "gatewayAnd") || da(e, "gatewayXor") || da(e, "gatewayInclusive") ? M_(e) : B_(e);
|
|
19719
19723
|
};
|
|
19720
19724
|
var P_ = 0, H_ = {
|
|
19721
19725
|
width: 150,
|
|
@@ -20479,7 +20483,7 @@ function px(e, t, n, a) {
|
|
|
20479
20483
|
}), _t(f).add("djs-hit"), lt(o, f), Q0(o, a === "v" ? 90 : 0, 0, 0), o;
|
|
20480
20484
|
}
|
|
20481
20485
|
function od(e, t, n) {
|
|
20482
|
-
var a = it("g"), o = Lr(t, n), i =
|
|
20486
|
+
var a = it("g"), o = Lr(t, n), i = ha(t, n);
|
|
20483
20487
|
return lt(e, a), px(a, t, n, i), _t(a).add(ad), _t(a).add(i === "h" ? "horizontal" : "vertical"), Un(a, o.x, o.y), a;
|
|
20484
20488
|
}
|
|
20485
20489
|
function Wr(e) {
|
|
@@ -20505,14 +20509,14 @@ function Hl(e) {
|
|
|
20505
20509
|
function id(e, t, n, a, o) {
|
|
20506
20510
|
function i(m, y, C) {
|
|
20507
20511
|
var v = m.index, _ = m.point, S, R, j, T, H, B;
|
|
20508
|
-
return v <= 0 || m.bendpoint ? !1 : (S = y[v - 1], R = y[v], j = Lr(S, R), T =
|
|
20512
|
+
return v <= 0 || m.bendpoint ? !1 : (S = y[v - 1], R = y[v], j = Lr(S, R), T = ha(S, R), H = Math.abs(_.x - j.x), B = Math.abs(_.y - j.y), T && H <= C && B <= C);
|
|
20509
20513
|
}
|
|
20510
20514
|
function r(m, y) {
|
|
20511
20515
|
var C = m.waypoints, v, _, S, R;
|
|
20512
20516
|
return y.index <= 0 || y.bendpoint || (v = {
|
|
20513
20517
|
start: C[y.index - 1],
|
|
20514
20518
|
end: C[y.index]
|
|
20515
|
-
}, _ =
|
|
20519
|
+
}, _ = ha(v.start, v.end), !_) ? null : (_ === "h" ? S = v.end.x - v.start.x : S = v.end.y - v.start.y, R = Wr(S) / 2, R);
|
|
20516
20520
|
}
|
|
20517
20521
|
function l(m, y) {
|
|
20518
20522
|
var C = y.waypoints, v = Vr(t, C, m), _;
|
|
@@ -20539,7 +20543,7 @@ function id(e, t, n, a, o) {
|
|
|
20539
20543
|
}
|
|
20540
20544
|
function u(m, y) {
|
|
20541
20545
|
for (var C = y.waypoints, v, _, S, R = 1; R < C.length; R++)
|
|
20542
|
-
v = C[R - 1], _ = C[R],
|
|
20546
|
+
v = C[R - 1], _ = C[R], ha(v, _) && (S = od(m, v, _), Je(S, { "data-segment-idx": R }), c(S, "mousemove", y));
|
|
20543
20547
|
}
|
|
20544
20548
|
function h(m) {
|
|
20545
20549
|
be(Er("." + nd, m), function(y) {
|
|
@@ -20564,7 +20568,7 @@ function id(e, t, n, a, o) {
|
|
|
20564
20568
|
C && Un(C, v.x, v.y);
|
|
20565
20569
|
}
|
|
20566
20570
|
function w(m, y, C) {
|
|
20567
|
-
var v = d(y.index, m), _ = C[y.index - 1], S = C[y.index], R = y.point, j = Lr(_, S), T =
|
|
20571
|
+
var v = d(y.index, m), _ = C[y.index - 1], S = C[y.index], R = y.point, j = Lr(_, S), T = ha(_, S), H, B;
|
|
20568
20572
|
v && (H = mx(v), B = {
|
|
20569
20573
|
x: R.x - j.x,
|
|
20570
20574
|
y: R.y - j.y
|
|
@@ -20760,7 +20764,7 @@ function ic(e, t, n) {
|
|
|
20760
20764
|
function sd(e, t, n, a, o, i) {
|
|
20761
20765
|
var r = e.get("connectionDocking", !1);
|
|
20762
20766
|
this.start = function(f, u, h) {
|
|
20763
|
-
var p, g = n.getGraphics(u), b = h - 1, x = h, w = u.waypoints, m = w[b], y = w[x], C = Vr(n, w, f), v =
|
|
20767
|
+
var p, g = n.getGraphics(u), b = h - 1, x = h, w = u.waypoints, m = w[b], y = w[x], C = Vr(n, w, f), v = ha(m, y), _, S;
|
|
20764
20768
|
v && (_ = v === "v" ? "x" : "y", b === 0 && (m = ic(m, u.source, _)), x === w.length - 1 && (y = ic(y, u.target, _)), C ? S = C.point : S = {
|
|
20765
20769
|
x: (m.x + y.x) / 2,
|
|
20766
20770
|
y: (m.y + y.y) / 2
|
|
@@ -20978,16 +20982,16 @@ var Ex = {
|
|
|
20978
20982
|
connectionSegmentMove: ["type", sd],
|
|
20979
20983
|
bendpointSnapping: ["type", ud]
|
|
20980
20984
|
}, Tx = "djs-dragger";
|
|
20981
|
-
function
|
|
20985
|
+
function oa(e, t, n, a) {
|
|
20982
20986
|
this._canvas = t, this._graphicsFactory = n, this._elementFactory = a, this._connectionDocking = e.get("connectionDocking", !1), this._layouter = e.get("layouter", !1);
|
|
20983
20987
|
}
|
|
20984
|
-
|
|
20988
|
+
oa.$inject = [
|
|
20985
20989
|
"injector",
|
|
20986
20990
|
"canvas",
|
|
20987
20991
|
"graphicsFactory",
|
|
20988
20992
|
"elementFactory"
|
|
20989
20993
|
];
|
|
20990
|
-
|
|
20994
|
+
oa.prototype.drawPreview = function(e, t, n) {
|
|
20991
20995
|
n = n || {};
|
|
20992
20996
|
var a = e.connectionPreviewGfx, o = e.getConnection, i = n.source, r = n.target, l = n.waypoints, c = n.connectionStart, s = n.connectionEnd, d = n.noLayout, f = n.noCropping, u = n.noNoop, h, p = this;
|
|
20993
20997
|
if (a || (a = e.connectionPreviewGfx = this.createConnectionPreviewGfx()), el(a), o || (o = e.getConnection = jx(function(g, b, x) {
|
|
@@ -21004,26 +21008,26 @@ aa.prototype.drawPreview = function(e, t, n) {
|
|
|
21004
21008
|
waypoints: n.waypoints || h.waypoints
|
|
21005
21009
|
})), (!h.waypoints || !h.waypoints.length) && (h.waypoints = [i ? It(i) : c, r ? It(r) : s]), this._connectionDocking && (i || r) && !f && (h.waypoints = this._connectionDocking.getCroppedWaypoints(h, i, r)), this._graphicsFactory.drawConnection(a, h, { stroke: "var(--element-dragger-color)" });
|
|
21006
21010
|
};
|
|
21007
|
-
|
|
21011
|
+
oa.prototype.drawNoopPreview = function(e, t) {
|
|
21008
21012
|
var n = t.source, a = t.target, o = t.connectionStart || It(n), i = t.connectionEnd || It(a), r = this.cropWaypoints(o, i, n, a);
|
|
21009
21013
|
lt(e, this.createNoopConnection(r[0], r[1]));
|
|
21010
21014
|
};
|
|
21011
|
-
|
|
21015
|
+
oa.prototype.cropWaypoints = function(e, t, n, a) {
|
|
21012
21016
|
var o = this._graphicsFactory, i = n && o.getShapePath(n), r = a && o.getShapePath(a), l = o.getConnectionPath({ waypoints: [e, t] });
|
|
21013
21017
|
return e = n && zr(i, l, !0) || e, t = a && zr(r, l, !1) || t, [e, t];
|
|
21014
21018
|
};
|
|
21015
|
-
|
|
21019
|
+
oa.prototype.cleanUp = function(e) {
|
|
21016
21020
|
e && e.connectionPreviewGfx && Sn(e.connectionPreviewGfx);
|
|
21017
21021
|
};
|
|
21018
|
-
|
|
21022
|
+
oa.prototype.getConnection = function(e) {
|
|
21019
21023
|
var t = Ax(e);
|
|
21020
21024
|
return this._elementFactory.createConnection(t);
|
|
21021
21025
|
};
|
|
21022
|
-
|
|
21026
|
+
oa.prototype.createConnectionPreviewGfx = function() {
|
|
21023
21027
|
var e = it("g");
|
|
21024
21028
|
return Je(e, { pointerEvents: "none" }), _t(e).add(Tx), lt(this._canvas.getActiveLayer(), e), e;
|
|
21025
21029
|
};
|
|
21026
|
-
|
|
21030
|
+
oa.prototype.createNoopConnection = function(e, t) {
|
|
21027
21031
|
return rl([e, t], {
|
|
21028
21032
|
stroke: "#333",
|
|
21029
21033
|
strokeDasharray: [1],
|
|
@@ -21043,7 +21047,7 @@ function Ax(e) {
|
|
|
21043
21047
|
}
|
|
21044
21048
|
var Mx = {
|
|
21045
21049
|
__init__: ["connectionPreview"],
|
|
21046
|
-
connectionPreview: ["type",
|
|
21050
|
+
connectionPreview: ["type", oa]
|
|
21047
21051
|
}, Bx = new Xi("ov"), Px = 500;
|
|
21048
21052
|
function Kt(e, t, n, a) {
|
|
21049
21053
|
this._eventBus = t, this._canvas = n, this._elementRegistry = a, this._ids = Bx, this._overlayDefaults = Ge({
|
|
@@ -21384,13 +21388,13 @@ Nt.prototype._updateAndOpen = function(e) {
|
|
|
21384
21388
|
};
|
|
21385
21389
|
Nt.prototype._createHtml = function(e) {
|
|
21386
21390
|
var t = this, n = wn('<div class="djs-context-pad"></div>');
|
|
21387
|
-
return
|
|
21391
|
+
return fa.bind(n, Ti, "click", function(a) {
|
|
21388
21392
|
t.trigger("click", a);
|
|
21389
|
-
}),
|
|
21393
|
+
}), fa.bind(n, Ti, "dragstart", function(a) {
|
|
21390
21394
|
t.trigger("dragstart", a);
|
|
21391
|
-
}),
|
|
21395
|
+
}), fa.bind(n, Ti, "mouseover", function(a) {
|
|
21392
21396
|
t.trigger("mouseover", a);
|
|
21393
|
-
}),
|
|
21397
|
+
}), fa.bind(n, Ti, "mouseout", function(a) {
|
|
21394
21398
|
t.trigger("mouseout", a);
|
|
21395
21399
|
}), yt.bind(n, "mousedown", function(a) {
|
|
21396
21400
|
a.stopPropagation();
|
|
@@ -22135,13 +22139,13 @@ Vt.prototype._rebuild = function() {
|
|
|
22135
22139
|
};
|
|
22136
22140
|
Vt.prototype._init = function() {
|
|
22137
22141
|
var e = this, t = this._eventBus, n = this._getParentContainer(), a = this._container = wn(Vt.HTML_MARKUP);
|
|
22138
|
-
n.appendChild(a), hn(n).add(Ur + dC),
|
|
22142
|
+
n.appendChild(a), hn(n).add(Ur + dC), fa.bind(a, uC, "click", function(o) {
|
|
22139
22143
|
var i = o.delegateTarget;
|
|
22140
22144
|
if (mf(i, md)) return e.toggle();
|
|
22141
22145
|
e.trigger("click", o);
|
|
22142
22146
|
}), yt.bind(a, "mousedown", function(o) {
|
|
22143
22147
|
o.stopPropagation();
|
|
22144
|
-
}),
|
|
22148
|
+
}), fa.bind(a, bd, "dragstart", function(o) {
|
|
22145
22149
|
e.trigger("dragstart", o);
|
|
22146
22150
|
}), t.on("canvas.resized", this._layoutChanged, this), t.fire("palette.create", { container: a });
|
|
22147
22151
|
};
|
|
@@ -23539,7 +23543,7 @@ var c1 = {
|
|
|
23539
23543
|
span: E.config?.span || e.span || 24,
|
|
23540
23544
|
style: ce({ "margin-bottom": (E.getInputType ? E.getInputType(M) : E.inputType) == "j-input-rows" ? "8px" : void 0 })
|
|
23541
23545
|
}, {
|
|
23542
|
-
default: Z(() => [
|
|
23546
|
+
default: Z(() => [Qn(ee(j, {
|
|
23543
23547
|
"label-width": y(E.config?.labelWidth),
|
|
23544
23548
|
label: G(i)(E.config?.label || ""),
|
|
23545
23549
|
extra: E.config?.labelExtra,
|
|
@@ -23766,7 +23770,7 @@ var c1 = {
|
|
|
23766
23770
|
paddingBottom: e.isPage ? "48px" : void 0,
|
|
23767
23771
|
backgroundColor: e.backgroundColor || "var(--j-color-bg)"
|
|
23768
23772
|
})
|
|
23769
|
-
}, [
|
|
23773
|
+
}, [Qn((k(), L("div", y1, [(k(!0), L(je, null, De(l.value, (Re, Ve) => (k(), L("div", {
|
|
23770
23774
|
key: h(Re, Ve),
|
|
23771
23775
|
style: ce([f.value, { padding: "4px" }])
|
|
23772
23776
|
}, [O("div", {
|
|
@@ -24080,7 +24084,7 @@ export {
|
|
|
24080
24084
|
Fc as useFormProvide,
|
|
24081
24085
|
Th as useHMenuInject,
|
|
24082
24086
|
jh as useHMenuProvide,
|
|
24083
|
-
|
|
24087
|
+
ea as useInject,
|
|
24084
24088
|
Ka as useLayer,
|
|
24085
24089
|
xS as useLayerInject,
|
|
24086
24090
|
Bh as useLayerProvide,
|
|
@@ -24088,7 +24092,7 @@ export {
|
|
|
24088
24092
|
Eh as useMenuProvide,
|
|
24089
24093
|
Ph as usePageInject,
|
|
24090
24094
|
Hh as usePageProvide,
|
|
24091
|
-
|
|
24095
|
+
ta as useProvide,
|
|
24092
24096
|
Sh as useSortable,
|
|
24093
24097
|
Zo as useTableInject,
|
|
24094
24098
|
vo as useTableProvide
|