@farris/ui-vue 1.2.9 → 1.3.1
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/components/accordion/index.esm.js +64 -64
- package/components/accordion/index.umd.cjs +1 -1
- package/components/avatar/index.esm.js +521 -336
- package/components/avatar/index.umd.cjs +1 -1
- package/components/button-edit/index.css +1 -1
- package/components/button-edit/index.esm.js +99 -97
- package/components/button-edit/index.umd.cjs +1 -1
- package/components/calendar/index.esm.js +496 -504
- package/components/calendar/index.umd.cjs +1 -1
- package/components/capsule/index.esm.js +251 -259
- package/components/capsule/index.umd.cjs +1 -1
- package/components/checkbox/index.esm.js +696 -519
- package/components/checkbox/index.umd.cjs +1 -1
- package/components/color-picker/index.esm.js +368 -376
- package/components/color-picker/index.umd.cjs +2 -2
- package/components/combo-list/index.css +1 -0
- package/components/combo-list/index.esm.js +1141 -340
- package/components/combo-list/index.umd.cjs +1 -1
- package/components/combo-tree/index.esm.js +116 -116
- package/components/combo-tree/index.umd.cjs +1 -1
- package/components/common/index.esm.js +986 -798
- package/components/common/index.umd.cjs +1 -1
- package/components/component/index.esm.js +463 -998
- package/components/component/index.umd.cjs +1 -1
- package/components/condition/index.css +1 -0
- package/components/condition/index.esm.js +2233 -1057
- package/components/condition/index.umd.cjs +1 -1
- package/components/content-container/index.esm.js +335 -1002
- package/components/content-container/index.umd.cjs +1 -1
- package/components/data-grid/index.css +1 -1
- package/components/data-grid/index.esm.js +6193 -4702
- package/components/data-grid/index.umd.cjs +1 -1
- package/components/data-view/index.css +1 -0
- package/components/data-view/index.esm.js +4562 -3294
- package/components/data-view/index.umd.cjs +1 -1
- package/components/date-picker/index.css +1 -1
- package/components/date-picker/index.esm.js +3420 -2623
- package/components/date-picker/index.umd.cjs +1 -1
- package/components/designer-canvas/index.css +1 -1
- package/components/designer-canvas/index.esm.js +914 -883
- package/components/designer-canvas/index.umd.cjs +1 -1
- package/components/designer-outline/index.esm.js +14 -13
- package/components/designer-outline/index.umd.cjs +1 -1
- package/components/dropdown/index.esm.js +204 -212
- package/components/dropdown/index.umd.cjs +2 -2
- package/components/dynamic-form/index.css +1 -0
- package/components/dynamic-form/index.esm.js +2795 -1835
- package/components/dynamic-form/index.umd.cjs +1 -1
- package/components/dynamic-resolver/index.esm.js +180 -130
- package/components/dynamic-resolver/index.umd.cjs +1 -1
- package/components/dynamic-view/index.esm.js +303 -290
- package/components/dynamic-view/index.umd.cjs +1 -1
- package/components/events-editor/index.esm.js +328 -336
- package/components/events-editor/index.umd.cjs +1 -1
- package/components/expression-editor/index.esm.js +65 -65
- package/components/expression-editor/index.umd.cjs +1 -1
- package/components/external-container/index.css +1 -1
- package/components/external-container/index.esm.js +3349 -3626
- package/components/external-container/index.umd.cjs +1 -1
- package/components/field-selector/index.css +1 -1
- package/components/field-selector/index.esm.js +5344 -8588
- package/components/field-selector/index.umd.cjs +1 -1
- package/components/filter-bar/index.css +1 -1
- package/components/filter-bar/index.esm.js +2179 -2227
- package/components/filter-bar/index.umd.cjs +1 -1
- package/components/flow-canvas/index.css +1 -1
- package/components/flow-canvas/index.esm.js +684 -675
- package/components/flow-canvas/index.umd.cjs +1 -1
- package/components/image-cropper/index.esm.js +482 -490
- package/components/image-cropper/index.umd.cjs +1 -1
- package/components/input-group/index.esm.js +746 -569
- package/components/input-group/index.umd.cjs +1 -1
- package/components/layout/index.esm.js +409 -385
- package/components/layout/index.umd.cjs +1 -1
- package/components/list-nav/index.esm.js +348 -1019
- package/components/list-nav/index.umd.cjs +1 -1
- package/components/list-view/index.css +1 -1
- package/components/list-view/index.esm.js +3606 -2388
- package/components/list-view/index.umd.cjs +1 -1
- package/components/lookup/index.css +1 -1
- package/components/lookup/index.esm.js +10871 -8970
- package/components/lookup/index.umd.cjs +1 -1
- package/components/mapping-editor/index.css +1 -1
- package/components/mapping-editor/index.esm.js +6019 -5631
- package/components/mapping-editor/index.umd.cjs +1 -1
- package/components/message-box/index.css +1 -1
- package/components/message-box/index.esm.js +511 -471
- package/components/message-box/index.umd.cjs +1 -1
- package/components/modal/index.css +1 -1
- package/components/modal/index.esm.js +438 -398
- package/components/modal/index.umd.cjs +1 -1
- package/components/nav/index.esm.js +912 -1281
- package/components/nav/index.umd.cjs +3 -3
- package/components/notify/index.esm.js +59 -53
- package/components/notify/index.umd.cjs +1 -1
- package/components/number-range/index.esm.js +660 -484
- package/components/number-range/index.umd.cjs +1 -1
- package/components/number-spinner/index.esm.js +682 -506
- package/components/number-spinner/index.umd.cjs +1 -1
- package/components/order/index.css +1 -1
- package/components/order/index.esm.js +1848 -1658
- package/components/order/index.umd.cjs +1 -1
- package/components/page-footer/index.esm.js +100 -100
- package/components/page-footer/index.umd.cjs +1 -1
- package/components/page-header/index.esm.js +1120 -1923
- package/components/page-header/index.umd.cjs +1 -1
- package/components/pagination/index.esm.js +875 -1214
- package/components/pagination/index.umd.cjs +1 -1
- package/components/popover/index.esm.js +71 -70
- package/components/popover/index.umd.cjs +1 -1
- package/components/progress/index.esm.js +229 -237
- package/components/progress/index.umd.cjs +3 -3
- package/components/property-editor/index.css +1 -1
- package/components/property-editor/index.esm.js +2314 -1521
- package/components/property-editor/index.umd.cjs +3 -3
- package/components/property-panel/index.esm.js +867 -868
- package/components/property-panel/index.umd.cjs +1 -1
- package/components/query-solution/index.css +1 -1
- package/components/query-solution/index.esm.js +4332 -3623
- package/components/query-solution/index.umd.cjs +1 -1
- package/components/radio-button/index.esm.js +72 -72
- package/components/radio-button/index.umd.cjs +1 -1
- package/components/radio-group/index.esm.js +613 -437
- package/components/radio-group/index.umd.cjs +1 -1
- package/components/rate/index.esm.js +255 -263
- package/components/rate/index.umd.cjs +1 -1
- package/components/response-layout/index.esm.js +144 -152
- package/components/response-layout/index.umd.cjs +1 -1
- package/components/response-layout-editor/index.css +1 -1
- package/components/response-layout-editor/index.esm.js +1101 -1038
- package/components/response-layout-editor/index.umd.cjs +1 -1
- package/components/response-toolbar/index.esm.js +935 -1750
- package/components/response-toolbar/index.umd.cjs +1 -1
- package/components/schema-selector/index.css +1 -1
- package/components/schema-selector/index.esm.js +5264 -5677
- package/components/schema-selector/index.umd.cjs +2 -2
- package/components/search-box/index.esm.js +151 -154
- package/components/search-box/index.umd.cjs +1 -1
- package/components/section/index.esm.js +438 -1125
- package/components/section/index.umd.cjs +1 -1
- package/components/smoke-detector/index.esm.js +93 -101
- package/components/smoke-detector/index.umd.cjs +1 -1
- package/components/splitter/index.esm.js +563 -1202
- package/components/splitter/index.umd.cjs +1 -1
- package/components/splitter/style.js +2 -0
- package/components/step/index.esm.js +248 -256
- package/components/step/index.umd.cjs +1 -1
- package/components/switch/index.esm.js +549 -373
- package/components/switch/index.umd.cjs +1 -1
- package/components/tabs/index.css +1 -1
- package/components/tabs/index.esm.js +2436 -3110
- package/components/tabs/index.umd.cjs +1 -1
- package/components/tags/index.esm.js +328 -336
- package/components/tags/index.umd.cjs +1 -1
- package/components/text/index.esm.js +339 -347
- package/components/text/index.umd.cjs +1 -1
- package/components/textarea/index.esm.js +554 -378
- package/components/textarea/index.umd.cjs +1 -1
- package/components/time-picker/index.css +1 -1
- package/components/time-picker/index.esm.js +1322 -1144
- package/components/time-picker/index.umd.cjs +1 -1
- package/components/transfer/index.css +1 -1
- package/components/transfer/index.esm.js +537 -543
- package/components/transfer/index.umd.cjs +1 -1
- package/components/tree-grid/index.css +1 -1
- package/components/tree-grid/index.esm.js +5113 -9426
- package/components/tree-grid/index.umd.cjs +1 -1
- package/components/tree-view/index.css +1 -0
- package/components/tree-view/index.esm.js +3900 -2677
- package/components/tree-view/index.umd.cjs +1 -1
- package/components/uploader/index.esm.js +568 -570
- package/components/uploader/index.umd.cjs +2 -2
- package/components/verify-detail/index.esm.js +266 -274
- package/components/verify-detail/index.umd.cjs +1 -1
- package/components/video/index.esm.js +553 -1052
- package/components/video/index.umd.cjs +1 -1
- package/components/weather/index.esm.js +558 -566
- package/components/weather/index.umd.cjs +5 -5
- package/farris.all.esm.js +22009 -22688
- package/farris.all.umd.cjs +9 -9
- package/index.css +1 -1
- package/package.json +1 -1
- package/types/capsule/src/capsule.props.d.ts +2 -2
- package/types/combo-list/src/components/list-container.component.d.ts +0 -3
- package/types/combo-list/src/components/list-container.props.d.ts +0 -4
- package/types/common/directive/area-response.d.ts +10 -0
- package/types/common/index.d.ts +9 -0
- package/types/common/radio-checkbox/radio-checkbox.props.d.ts +1 -0
- package/types/common/types.d.ts +1 -1
- package/types/common/utils/encrypt.d.ts +2 -0
- package/types/common/utils/resolve-field.d.ts +2 -0
- package/types/common/utils/use-class.d.ts +7 -0
- package/types/component/src/component.props.d.ts +7 -0
- package/types/component/src/designer/use-designer-rules.d.ts +2 -2
- package/types/component/src/property-config/component.property-config.d.ts +9 -0
- package/types/components.d.ts +1 -0
- package/types/condition/src/types.d.ts +2 -1
- package/types/content-container/src/designer/use-designer-rules.d.ts +3 -3
- package/types/data-grid/index.d.ts +11 -5
- package/types/data-grid/src/data-grid.component.d.ts +4 -2
- package/types/data-grid/src/data-grid.props.d.ts +1 -0
- package/types/data-grid/src/designer/data-grid.design.component.d.ts +2 -2
- package/types/data-grid/src/designer/use-designer-rules.d.ts +2 -2
- package/types/data-view/components/row/hierarchy-row.component.d.ts +2 -2
- package/types/data-view/composition/data/use-tree-data.d.ts +1 -1
- package/types/data-view/composition/types.d.ts +19 -4
- package/types/data-view/composition/visualization/use-virtual-scroll.d.ts +0 -15
- package/types/designer-canvas/index.d.ts +2 -1
- package/types/designer-canvas/src/composition/dg-control.d.ts +5 -0
- package/types/designer-canvas/src/composition/rule/use-dragula-common-rule.d.ts +4 -0
- package/types/designer-canvas/src/composition/rule/use-template-rule.d.ts +30 -0
- package/types/designer-canvas/src/composition/types.d.ts +2 -3
- package/types/designer-canvas/src/types.d.ts +2 -1
- package/types/dynamic-form/src/composition/use-response-form-layout-setting.d.ts +2 -0
- package/types/dynamic-form/src/designer/response-form-layout-setting.component.d.ts +8 -0
- package/types/dynamic-form/src/designer/response-form-layout-setting.props.d.ts +4 -0
- package/types/dynamic-form/src/designer/response-form.design.component.d.ts +7 -1
- package/types/dynamic-form/src/designer/use-designer-rules.d.ts +1 -1
- package/types/dynamic-form/src/property-config/form.property-config.d.ts +9 -0
- package/types/dynamic-form/src/schema/schema-mapper.d.ts +1 -0
- package/types/dynamic-form/src/schema/schema-resolver.d.ts +1 -0
- package/types/dynamic-form/src/types.d.ts +12 -1
- package/types/dynamic-resolver/index.d.ts +1 -0
- package/types/dynamic-resolver/src/common/toolbar-resolver.d.ts +1 -1
- package/types/dynamic-resolver/src/event-handler-resolver.d.ts +4 -0
- package/types/dynamic-resolver/src/types.d.ts +9 -0
- package/types/dynamic-view/index.d.ts +1 -0
- package/types/dynamic-view/src/event-dispatcher.d.ts +1 -1
- package/types/external-container/src/designer/use-designer-rules.d.ts +3 -3
- package/types/index.d.ts +2 -0
- package/types/layout/src/designer/layout-pane-use-designer-rules.d.ts +3 -3
- package/types/list-nav/src/designer/use-designer-rules.d.ts +3 -0
- package/types/lookup/src/components/favorite/lookup-favorite.component.d.ts +29 -0
- package/types/lookup/src/components/favorite/lookup-favorite.props.d.ts +15 -0
- package/types/lookup/src/components/modal-container.component.d.ts +25 -0
- package/types/lookup/src/components/modal-container.props.d.ts +29 -0
- package/types/lookup/src/composition/types.d.ts +8 -0
- package/types/lookup/src/composition/use-check-props.d.ts +9 -2
- package/types/lookup/src/composition/use-dialog.d.ts +5 -1
- package/types/lookup/src/composition/use-favorite.d.ts +12 -0
- package/types/lookup/src/composition/use-http.d.ts +9 -5
- package/types/lookup/src/composition/use-input-change.d.ts +3 -0
- package/types/lookup/src/composition/use-user-data.d.ts +24 -0
- package/types/lookup/src/property-config/lookup.property-config.d.ts +6 -4
- package/types/mapping-editor/src/mapping-editor.component.d.ts +3 -0
- package/types/mapping-editor/src/mapping-editor.props.d.ts +0 -1
- package/types/modal/src/composition/use-draggable.d.ts +2 -1
- package/types/modal/src/composition/use-shortcut.d.ts +6 -0
- package/types/modal/src/modal.component.d.ts +3 -0
- package/types/modal/src/modal.props.d.ts +4 -0
- package/types/page-header/src/page-header.props.d.ts +1 -0
- package/types/pagination/src/components/buttons/goto-buttons.component.d.ts +2 -2
- package/types/pagination/src/components/buttons/next-buttons.component.d.ts +2 -2
- package/types/pagination/src/components/buttons/previous-buttons.component.d.ts +2 -2
- package/types/pagination/src/components/pages/page-list.component.d.ts +2 -2
- package/types/pagination/src/components/pages/page-number.component.d.ts +2 -2
- package/types/property-panel/index.d.ts +2 -1
- package/types/property-panel/src/composition/entity/base-property.d.ts +8 -0
- package/types/property-panel/src/composition/entity/input-base-property.d.ts +20 -1
- package/types/query-solution/src/designer/query-solution-config/composition/types.d.ts +34 -27
- package/types/query-solution/src/designer/query-solution-config/composition/use-panel.d.ts +2 -16
- package/types/{data-grid/src/designer/use-group-column.d.ts → query-solution/src/designer/query-solution-config/composition/use-property.d.ts} +4 -5
- package/types/query-solution/src/designer/query-solution-config/composition/use-querysolution-rules.d.ts +3 -0
- package/types/query-solution/src/designer/query-solution-config/composition/use-transfer.d.ts +1 -1
- package/types/query-solution/src/property-config/query-solution.property-config.d.ts +60 -0
- package/types/query-solution/src/solutions.d.ts +108 -509
- package/types/response-layout-editor/index.d.ts +3 -1
- package/types/response-layout-editor/src/composition/converter/use-response-layout-editor-setting.d.ts +2 -0
- package/types/response-layout-editor/src/type.d.ts +21 -0
- package/types/response-toolbar/src/designer/use-designer-rules.d.ts +3 -3
- package/types/response-toolbar/src/property-config/response-toolbar-item.property-config.d.ts +1 -0
- package/types/section/src/designer/use-designer-rules.d.ts +3 -3
- package/types/splitter/src/components/splitter-pane.component.d.ts +1 -1
- package/types/splitter/src/designer/splitter-pane-use-designer-rules.d.ts +3 -3
- package/types/splitter/src/designer/splitter-use-designer-rules.d.ts +3 -3
- package/types/tabs/src/designer/tab-page-use-designer-rules.d.ts +3 -3
- package/types/tabs/src/designer/tab-use-designer-rules.d.ts +3 -3
- package/types/tabs/src/tabs.props.d.ts +1 -0
- package/types/tree-grid/index.d.ts +8 -2
- package/types/tree-grid/src/tree-grid.component.d.ts +3 -1
- package/types/designer-canvas/src/composition/rule/use-drag-drop-rules.d.ts +0 -19
- package/types/designer-canvas/src/composition/use-dragula-common-rule.d.ts +0 -4
- package/types/list-nav/src/composition/use-designer-rules.d.ts +0 -3
- package/types/modal/src/composition/use-esc.d.ts +0 -1
- package/types/query-solution/src/designer/query-solution-config/composition/mock-data.d.ts +0 -6
- package/types/response-layout-editor/src/composition/converter/response-layout-editor.converter.d.ts +0 -3
- package/types/response-layout-editor/src/composition/converter/use-convert-property-value.d.ts +0 -20
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { ref as
|
|
5
|
-
const
|
|
1
|
+
var pe = Object.defineProperty;
|
|
2
|
+
var Ce = (t, e, a) => e in t ? pe(t, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[e] = a;
|
|
3
|
+
var W = (t, e, a) => Ce(t, typeof e != "symbol" ? e + "" : e, a);
|
|
4
|
+
import { ref as o, createVNode as h, Fragment as Me, watch as X, defineComponent as ze, computed as L, onMounted as te, onUnmounted as le, Teleport as Ee, Transition as Be, shallowRef as He, createApp as Re, nextTick as ke, render as Z, h as Ie, cloneVNode as Te, mergeProps as Le } from "vue";
|
|
5
|
+
const Oe = {
|
|
6
6
|
/**
|
|
7
7
|
* 自定义类
|
|
8
8
|
*/
|
|
@@ -60,28 +60,29 @@ const He = {
|
|
|
60
60
|
render: { type: Function, default: null },
|
|
61
61
|
acceptCallback: { type: Function, default: null },
|
|
62
62
|
rejectCallback: { type: Function, default: null },
|
|
63
|
-
enableEsc: { type: Boolean, default: !0 }
|
|
63
|
+
enableEsc: { type: Boolean, default: !0 },
|
|
64
|
+
enableEnter: { type: Boolean, default: !1 }
|
|
64
65
|
};
|
|
65
66
|
class M {
|
|
66
|
-
constructor(e,
|
|
67
|
-
this.x = e, this.y =
|
|
67
|
+
constructor(e, a) {
|
|
68
|
+
this.x = e, this.y = a;
|
|
68
69
|
}
|
|
69
70
|
static getTransformInfo(e) {
|
|
70
|
-
const
|
|
71
|
-
if (
|
|
72
|
-
const
|
|
73
|
-
return { x, y:
|
|
71
|
+
const s = window.getComputedStyle(e).getPropertyValue("transform").replace(/[^-\d,]/g, "").split(",");
|
|
72
|
+
if (s.length >= 6) {
|
|
73
|
+
const b = parseInt(s[4], 10), f = parseInt(s[5], 10);
|
|
74
|
+
return { x: b, y: f };
|
|
74
75
|
}
|
|
75
76
|
return { x: 0, y: 0 };
|
|
76
77
|
}
|
|
77
|
-
static fromEvent(e,
|
|
78
|
+
static fromEvent(e, a = null) {
|
|
78
79
|
if (this.isMouseEvent(e))
|
|
79
80
|
return new M(e.clientX, e.clientY);
|
|
80
|
-
if (
|
|
81
|
+
if (a === null || e.changedTouches.length === 1)
|
|
81
82
|
return new M(e.changedTouches[0].clientX, e.changedTouches[0].clientY);
|
|
82
|
-
for (let
|
|
83
|
-
if (e.changedTouches[
|
|
84
|
-
return new M(e.changedTouches[
|
|
83
|
+
for (let s = 0; s < e.changedTouches.length; s++)
|
|
84
|
+
if (e.changedTouches[s].target === a)
|
|
85
|
+
return new M(e.changedTouches[s].clientX, e.changedTouches[s].clientY);
|
|
85
86
|
}
|
|
86
87
|
static isMouseEvent(e) {
|
|
87
88
|
return Object.prototype.toString.apply(e).indexOf("MouseEvent") === 8;
|
|
@@ -90,14 +91,14 @@ class M {
|
|
|
90
91
|
return !!e && "x" in e && "y" in e;
|
|
91
92
|
}
|
|
92
93
|
static getCurrent(e) {
|
|
93
|
-
const
|
|
94
|
+
const a = new M(0, 0);
|
|
94
95
|
if (window) {
|
|
95
|
-
const
|
|
96
|
-
if (
|
|
97
|
-
const
|
|
98
|
-
|
|
96
|
+
const s = window.getComputedStyle(e);
|
|
97
|
+
if (s) {
|
|
98
|
+
const b = parseInt(s.getPropertyValue("left"), 10), f = parseInt(s.getPropertyValue("top"), 10);
|
|
99
|
+
a.x = isNaN(b) ? 0 : b, a.y = isNaN(f) ? 0 : f;
|
|
99
100
|
}
|
|
100
|
-
return
|
|
101
|
+
return a;
|
|
101
102
|
}
|
|
102
103
|
return null;
|
|
103
104
|
}
|
|
@@ -126,631 +127,670 @@ class M {
|
|
|
126
127
|
return this.x = e.x, this.y = e.y, this;
|
|
127
128
|
}
|
|
128
129
|
}
|
|
129
|
-
class
|
|
130
|
-
constructor(e,
|
|
131
|
-
this.width = e, this.height =
|
|
130
|
+
class D {
|
|
131
|
+
constructor(e, a) {
|
|
132
|
+
this.width = e, this.height = a;
|
|
132
133
|
}
|
|
133
134
|
static getCurrent(e) {
|
|
134
|
-
const
|
|
135
|
+
const a = new D(0, 0);
|
|
135
136
|
if (window) {
|
|
136
|
-
const
|
|
137
|
-
return
|
|
137
|
+
const s = window.getComputedStyle(e);
|
|
138
|
+
return s && (a.width = parseInt(s.getPropertyValue("width"), 10), a.height = parseInt(s.getPropertyValue("height"), 10)), a;
|
|
138
139
|
}
|
|
139
140
|
return null;
|
|
140
141
|
}
|
|
141
142
|
static copy(e) {
|
|
142
|
-
return new
|
|
143
|
+
return new D(0, 0).set(e);
|
|
143
144
|
}
|
|
144
145
|
set(e) {
|
|
145
146
|
return this.width = e.width, this.height = e.height, this;
|
|
146
147
|
}
|
|
147
148
|
}
|
|
148
|
-
function
|
|
149
|
-
const
|
|
149
|
+
function Se(t, e) {
|
|
150
|
+
const a = o(), s = o(), b = o(), f = o(), d = o(), r = o(), c = o(), v = o(), z = o(), C = o(), k = o(), R = o(), I = o(t.draggable), O = o(!1);
|
|
150
151
|
function S() {
|
|
151
|
-
const n =
|
|
152
|
-
if (!
|
|
152
|
+
const n = s.value || document.body, u = window.getComputedStyle(n);
|
|
153
|
+
if (!u || !a.value)
|
|
153
154
|
return;
|
|
154
|
-
const w = M.getTransformInfo(
|
|
155
|
-
|
|
156
|
-
const
|
|
157
|
-
|
|
155
|
+
const w = M.getTransformInfo(a.value), g = {};
|
|
156
|
+
c.value && (g.deltaL = a.value.offsetLeft - c.value.x, g.deltaT = a.value.offsetTop - c.value.y);
|
|
157
|
+
const E = u.getPropertyValue("position");
|
|
158
|
+
g.width = n.clientWidth, g.height = n.clientHeight, g.pr = parseInt(u.getPropertyValue("padding-right"), 10), g.pb = parseInt(u.getPropertyValue("padding-bottom"), 10), g.position = u.getPropertyValue("position"), E === "static" && (n.style.position = "relative"), g.translateX = w.x, g.translateY = w.y, C.value = g;
|
|
158
159
|
}
|
|
159
160
|
function y(n) {
|
|
160
|
-
if (
|
|
161
|
-
|
|
162
|
-
const
|
|
161
|
+
if (a.value) {
|
|
162
|
+
f.value = D.getCurrent(a.value), d.value = M.getCurrent(a.value), r.value = f.value ? D.copy(f.value) : null, c.value = d.value ? M.copy(d.value) : null, S();
|
|
163
|
+
const u = n.target.getAttribute("type") || "";
|
|
163
164
|
v.value = {
|
|
164
|
-
n: !!
|
|
165
|
-
s: !!
|
|
166
|
-
w: !!
|
|
167
|
-
e: !!
|
|
165
|
+
n: !!u.match(/n/),
|
|
166
|
+
s: !!u.match(/s/),
|
|
167
|
+
w: !!u.match(/w/),
|
|
168
|
+
e: !!u.match(/e/)
|
|
168
169
|
};
|
|
169
170
|
}
|
|
170
171
|
}
|
|
171
|
-
function
|
|
172
|
-
var n,
|
|
173
|
-
if (
|
|
174
|
-
const
|
|
175
|
-
v.value && ((v.value.n || v.value.s) && ((n =
|
|
172
|
+
function p() {
|
|
173
|
+
var n, u, w, g;
|
|
174
|
+
if (a.value) {
|
|
175
|
+
const E = a.value;
|
|
176
|
+
v.value && ((v.value.n || v.value.s) && ((n = r.value) != null && n.height) && (E.style.height = r.value.height + "px"), (v.value.w || v.value.e) && ((u = r.value) != null && u.width) && (E.style.width = r.value.width + "px"), c.value && ((w = c.value) != null && w.x && (E.style.left = c.value.x + "px"), (g = c.value) != null && g.y && (E.style.top = c.value.y + "px")));
|
|
176
177
|
}
|
|
177
178
|
}
|
|
178
|
-
function
|
|
179
|
-
const n = t.minHeight ? t.minHeight : 1,
|
|
180
|
-
|
|
181
|
-
}
|
|
182
|
-
function
|
|
183
|
-
if (
|
|
184
|
-
const n =
|
|
185
|
-
if (
|
|
186
|
-
const
|
|
187
|
-
v.value.n &&
|
|
179
|
+
function P() {
|
|
180
|
+
const n = t.minHeight ? t.minHeight : 1, u = t.minWidth ? t.minWidth : 1;
|
|
181
|
+
r.value && c.value && v.value && f.value && (r.value.height < n && (r.value.height = n, v.value.n && d.value && (c.value.y = d.value.y + (f.value.height - n))), r.value.width < u && (r.value.width = u, v.value.w && d.value && (c.value.x = d.value.x + (f.value.width - u))), t.maxHeight && r.value.height > t.maxHeight && (r.value.height = t.maxHeight, d.value && v.value.n && (c.value.y = d.value.y + (f.value.height - t.maxHeight))), t.maxWidth && r.value.width > t.maxWidth && (r.value.width = t.maxWidth, v.value.w && d.value && (c.value.x = d.value.x + (f.value.width - t.maxWidth))));
|
|
182
|
+
}
|
|
183
|
+
function j() {
|
|
184
|
+
if (s.value) {
|
|
185
|
+
const n = C.value;
|
|
186
|
+
if (c.value && r.value && v.value && f.value) {
|
|
187
|
+
const u = n.width - n.pr - n.deltaL - n.translateX - c.value.x, w = n.height - n.pb - n.deltaT - n.translateY - c.value.y;
|
|
188
|
+
v.value.n && c.value.y + n.translateY < 0 && d.value && (c.value.y = -n.translateY, r.value.height = f.value.height + d.value.y + n.translateY), v.value.w && c.value.x + n.translateX < 0 && d.value && (c.value.x = -n.translateX, r.value.width = f.value.width + d.value.x + n.translateX), r.value.width > u && (r.value.width = u), r.value.height > w && (r.value.height = w);
|
|
188
189
|
}
|
|
189
190
|
}
|
|
190
191
|
}
|
|
191
192
|
function V(n) {
|
|
192
|
-
if (!
|
|
193
|
+
if (!b.value || !f.value || !d.value || !v.value)
|
|
193
194
|
return;
|
|
194
|
-
n.subtract(
|
|
195
|
-
const
|
|
196
|
-
v.value.n ? (
|
|
195
|
+
n.subtract(b.value);
|
|
196
|
+
const u = n.x, w = n.y;
|
|
197
|
+
v.value.n ? (c.value.y = d.value.y + w, r.value.height = f.value.height - w) : v.value.s && (r.value.height = f.value.height + w), v.value.e ? r.value.width = f.value.width + u : v.value.w && (r.value.width = f.value.width - u, c.value.x = d.value.x + u), j(), P(), p();
|
|
197
198
|
}
|
|
198
|
-
function
|
|
199
|
-
if (!
|
|
199
|
+
function N(n) {
|
|
200
|
+
if (!z.value)
|
|
200
201
|
return;
|
|
201
|
-
const
|
|
202
|
-
|
|
202
|
+
const u = M.fromEvent(n);
|
|
203
|
+
u && V(u);
|
|
203
204
|
}
|
|
204
|
-
function
|
|
205
|
-
if (
|
|
205
|
+
function i() {
|
|
206
|
+
if (a.value) {
|
|
206
207
|
const {
|
|
207
208
|
width: n,
|
|
208
|
-
height:
|
|
209
|
+
height: u,
|
|
209
210
|
x: w,
|
|
210
|
-
y:
|
|
211
|
-
} =
|
|
211
|
+
y: g
|
|
212
|
+
} = a.value.getBoundingClientRect(), E = M.getTransformInfo(a.value);
|
|
212
213
|
return {
|
|
213
214
|
size: {
|
|
214
215
|
width: n,
|
|
215
|
-
height:
|
|
216
|
+
height: u
|
|
216
217
|
},
|
|
217
218
|
position: {
|
|
218
|
-
x: w -
|
|
219
|
-
y:
|
|
219
|
+
x: w - E.x,
|
|
220
|
+
y: g - E.y
|
|
220
221
|
}
|
|
221
222
|
};
|
|
222
223
|
}
|
|
223
224
|
return null;
|
|
224
225
|
}
|
|
225
|
-
function
|
|
226
|
-
if (
|
|
227
|
-
const
|
|
228
|
-
|
|
226
|
+
function m(n) {
|
|
227
|
+
if (a.value) {
|
|
228
|
+
const u = i();
|
|
229
|
+
k.value = u;
|
|
229
230
|
}
|
|
230
|
-
|
|
231
|
+
b.value = void 0, f.value = null, d.value = null, r.value = null, c.value = null, v.value = null, z.value = null, document.removeEventListener("mousemove", N), document.removeEventListener("mouseup", m);
|
|
231
232
|
}
|
|
232
|
-
function
|
|
233
|
-
document.addEventListener("mousemove",
|
|
233
|
+
function H() {
|
|
234
|
+
document.addEventListener("mousemove", N), document.addEventListener("mouseup", m);
|
|
234
235
|
}
|
|
235
|
-
function
|
|
236
|
-
n instanceof MouseEvent && n.button === 2 || I.value && (n.stopPropagation(), n.preventDefault(),
|
|
236
|
+
function B(n) {
|
|
237
|
+
n instanceof MouseEvent && n.button === 2 || I.value && (n.stopPropagation(), n.preventDefault(), b.value = M.fromEvent(n), z.value = n.target, y(n), H());
|
|
237
238
|
}
|
|
238
|
-
function
|
|
239
|
-
return
|
|
240
|
-
class: "
|
|
239
|
+
function T(n) {
|
|
240
|
+
return a.value = n, h(Me, null, [h("div", {
|
|
241
|
+
class: "fv-resizable-handle fv-resizable-n",
|
|
241
242
|
type: "n",
|
|
242
|
-
onMousedown: (
|
|
243
|
+
onMousedown: (u) => B(u)
|
|
243
244
|
}, null), h("div", {
|
|
244
|
-
class: "
|
|
245
|
+
class: "fv-resizable-handle fv-resizable-e",
|
|
245
246
|
type: "e",
|
|
246
|
-
onMousedown: (
|
|
247
|
+
onMousedown: (u) => B(u)
|
|
247
248
|
}, null), h("div", {
|
|
248
|
-
class: "
|
|
249
|
+
class: "fv-resizable-handle fv-resizable-s",
|
|
249
250
|
type: "s",
|
|
250
|
-
onMousedown: (
|
|
251
|
+
onMousedown: (u) => B(u)
|
|
251
252
|
}, null), h("div", {
|
|
252
|
-
class: "
|
|
253
|
+
class: "fv-resizable-handle fv-resizable-w",
|
|
253
254
|
type: "w",
|
|
254
|
-
onMousedown: (
|
|
255
|
+
onMousedown: (u) => B(u)
|
|
255
256
|
}, null), h("div", {
|
|
256
|
-
class: "
|
|
257
|
+
class: "fv-resizable-handle fv-resizable-ne",
|
|
257
258
|
type: "ne",
|
|
258
|
-
onMousedown: (
|
|
259
|
+
onMousedown: (u) => B(u)
|
|
259
260
|
}, null), h("div", {
|
|
260
|
-
class: "
|
|
261
|
+
class: "fv-resizable-handle fv-resizable-se fv-resizable-diagonal",
|
|
261
262
|
type: "se",
|
|
262
|
-
onMousedown: (
|
|
263
|
+
onMousedown: (u) => B(u)
|
|
263
264
|
}, null), h("div", {
|
|
264
|
-
class: "
|
|
265
|
+
class: "fv-resizable-handle fv-resizable-sw",
|
|
265
266
|
type: "sw",
|
|
266
|
-
onMousedown: (
|
|
267
|
+
onMousedown: (u) => B(u)
|
|
267
268
|
}, null), h("div", {
|
|
268
|
-
class: "
|
|
269
|
+
class: "fv-resizable-handle fv-resizable-nw",
|
|
269
270
|
type: "nw",
|
|
270
|
-
onMousedown: (
|
|
271
|
+
onMousedown: (u) => B(u)
|
|
271
272
|
}, null)]);
|
|
272
273
|
}
|
|
273
|
-
function
|
|
274
|
-
const
|
|
275
|
-
n && (
|
|
276
|
-
size:
|
|
274
|
+
function F(n = !0) {
|
|
275
|
+
const u = s.value || document.body, w = D.getCurrent(u), g = a.value;
|
|
276
|
+
n && (R.value = i(), R.value.transform = g.style.transform), w && g && (r.value = w, g.style.height = r.value.height - 14 + "px", g.style.width = r.value.width - 14 + "px", g.style.left = "7px", g.style.top = "7px", g.style.transform = "", k.value = {
|
|
277
|
+
size: r.value,
|
|
277
278
|
position: {
|
|
278
279
|
x: 0,
|
|
279
280
|
y: 0
|
|
280
281
|
}
|
|
281
282
|
}, I.value = !1, O.value = !0);
|
|
282
283
|
}
|
|
283
|
-
function
|
|
284
|
-
var n,
|
|
285
|
-
if (
|
|
284
|
+
function K() {
|
|
285
|
+
var n, u;
|
|
286
|
+
if (R.value) {
|
|
286
287
|
const w = {
|
|
287
|
-
width:
|
|
288
|
-
height:
|
|
289
|
-
},
|
|
288
|
+
width: R.value.size.width || 0,
|
|
289
|
+
height: R.value.size.height || 0
|
|
290
|
+
}, g = {
|
|
290
291
|
x: (window.innerWidth - w.width) / 2,
|
|
291
292
|
y: (window.innerHeight - w.height) / 2
|
|
292
293
|
};
|
|
293
|
-
(n =
|
|
294
|
-
const
|
|
295
|
-
|
|
294
|
+
(n = r.value) == null || n.set(w), (u = c.value) == null || u.set(g);
|
|
295
|
+
const E = a.value;
|
|
296
|
+
E.style.height = w.height + "px", E.style.width = w.width + "px", E.style.left = `${g.x}px`, E.style.top = `${g.y}px`, E.style.transform = "", k.value = {
|
|
296
297
|
size: w,
|
|
297
|
-
position:
|
|
298
|
+
position: g
|
|
298
299
|
}, I.value = t.draggable, O.value = !1;
|
|
299
300
|
}
|
|
300
301
|
}
|
|
301
|
-
function
|
|
302
|
-
if (
|
|
303
|
-
const n =
|
|
302
|
+
function q() {
|
|
303
|
+
if (a.value) {
|
|
304
|
+
const n = D.getCurrent(a.value);
|
|
304
305
|
if (n) {
|
|
305
306
|
const {
|
|
306
|
-
width:
|
|
307
|
+
width: u,
|
|
307
308
|
height: w
|
|
308
309
|
} = n;
|
|
309
|
-
|
|
310
|
+
a.value.style.left = `${(window.innerWidth - u) / 2}px`, a.value.style.top = `${(window.innerHeight - w) / 2}px`, a.value.style.transform = "";
|
|
310
311
|
}
|
|
311
312
|
}
|
|
312
313
|
}
|
|
313
|
-
function
|
|
314
|
+
function J() {
|
|
314
315
|
const n = () => {
|
|
315
|
-
O.value ?
|
|
316
|
+
O.value ? F(!1) : q();
|
|
316
317
|
};
|
|
317
318
|
return window.addEventListener("resize", n), () => {
|
|
318
319
|
window.removeEventListener("resize", n);
|
|
319
320
|
};
|
|
320
321
|
}
|
|
321
|
-
const A =
|
|
322
|
+
const A = J();
|
|
322
323
|
return {
|
|
323
|
-
renderResizeBar:
|
|
324
|
-
boundingElement:
|
|
325
|
-
resizedEventParam:
|
|
326
|
-
maximize:
|
|
327
|
-
restore:
|
|
324
|
+
renderResizeBar: T,
|
|
325
|
+
boundingElement: s,
|
|
326
|
+
resizedEventParam: k,
|
|
327
|
+
maximize: F,
|
|
328
|
+
restore: K,
|
|
328
329
|
allowDrag: I,
|
|
329
330
|
isMaximized: O,
|
|
330
331
|
unWindowResizeHandle: A
|
|
331
332
|
};
|
|
332
333
|
}
|
|
333
|
-
function
|
|
334
|
-
const
|
|
335
|
-
|
|
336
|
-
|
|
334
|
+
function Pe(t, e, a) {
|
|
335
|
+
const s = o(), b = o(t.draggable), f = o(t.lockAxis), d = o(), r = o(), c = o(!1), v = o(new M(0, 0)), z = o(new M(0, 0)), C = o(new M(0, 0)), k = o(new M(0, 0));
|
|
336
|
+
X(() => a.value, (i) => {
|
|
337
|
+
d.value.style.cursor = i ? "move" : "default";
|
|
338
|
+
});
|
|
339
|
+
function R(i, m) {
|
|
340
|
+
if (m.tagName === "BUTTON")
|
|
337
341
|
return !1;
|
|
338
|
-
if (
|
|
342
|
+
if (m === i)
|
|
339
343
|
return !0;
|
|
340
|
-
for (const
|
|
341
|
-
if (
|
|
344
|
+
for (const H in m.children)
|
|
345
|
+
if (m.children.hasOwnProperty(H) && R(i, m.children[H]))
|
|
342
346
|
return !0;
|
|
343
347
|
return !1;
|
|
344
348
|
}
|
|
345
|
-
function B() {
|
|
346
|
-
var P, R;
|
|
347
|
-
let c = p.value.x + v.value.x, f = p.value.y + v.value.y;
|
|
348
|
-
x.value === "x" ? (c = ((P = d.value) == null ? void 0 : P.x) || 0, p.value.x = 0) : x.value === "y" && (f = ((R = d.value) == null ? void 0 : R.y) || 0, p.value.y = 0);
|
|
349
|
-
const E = `translate3d(${Math.round(c)}px, ${Math.round(f)}px, 0px)`;
|
|
350
|
-
l.value && (l.value.style.transform = E), T.value.x = c, T.value.y = f;
|
|
351
|
-
}
|
|
352
349
|
function I() {
|
|
353
|
-
|
|
350
|
+
var B, T;
|
|
351
|
+
let i = C.value.x + z.value.x, m = C.value.y + z.value.y;
|
|
352
|
+
f.value === "x" ? (i = ((B = v.value) == null ? void 0 : B.x) || 0, C.value.x = 0) : f.value === "y" && (m = ((T = v.value) == null ? void 0 : T.y) || 0, C.value.y = 0);
|
|
353
|
+
const H = `translate3d(${Math.round(i)}px, ${Math.round(m)}px, 0px)`;
|
|
354
|
+
s.value && (s.value.style.transform = H), k.value.x = i, k.value.y = m;
|
|
355
|
+
}
|
|
356
|
+
function O() {
|
|
357
|
+
if (!r.value || !s.value)
|
|
354
358
|
return null;
|
|
355
|
-
const
|
|
356
|
-
top:
|
|
357
|
-
right:
|
|
358
|
-
bottom:
|
|
359
|
-
left:
|
|
359
|
+
const i = r.value.getBoundingClientRect(), m = s.value.getBoundingClientRect(), H = {
|
|
360
|
+
top: i.top < m.top,
|
|
361
|
+
right: i.right > m.right,
|
|
362
|
+
bottom: i.bottom > m.bottom,
|
|
363
|
+
left: i.left < m.left
|
|
360
364
|
};
|
|
361
|
-
return
|
|
365
|
+
return H.top || (C.value.y -= m.top - i.top), H.bottom || (C.value.y -= m.bottom - i.bottom), H.right || (C.value.x -= m.right - i.right), H.left || (C.value.x -= m.left - i.left), I(), H;
|
|
362
366
|
}
|
|
363
|
-
function
|
|
364
|
-
|
|
367
|
+
function S(i) {
|
|
368
|
+
i && (v.value && i.subtract(v.value), C.value.set(i), I(), O());
|
|
365
369
|
}
|
|
366
|
-
function
|
|
367
|
-
|
|
370
|
+
function y(i) {
|
|
371
|
+
c.value && b.value && (i.stopPropagation(), i.preventDefault(), S(M.fromEvent(i, d.value)));
|
|
368
372
|
}
|
|
369
|
-
function
|
|
370
|
-
var
|
|
371
|
-
|
|
373
|
+
function p() {
|
|
374
|
+
var i;
|
|
375
|
+
c.value && (c.value = !1, z.value.add(C.value), C.value.reset(), (i = s.value) == null || i.classList.remove("ng-dragging"), document.removeEventListener("mousemove", y), document.removeEventListener("mouseup", p));
|
|
372
376
|
}
|
|
373
|
-
function
|
|
374
|
-
!
|
|
377
|
+
function P() {
|
|
378
|
+
!c.value && d.value && (c.value = !0, d.value.classList.add("ng-dragging"), document.addEventListener("mousemove", y), document.addEventListener("mouseup", p));
|
|
375
379
|
}
|
|
376
|
-
function
|
|
377
|
-
if (
|
|
378
|
-
const
|
|
379
|
-
|
|
380
|
+
function j() {
|
|
381
|
+
if (s.value) {
|
|
382
|
+
const i = M.getTransformInfo(s.value);
|
|
383
|
+
z.value.set(i);
|
|
380
384
|
return;
|
|
381
385
|
}
|
|
382
|
-
|
|
386
|
+
z.value.reset();
|
|
383
387
|
}
|
|
384
|
-
function
|
|
385
|
-
if (
|
|
388
|
+
function V(i) {
|
|
389
|
+
if (!a.value || i instanceof MouseEvent && i.button === 2)
|
|
386
390
|
return;
|
|
387
|
-
const
|
|
388
|
-
|
|
389
|
-
}
|
|
390
|
-
function
|
|
391
|
-
if (
|
|
392
|
-
if (
|
|
391
|
+
const m = i.target || i.srcElement;
|
|
392
|
+
d.value !== void 0 && m && !R(m, d.value) || b.value !== !1 && (document.body.click(), i.stopPropagation(), i.preventDefault(), v.value = M.fromEvent(i, s.value), j(), P());
|
|
393
|
+
}
|
|
394
|
+
function N(i, m, H) {
|
|
395
|
+
if (b.value && m) {
|
|
396
|
+
if (i)
|
|
397
|
+
d.value = i;
|
|
398
|
+
else if (t.dragHandle) {
|
|
393
399
|
if (t.dragHandle instanceof HTMLElement)
|
|
394
|
-
|
|
400
|
+
d.value = t.dragHandle;
|
|
395
401
|
else if (typeof t.dragHandle == "string") {
|
|
396
|
-
const
|
|
397
|
-
|
|
402
|
+
const B = m.querySelector(t.dragHandle);
|
|
403
|
+
B && (d.value = B);
|
|
398
404
|
}
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
l.value = f, g.value = E, r.value.classList.add("ng-draggable"), r.value.addEventListener("mousedown", F);
|
|
405
|
+
}
|
|
406
|
+
s.value = m, r.value = H, d.value.classList.add("ng-draggable"), d.value.addEventListener("mousedown", V);
|
|
402
407
|
}
|
|
403
408
|
}
|
|
404
409
|
return {
|
|
405
|
-
registerDraggle:
|
|
406
|
-
resetTranslate:
|
|
410
|
+
registerDraggle: N,
|
|
411
|
+
resetTranslate: j
|
|
407
412
|
};
|
|
408
413
|
}
|
|
409
|
-
function
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
414
|
+
function ae(t, e) {
|
|
415
|
+
if (t) {
|
|
416
|
+
const a = (s) => {
|
|
417
|
+
s.key.toLowerCase() === t.toLowerCase() && e({ event: s, key: t });
|
|
418
|
+
};
|
|
419
|
+
return document.addEventListener("keydown", a), () => {
|
|
420
|
+
document.removeEventListener("keydown", a);
|
|
421
|
+
};
|
|
413
422
|
}
|
|
414
|
-
l.value && document.addEventListener("keydown", u);
|
|
415
423
|
}
|
|
416
|
-
|
|
424
|
+
function je(t, e) {
|
|
425
|
+
const a = o(t.enableEsc);
|
|
426
|
+
let s = null;
|
|
427
|
+
return a.value ? (s = ae("Escape", (b) => {
|
|
428
|
+
e.emit("esc", { event: b.event, type: "esc" });
|
|
429
|
+
}), {
|
|
430
|
+
remove: s
|
|
431
|
+
}) : null;
|
|
432
|
+
}
|
|
433
|
+
function Ve(t, e) {
|
|
434
|
+
const a = o(t.enableEnter);
|
|
435
|
+
let s = null;
|
|
436
|
+
return a.value ? (s = ae("Enter", (b) => {
|
|
437
|
+
e.emit("enter", { event: b.event, type: "enter" });
|
|
438
|
+
}), {
|
|
439
|
+
remove: s
|
|
440
|
+
}) : null;
|
|
441
|
+
}
|
|
442
|
+
const $ = /* @__PURE__ */ ze({
|
|
417
443
|
name: "FModal",
|
|
418
|
-
props:
|
|
419
|
-
emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc"],
|
|
444
|
+
props: Oe,
|
|
445
|
+
emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter"],
|
|
420
446
|
setup(t, e) {
|
|
421
|
-
const
|
|
422
|
-
function V(
|
|
423
|
-
|
|
447
|
+
const a = o(t.width || 300), s = o(t.height || 200), b = o(t.modelValue), f = o(""), d = o(t.class), r = o(t.fitContent), c = o(t.showHeader), v = o(""), z = o(t.showCloseButton), C = o(t.showMaxButton), k = o(!1), R = o(""), I = o(""), O = o(""), S = o(t.showButtons), y = o(t.title), p = o(t.reiszeable), P = o(t.containment || null), j = o();
|
|
448
|
+
function V(l, x) {
|
|
449
|
+
b.value = !1, e.emit("update:modelValue", !1), x != null && e.emit(x ? "accept" : "cancel"), e.emit("closed", l);
|
|
424
450
|
}
|
|
425
|
-
const
|
|
451
|
+
const N = [{
|
|
426
452
|
name: "cancel",
|
|
427
453
|
text: "取消",
|
|
428
|
-
class: "btn btn-
|
|
429
|
-
handle: (
|
|
430
|
-
V(
|
|
454
|
+
class: "btn btn-secondary",
|
|
455
|
+
handle: (l) => {
|
|
456
|
+
V(l, !1);
|
|
431
457
|
}
|
|
432
458
|
}, {
|
|
433
459
|
name: "accept",
|
|
434
460
|
text: "确定",
|
|
435
461
|
class: "btn btn-primary",
|
|
436
|
-
handle: (
|
|
437
|
-
V(
|
|
462
|
+
handle: (l) => {
|
|
463
|
+
V(l, !0);
|
|
438
464
|
}
|
|
439
|
-
}],
|
|
440
|
-
renderResizeBar:
|
|
441
|
-
maximize:
|
|
442
|
-
restore:
|
|
465
|
+
}], i = o(t.buttons && t.buttons.length ? t.buttons : N), m = L(() => !!v.value), H = L(() => !!S.value && !!i.value), B = o(), T = o(), F = o(!1), {
|
|
466
|
+
renderResizeBar: K,
|
|
467
|
+
maximize: q,
|
|
468
|
+
restore: J,
|
|
443
469
|
boundingElement: A,
|
|
444
470
|
resizedEventParam: n,
|
|
445
|
-
allowDrag:
|
|
471
|
+
allowDrag: u,
|
|
446
472
|
unWindowResizeHandle: w
|
|
447
|
-
} =
|
|
448
|
-
registerDraggle:
|
|
449
|
-
} =
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
}),
|
|
453
|
-
|
|
454
|
-
}),
|
|
455
|
-
|
|
456
|
-
}),
|
|
457
|
-
|
|
458
|
-
}),
|
|
459
|
-
const
|
|
460
|
-
JSON.stringify(
|
|
461
|
-
newSize:
|
|
462
|
-
oldSize:
|
|
473
|
+
} = Se(t), {
|
|
474
|
+
registerDraggle: g
|
|
475
|
+
} = Pe(t, e, u);
|
|
476
|
+
X(() => t.title, (l, x) => {
|
|
477
|
+
l !== x && (y.value = l);
|
|
478
|
+
}), X(() => t.modelValue, (l, x) => {
|
|
479
|
+
l !== x && (b.value = l);
|
|
480
|
+
}), X(() => t.showHeader, (l, x) => {
|
|
481
|
+
l !== x && (c.value = l);
|
|
482
|
+
}), X(() => t.showButtons, (l, x) => {
|
|
483
|
+
l !== x && (S.value = l);
|
|
484
|
+
}), X(() => n.value, (l, x) => {
|
|
485
|
+
const Y = l || {}, U = x || {};
|
|
486
|
+
JSON.stringify(Y) !== JSON.stringify(U) && e.emit("resize", {
|
|
487
|
+
newSize: l,
|
|
488
|
+
oldSize: x
|
|
463
489
|
});
|
|
464
490
|
});
|
|
465
|
-
function
|
|
466
|
-
const
|
|
467
|
-
(!
|
|
491
|
+
function E() {
|
|
492
|
+
const l = document.querySelectorAll(".farris-modal").length;
|
|
493
|
+
(!l || l - 1 <= 0) && document.body.classList.remove("modal-open"), j.value && j.value.classList.remove("show");
|
|
468
494
|
}
|
|
469
|
-
const _ =
|
|
470
|
-
const
|
|
495
|
+
const _ = L(() => (b.value ? document.body.classList.add("modal-open") : E(), b.value)), oe = L(() => {
|
|
496
|
+
const l = {
|
|
471
497
|
modal: !0,
|
|
472
498
|
"farris-modal": !0,
|
|
473
499
|
fade: !0
|
|
474
500
|
};
|
|
475
|
-
return
|
|
476
|
-
}),
|
|
477
|
-
var
|
|
478
|
-
const
|
|
501
|
+
return l["f-modal-fitContent"] = !!r.value, l.show = !!_.value, l;
|
|
502
|
+
}), se = L(() => {
|
|
503
|
+
var Y;
|
|
504
|
+
const l = {
|
|
479
505
|
"modal-dialog": !0
|
|
480
|
-
},
|
|
481
|
-
return
|
|
482
|
-
}),
|
|
506
|
+
}, x = (Y = d.value) == null ? void 0 : Y.split(" ");
|
|
507
|
+
return x == null || x.reduce((U, xe) => (U[xe] = !0, U), l), l;
|
|
508
|
+
}), ue = L(() => ({
|
|
483
509
|
position: "absolute",
|
|
484
|
-
top: `${(window.innerHeight -
|
|
485
|
-
left: `${(window.innerWidth -
|
|
486
|
-
width: `${
|
|
487
|
-
height:
|
|
488
|
-
})),
|
|
510
|
+
top: `${(window.innerHeight - s.value) / 2}px`,
|
|
511
|
+
left: `${(window.innerWidth - a.value) / 2}px`,
|
|
512
|
+
width: `${a.value}px`,
|
|
513
|
+
height: r.value ? "auto" : `${s.value}px`
|
|
514
|
+
})), ie = L(() => ({
|
|
489
515
|
"modal-content": !0,
|
|
490
|
-
"modal-content-has-header":
|
|
491
|
-
})),
|
|
492
|
-
const
|
|
493
|
-
display:
|
|
516
|
+
"modal-content-has-header": c.value
|
|
517
|
+
})), re = L(() => {
|
|
518
|
+
const l = {
|
|
519
|
+
display: c.value ? "" : "none"
|
|
494
520
|
};
|
|
495
|
-
return
|
|
496
|
-
}),
|
|
521
|
+
return l["pointer-events"] = u.value ? "auto" : "none", l;
|
|
522
|
+
}), ce = L(() => ({
|
|
497
523
|
"f-icon": !0,
|
|
498
524
|
modal_maximize: !0,
|
|
499
|
-
modalrevert:
|
|
500
|
-
})),
|
|
525
|
+
modalrevert: F.value
|
|
526
|
+
})), de = L(() => ({
|
|
501
527
|
"modal-body": !0,
|
|
502
|
-
"f-utils-flex-column":
|
|
528
|
+
"f-utils-flex-column": R.value === "iframe"
|
|
503
529
|
}));
|
|
504
|
-
function
|
|
530
|
+
function ve() {
|
|
505
531
|
return {};
|
|
506
532
|
}
|
|
507
|
-
const
|
|
508
|
-
const
|
|
533
|
+
const fe = L(() => {
|
|
534
|
+
const l = {
|
|
509
535
|
textAlgin: O.value
|
|
510
|
-
},
|
|
511
|
-
return Object.assign(
|
|
536
|
+
}, x = ve();
|
|
537
|
+
return Object.assign(l, x);
|
|
512
538
|
});
|
|
513
|
-
function
|
|
514
|
-
if (
|
|
515
|
-
|
|
539
|
+
function ee(l) {
|
|
540
|
+
if (l.stopPropagation(), F.value) {
|
|
541
|
+
F.value = !1, J();
|
|
516
542
|
return;
|
|
517
543
|
}
|
|
518
|
-
|
|
544
|
+
q(), F.value = !0;
|
|
519
545
|
}
|
|
520
|
-
async function
|
|
521
|
-
|
|
546
|
+
async function he(l, x) {
|
|
547
|
+
l.handle && await l.handle(x, l) && e.emit("closed", x);
|
|
522
548
|
}
|
|
523
|
-
function
|
|
524
|
-
|
|
549
|
+
function me(l) {
|
|
550
|
+
l.width && (a.value = l.width), l.height && (s.value = l.height), l.buttons && (i.value = l.buttons), l.title && (y.value = l.title);
|
|
525
551
|
}
|
|
526
|
-
Q
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
552
|
+
let G = null, Q = null;
|
|
553
|
+
te(() => {
|
|
554
|
+
T.value && !P.value && (P.value = T.value.parentElement, A.value = P.value, g(B.value, T.value, A.value)), _.value && document.body.classList.add("modal-open"), G = je(t, e), Q = Ve(t, e);
|
|
555
|
+
}), le(() => {
|
|
556
|
+
E(), w && w(), G && G.remove(), Q && Q.remove();
|
|
530
557
|
}), e.expose({
|
|
531
|
-
modalElementRef:
|
|
532
|
-
updateModalOptions:
|
|
533
|
-
close: V
|
|
558
|
+
modalElementRef: T,
|
|
559
|
+
updateModalOptions: me,
|
|
560
|
+
close: V,
|
|
561
|
+
maxDialog: ee
|
|
534
562
|
});
|
|
535
|
-
function
|
|
536
|
-
return h("ul", null, [
|
|
563
|
+
function ge() {
|
|
564
|
+
return h("ul", null, [k.value && h("li", {
|
|
537
565
|
class: "f-btn-icon f-bare"
|
|
538
566
|
}, [h("span", {
|
|
539
567
|
class: "f-icon modal_minimize"
|
|
540
|
-
}, null)]),
|
|
541
|
-
onClick:
|
|
568
|
+
}, null)]), C.value && h("li", {
|
|
569
|
+
onClick: ee,
|
|
542
570
|
class: "f-btn-icon f-bare",
|
|
543
571
|
style: "pointer-events: auto;"
|
|
544
572
|
}, [h("span", {
|
|
545
|
-
class:
|
|
546
|
-
}, null)]),
|
|
573
|
+
class: ce.value
|
|
574
|
+
}, null)]), z.value && h("li", {
|
|
547
575
|
class: "f-btn-icon f-bare",
|
|
548
|
-
onClick: (
|
|
576
|
+
onClick: (l) => V(l, !1),
|
|
549
577
|
style: "pointer-events: auto;"
|
|
550
578
|
}, [h("span", {
|
|
551
579
|
class: "f-icon modal_close"
|
|
552
580
|
}, null)])]);
|
|
553
581
|
}
|
|
554
|
-
function
|
|
582
|
+
function ye() {
|
|
555
583
|
return h("div", {
|
|
556
584
|
class: "modal-footer",
|
|
557
|
-
style:
|
|
558
|
-
}, [
|
|
559
|
-
name:
|
|
585
|
+
style: fe.value
|
|
586
|
+
}, [i.value && i.value.map((l) => h("button", {
|
|
587
|
+
name: l.name,
|
|
560
588
|
type: "button",
|
|
561
|
-
class:
|
|
562
|
-
onClick: (
|
|
563
|
-
|
|
589
|
+
class: l.class + (l.iconClass ? " btn-icontext" : ""),
|
|
590
|
+
onClick: (x) => {
|
|
591
|
+
he(l, x);
|
|
564
592
|
}
|
|
565
|
-
}, [!!
|
|
566
|
-
class:
|
|
567
|
-
}, null),
|
|
593
|
+
}, [!!l.iconClass && h("i", {
|
|
594
|
+
class: l.iconClass
|
|
595
|
+
}, null), l.text]))]);
|
|
568
596
|
}
|
|
569
|
-
|
|
597
|
+
function we() {
|
|
598
|
+
return h("div", {
|
|
599
|
+
ref: B,
|
|
600
|
+
class: "modal-header",
|
|
601
|
+
style: re.value
|
|
602
|
+
}, [h("div", {
|
|
603
|
+
class: "modal-title"
|
|
604
|
+
}, [m.value && h("span", {
|
|
605
|
+
class: v.value,
|
|
606
|
+
style: "margin-right: 8px"
|
|
607
|
+
}, null), h("span", {
|
|
608
|
+
class: "modal-title-label"
|
|
609
|
+
}, [y.value])]), h("div", {
|
|
610
|
+
class: "actions"
|
|
611
|
+
}, [ge()])]);
|
|
612
|
+
}
|
|
613
|
+
function be(l) {
|
|
614
|
+
l.stopPropagation();
|
|
615
|
+
}
|
|
616
|
+
return () => h(Ee, {
|
|
570
617
|
to: "body"
|
|
571
618
|
}, {
|
|
572
|
-
default: () => {
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
title: r.value,
|
|
602
|
-
class: "f-utils-fill",
|
|
603
|
-
width: "100%",
|
|
604
|
-
frameborder: "0",
|
|
605
|
-
src: I.value
|
|
606
|
-
}, null)]), P.value && he()]), !i.value && C.value && j.value && q(j.value)])])];
|
|
607
|
-
}
|
|
619
|
+
default: () => [_.value && h(Be, {
|
|
620
|
+
name: "fade",
|
|
621
|
+
appear: !0
|
|
622
|
+
}, {
|
|
623
|
+
default: () => {
|
|
624
|
+
var l, x;
|
|
625
|
+
return [h("div", {
|
|
626
|
+
class: oe.value,
|
|
627
|
+
style: "display: block",
|
|
628
|
+
ref: j,
|
|
629
|
+
onClick: be
|
|
630
|
+
}, [h("div", {
|
|
631
|
+
id: f.value,
|
|
632
|
+
class: se.value,
|
|
633
|
+
style: ue.value,
|
|
634
|
+
ref: T
|
|
635
|
+
}, [h("div", {
|
|
636
|
+
class: ie.value
|
|
637
|
+
}, [c.value && we(), h("div", {
|
|
638
|
+
class: de.value
|
|
639
|
+
}, [(x = (l = e.slots).default) == null ? void 0 : x.call(l), R.value === "iframe" && h("iframe", {
|
|
640
|
+
title: f.value,
|
|
641
|
+
class: "f-utils-fill",
|
|
642
|
+
width: "100%",
|
|
643
|
+
frameborder: "0",
|
|
644
|
+
src: I.value
|
|
645
|
+
}, null)]), H.value && ye()]), !r.value && p.value && T.value && K(T.value)])])];
|
|
646
|
+
}
|
|
647
|
+
})]
|
|
608
648
|
});
|
|
609
649
|
}
|
|
610
650
|
});
|
|
611
|
-
function
|
|
651
|
+
function ne(t) {
|
|
612
652
|
if (t.content && t.content.render)
|
|
613
653
|
return t.content.render;
|
|
614
654
|
if (t.render && typeof t.render == "function")
|
|
615
655
|
return t.render;
|
|
616
656
|
}
|
|
617
|
-
function
|
|
657
|
+
function Fe(t) {
|
|
618
658
|
const e = document.createElement("div");
|
|
619
659
|
e.style.display = "contents";
|
|
620
|
-
const
|
|
621
|
-
setup(
|
|
622
|
-
|
|
660
|
+
const a = Re({
|
|
661
|
+
setup(s, b) {
|
|
662
|
+
le(() => {
|
|
623
663
|
document.body.removeChild(e);
|
|
624
664
|
});
|
|
625
|
-
const
|
|
626
|
-
}),
|
|
627
|
-
}), I = t.closedCallback || ((
|
|
628
|
-
}), O = t.resizeHandle || ((
|
|
629
|
-
}), S =
|
|
630
|
-
|
|
665
|
+
const f = o(), d = o(t.class || ""), r = o(!!t.showButtons), c = o(!!t.showHeader), v = o(t.showCloseButton == null ? !0 : t.showCloseButton), z = o(!0), C = o(t.title || ""), k = t.acceptCallback || (() => {
|
|
666
|
+
}), R = t.rejectCallback || (() => {
|
|
667
|
+
}), I = t.closedCallback || ((p) => {
|
|
668
|
+
}), O = t.resizeHandle || ((p) => {
|
|
669
|
+
}), S = ne(t), y = (p) => {
|
|
670
|
+
z.value = !1, a.unmount(), I(p);
|
|
631
671
|
};
|
|
632
|
-
return
|
|
633
|
-
}),
|
|
634
|
-
modalRef:
|
|
672
|
+
return te(() => {
|
|
673
|
+
}), b.expose({
|
|
674
|
+
modalRef: f
|
|
635
675
|
}), () => h($, {
|
|
636
|
-
ref:
|
|
637
|
-
class:
|
|
638
|
-
modelValue:
|
|
639
|
-
"onUpdate:modelValue": (
|
|
640
|
-
title:
|
|
676
|
+
ref: f,
|
|
677
|
+
class: d.value,
|
|
678
|
+
modelValue: z.value,
|
|
679
|
+
"onUpdate:modelValue": (p) => z.value = p,
|
|
680
|
+
title: C.value,
|
|
641
681
|
width: t.width,
|
|
642
682
|
height: t.height,
|
|
643
683
|
buttons: t.buttons,
|
|
644
|
-
"show-header":
|
|
645
|
-
"show-buttons":
|
|
684
|
+
"show-header": c.value,
|
|
685
|
+
"show-buttons": r.value,
|
|
646
686
|
"show-close-button": v.value,
|
|
647
687
|
"show-max-button": !1,
|
|
648
|
-
onAccept:
|
|
649
|
-
onCancel:
|
|
688
|
+
onAccept: k,
|
|
689
|
+
onCancel: R,
|
|
650
690
|
fitContent: t.fitContent == null ? !0 : t.fitContent,
|
|
651
691
|
onClosed: y,
|
|
652
692
|
onResize: O
|
|
653
693
|
}, {
|
|
654
|
-
default: () => [S && S(
|
|
694
|
+
default: () => [S && S(a)]
|
|
655
695
|
});
|
|
656
696
|
}
|
|
657
697
|
});
|
|
658
|
-
return document.body.appendChild(e),
|
|
698
|
+
return document.body.appendChild(e), a.mount(e), a;
|
|
659
699
|
}
|
|
660
|
-
class
|
|
700
|
+
class We {
|
|
661
701
|
constructor(e) {
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
702
|
+
W(this, "appContext", null);
|
|
703
|
+
W(this, "modalRef", o());
|
|
704
|
+
W(this, "activeModalIndex", o(0));
|
|
705
|
+
W(this, "modalRefs", {});
|
|
706
|
+
W(this, "isUseEscCloseModal", o(!1));
|
|
707
|
+
W(this, "activeModalInstance", L(() => this.modalRefs[this.activeModalIndex.value]));
|
|
668
708
|
this.appContext = e ? e._context : null;
|
|
669
709
|
}
|
|
670
710
|
getCurrentModal() {
|
|
671
711
|
return this.activeModalInstance.value;
|
|
672
712
|
}
|
|
673
713
|
static show(e) {
|
|
674
|
-
const
|
|
714
|
+
const a = Object.assign({
|
|
675
715
|
title: "",
|
|
676
716
|
showButtons: !0,
|
|
677
717
|
showHeader: !0
|
|
678
718
|
}, e);
|
|
679
|
-
return
|
|
719
|
+
return Fe(a);
|
|
680
720
|
}
|
|
681
721
|
open(e) {
|
|
682
|
-
const
|
|
722
|
+
const a = document.createDocumentFragment();
|
|
683
723
|
e.showMaxButton && e.fitContent && (e.showMaxButton = !1);
|
|
684
|
-
const
|
|
724
|
+
const s = He(Object.assign({
|
|
685
725
|
title: "",
|
|
686
726
|
showButtons: !0,
|
|
687
727
|
showHeader: !0
|
|
688
|
-
}, e)),
|
|
689
|
-
}),
|
|
690
|
-
}),
|
|
691
|
-
}),
|
|
728
|
+
}, e)), b = o(!0), f = s.value.acceptCallback || (() => {
|
|
729
|
+
}), d = s.value.rejectCallback || (() => {
|
|
730
|
+
}), r = s.value.closedCallback || ((y, p) => {
|
|
731
|
+
}), c = s.value.resizeHandle || ((y) => {
|
|
692
732
|
});
|
|
693
733
|
let v;
|
|
694
|
-
const
|
|
695
|
-
var
|
|
696
|
-
|
|
697
|
-
const
|
|
698
|
-
|
|
699
|
-
},
|
|
700
|
-
|
|
701
|
-
if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value],
|
|
702
|
-
const
|
|
703
|
-
|
|
734
|
+
const z = ne(s.value), C = (y) => {
|
|
735
|
+
var P;
|
|
736
|
+
b.value = !1;
|
|
737
|
+
const p = (P = y == null ? void 0 : y.target) == null ? void 0 : P.classList.contains("modal_close");
|
|
738
|
+
r(y, this.isUseEscCloseModal.value ? "esc" : p ? "icon" : "button");
|
|
739
|
+
}, k = (y) => {
|
|
740
|
+
C(y), v && ke(() => {
|
|
741
|
+
if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], Z(null, a), v = null, this.modalRef.value = null, this.modalRefs) {
|
|
742
|
+
const p = Object.keys(this.modalRefs);
|
|
743
|
+
p.length > 0 ? this.activeModalIndex.value = Math.max(...p) : this.activeModalIndex.value = 0;
|
|
704
744
|
}
|
|
705
745
|
this.isUseEscCloseModal.value = !1;
|
|
706
746
|
});
|
|
707
|
-
},
|
|
708
|
-
var
|
|
709
|
-
this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((
|
|
710
|
-
}, I = () => h($,
|
|
747
|
+
}, R = (y) => {
|
|
748
|
+
var p;
|
|
749
|
+
this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((p = this.activeModalInstance.value) == null || p.close(y == null ? void 0 : y.event));
|
|
750
|
+
}, I = () => h($, Le({
|
|
711
751
|
ref: this.modalRef,
|
|
712
|
-
modelValue:
|
|
713
|
-
"onUpdate:modelValue": (y) =>
|
|
714
|
-
},
|
|
715
|
-
onAccept:
|
|
716
|
-
onCancel:
|
|
717
|
-
onClosed:
|
|
718
|
-
onResize:
|
|
719
|
-
onEsc:
|
|
752
|
+
modelValue: b.value,
|
|
753
|
+
"onUpdate:modelValue": (y) => b.value = y
|
|
754
|
+
}, s.value, {
|
|
755
|
+
onAccept: f,
|
|
756
|
+
onCancel: d,
|
|
757
|
+
onClosed: k,
|
|
758
|
+
onResize: c,
|
|
759
|
+
onEsc: R
|
|
720
760
|
}), {
|
|
721
|
-
default: () => [
|
|
761
|
+
default: () => [z && z()]
|
|
722
762
|
});
|
|
723
763
|
return v = ((y) => {
|
|
724
|
-
const
|
|
725
|
-
return
|
|
764
|
+
const p = Ie(I, y);
|
|
765
|
+
return p.appContext = this.appContext, Z(p, a), p;
|
|
726
766
|
})({
|
|
727
|
-
...
|
|
767
|
+
...s.value
|
|
728
768
|
// 'onUpdate:modelValue': onUpdateModelValue,
|
|
729
769
|
}), this.activeModalIndex.value++, this.modalRefs[this.activeModalIndex.value] = this.modalRef.value, {
|
|
730
770
|
update: (y) => {
|
|
731
|
-
|
|
732
|
-
...
|
|
771
|
+
s.value = {
|
|
772
|
+
...s.value,
|
|
733
773
|
...y
|
|
734
|
-
}, v &&
|
|
735
|
-
...
|
|
736
|
-
}),
|
|
774
|
+
}, v && Z(Te(v, {
|
|
775
|
+
...s
|
|
776
|
+
}), a);
|
|
737
777
|
},
|
|
738
|
-
destroy:
|
|
778
|
+
destroy: k,
|
|
739
779
|
modalRef: this.activeModalInstance
|
|
740
780
|
};
|
|
741
781
|
}
|
|
742
782
|
}
|
|
743
|
-
const
|
|
783
|
+
const De = Symbol("FModalService"), Ye = {
|
|
744
784
|
install(t) {
|
|
745
785
|
t.component($.name, $);
|
|
746
|
-
const e = new
|
|
747
|
-
t.provide(
|
|
786
|
+
const e = new We(t);
|
|
787
|
+
t.provide(De, e), t.provide("FModalService", e);
|
|
748
788
|
}
|
|
749
789
|
};
|
|
750
790
|
export {
|
|
751
791
|
$ as FModal,
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
792
|
+
We as FModalService,
|
|
793
|
+
De as F_MODAL_SERVICE_TOKEN,
|
|
794
|
+
Ye as default,
|
|
795
|
+
Oe as modalProps
|
|
756
796
|
};
|