@a2simcode/ui 0.0.299 → 0.0.301
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/date/src/date.vue.d.ts +2 -0
- package/dist/components/time/src/time.vue.d.ts +2 -0
- package/dist/simcode-ui.es.js +170 -148
- 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 +106 -106
- 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 +235 -236
- package/docs/components/meta/date.ts +267 -267
- package/docs/components/meta/echarts.ts +64 -64
- package/docs/components/meta/form-item.ts +62 -62
- 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 +337 -337
- package/docs/components/meta/table.ts +489 -489
- package/docs/components/meta/tabs.ts +146 -146
- package/docs/components/meta/title.ts +91 -91
- package/docs/components/meta/tree-select.ts +220 -220
- package/docs/components/meta/tree.ts +225 -225
- 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 +342 -342
- package/docs/components/table.md +510 -510
- package/docs/components/tabs.md +26 -26
- package/docs/components/title.md +24 -24
- package/docs/components/tree.md +222 -222
- 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/table-merge-rows.vue +77 -77
- package/docs/examples/comp/table-row-fixed-merge.vue +105 -105
- 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 +688 -688
- 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 +98 -98
- 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/custom-merge-cell.vue +206 -206
- package/docs/examples/table/dynamic-type.vue +73 -73
- package/docs/examples/table/editable.vue +290 -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/merge-cell.vue +78 -78
- package/docs/examples/table/merge-header.vue +86 -86
- 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/row-fixed.vue +61 -61
- 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-select-state-key.vue +176 -176
- package/docs/examples/table-panel/pagination.vue +133 -133
- package/docs/examples/table-panel/remote-selection.vue +159 -159
- 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/check-strictly.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/tree-select/lazy.vue +42 -42
- 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 W, createCommentVNode as ne, createElementBlock as I, createElementVNode as L, createSlots as qn, createTextVNode as Fn, createVNode as Q, defineComponent as xe, getCurrentInstance as nl, guardReactiveProps as Qo, h as Vi, inject as Fd, mergeModels as qo, mergeProps as et, nextTick as Pt, normalizeClass as Qe, normalizeProps as Na, normalizeStyle as he, onBeforeUnmount as ei, onMounted as
|
|
1
|
+
import { Fragment as je, computed as P, createBlock as W, createCommentVNode as ne, createElementBlock as I, createElementVNode as L, createSlots as qn, createTextVNode as Fn, createVNode as Q, defineComponent as xe, getCurrentInstance as nl, guardReactiveProps as Qo, h as Vi, inject as Fd, mergeModels as qo, mergeProps as et, nextTick as Pt, normalizeClass as Qe, normalizeProps as Na, normalizeStyle as he, onBeforeUnmount as ei, onMounted as Ht, onUnmounted as ti, openBlock as k, provide as Vd, reactive as Xn, ref as D, render as Ni, renderList as De, renderSlot as lt, resolveComponent as F, resolveDirective as _o, resolveDynamicComponent as Ua, shallowRef as ni, toDisplayString as Re, unref as G, useModel as Xo, useSlots as Nd, useTemplateRef as Fa, vShow as Pr, watch as st, watchEffect as Bc, withCtx as X, withDirectives as Zn, withKeys as Hr, withModifiers as Qt } from "vue";
|
|
2
2
|
import { Icon as Zl, getIcon as $a } from "@iconify/vue";
|
|
3
3
|
import mo from "dayjs";
|
|
4
4
|
import Wd from "sortablejs";
|
|
@@ -509,7 +509,10 @@ var Dc = (e, t, n, a) => {
|
|
|
509
509
|
"j-cascader-select",
|
|
510
510
|
"j-autocomplete",
|
|
511
511
|
"j-rate",
|
|
512
|
-
"j-slider"
|
|
512
|
+
"j-slider",
|
|
513
|
+
"j-date",
|
|
514
|
+
"j-time",
|
|
515
|
+
"j-tree-select"
|
|
513
516
|
].includes(e) || e.indexOf("j-input") != -1, Cn = (e) => {
|
|
514
517
|
const t = { ...e.config || {} };
|
|
515
518
|
if (e.getCompConfig) {
|
|
@@ -1425,7 +1428,7 @@ var hh = /* @__PURE__ */ mn(((e, t) => {
|
|
|
1425
1428
|
]);
|
|
1426
1429
|
},
|
|
1427
1430
|
_doProcessBlock: function(h, p) {
|
|
1428
|
-
for (var g = this._hash.words, y = g[0], x = g[1], w = g[2], b = g[3], m = g[4], C = g[5], v = g[6], _ = g[7], S = y.high, R = y.low, T = x.high, j = x.low, H = w.high, B = w.low, A = b.high, M = b.low, E = m.high, N = m.low, U = C.high, re = C.low, be = v.high, J = v.low, Z = _.high, ae = _.low, z = S, ue = R, Ne = T, Se = j, Ue = H, it = B, wt = A, oe = M, Ce = E, $e = N, Tt = U,
|
|
1431
|
+
for (var g = this._hash.words, y = g[0], x = g[1], w = g[2], b = g[3], m = g[4], C = g[5], v = g[6], _ = g[7], S = y.high, R = y.low, T = x.high, j = x.low, H = w.high, B = w.low, A = b.high, M = b.low, E = m.high, N = m.low, U = C.high, re = C.low, be = v.high, J = v.low, Z = _.high, ae = _.low, z = S, ue = R, Ne = T, Se = j, Ue = H, it = B, wt = A, oe = M, Ce = E, $e = N, Tt = U, Ot = re, V = be, ke = J, Ee = Z, Ae = ae, Fe = 0; Fe < 80; Fe++) {
|
|
1429
1432
|
var ze, Ke, ut = f[Fe];
|
|
1430
1433
|
if (Fe < 16)
|
|
1431
1434
|
Ke = ut.high = h[p + Fe * 2] | 0, ze = ut.low = h[p + Fe * 2 + 1] | 0;
|
|
@@ -1433,10 +1436,10 @@ var hh = /* @__PURE__ */ mn(((e, t) => {
|
|
|
1433
1436
|
var qt = f[Fe - 15], Kt = qt.high, fn = qt.low, hn = (Kt >>> 1 | fn << 31) ^ (Kt >>> 8 | fn << 24) ^ Kt >>> 7, Rt = (fn >>> 1 | Kt << 31) ^ (fn >>> 8 | Kt << 24) ^ (fn >>> 7 | Kt << 25), Mt = f[Fe - 2], pt = Mt.high, xt = Mt.low, an = (pt >>> 19 | xt << 13) ^ (pt << 3 | xt >>> 29) ^ pt >>> 6, q = (xt >>> 19 | pt << 13) ^ (xt << 3 | pt >>> 29) ^ (xt >>> 6 | pt << 26), we = f[Fe - 7], le = we.high, ce = we.low, me = f[Fe - 16], Oe = me.high, We = me.low;
|
|
1434
1437
|
ze = Rt + ce, Ke = hn + le + (ze >>> 0 < Rt >>> 0 ? 1 : 0), ze = ze + q, Ke = Ke + an + (ze >>> 0 < q >>> 0 ? 1 : 0), ze = ze + We, Ke = Ke + Oe + (ze >>> 0 < We >>> 0 ? 1 : 0), ut.high = Ke, ut.low = ze;
|
|
1435
1438
|
}
|
|
1436
|
-
var ht = Ce & Tt ^ ~Ce & V,
|
|
1437
|
-
Ee = V, Ae = ke, V = Tt, ke =
|
|
1439
|
+
var ht = Ce & Tt ^ ~Ce & V, Dt = $e & Ot ^ ~$e & ke, Ct = z & Ne ^ z & Ue ^ Ne & Ue, oa = ue & Se ^ ue & it ^ Se & it, Ta = (z >>> 28 | ue << 4) ^ (z << 30 | ue >>> 2) ^ (z << 25 | ue >>> 7), ia = (ue >>> 28 | z << 4) ^ (ue << 30 | z >>> 2) ^ (ue << 25 | z >>> 7), oo = (Ce >>> 14 | $e << 18) ^ (Ce >>> 18 | $e << 14) ^ (Ce << 23 | $e >>> 9), Ma = ($e >>> 14 | Ce << 18) ^ ($e >>> 18 | Ce << 14) ^ ($e << 23 | Ce >>> 9), ja = d[Fe], Aa = ja.high, Jn = ja.low, Yt = Ae + Ma, pn = Ee + oo + (Yt >>> 0 < Ae >>> 0 ? 1 : 0), Yt = Yt + Dt, pn = pn + ht + (Yt >>> 0 < Dt >>> 0 ? 1 : 0), Yt = Yt + Jn, pn = pn + Aa + (Yt >>> 0 < Jn >>> 0 ? 1 : 0), Yt = Yt + ze, pn = pn + Ke + (Yt >>> 0 < ze >>> 0 ? 1 : 0), io = ia + oa, Ho = Ta + Ct + (io >>> 0 < ia >>> 0 ? 1 : 0);
|
|
1440
|
+
Ee = V, Ae = ke, V = Tt, ke = Ot, Tt = Ce, Ot = $e, $e = oe + Yt | 0, Ce = wt + pn + ($e >>> 0 < oe >>> 0 ? 1 : 0) | 0, wt = Ue, oe = it, Ue = Ne, it = Se, Ne = z, Se = ue, ue = Yt + io | 0, z = pn + Ho + (ue >>> 0 < Yt >>> 0 ? 1 : 0) | 0;
|
|
1438
1441
|
}
|
|
1439
|
-
R = y.low = R + ue, y.high = S + z + (R >>> 0 < ue >>> 0 ? 1 : 0), j = x.low = j + Se, x.high = T + Ne + (j >>> 0 < Se >>> 0 ? 1 : 0), B = w.low = B + it, w.high = H + Ue + (B >>> 0 < it >>> 0 ? 1 : 0), M = b.low = M + oe, b.high = A + wt + (M >>> 0 < oe >>> 0 ? 1 : 0), N = m.low = N + $e, m.high = E + Ce + (N >>> 0 < $e >>> 0 ? 1 : 0), re = C.low = re +
|
|
1442
|
+
R = y.low = R + ue, y.high = S + z + (R >>> 0 < ue >>> 0 ? 1 : 0), j = x.low = j + Se, x.high = T + Ne + (j >>> 0 < Se >>> 0 ? 1 : 0), B = w.low = B + it, w.high = H + Ue + (B >>> 0 < it >>> 0 ? 1 : 0), M = b.low = M + oe, b.high = A + wt + (M >>> 0 < oe >>> 0 ? 1 : 0), N = m.low = N + $e, m.high = E + Ce + (N >>> 0 < $e >>> 0 ? 1 : 0), re = C.low = re + Ot, C.high = U + Tt + (re >>> 0 < Ot >>> 0 ? 1 : 0), J = v.low = J + ke, v.high = be + V + (J >>> 0 < ke >>> 0 ? 1 : 0), ae = _.low = ae + Ae, _.high = Z + Ee + (ae >>> 0 < Ae >>> 0 ? 1 : 0);
|
|
1440
1443
|
},
|
|
1441
1444
|
_doFinalize: function() {
|
|
1442
1445
|
var h = this._data, p = h.words, g = this._nDataBytes * 8, y = h.sigBytes * 8;
|
|
@@ -2005,7 +2008,7 @@ var Yh = Te(Xc), Jh = /* @__PURE__ */ xe({
|
|
|
2005
2008
|
}, d = (f) => {
|
|
2006
2009
|
a("change", f);
|
|
2007
2010
|
};
|
|
2008
|
-
return
|
|
2011
|
+
return Ht(() => {
|
|
2009
2012
|
n.autoFocus && !n.readonly && o.value.focus();
|
|
2010
2013
|
}), (f, u) => {
|
|
2011
2014
|
const h = F("j-icon"), p = F("el-input");
|
|
@@ -2146,7 +2149,8 @@ var Yh = Te(Xc), Jh = /* @__PURE__ */ xe({
|
|
|
2146
2149
|
},
|
|
2147
2150
|
prefixIcon: {},
|
|
2148
2151
|
clearIcon: {},
|
|
2149
|
-
id: { default: void 0 }
|
|
2152
|
+
id: { default: void 0 },
|
|
2153
|
+
autoFocus: { type: Boolean }
|
|
2150
2154
|
},
|
|
2151
2155
|
emits: [
|
|
2152
2156
|
"update:modelValue",
|
|
@@ -2219,7 +2223,11 @@ var Yh = Te(Xc), Jh = /* @__PURE__ */ xe({
|
|
|
2219
2223
|
}, p = (g) => {
|
|
2220
2224
|
o("visible-change", g);
|
|
2221
2225
|
};
|
|
2222
|
-
return
|
|
2226
|
+
return Ht(() => {
|
|
2227
|
+
a.autoFocus && !a.readonly && setTimeout(() => {
|
|
2228
|
+
i.value.focus();
|
|
2229
|
+
}, 50);
|
|
2230
|
+
}), t({ ref: i }), (g, y) => {
|
|
2223
2231
|
const x = F("el-date-picker");
|
|
2224
2232
|
return k(), W(x, et({
|
|
2225
2233
|
ref_key: "dateRef",
|
|
@@ -2310,7 +2318,8 @@ var Yh = Te(Xc), Jh = /* @__PURE__ */ xe({
|
|
|
2310
2318
|
placeholder: { default: "" },
|
|
2311
2319
|
startPlaceholder: { default: "" },
|
|
2312
2320
|
endPlaceholder: { default: "" },
|
|
2313
|
-
id: { default: void 0 }
|
|
2321
|
+
id: { default: void 0 },
|
|
2322
|
+
autoFocus: { type: Boolean }
|
|
2314
2323
|
},
|
|
2315
2324
|
emits: [
|
|
2316
2325
|
"update:modelValue",
|
|
@@ -2356,15 +2365,19 @@ var Yh = Te(Xc), Jh = /* @__PURE__ */ xe({
|
|
|
2356
2365
|
o("focus", p);
|
|
2357
2366
|
}, f = (p) => {
|
|
2358
2367
|
o("visible-change", p);
|
|
2368
|
+
}, u = () => {
|
|
2369
|
+
i.value?.handleOpen();
|
|
2370
|
+
}, h = () => {
|
|
2371
|
+
i.value?.handleClose();
|
|
2359
2372
|
};
|
|
2360
|
-
return
|
|
2373
|
+
return Ht(() => {
|
|
2374
|
+
a.autoFocus && !a.readonly && setTimeout(() => {
|
|
2375
|
+
i.value.focus();
|
|
2376
|
+
}, 50);
|
|
2377
|
+
}), t({
|
|
2361
2378
|
ref: i,
|
|
2362
|
-
handleOpen:
|
|
2363
|
-
|
|
2364
|
-
},
|
|
2365
|
-
handleClose: () => {
|
|
2366
|
-
i.value?.handleClose();
|
|
2367
|
-
}
|
|
2379
|
+
handleOpen: u,
|
|
2380
|
+
handleClose: h
|
|
2368
2381
|
}), (p, g) => {
|
|
2369
2382
|
const y = F("el-time-picker");
|
|
2370
2383
|
return k(), W(y, {
|
|
@@ -2659,7 +2672,7 @@ var Yh = Te(Xc), Jh = /* @__PURE__ */ xe({
|
|
|
2659
2672
|
});
|
|
2660
2673
|
}
|
|
2661
2674
|
};
|
|
2662
|
-
return
|
|
2675
|
+
return Ht(() => {
|
|
2663
2676
|
n.autoFocus && !n.readonly && setTimeout(() => {
|
|
2664
2677
|
o.value.toggleMenu();
|
|
2665
2678
|
}, 50);
|
|
@@ -2869,7 +2882,7 @@ var Yh = Te(Xc), Jh = /* @__PURE__ */ xe({
|
|
|
2869
2882
|
disabled: "disabled",
|
|
2870
2883
|
leaf: "leaf"
|
|
2871
2884
|
}));
|
|
2872
|
-
return
|
|
2885
|
+
return Ht(() => {
|
|
2873
2886
|
a.autoFocus && !a.readonly && setTimeout(() => {
|
|
2874
2887
|
o.value.togglePopperVisible();
|
|
2875
2888
|
}, 50);
|
|
@@ -3079,7 +3092,7 @@ var Yh = Te(Xc), Jh = /* @__PURE__ */ xe({
|
|
|
3079
3092
|
focus: () => {
|
|
3080
3093
|
o.value?.focus();
|
|
3081
3094
|
}
|
|
3082
|
-
}),
|
|
3095
|
+
}), Ht(() => {
|
|
3083
3096
|
a.autoFocus && !a.readonly && o.value?.focus();
|
|
3084
3097
|
}), (u, h) => {
|
|
3085
3098
|
const p = F("j-icon"), g = F("el-input-number");
|
|
@@ -3254,7 +3267,7 @@ var Yh = Te(Xc), Jh = /* @__PURE__ */ xe({
|
|
|
3254
3267
|
blur: () => {
|
|
3255
3268
|
o.value?.blur();
|
|
3256
3269
|
}
|
|
3257
|
-
}),
|
|
3270
|
+
}), Ht(() => {
|
|
3258
3271
|
a.autoFocus && !a.readonly && setTimeout(() => {
|
|
3259
3272
|
o.value.focus();
|
|
3260
3273
|
}, 50);
|
|
@@ -3519,7 +3532,7 @@ var Yh = Te(Xc), Jh = /* @__PURE__ */ xe({
|
|
|
3519
3532
|
d.value = s.value - A - M < t.midMinWidth;
|
|
3520
3533
|
};
|
|
3521
3534
|
let B = null;
|
|
3522
|
-
return
|
|
3535
|
+
return Ht(() => {
|
|
3523
3536
|
t.hideMidWhenNarrow && a.value && typeof window < "u" && window.ResizeObserver && (H(), B = new ResizeObserver(() => {
|
|
3524
3537
|
H();
|
|
3525
3538
|
}), B.observe(a.value));
|
|
@@ -5632,12 +5645,12 @@ var qp = class {
|
|
|
5632
5645
|
console.warn(`方法 ${V} 不存在或不是函数`);
|
|
5633
5646
|
}, Tt = () => {
|
|
5634
5647
|
Ce.value?.(), Ce.value = void 0;
|
|
5635
|
-
},
|
|
5648
|
+
}, Ot = () => {
|
|
5636
5649
|
Tt(), !(!g || !n.id || !oe.value) && (Ce.value = g(n.id, $e));
|
|
5637
5650
|
};
|
|
5638
5651
|
return st([() => n.id, () => oe.value], () => {
|
|
5639
|
-
|
|
5640
|
-
}, { immediate: !0 }),
|
|
5652
|
+
Ot();
|
|
5653
|
+
}, { immediate: !0 }), Ht(() => {
|
|
5641
5654
|
n.id && h && h(n.id), n.id && x && x(n.id);
|
|
5642
5655
|
}), ei(() => {
|
|
5643
5656
|
Tt();
|
|
@@ -6243,7 +6256,7 @@ var ag = /* @__PURE__ */ xe({
|
|
|
6243
6256
|
}],
|
|
6244
6257
|
expectedHeight: Bn
|
|
6245
6258
|
};
|
|
6246
|
-
},
|
|
6259
|
+
}, Ot = (O, $) => {
|
|
6247
6260
|
const { dataValue: Y, rect: ee, table: K, col: te, row: se } = O, ve = K?.options?.columns || [], ge = K?.getBodyField?.(te, se), ye = ge ? Rt(ve, ge) : null, pe = $ || ye?._compConfig || {};
|
|
6248
6261
|
let Be = "mdi:toggle-switch", He = "#165dff";
|
|
6249
6262
|
(Object.prototype.hasOwnProperty.call(pe, "inactiveValue") && pe.inactiveValue !== void 0 ? String(Y) === String(pe.inactiveValue) : !Y) && (Be = "mdi:toggle-switch-off", He = "#e5e6eb");
|
|
@@ -6310,7 +6323,7 @@ var ag = /* @__PURE__ */ xe({
|
|
|
6310
6323
|
}) || {}, Be = Number(pe.min) || 0, He = Number(pe.max) || 100, Me = Number(Y) || 0, rt = He - Be, Je = rt === 0 ? 0 : Math.max(0, Math.min(100, (Me - Be) / rt * 100)), Le = 4, Ve = 8, at = 8, gt = (ee.height - Le) / 2, St = String(Me), Ye = Hn(St) || 0, ft = Ve, Ge = gt, jt = ee.width - Ve * 2 - Ye - at, un = jt * Je / 100, xn = [], Ba = (Zt, ln, co) => {
|
|
6311
6324
|
const dt = Math.min(co, ln / 2, Zt / 2);
|
|
6312
6325
|
return `M ${dt} 0 L ${Zt - dt} 0 Q ${Zt} 0 ${Zt} ${dt} L ${Zt} ${ln - dt} Q ${Zt} ${ln} ${Zt - dt} ${ln} L ${dt} ${ln} Q 0 ${ln} 0 ${ln - dt} L 0 ${dt} Q 0 0 ${dt} 0 Z`;
|
|
6313
|
-
},
|
|
6326
|
+
}, Lt = (Zt, ln, co) => {
|
|
6314
6327
|
const dt = Math.min(co, ln / 2, Zt / 2);
|
|
6315
6328
|
return Zt <= dt * 2 ? Ba(Zt, ln, co) : `M ${dt} 0 L ${Zt} 0 L ${Zt} ${ln} L ${dt} ${ln} Q 0 ${ln} 0 ${ln - dt} L 0 ${dt} Q 0 0 ${dt} 0 Z`;
|
|
6316
6329
|
}, wn = Ba(jt, Le, Le / 2);
|
|
@@ -6322,7 +6335,7 @@ var ag = /* @__PURE__ */ xe({
|
|
|
6322
6335
|
width: jt,
|
|
6323
6336
|
height: Le
|
|
6324
6337
|
}), un > 0) {
|
|
6325
|
-
const Zt =
|
|
6338
|
+
const Zt = Lt(un, Le, Le / 2);
|
|
6326
6339
|
xn.push({
|
|
6327
6340
|
type: "icon",
|
|
6328
6341
|
svg: `<svg xmlns="http://www.w3.org/2000/svg" width="${un}" height="${Le}" viewBox="0 0 ${un} ${Le}"><path d="${Zt}" fill="#165dff"/></svg>`,
|
|
@@ -6440,7 +6453,7 @@ var ag = /* @__PURE__ */ xe({
|
|
|
6440
6453
|
width: uo,
|
|
6441
6454
|
height: Ve
|
|
6442
6455
|
}), { tagWidth: uo };
|
|
6443
|
-
},
|
|
6456
|
+
}, Lt = () => {
|
|
6444
6457
|
const dt = [];
|
|
6445
6458
|
let tn = [], In = 0;
|
|
6446
6459
|
for (let zn = 0; zn < Je.length; zn++) {
|
|
@@ -6463,8 +6476,8 @@ var ag = /* @__PURE__ */ xe({
|
|
|
6463
6476
|
needsWrap: dt.length > 1
|
|
6464
6477
|
};
|
|
6465
6478
|
};
|
|
6466
|
-
let { lines: wn, needsWrap: la } =
|
|
6467
|
-
ft !== 0 && la && (ft = 0, Ge = Math.max(0, ee.width - ft * 2), jt = Math.max(0, Ge - gt * 2), { lines: wn, needsWrap: la } =
|
|
6479
|
+
let { lines: wn, needsWrap: la } = Lt();
|
|
6480
|
+
ft !== 0 && la && (ft = 0, Ge = Math.max(0, ee.width - ft * 2), jt = Math.max(0, Ge - gt * 2), { lines: wn, needsWrap: la } = Lt());
|
|
6468
6481
|
const Pa = wn.length * Ve + (wn.length > 1 ? (wn.length - 1) * Ye : 0);
|
|
6469
6482
|
let Zt = Math.max(0, (ee.height - Pa) / 2);
|
|
6470
6483
|
const ln = la;
|
|
@@ -6703,7 +6716,7 @@ var ag = /* @__PURE__ */ xe({
|
|
|
6703
6716
|
se._compTypeByRender = se._compTypeByRender || {}, se._compTypeByRender[K] = ge;
|
|
6704
6717
|
const ye = {
|
|
6705
6718
|
text: Tt,
|
|
6706
|
-
"j-switch":
|
|
6719
|
+
"j-switch": Ot,
|
|
6707
6720
|
"j-rate": V,
|
|
6708
6721
|
"j-slider": ke,
|
|
6709
6722
|
"j-tag": ze,
|
|
@@ -6756,7 +6769,7 @@ var ag = /* @__PURE__ */ xe({
|
|
|
6756
6769
|
const ve = [];
|
|
6757
6770
|
return K.forEach((ge) => {
|
|
6758
6771
|
if (!Y(ge, te, se)) return;
|
|
6759
|
-
const { id: ye, type: pe, config: Be, getCompConfig: He, getCompType: Me, children: rt, customLayout: Je } = ge, { label: Le, width: Ve, minWidth: at, maxWidth: gt, align: St, headerAlign: Ye, fieldFormat: ft, editor: Ge, frozen: jt, mergeCell: un, ...xn } = Be || {}, Ba = Ye ?? St,
|
|
6772
|
+
const { id: ye, type: pe, config: Be, getCompConfig: He, getCompType: Me, children: rt, customLayout: Je } = ge, { label: Le, width: Ve, minWidth: at, maxWidth: gt, align: St, headerAlign: Ye, fieldFormat: ft, editor: Ge, frozen: jt, mergeCell: un, ...xn } = Be || {}, Ba = Ye ?? St, Lt = {
|
|
6760
6773
|
field: ye,
|
|
6761
6774
|
title: Le,
|
|
6762
6775
|
width: Ve,
|
|
@@ -6773,12 +6786,12 @@ var ag = /* @__PURE__ */ xe({
|
|
|
6773
6786
|
frozen: jt,
|
|
6774
6787
|
mergeCell: un
|
|
6775
6788
|
}, wn = typeof Me == "function", la = tu(pe);
|
|
6776
|
-
if ((la || wn) && (
|
|
6789
|
+
if ((la || wn) && (Lt.editor = la || "j-comp-editor", S = !0), wn ? Lt.customRender = Mt : (pe === "j-switch" && (Lt.customRender = Ot), pe === "j-rate" && (Lt.customRender = V), pe === "j-slider" && (Lt.customRender = ke), (pe === "j-tag" || pe === "j-input-tag") && (Lt.customRender = ze), pe === "j-icon" && (Lt.customRender = Fe)), pe === "link" && (Lt.customLayout = ut), (pe === "j-layerform" || pe === "j-layer-form") && (Lt.customLayout = Kt), pe === "checkbox" && (Lt.customLayout = fn), pe === "j-switch" && (Lt.minWidth = Lt.minWidth || Ve, Lt.maxWidth = Lt.maxWidth || Ve), Je && (Lt.customLayout = hn), Lt.fieldFormat = pt, rt && rt.length > 0) {
|
|
6777
6790
|
const Pa = ee(rt, ge, se + 1);
|
|
6778
6791
|
if (Pa.length === 0) return;
|
|
6779
|
-
|
|
6792
|
+
Lt.columns = Pa;
|
|
6780
6793
|
}
|
|
6781
|
-
ve.push(
|
|
6794
|
+
ve.push(Lt);
|
|
6782
6795
|
}), o.isTree && ve.length > 0 && (ve[0].tree = !0), ve;
|
|
6783
6796
|
};
|
|
6784
6797
|
return ee(O);
|
|
@@ -6816,7 +6829,7 @@ var ag = /* @__PURE__ */ xe({
|
|
|
6816
6829
|
o.isPage && (O = Ie.value + T);
|
|
6817
6830
|
let $ = Hn(String(O)) || 0;
|
|
6818
6831
|
return o.subColumns && o.subColumns.length > 0 && ($ = $ + 32), Math.max(45, $ + 18);
|
|
6819
|
-
},
|
|
6832
|
+
}, Dt = (O) => {
|
|
6820
6833
|
let $ = (Y, ee, K, te) => {
|
|
6821
6834
|
const se = te.getRecordIndexByCell(ee, K);
|
|
6822
6835
|
return o.isPage && !O ? Ie.value + se + 1 : se + 1;
|
|
@@ -6934,7 +6947,7 @@ var ag = /* @__PURE__ */ xe({
|
|
|
6934
6947
|
...se,
|
|
6935
6948
|
...ge,
|
|
6936
6949
|
...ve
|
|
6937
|
-
], $ && (te.unshift(
|
|
6950
|
+
], $ && (te.unshift(Dt(ee)), _++), Y.length > 0 && (te.push($e(Y)), v++), S && (K.editCellTrigger = "click", K.keyboardOptions = {
|
|
6938
6951
|
copySelected: !0,
|
|
6939
6952
|
cutSelected: !0,
|
|
6940
6953
|
pasteValueToCell: !0,
|
|
@@ -6951,13 +6964,13 @@ var ag = /* @__PURE__ */ xe({
|
|
|
6951
6964
|
};
|
|
6952
6965
|
}, Aa = () => {
|
|
6953
6966
|
const O = ja(o.columns, o.isShowNumber && !o.isTree, o.actions);
|
|
6954
|
-
(
|
|
6967
|
+
($t.value || o.rowDrag) && _++;
|
|
6955
6968
|
const $ = {
|
|
6956
6969
|
records: [],
|
|
6957
6970
|
columns: O.columns,
|
|
6958
6971
|
autoFillWidth: !0,
|
|
6959
|
-
enableCheckboxCascade:
|
|
6960
|
-
enableHeaderCheckboxCascade:
|
|
6972
|
+
enableCheckboxCascade: $t.value,
|
|
6973
|
+
enableHeaderCheckboxCascade: $t.value,
|
|
6961
6974
|
rightFrozenColCount: v,
|
|
6962
6975
|
frozenColCount: _,
|
|
6963
6976
|
tooltip: { isShowOverflowTextTooltip: !0 },
|
|
@@ -6970,7 +6983,7 @@ var ag = /* @__PURE__ */ xe({
|
|
|
6970
6983
|
delay: 0,
|
|
6971
6984
|
type: "one-by-one",
|
|
6972
6985
|
direction: "row"
|
|
6973
|
-
}),
|
|
6986
|
+
}), $t.value ? $.rowSeriesNumber = oa() : o.rowDrag && ($.rowSeriesNumber = Ct()), $.theme = Ri, o.heightMode === "auto" && ($.theme = {
|
|
6974
6987
|
...Ri,
|
|
6975
6988
|
scrollStyle: {
|
|
6976
6989
|
...Ri.scrollStyle,
|
|
@@ -7009,7 +7022,7 @@ var ag = /* @__PURE__ */ xe({
|
|
|
7009
7022
|
}
|
|
7010
7023
|
}), m.on("click_cell", (K) => {
|
|
7011
7024
|
const { col: te, row: se, cellType: ve, originData: ge } = K, ye = ge || { children: m.records };
|
|
7012
|
-
if (
|
|
7025
|
+
if ($t.value) {
|
|
7013
7026
|
if (ve === "checkbox" && te == 0) {
|
|
7014
7027
|
if (ye.__checkState = K.target.attribute.checked, se === 0 && ye.__checkState === !1) {
|
|
7015
7028
|
const Be = (He) => {
|
|
@@ -7082,7 +7095,7 @@ var ag = /* @__PURE__ */ xe({
|
|
|
7082
7095
|
o.heightMode === "auto" && (x.value = m.getAllRowsHeight());
|
|
7083
7096
|
}
|
|
7084
7097
|
}, jn = () => m ? m.records : [];
|
|
7085
|
-
|
|
7098
|
+
Ht(() => {
|
|
7086
7099
|
Yt();
|
|
7087
7100
|
}), ei(() => {
|
|
7088
7101
|
pn(), Ne(), q(), document.removeEventListener("wheel", it);
|
|
@@ -7108,7 +7121,7 @@ var ag = /* @__PURE__ */ xe({
|
|
|
7108
7121
|
});
|
|
7109
7122
|
}, ie = () => {
|
|
7110
7123
|
if (!m) return [];
|
|
7111
|
-
if (
|
|
7124
|
+
if (!$t.value) {
|
|
7112
7125
|
const O = m.getSelectedCellInfos();
|
|
7113
7126
|
if (O && O.length > 0) {
|
|
7114
7127
|
const $ = O[0][0];
|
|
@@ -7146,9 +7159,9 @@ var ag = /* @__PURE__ */ xe({
|
|
|
7146
7159
|
return [];
|
|
7147
7160
|
}, nt = (O) => o.editConfig.isRemoveBtn ? O._i : o.rowKey ? o.rowKey.split(",").map(($) => O[$.trim()]).join("::") : "", on = (O) => {
|
|
7148
7161
|
if (m)
|
|
7149
|
-
if (
|
|
7162
|
+
if ($t.value || m.clearSelected(), o.rowKey) {
|
|
7150
7163
|
const $ = new Set(O.map(nt)), Y = "__checkState";
|
|
7151
|
-
if (
|
|
7164
|
+
if (!$t.value) {
|
|
7152
7165
|
const ve = m.records;
|
|
7153
7166
|
for (let ge = 0; ge < ve.length; ge++) {
|
|
7154
7167
|
const ye = ve[ge];
|
|
@@ -7201,8 +7214,8 @@ var ag = /* @__PURE__ */ xe({
|
|
|
7201
7214
|
}), o.heightMode === "auto" && (x.value = m.getAllRowsHeight()), R.value = 0;
|
|
7202
7215
|
}, ro = () => {
|
|
7203
7216
|
m.renderWithRecreateCells();
|
|
7204
|
-
}, ra = P(() => o.editConfig.isAddBtn && !o.isRowFixed), lo = P(() => o.editConfig.addBtnText || "添加"), Ze = P(() => o.editConfig.isRemoveBtn && !o.isRowFixed), Xt = P(() => o.editConfig.readonly),
|
|
7205
|
-
if (
|
|
7217
|
+
}, ra = P(() => o.editConfig.isAddBtn && !o.isRowFixed), lo = P(() => o.editConfig.addBtnText || "添加"), Ze = P(() => o.editConfig.isRemoveBtn && !o.isRowFixed), Xt = P(() => o.editConfig.readonly), $t = P(() => o.isMultiple || Ze.value), cn = (O) => {
|
|
7218
|
+
if (!$t.value || !O || !o.multipleDisabled) return !1;
|
|
7206
7219
|
try {
|
|
7207
7220
|
return o.multipleDisabled(O) === !0;
|
|
7208
7221
|
} catch ($) {
|
|
@@ -7578,9 +7591,9 @@ var ag = /* @__PURE__ */ xe({
|
|
|
7578
7591
|
return;
|
|
7579
7592
|
}
|
|
7580
7593
|
y.value.onmousedown = (oe) => {
|
|
7581
|
-
const { clientX: Ce } = oe, { clientY: $e } = oe, Tt = p.left + C.value,
|
|
7582
|
-
p._left = p.left, p._top = p.top, b.value || (b.value = it), w.value || (w.value = Se), Ce > Tt + 10 && Ce < Tt + Se - 10 && $e >
|
|
7583
|
-
V.preventDefault(), Ce > Tt && Ce < Tt + 10 && (Ce > V.clientX && (w.value = Se + (Ce - V.clientX), p.left = p._left - (Ce - V.clientX)), Ce < V.clientX && w.value > a.minWidth && (w.value = Se - (V.clientX - Ce), p.left = p._left + V.clientX - Ce)), Ce > Tt + Se - 10 && Ce < Tt + Se && (Ce > V.clientX && w.value > a.minWidth && (w.value = Se - (Ce - V.clientX)), Ce < V.clientX && typeof document < "u" && document.body && C.value + p.left + w.value < document.body.clientWidth && (w.value = Se + (V.clientX - Ce))), $e >
|
|
7594
|
+
const { clientX: Ce } = oe, { clientY: $e } = oe, Tt = p.left + C.value, Ot = p.top + v.value;
|
|
7595
|
+
p._left = p.left, p._top = p.top, b.value || (b.value = it), w.value || (w.value = Se), Ce > Tt + 10 && Ce < Tt + Se - 10 && $e > Ot + 5 && $e < Ot + 47 || (typeof document < "u" && (document.onmousemove = function(V) {
|
|
7596
|
+
V.preventDefault(), Ce > Tt && Ce < Tt + 10 && (Ce > V.clientX && (w.value = Se + (Ce - V.clientX), p.left = p._left - (Ce - V.clientX)), Ce < V.clientX && w.value > a.minWidth && (w.value = Se - (V.clientX - Ce), p.left = p._left + V.clientX - Ce)), Ce > Tt + Se - 10 && Ce < Tt + Se && (Ce > V.clientX && w.value > a.minWidth && (w.value = Se - (Ce - V.clientX)), Ce < V.clientX && typeof document < "u" && document.body && C.value + p.left + w.value < document.body.clientWidth && (w.value = Se + (V.clientX - Ce))), $e > Ot && $e < Ot + 5 && ($e > V.clientY && (b.value = it + $e - V.clientY, p.top = p._top - ($e - V.clientY)), $e < V.clientY && b.value > a.minHeight && (b.value = it - (V.clientY - $e), p.top = p._top + V.clientY - $e)), wt + $e > Ot + it + 38 && wt + $e < Ot + it + 48 && ($e > V.clientY && b.value > a.minHeight && (b.value = it - ($e - V.clientY)), $e < V.clientY && typeof window < "u" && v.value + p.top + b.value + 48 < window.innerHeight && (b.value = it + V.clientY - $e));
|
|
7584
7597
|
}), typeof document < "u" && (document.onmouseup = function() {
|
|
7585
7598
|
typeof document < "u" && (document.onmousemove = null, document.onmouseup = null);
|
|
7586
7599
|
}));
|
|
@@ -9117,7 +9130,7 @@ var ag = /* @__PURE__ */ xe({
|
|
|
9117
9130
|
return o && o(`当前限制选择${n.limit}个文件`), !1;
|
|
9118
9131
|
};
|
|
9119
9132
|
return (oe, Ce) => {
|
|
9120
|
-
const $e = F("j-icon"), Tt = F("el-popover"),
|
|
9133
|
+
const $e = F("j-icon"), Tt = F("el-popover"), Ot = F("j-button"), V = F("el-upload"), ke = F("el-text"), Ee = F("j-dialog-full"), Ae = _o("loading");
|
|
9121
9134
|
return k(), I("div", rv, [
|
|
9122
9135
|
Q(V, {
|
|
9123
9136
|
action: "",
|
|
@@ -9155,7 +9168,7 @@ var ag = /* @__PURE__ */ xe({
|
|
|
9155
9168
|
"readonly"
|
|
9156
9169
|
])]),
|
|
9157
9170
|
_: 1
|
|
9158
|
-
}, 8, ["title"])) : e.readonly ? ne("", !0) : (k(), W(
|
|
9171
|
+
}, 8, ["title"])) : e.readonly ? ne("", !0) : (k(), W(Ot, {
|
|
9159
9172
|
key: 2,
|
|
9160
9173
|
icon: "mdi:tray-upload",
|
|
9161
9174
|
type: e.drag ? "text" : e.btnType,
|
|
@@ -9270,7 +9283,7 @@ var ag = /* @__PURE__ */ xe({
|
|
|
9270
9283
|
};
|
|
9271
9284
|
return st(() => a.option, (p) => {
|
|
9272
9285
|
d(p);
|
|
9273
|
-
}, { deep: !0 }),
|
|
9286
|
+
}, { deep: !0 }), Ht(() => {
|
|
9274
9287
|
s();
|
|
9275
9288
|
}), ti(() => {
|
|
9276
9289
|
c && clearTimeout(c), l && i.value && (l.unobserve(i.value), l.disconnect(), l = null), r.value && (r.value.dispose(), r.value = void 0);
|
|
@@ -9292,7 +9305,7 @@ var ag = /* @__PURE__ */ xe({
|
|
|
9292
9305
|
const n = e.__vccOpts || e;
|
|
9293
9306
|
for (const [a, o] of t) n[a] = o;
|
|
9294
9307
|
return n;
|
|
9295
|
-
}, bv = /* @__PURE__ */ mv(yv, [["__scopeId", "data-v-
|
|
9308
|
+
}, bv = /* @__PURE__ */ mv(yv, [["__scopeId", "data-v-69ad659b"]]), wv = Te(bv), _v = ["innerHTML"], xv = {
|
|
9296
9309
|
key: 1,
|
|
9297
9310
|
class: "j-barcode-error"
|
|
9298
9311
|
}, Cv = /* @__PURE__ */ xe({
|
|
@@ -10283,7 +10296,7 @@ var ag = /* @__PURE__ */ xe({
|
|
|
10283
10296
|
},
|
|
10284
10297
|
setup(e, { expose: t }) {
|
|
10285
10298
|
const n = e, a = P(() => ({ ...n })), o = D(), i = D(null), r = P(() => n.options);
|
|
10286
|
-
|
|
10299
|
+
Ht(() => {
|
|
10287
10300
|
n.animation && l();
|
|
10288
10301
|
}), st(() => n.decimals, () => {
|
|
10289
10302
|
i.value && i.value.update && (i.value.options.decimalPlaces = n.decimals, i.value.reset(), i.value.update(n.endValue));
|
|
@@ -11155,7 +11168,7 @@ var ag = /* @__PURE__ */ xe({
|
|
|
11155
11168
|
}));
|
|
11156
11169
|
}), st(() => a.mode, () => {
|
|
11157
11170
|
l && f();
|
|
11158
|
-
}),
|
|
11171
|
+
}), Ht(async () => {
|
|
11159
11172
|
await Pt(), await d(), typeof window < "u" && window.ResizeObserver && i.value && (p = new ResizeObserver(() => {
|
|
11160
11173
|
l && l.dispatch({ scrollIntoView: !0 });
|
|
11161
11174
|
}), p.observe(i.value));
|
|
@@ -11602,7 +11615,7 @@ var ag = /* @__PURE__ */ xe({
|
|
|
11602
11615
|
setup(e, { emit: t }) {
|
|
11603
11616
|
const n = e, a = t, { activeMenu: o, theme: i } = ii(), r = D(), l = D(0);
|
|
11604
11617
|
let c = null;
|
|
11605
|
-
|
|
11618
|
+
Ht(() => {
|
|
11606
11619
|
typeof window < "u" && window.ResizeObserver && r.value && (c = new ResizeObserver(() => {
|
|
11607
11620
|
r.value && (l.value = r.value.offsetWidth);
|
|
11608
11621
|
}), c.observe(r.value));
|
|
@@ -12058,7 +12071,8 @@ var ag = /* @__PURE__ */ xe({
|
|
|
12058
12071
|
if ([
|
|
12059
12072
|
"options",
|
|
12060
12073
|
"dataItem",
|
|
12061
|
-
"switch"
|
|
12074
|
+
"switch",
|
|
12075
|
+
"dataView"
|
|
12062
12076
|
].includes(v.dataType || "")) {
|
|
12063
12077
|
if (["in", "nin"].includes(C.method) || ["eq", "ne"].includes(C.method)) return "j-select";
|
|
12064
12078
|
} else {
|
|
@@ -12075,7 +12089,11 @@ var ag = /* @__PURE__ */ xe({
|
|
|
12075
12089
|
clearable: !0,
|
|
12076
12090
|
filterable: !0
|
|
12077
12091
|
};
|
|
12078
|
-
return ["in", "nin"].includes(C.method || "") && (_.multiple = !0, _.collapseTags = !0, _.collapseTagsTooltip = !0), [
|
|
12092
|
+
return ["in", "nin"].includes(C.method || "") && (_.multiple = !0, _.collapseTags = !0, _.collapseTagsTooltip = !0), [
|
|
12093
|
+
"options",
|
|
12094
|
+
"dataItem",
|
|
12095
|
+
"dataView"
|
|
12096
|
+
].includes(v.dataType || "") ? (_.collapseTags = !0, _.collapseTagsTooltip = !0, _.dataType = v.dataType, _.dataCode = v.dataCode, _.options = v.options) : ["switch"].includes(v.dataType || "") ? (_.options = [], _.dataType = "options", v.activeValue == null ? _.options.push({
|
|
12079
12097
|
label: "是",
|
|
12080
12098
|
value: "1"
|
|
12081
12099
|
}) : _.options.push({
|
|
@@ -12167,7 +12185,7 @@ var ag = /* @__PURE__ */ xe({
|
|
|
12167
12185
|
}
|
|
12168
12186
|
}
|
|
12169
12187
|
];
|
|
12170
|
-
|
|
12188
|
+
Ht(() => {
|
|
12171
12189
|
c.value = o.searchFieldList, l.value = o.searchList;
|
|
12172
12190
|
});
|
|
12173
12191
|
const f = P(() => o.columns.filter((C) => !C.children?.length && !C.config?.isNotFilter).map((C) => ({
|
|
@@ -12179,7 +12197,11 @@ var ag = /* @__PURE__ */ xe({
|
|
|
12179
12197
|
if (u.value.includes(C.value)) return;
|
|
12180
12198
|
const v = o.columns.find((R) => R.id === C.value)?.config || {};
|
|
12181
12199
|
let _ = "eq", S = "text";
|
|
12182
|
-
[
|
|
12200
|
+
[
|
|
12201
|
+
"options",
|
|
12202
|
+
"dataItem",
|
|
12203
|
+
"dataView"
|
|
12204
|
+
].includes(v.dataType || "") ? _ = "in" : ["dateTime"].includes(v.type || "") && (_ = "range", S = "dateTime"), c.value.push({
|
|
12183
12205
|
field: C.value,
|
|
12184
12206
|
method: _,
|
|
12185
12207
|
type: v.valueType || S
|
|
@@ -12742,7 +12764,7 @@ var ag = /* @__PURE__ */ xe({
|
|
|
12742
12764
|
}, { immediate: !0 });
|
|
12743
12765
|
const Tt = () => {
|
|
12744
12766
|
it.value.init(oe.value);
|
|
12745
|
-
},
|
|
12767
|
+
}, Ot = (fe) => {
|
|
12746
12768
|
oe.value = fe, wt.value = !1, me();
|
|
12747
12769
|
}, V = () => {
|
|
12748
12770
|
oe.value = [], me();
|
|
@@ -12821,7 +12843,7 @@ var ag = /* @__PURE__ */ xe({
|
|
|
12821
12843
|
xt.value = pt.value?.clientWidth || 0;
|
|
12822
12844
|
};
|
|
12823
12845
|
let q;
|
|
12824
|
-
|
|
12846
|
+
Ht(() => {
|
|
12825
12847
|
Pt(an), q = new ResizeObserver(() => {
|
|
12826
12848
|
an();
|
|
12827
12849
|
}), pt.value && q.observe(pt.value);
|
|
@@ -12837,17 +12859,17 @@ var ag = /* @__PURE__ */ xe({
|
|
|
12837
12859
|
if (fe.length === 0) return [];
|
|
12838
12860
|
const de = xt.value;
|
|
12839
12861
|
if (de <= 0) return fe;
|
|
12840
|
-
const Ie = Math.max(0, de - 4), Pe = (Xt,
|
|
12862
|
+
const Ie = Math.max(0, de - 4), Pe = (Xt, $t) => Xt.groupId || `__auto_${$t}`, ie = (Xt) => {
|
|
12841
12863
|
if (Xt.config?.notLabel === !0 || !Xt.label) return 28;
|
|
12842
|
-
const
|
|
12843
|
-
return Math.ceil(cn +
|
|
12864
|
+
const $t = 24, cn = Hn(Xt.label || "") || 0, bn = Xt.config?.icon ? 18 : 0;
|
|
12865
|
+
return Math.ceil(cn + $t + bn + 2);
|
|
12844
12866
|
};
|
|
12845
12867
|
if (((Xt) => {
|
|
12846
|
-
let
|
|
12868
|
+
let $t = 0, cn = null;
|
|
12847
12869
|
return Xt.forEach((bn, so) => {
|
|
12848
12870
|
const xi = Pe(bn, so);
|
|
12849
|
-
cn !== null && (
|
|
12850
|
-
}),
|
|
12871
|
+
cn !== null && ($t += xi === cn ? -1 : 8), $t += ie(bn), cn = xi;
|
|
12872
|
+
}), $t;
|
|
12851
12873
|
})(fe) <= Ie) return fe;
|
|
12852
12874
|
const on = {
|
|
12853
12875
|
id: "__table_panel_more__",
|
|
@@ -12860,12 +12882,12 @@ var ag = /* @__PURE__ */ xe({
|
|
|
12860
12882
|
}, rn = 28, gn = [];
|
|
12861
12883
|
let ro = 0, ra = null;
|
|
12862
12884
|
for (let Xt = 0; Xt < fe.length; Xt++) {
|
|
12863
|
-
const
|
|
12885
|
+
const $t = fe[Xt], cn = Pe($t, Xt);
|
|
12864
12886
|
let bn = ro;
|
|
12865
|
-
ra !== null && (bn += cn === ra ? -1 : 8), bn += ie(
|
|
12887
|
+
ra !== null && (bn += cn === ra ? -1 : 8), bn += ie($t);
|
|
12866
12888
|
const so = fe.length - (Xt + 1) > 0 ? (bn > 0 ? 8 : 0) + rn : 0;
|
|
12867
12889
|
if (bn + so <= Ie)
|
|
12868
|
-
gn.push(
|
|
12890
|
+
gn.push($t), ro = bn, ra = cn;
|
|
12869
12891
|
else break;
|
|
12870
12892
|
}
|
|
12871
12893
|
const lo = fe.slice(gn.length);
|
|
@@ -12934,12 +12956,12 @@ var ag = /* @__PURE__ */ xe({
|
|
|
12934
12956
|
rows: fe,
|
|
12935
12957
|
page: 1
|
|
12936
12958
|
});
|
|
12937
|
-
},
|
|
12959
|
+
}, Dt = async () => {
|
|
12938
12960
|
y.value = [], x.value = !1, f.value = 1, le = void 0, await ce();
|
|
12939
12961
|
}, Ct = async (fe) => {
|
|
12940
12962
|
y.value = [], x.value = !1, await ce(fe);
|
|
12941
12963
|
}, oa = async () => {
|
|
12942
|
-
await
|
|
12964
|
+
await Dt();
|
|
12943
12965
|
}, Ta = (fe) => {
|
|
12944
12966
|
r("ready", fe);
|
|
12945
12967
|
}, ia = ({ selections: fe, record: de, checked: Ie, isMultiple: Pe }) => {
|
|
@@ -13049,11 +13071,11 @@ var ag = /* @__PURE__ */ xe({
|
|
|
13049
13071
|
isMultiple: !0
|
|
13050
13072
|
}), x.value && Ie.length === 0 && (x.value = !1);
|
|
13051
13073
|
};
|
|
13052
|
-
return
|
|
13074
|
+
return Ht(async () => {
|
|
13053
13075
|
i.immediate && await Ct();
|
|
13054
13076
|
}), t({
|
|
13055
13077
|
refreshData: Ct,
|
|
13056
|
-
resetData:
|
|
13078
|
+
resetData: Dt,
|
|
13057
13079
|
getSelection: ja,
|
|
13058
13080
|
setSelection: Aa,
|
|
13059
13081
|
setSelectionById: Jn,
|
|
@@ -13179,7 +13201,7 @@ var ag = /* @__PURE__ */ xe({
|
|
|
13179
13201
|
ref_key: "orderPanelRef",
|
|
13180
13202
|
ref: it,
|
|
13181
13203
|
columns: M.value,
|
|
13182
|
-
onSave:
|
|
13204
|
+
onSave: Ot,
|
|
13183
13205
|
onClear: V
|
|
13184
13206
|
}, null, 8, ["columns"])]),
|
|
13185
13207
|
_: 1
|
|
@@ -13249,7 +13271,7 @@ var ag = /* @__PURE__ */ xe({
|
|
|
13249
13271
|
])
|
|
13250
13272
|
}, [L("div", db, [(k(!0), I(je, null, De(R.value, (Ze, Xt) => (k(), W(Ua(e.renderVNode(Ze)), {
|
|
13251
13273
|
key: T(Ze) || Xt,
|
|
13252
|
-
onClick: (
|
|
13274
|
+
onClick: ($t) => Ma(Ze)
|
|
13253
13275
|
}, null, 8, ["onClick"]))), 128))]), _.value ? (k(), I("div", fb, [de[16] || (de[16] = L("div", null, null, -1)), Q(gn, {
|
|
13254
13276
|
"current-page": f.value,
|
|
13255
13277
|
"onUpdate:currentPage": de[9] || (de[9] = (Ze) => f.value = Ze),
|
|
@@ -13618,7 +13640,7 @@ var ag = /* @__PURE__ */ xe({
|
|
|
13618
13640
|
}, j = D(""), H = (A, M) => {
|
|
13619
13641
|
j.value = A ? M.value : "";
|
|
13620
13642
|
}, B = (A, M, E) => a.allowDrop ? a.allowDrop(A, M, E) : !(E == "inner" && !M.data.canInner);
|
|
13621
|
-
return
|
|
13643
|
+
return Ht(async () => {
|
|
13622
13644
|
(a.immediate && a.loadData || a.dataType || a.dataCode) && await y();
|
|
13623
13645
|
}), st(() => a.dataCode || a.dataType, () => {
|
|
13624
13646
|
y();
|
|
@@ -13980,12 +14002,12 @@ var au = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
13980
14002
|
we.push(Oe);
|
|
13981
14003
|
const { children: We } = me;
|
|
13982
14004
|
Ki(Oe, me, ["children", "config"]), Ki(Oe.config, me.config || {}, []), a.config.size && Oe.config.size === void 0 && (Oe.config.size = a.config.size), R[me.id] && console.warn("有重复的组件id:" + me.id), R[me.id] = Oe, a.readonly === !0 && (Oe.config.readonly = !0);
|
|
13983
|
-
let ht = !1,
|
|
13984
|
-
ce !== "" && (ht = !0, Oe.config.parentTableId = ce,
|
|
14005
|
+
let ht = !1, Dt;
|
|
14006
|
+
ce !== "" && (ht = !0, Oe.config.parentTableId = ce, Dt = R[ce]?.config?.table);
|
|
13985
14007
|
const Ct = Oe.config || {};
|
|
13986
14008
|
if (ae(me.id))
|
|
13987
|
-
!le && ht === !1 && (Ct?.defaultValue === 0 ? v[me.id] = Ct?.defaultValue : v[me.id] = Ct?.defaultValue || void 0), Ct.table && Ct.field ? T[`${Ct.table}_${Ct.field}`.toLowerCase()] = me.id : Ct.field && (ht ? T[`${
|
|
13988
|
-
else if (ht && Ct.field) T[`${
|
|
14009
|
+
!le && ht === !1 && (Ct?.defaultValue === 0 ? v[me.id] = Ct?.defaultValue : v[me.id] = Ct?.defaultValue || void 0), Ct.table && Ct.field ? T[`${Ct.table}_${Ct.field}`.toLowerCase()] = me.id : Ct.field && (ht ? T[`${Dt}_${Ct.field}`.toLowerCase()] = me.id : T[`${Ct.field}`.toLowerCase()] = me.id);
|
|
14010
|
+
else if (ht && Ct.field) T[`${Dt}_${Ct.field}`.toLowerCase()] = me.id;
|
|
13989
14011
|
else if (z(me.id))
|
|
13990
14012
|
!le && !Ct.isSubTable && (v[me.id] = []), Ct.table && (T[Ct.table.toLowerCase() || ""] = me.id), Ct.isSubTable || H.push(Oe);
|
|
13991
14013
|
else if (Ct?.defaultValue) v[me.id] = Ct?.defaultValue;
|
|
@@ -14020,8 +14042,8 @@ var au = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
14020
14042
|
const ht = Fe(We);
|
|
14021
14043
|
if (ht?.type === "j-table" || ht?.type === "j-table-panel") Oe[ht?.id || ""] = wt(We, me[We], le);
|
|
14022
14044
|
else {
|
|
14023
|
-
let
|
|
14024
|
-
|
|
14045
|
+
let Dt = T[`${q}_${We}`.toLowerCase()] || We;
|
|
14046
|
+
Dt = Dt.indexOf(".") !== -1 ? Dt.split(".")[1] : Dt, Oe[Dt] = me[We];
|
|
14025
14047
|
}
|
|
14026
14048
|
}
|
|
14027
14049
|
}), ce.push(Oe);
|
|
@@ -14062,13 +14084,13 @@ var au = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
14062
14084
|
if (we) We ? le[We] = q[ce] : le[ce] = q[ce];
|
|
14063
14085
|
else if (z(ce)) {
|
|
14064
14086
|
const ht = [];
|
|
14065
|
-
q[ce].forEach((
|
|
14066
|
-
ht.push($e(
|
|
14087
|
+
q[ce].forEach((Dt) => {
|
|
14088
|
+
ht.push($e(Dt, !0));
|
|
14067
14089
|
}), le[Oe || ce] = ht;
|
|
14068
14090
|
} else Oe && We ? (le[Oe] = le[Oe] || {}, le[Oe][We] = q[ce]) : We && (le[We] = q[ce]);
|
|
14069
14091
|
} else we ? ce !== "_X_ROW_KEY" && ce !== "_isHover" && (le[ce] = q[ce]) : j[ce] ? (le[j[ce]] = le[j[ce]] || {}, le[j[ce]][ce.replace(`${j[ce]}_`, "")] = q[ce]) : le[ce] = q[ce];
|
|
14070
14092
|
}), le;
|
|
14071
|
-
}, Tt = (q = !0) => q ? $e(v) : v,
|
|
14093
|
+
}, Tt = (q = !0) => q ? $e(v) : v, Ot = (q, we, le, ce) => {
|
|
14072
14094
|
let me = R[q];
|
|
14073
14095
|
if (me == null) {
|
|
14074
14096
|
const We = q.split(".");
|
|
@@ -14085,17 +14107,17 @@ var au = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
14085
14107
|
});
|
|
14086
14108
|
return Oe._componentId = me?.id, Oe;
|
|
14087
14109
|
}, V = (q, we, le, ce) => {
|
|
14088
|
-
const me =
|
|
14110
|
+
const me = Ot(q, we, le, ce);
|
|
14089
14111
|
if (me.isNotRule !== !0 && me.display !== !1) {
|
|
14090
14112
|
const Oe = me.rule || [], We = Oe.find((ht) => ht.type === "only");
|
|
14091
|
-
return We && (We.validator = async (ht,
|
|
14092
|
-
if (
|
|
14113
|
+
return We && (We.validator = async (ht, Dt) => {
|
|
14114
|
+
if (Dt && !await r({
|
|
14093
14115
|
table: ht.table,
|
|
14094
14116
|
key: ht.key,
|
|
14095
14117
|
keyName: ht.keyName,
|
|
14096
14118
|
field: ht.field,
|
|
14097
14119
|
keyValue: ht.getKeyValue ? ht.getKeyValue() : "",
|
|
14098
|
-
value:
|
|
14120
|
+
value: Dt,
|
|
14099
14121
|
paramNames: ht.paramNames,
|
|
14100
14122
|
getParams: ht.getParams,
|
|
14101
14123
|
withProjectId: ht.withProjectId,
|
|
@@ -14602,7 +14624,7 @@ var au = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
14602
14624
|
}, m = (v) => {
|
|
14603
14625
|
o("rowChange", v);
|
|
14604
14626
|
};
|
|
14605
|
-
|
|
14627
|
+
Ht(() => {
|
|
14606
14628
|
if (!f.value || !h.value) return;
|
|
14607
14629
|
const v = h.value, { initSortable: _ } = Hh(v, {
|
|
14608
14630
|
handle: ".j-input-rows-drag",
|
|
@@ -15076,7 +15098,7 @@ var au = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
15076
15098
|
}), c = (s) => {
|
|
15077
15099
|
a("change", s);
|
|
15078
15100
|
};
|
|
15079
|
-
return
|
|
15101
|
+
return Ht(() => {
|
|
15080
15102
|
n.autoFocus && !n.readonly && setTimeout(() => {
|
|
15081
15103
|
const s = l.value === i.value ? r.value : i.value;
|
|
15082
15104
|
l.value = s, c(s);
|
|
@@ -15320,7 +15342,7 @@ var au = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
15320
15342
|
}
|
|
15321
15343
|
return u;
|
|
15322
15344
|
};
|
|
15323
|
-
return
|
|
15345
|
+
return Ht(() => {
|
|
15324
15346
|
const f = {
|
|
15325
15347
|
placeholder: n.placeholder || "请输入内容...",
|
|
15326
15348
|
readOnly: n.readonly,
|
|
@@ -15448,7 +15470,7 @@ var au = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
|
|
|
15448
15470
|
x(b);
|
|
15449
15471
|
} })), p.search(y));
|
|
15450
15472
|
}
|
|
15451
|
-
}),
|
|
15473
|
+
}), Ht(() => {
|
|
15452
15474
|
f();
|
|
15453
15475
|
}), (y, x) => (k(), I("div", {
|
|
15454
15476
|
class: "j-map",
|
|
@@ -16618,7 +16640,7 @@ function Wr(e, t) {
|
|
|
16618
16640
|
y: Math.round(e.y + (t.y - e.y) / 2)
|
|
16619
16641
|
};
|
|
16620
16642
|
}
|
|
16621
|
-
var pw = /,?([a-z]),?/gi, Ts = parseFloat,
|
|
16643
|
+
var pw = /,?([a-z]),?/gi, Ts = parseFloat, Ft = Math, sa = Ft.PI, Dn = Ft.min, $n = Ft.max, Ms = Ft.pow, pa = Ft.abs, gw = /([a-z])[\s,]*((-?\d*\.?\d*(?:e[-+]?\d+)?[\s]*,?[\s]*)+)/gi, vw = /(-?\d*\.?\d*(?:e[-+]?\d+)?)[\s]*,?[\s]*/gi, js = Array.isArray || function(e) {
|
|
16622
16644
|
return e instanceof Array;
|
|
16623
16645
|
};
|
|
16624
16646
|
function yw(e, t) {
|
|
@@ -16738,7 +16760,7 @@ function Hs(e, t, n, a, o, i, r, l, c) {
|
|
|
16738
16760
|
0.0472
|
|
16739
16761
|
], h = 0, p = 0; p < d; p++) {
|
|
16740
16762
|
var g = s * f[p] + s, y = Ps(g, e, n, o, r), x = Ps(g, t, a, i, l), w = y * y + x * x;
|
|
16741
|
-
h += u[p] *
|
|
16763
|
+
h += u[p] * Ft.sqrt(w);
|
|
16742
16764
|
}
|
|
16743
16765
|
return s * h;
|
|
16744
16766
|
}
|
|
@@ -16918,8 +16940,8 @@ function Ls(e, t, n, a, o, i) {
|
|
|
16918
16940
|
function xu(e, t, n, a, o, i, r, l, c, s) {
|
|
16919
16941
|
var d = sa * 120 / 180, f = sa / 180 * (+o || 0), u = [], h, p = bw(function(Se, Ue, it) {
|
|
16920
16942
|
return {
|
|
16921
|
-
x: Se *
|
|
16922
|
-
y: Se *
|
|
16943
|
+
x: Se * Ft.cos(it) - Ue * Ft.sin(it),
|
|
16944
|
+
y: Se * Ft.sin(it) + Ue * Ft.cos(it)
|
|
16923
16945
|
};
|
|
16924
16946
|
});
|
|
16925
16947
|
if (s)
|
|
@@ -16927,14 +16949,14 @@ function xu(e, t, n, a, o, i, r, l, c, s) {
|
|
|
16927
16949
|
else {
|
|
16928
16950
|
h = p(e, t, -f), e = h.x, t = h.y, h = p(l, c, -f), l = h.x, c = h.y;
|
|
16929
16951
|
var g = (e - l) / 2, y = (t - c) / 2, x = g * g / (n * n) + y * y / (a * a);
|
|
16930
|
-
x > 1 && (x =
|
|
16931
|
-
var w = n * n, b = a * a, m = (i == r ? -1 : 1) *
|
|
16952
|
+
x > 1 && (x = Ft.sqrt(x), n = x * n, a = x * a);
|
|
16953
|
+
var w = n * n, b = a * a, m = (i == r ? -1 : 1) * Ft.sqrt(pa((w * b - w * y * y - b * g * g) / (w * y * y + b * g * g))), C = m * n * y / a + (e + l) / 2, v = m * -a * g / n + (t + c) / 2, _ = Ft.asin(((t - v) / a).toFixed(9)), S = Ft.asin(((c - v) / a).toFixed(9));
|
|
16932
16954
|
_ = 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);
|
|
16933
16955
|
}
|
|
16934
16956
|
var R = S - _;
|
|
16935
16957
|
if (pa(R) > d) {
|
|
16936
16958
|
var T = S, j = l, H = c;
|
|
16937
|
-
S = _ + d * (r && S > _ ? 1 : -1), l = C + n *
|
|
16959
|
+
S = _ + d * (r && S > _ ? 1 : -1), l = C + n * Ft.cos(S), c = v + a * Ft.sin(S), u = xu(l, c, n, a, o, 0, r, j, H, [
|
|
16938
16960
|
S,
|
|
16939
16961
|
T,
|
|
16940
16962
|
C,
|
|
@@ -16942,7 +16964,7 @@ function xu(e, t, n, a, o, i, r, l, c, s) {
|
|
|
16942
16964
|
]);
|
|
16943
16965
|
}
|
|
16944
16966
|
R = S - _;
|
|
16945
|
-
var B =
|
|
16967
|
+
var B = Ft.cos(_), A = Ft.sin(_), M = Ft.cos(S), E = Ft.sin(S), N = Ft.tan(R / 4), U = 4 / 3 * n * N, re = 4 / 3 * a * N, be = [e, t], J = [e + U * A, t - re * B], Z = [l + U * E, c - re * M], ae = [l, c];
|
|
16946
16968
|
if (J[0] = 2 * be[0] - J[0], J[1] = 2 * be[1] - J[1], s) return [
|
|
16947
16969
|
J,
|
|
16948
16970
|
Z,
|
|
@@ -16963,7 +16985,7 @@ function Mw(e, t, n, a, o, i, r, l) {
|
|
|
16963
16985
|
h = -u / f, 0 < h && h < 1 && c.push(h);
|
|
16964
16986
|
continue;
|
|
16965
16987
|
}
|
|
16966
|
-
y = f * f - 4 * u * d, x =
|
|
16988
|
+
y = f * f - 4 * u * d, x = Ft.sqrt(y), !(y < 0) && (p = (-f + x) / (2 * d), 0 < p && p < 1 && c.push(p), g = (-f - x) / (2 * d), 0 < g && g < 1 && c.push(g));
|
|
16967
16989
|
}
|
|
16968
16990
|
for (var b = c.length, m = b, C; b--; )
|
|
16969
16991
|
h = c[b], C = 1 - h, s[0][b] = C * C * C * e + 3 * C * C * h * n + 3 * C * h * h * o + h * h * h * r, s[1][b] = C * C * C * t + 3 * C * C * h * a + 3 * C * h * h * i + h * h * h * l;
|
|
@@ -17107,7 +17129,7 @@ function Bw(e) {
|
|
|
17107
17129
|
y: i.start.y + (i.end.y - i.start.y) * r
|
|
17108
17130
|
};
|
|
17109
17131
|
}
|
|
17110
|
-
function
|
|
17132
|
+
function zt(e) {
|
|
17111
17133
|
return dn(e) ? Bw(e) : Aw(e);
|
|
17112
17134
|
}
|
|
17113
17135
|
function ga(e, t, n) {
|
|
@@ -17171,7 +17193,7 @@ function Su(e, t, n, a) {
|
|
|
17171
17193
|
};
|
|
17172
17194
|
En(c) && (h = c), l.connection = n.connect(f, u, h, p);
|
|
17173
17195
|
}), this.start = function(r, l, c, s) {
|
|
17174
|
-
En(c) || (s = c, c =
|
|
17196
|
+
En(c) || (s = c, c = zt(l)), t.init(r, "connect", {
|
|
17175
17197
|
autoActivate: s,
|
|
17176
17198
|
data: {
|
|
17177
17199
|
shape: l,
|
|
@@ -18920,7 +18942,7 @@ Dl.$inject = ["eventBus", "connectionDocking"];
|
|
|
18920
18942
|
function Xu() {
|
|
18921
18943
|
}
|
|
18922
18944
|
Xu.prototype.layoutConnection = function(e, t) {
|
|
18923
|
-
return t = t || {}, [t.connectionStart ||
|
|
18945
|
+
return t = t || {}, [t.connectionStart || zt(t.source || e.source), t.connectionEnd || zt(t.target || e.target)];
|
|
18924
18946
|
};
|
|
18925
18947
|
var Ai = 20, b_ = 5, Xi = Math.round, qs = 20, w_ = {
|
|
18926
18948
|
"h:h": 20,
|
|
@@ -19034,12 +19056,12 @@ function E_(e, t, n) {
|
|
|
19034
19056
|
}
|
|
19035
19057
|
function T_(e, t, n, a, o) {
|
|
19036
19058
|
var i = Lf(o && o.preferredLayouts || [], "straight")[0] || "h:h", r = ga(e, t, w_[i] || 0), l = H_(r, i);
|
|
19037
|
-
n = n ||
|
|
19059
|
+
n = n || zt(e), a = a || zt(t);
|
|
19038
19060
|
var c = l.split(":");
|
|
19039
19061
|
return E_(Qs(n, e, c[0], L_(r)), Qs(a, t, c[1], r), l);
|
|
19040
19062
|
}
|
|
19041
19063
|
function M_(e, t, n, a, o, i) {
|
|
19042
|
-
bt(n) && (o = n, i = a, n =
|
|
19064
|
+
bt(n) && (o = n, i = a, n = zt(e), a = zt(t)), i = Xe({ preferredLayouts: [] }, i), o = o || [];
|
|
19043
19065
|
var r = i.preferredLayouts.indexOf("straight") !== -1 && A_(e, t, n, a, i);
|
|
19044
19066
|
return r || (r = i.connectionEnd && P_(t, e, a, o), r) || (r = i.connectionStart && B_(e, t, n, o), r) ? r : !i.connectionStart && !i.connectionEnd && o && o.length ? o : T_(e, t, n, a, i);
|
|
19045
19067
|
}
|
|
@@ -19190,7 +19212,7 @@ Vl.prototype.layoutConnection = function(e, t) {
|
|
|
19190
19212
|
return r === void 0 && (i = Bi(o && o[0], n), r = Bi(o && o[o.length - 1], a)), i || (i = Bi(o && o[0], n)), r || (r = Bi(o && o[o.length - 1], a)), Ia(e, "myline") && (n === a ? l = { preferredLayouts: I_(n, e) } : Ia(n, "gatewayAnd") || Ia(n, "gatewayXor") || Ia(n, "gatewayInclusive") ? l = { preferredLayouts: ["v:h"] } : Ia(a, "gatewayAnd") || Ia(a, "gatewayXor") || Ia(a, "gatewayInclusive") ? l = { preferredLayouts: ["h:v"] } : l = { preferredLayouts: ["h:h"] }), l && (l = Bt(l, t), c = ed(M_(n, a, i, r, o, l))), c || [i, r];
|
|
19191
19213
|
};
|
|
19192
19214
|
function Bi(e, t) {
|
|
19193
|
-
return e ? e.original || e :
|
|
19215
|
+
return e ? e.original || e : zt(t);
|
|
19194
19216
|
}
|
|
19195
19217
|
function I_(e, t) {
|
|
19196
19218
|
const { waypoints: n } = t, a = n && n.length && ga(n[0], e);
|
|
@@ -19269,7 +19291,7 @@ function Pi(e, t) {
|
|
|
19269
19291
|
function Pn(e, t) {
|
|
19270
19292
|
return e.businessObject.fillColor || t || "var(--j-color-bg-container)";
|
|
19271
19293
|
}
|
|
19272
|
-
function
|
|
19294
|
+
function It(e, t) {
|
|
19273
19295
|
return e.businessObject.strokeColor || t || "var(--j-color-text)";
|
|
19274
19296
|
}
|
|
19275
19297
|
function $_(e) {
|
|
@@ -19545,7 +19567,7 @@ function to(e, t, n, a, o, i, r) {
|
|
|
19545
19567
|
box: E,
|
|
19546
19568
|
align: N,
|
|
19547
19569
|
padding: 5,
|
|
19548
|
-
style: { fill:
|
|
19570
|
+
style: { fill: It(E, c) }
|
|
19549
19571
|
});
|
|
19550
19572
|
}
|
|
19551
19573
|
function _(M, E) {
|
|
@@ -19558,7 +19580,7 @@ function to(e, t, n, a, o, i, r) {
|
|
|
19558
19580
|
return C(M, qi(E), {
|
|
19559
19581
|
box: N,
|
|
19560
19582
|
fitBox: !0,
|
|
19561
|
-
style: Bt({}, o.getExternalStyle(), { fill:
|
|
19583
|
+
style: Bt({}, o.getExternalStyle(), { fill: It(E, c) })
|
|
19562
19584
|
});
|
|
19563
19585
|
}
|
|
19564
19586
|
function S(M, E, N) {
|
|
@@ -19721,7 +19743,7 @@ function to(e, t, n, a, o, i, r) {
|
|
|
19721
19743
|
y: U
|
|
19722
19744
|
} }), {
|
|
19723
19745
|
strokeWidth: 0,
|
|
19724
|
-
fill:
|
|
19746
|
+
fill: It(E, s[E.type]?.iconFill || E.iconFill)
|
|
19725
19747
|
});
|
|
19726
19748
|
}
|
|
19727
19749
|
const A = {
|
|
@@ -19731,7 +19753,7 @@ function to(e, t, n, a, o, i, r) {
|
|
|
19731
19753
|
startEvent(M, E) {
|
|
19732
19754
|
const N = {
|
|
19733
19755
|
fill: Pn(E, s.startEvent?.fill || E.fill),
|
|
19734
|
-
stroke:
|
|
19756
|
+
stroke: It(E, s.startEvent?.stroke || E.stroke),
|
|
19735
19757
|
strokeWidth: Pi(E, s.startEvent?.strokeWidth || E.strokeWidth)
|
|
19736
19758
|
}, U = f("event")(M, E, N);
|
|
19737
19759
|
return B(M, E, 18, 18), U;
|
|
@@ -19740,7 +19762,7 @@ function to(e, t, n, a, o, i, r) {
|
|
|
19740
19762
|
const N = f("event")(M, E, {
|
|
19741
19763
|
strokeWidth: Pi(E, s.endEvent?.strokeWidth || E.strokeWidth || 4),
|
|
19742
19764
|
fill: Pn(E, s.endEvent?.fill || E.fill),
|
|
19743
|
-
stroke:
|
|
19765
|
+
stroke: It(E, s.endEvent?.stroke || E.stroke)
|
|
19744
19766
|
});
|
|
19745
19767
|
return B(M, E, 18, 18), N;
|
|
19746
19768
|
},
|
|
@@ -19749,7 +19771,7 @@ function to(e, t, n, a, o, i, r) {
|
|
|
19749
19771
|
fillOpacity: Rr,
|
|
19750
19772
|
strokeWidth: Pi(E, s[E.type]?.strokeWidth || E.strokeWidth || 4),
|
|
19751
19773
|
fill: Pn(E, s[E.type]?.fill || E.fill),
|
|
19752
|
-
stroke:
|
|
19774
|
+
stroke: It(E, s[E.type]?.stroke || E.stroke)
|
|
19753
19775
|
};
|
|
19754
19776
|
return b(M, E.width, E.height, N);
|
|
19755
19777
|
},
|
|
@@ -19766,8 +19788,8 @@ function to(e, t, n, a, o, i, r) {
|
|
|
19766
19788
|
}
|
|
19767
19789
|
}), {
|
|
19768
19790
|
strokeWidth: 1,
|
|
19769
|
-
fill:
|
|
19770
|
-
stroke:
|
|
19791
|
+
fill: It(E, s[E.type]?.iconFill || E.iconFill),
|
|
19792
|
+
stroke: It(E, s[E.type]?.iconFill || E.iconFill)
|
|
19771
19793
|
}), N;
|
|
19772
19794
|
},
|
|
19773
19795
|
gatewayXor(M, E) {
|
|
@@ -19783,16 +19805,16 @@ function to(e, t, n, a, o, i, r) {
|
|
|
19783
19805
|
}
|
|
19784
19806
|
}), {
|
|
19785
19807
|
strokeWidth: 1,
|
|
19786
|
-
fill:
|
|
19787
|
-
stroke:
|
|
19808
|
+
fill: It(E, s[E.type]?.iconFill || E.iconFill),
|
|
19809
|
+
stroke: It(E, s[E.type]?.iconFill || E.iconFill)
|
|
19788
19810
|
}), N;
|
|
19789
19811
|
},
|
|
19790
19812
|
gatewayInclusive(M, E) {
|
|
19791
19813
|
const N = f("gateway")(M, E);
|
|
19792
19814
|
return y(M, E.width, E.height, E.height * 0.24, {
|
|
19793
19815
|
strokeWidth: 2.5,
|
|
19794
|
-
fill:
|
|
19795
|
-
stroke:
|
|
19816
|
+
fill: It(E, l),
|
|
19817
|
+
stroke: It(E, s[E.type]?.iconFill || E.iconFill)
|
|
19796
19818
|
}), N;
|
|
19797
19819
|
},
|
|
19798
19820
|
activity(M, E, N) {
|
|
@@ -19801,7 +19823,7 @@ function to(e, t, n, a, o, i, r) {
|
|
|
19801
19823
|
task(M, E) {
|
|
19802
19824
|
const N = {
|
|
19803
19825
|
fill: Pn(E, l),
|
|
19804
|
-
stroke:
|
|
19826
|
+
stroke: It(E, c)
|
|
19805
19827
|
}, U = f("activity")(M, E, N);
|
|
19806
19828
|
return v(M, E, "center-middle"), S(M, E), U;
|
|
19807
19829
|
},
|
|
@@ -19813,21 +19835,21 @@ function to(e, t, n, a, o, i, r) {
|
|
|
19813
19835
|
} }), {
|
|
19814
19836
|
strokeWidth: 0.5,
|
|
19815
19837
|
fill: Pn(E, l),
|
|
19816
|
-
stroke:
|
|
19838
|
+
stroke: It(E, c)
|
|
19817
19839
|
}), w(M, n.getScaledPath("TASK_TYPE_USER_2", { abspos: {
|
|
19818
19840
|
x: U,
|
|
19819
19841
|
y: re
|
|
19820
19842
|
} }), {
|
|
19821
19843
|
strokeWidth: 0.5,
|
|
19822
19844
|
fill: Pn(E, l),
|
|
19823
|
-
stroke:
|
|
19845
|
+
stroke: It(E, c)
|
|
19824
19846
|
}), w(M, n.getScaledPath("TASK_TYPE_USER_3", { abspos: {
|
|
19825
19847
|
x: U,
|
|
19826
19848
|
y: re
|
|
19827
19849
|
} }), {
|
|
19828
19850
|
strokeWidth: 0.5,
|
|
19829
|
-
fill:
|
|
19830
|
-
stroke:
|
|
19851
|
+
fill: It(E, c),
|
|
19852
|
+
stroke: It(E, c)
|
|
19831
19853
|
}), N;
|
|
19832
19854
|
},
|
|
19833
19855
|
scriptTask(M, E) {
|
|
@@ -19837,14 +19859,14 @@ function to(e, t, n, a, o, i, r) {
|
|
|
19837
19859
|
y: 20
|
|
19838
19860
|
} }), {
|
|
19839
19861
|
strokeWidth: 1,
|
|
19840
|
-
stroke:
|
|
19862
|
+
stroke: It(E, c)
|
|
19841
19863
|
}), N;
|
|
19842
19864
|
},
|
|
19843
19865
|
SubProcessMarker(M, E) {
|
|
19844
19866
|
Wn(x(M, 14, 14, 0, {
|
|
19845
19867
|
strokeWidth: 1,
|
|
19846
19868
|
fill: Pn(E, l),
|
|
19847
|
-
stroke:
|
|
19869
|
+
stroke: It(E, c)
|
|
19848
19870
|
}), E.width / 2 - 7.5, E.height - 20), m("sub-process", M, n.getScaledPath("MARKER_SUB_PROCESS", {
|
|
19849
19871
|
xScaleFactor: 1.5,
|
|
19850
19872
|
yScaleFactor: 1.5,
|
|
@@ -19856,13 +19878,13 @@ function to(e, t, n, a, o, i, r) {
|
|
|
19856
19878
|
}
|
|
19857
19879
|
}), {
|
|
19858
19880
|
fill: Pn(E, l),
|
|
19859
|
-
stroke:
|
|
19881
|
+
stroke: It(E, c)
|
|
19860
19882
|
});
|
|
19861
19883
|
},
|
|
19862
19884
|
subprocess(M, E, N) {
|
|
19863
19885
|
N = Bt({
|
|
19864
19886
|
fill: Pn(E, l),
|
|
19865
|
-
stroke:
|
|
19887
|
+
stroke: It(E, c)
|
|
19866
19888
|
}, N);
|
|
19867
19889
|
const U = f("activity")(M, E, N);
|
|
19868
19890
|
return v(M, E, "center-middle"), S(M, E, ["SubProcessMarker"]), U;
|
|
@@ -19871,7 +19893,7 @@ function to(e, t, n, a, o, i, r) {
|
|
|
19871
19893
|
return _(M, E);
|
|
19872
19894
|
},
|
|
19873
19895
|
myline(M, E) {
|
|
19874
|
-
const N = Pn(E, i.lineStroke || l), U =
|
|
19896
|
+
const N = Pn(E, i.lineStroke || l), U = It(E, i.lineStroke || c);
|
|
19875
19897
|
return g(M, E.waypoints, {
|
|
19876
19898
|
markerEnd: j(M, "sequenceflow-end", N, U),
|
|
19877
19899
|
stroke: U
|
|
@@ -19881,7 +19903,7 @@ function to(e, t, n, a, o, i, r) {
|
|
|
19881
19903
|
const N = {
|
|
19882
19904
|
strokeWidth: Pi(E, s[E.type]?.strokeWidth || E.strokeWidth || 1),
|
|
19883
19905
|
fill: Pn(E, s[E.type]?.fill || E.fill),
|
|
19884
|
-
stroke:
|
|
19906
|
+
stroke: It(E, s[E.type]?.stroke || E.stroke)
|
|
19885
19907
|
}, U = x(M, E.width, E.height, E.radius || Gr, N);
|
|
19886
19908
|
return v(M, E, "center-middle"), S(M, E), B(M, E, E.iconX, E.iconY), U;
|
|
19887
19909
|
}
|
|
@@ -20188,7 +20210,7 @@ function nc(e, t) {
|
|
|
20188
20210
|
}
|
|
20189
20211
|
function ux(e, t, n) {
|
|
20190
20212
|
const a = e.waypoint;
|
|
20191
|
-
return !a || a.length < 2 ? [
|
|
20213
|
+
return !a || a.length < 2 ? [zt(t), zt(n)] : a.map((o) => ({
|
|
20192
20214
|
x: o.x,
|
|
20193
20215
|
y: o.y
|
|
20194
20216
|
}));
|
|
@@ -20407,7 +20429,7 @@ var id = { myImporter: ["type", Ca] }, rd = (e) => {
|
|
|
20407
20429
|
const R = S.createRoot();
|
|
20408
20430
|
_.setRootElement(R), d();
|
|
20409
20431
|
};
|
|
20410
|
-
|
|
20432
|
+
Ht(() => {
|
|
20411
20433
|
u();
|
|
20412
20434
|
});
|
|
20413
20435
|
const h = (v) => {
|
|
@@ -20949,7 +20971,7 @@ function gd(e) {
|
|
|
20949
20971
|
}
|
|
20950
20972
|
function pc(e, t, n) {
|
|
20951
20973
|
var a, o;
|
|
20952
|
-
return e.original ? e.original : (a =
|
|
20974
|
+
return e.original ? e.original : (a = zt(t), o = gd(n), Ul(e, o, a[o]));
|
|
20953
20975
|
}
|
|
20954
20976
|
function vd(e, t, n, a, o, i) {
|
|
20955
20977
|
var r = e.get("connectionDocking", !1);
|
|
@@ -21196,10 +21218,10 @@ aa.prototype.drawPreview = function(e, t, n) {
|
|
|
21196
21218
|
connectionStart: c,
|
|
21197
21219
|
connectionEnd: s,
|
|
21198
21220
|
waypoints: n.waypoints || h.waypoints
|
|
21199
|
-
})), (!h.waypoints || !h.waypoints.length) && (h.waypoints = [i ?
|
|
21221
|
+
})), (!h.waypoints || !h.waypoints.length) && (h.waypoints = [i ? zt(i) : c, r ? zt(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)" });
|
|
21200
21222
|
};
|
|
21201
21223
|
aa.prototype.drawNoopPreview = function(e, t) {
|
|
21202
|
-
var n = t.source, a = t.target, o = t.connectionStart ||
|
|
21224
|
+
var n = t.source, a = t.target, o = t.connectionStart || zt(n), i = t.connectionEnd || zt(a), r = this.cropWaypoints(o, i, n, a);
|
|
21203
21225
|
ct(e, this.createNoopConnection(r[0], r[1]));
|
|
21204
21226
|
};
|
|
21205
21227
|
aa.prototype.cropWaypoints = function(e, t, n, a) {
|
|
@@ -22586,7 +22608,7 @@ function OC(e, t) {
|
|
|
22586
22608
|
return e.x !== t.x || e.y !== t.y || e.width !== t.width || e.height !== t.height;
|
|
22587
22609
|
}
|
|
22588
22610
|
function Md(e, t) {
|
|
22589
|
-
var n =
|
|
22611
|
+
var n = zt(e), a = mt(e), o = {
|
|
22590
22612
|
x: n.x,
|
|
22591
22613
|
y: n.y
|
|
22592
22614
|
};
|
|
@@ -23009,7 +23031,7 @@ mi.prototype.getSnapTargets = function(e, t) {
|
|
|
23009
23031
|
});
|
|
23010
23032
|
};
|
|
23011
23033
|
function Ad(e, t) {
|
|
23012
|
-
var n =
|
|
23034
|
+
var n = zt(e), a = mt(e), o = {
|
|
23013
23035
|
x: n.x,
|
|
23014
23036
|
y: n.y
|
|
23015
23037
|
};
|
|
@@ -23230,7 +23252,7 @@ function a1(e, t) {
|
|
|
23230
23252
|
var a = t.defaultDistance || 50, o = t.direction || "e", i = t.filter, r = t.getWeight || n, l = t.maxDistance || n1, c = t.reference || "start";
|
|
23231
23253
|
i || (i = o1);
|
|
23232
23254
|
function s(u, h) {
|
|
23233
|
-
return o === "n" ? c === "start" ? mt(u).top - mt(h).bottom : c === "center" ? mt(u).top -
|
|
23255
|
+
return o === "n" ? c === "start" ? mt(u).top - mt(h).bottom : c === "center" ? mt(u).top - zt(h).y : mt(u).top - mt(h).top : o === "w" ? c === "start" ? mt(u).left - mt(h).right : c === "center" ? mt(u).left - zt(h).x : mt(u).left - mt(h).left : o === "s" ? c === "start" ? mt(h).top - mt(u).bottom : c === "center" ? zt(h).y - mt(u).bottom : mt(h).bottom - mt(u).bottom : c === "start" ? mt(h).left - mt(u).right : c === "center" ? zt(h).x - mt(u).right : mt(h).right - mt(u).right;
|
|
23234
23256
|
}
|
|
23235
23257
|
var d = e.incoming.filter(i).map(function(u) {
|
|
23236
23258
|
var h = r(u), p = h < 0 ? s(u.source, e) : s(e, u.source);
|
|
@@ -23286,7 +23308,7 @@ Bd.$inject = [
|
|
|
23286
23308
|
];
|
|
23287
23309
|
function r1(e, t, n) {
|
|
23288
23310
|
n || (n = {});
|
|
23289
|
-
var a = n.defaultDistance || 50, o =
|
|
23311
|
+
var a = n.defaultDistance || 50, o = zt(e);
|
|
23290
23312
|
return {
|
|
23291
23313
|
x: mt(e).right + a + t.width / 2,
|
|
23292
23314
|
y: o.y
|
|
@@ -23348,7 +23370,7 @@ function v1(e, t) {
|
|
|
23348
23370
|
return y1(e, t);
|
|
23349
23371
|
}
|
|
23350
23372
|
function y1(e, t) {
|
|
23351
|
-
const n = mt(e), a =
|
|
23373
|
+
const n = mt(e), a = zt(e), o = a1(e, { filter: (l) => c1(l, "myline") }), i = 30, r = 80;
|
|
23352
23374
|
return p1(e, t, {
|
|
23353
23375
|
x: n.right + o + t.width / 2,
|
|
23354
23376
|
y: a.y + m1("left", r)
|
|
@@ -23569,7 +23591,7 @@ var w1 = {
|
|
|
23569
23591
|
const B = H.createRoot();
|
|
23570
23592
|
j.setRootElement(B), d();
|
|
23571
23593
|
};
|
|
23572
|
-
|
|
23594
|
+
Ht(() => {
|
|
23573
23595
|
u();
|
|
23574
23596
|
});
|
|
23575
23597
|
const h = (T) => {
|