hlrender 0.0.211 → 0.0.212
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/{_pdf-950315c8.js → _pdf-dd9d617f.js} +6 -6
- package/{_txt-286f46b9.js → _txt-a21fde72.js} +6 -6
- package/{_unsupport-746c0af7.js → _unsupport-dd3bf962.js} +1 -1
- package/{affix-widget-fcbcc191.js → affix-widget-f8f25731.js} +16 -16
- package/{alert-widget-bec0b7ad.js → alert-widget-0d6d49f3.js} +16 -16
- package/{anchor-widget-a8a6a548.js → anchor-widget-5c93d87b.js} +13 -13
- package/{auto-complete-widget-29502ed4.js → auto-complete-widget-756d0ee0.js} +16 -16
- package/{avatar-widget-9a0c930d.js → avatar-widget-edf9d793.js} +16 -16
- package/{backtop-widget-3699e512.js → backtop-widget-caaee5a8.js} +16 -16
- package/{badge-widget-df5d1c8f.js → badge-widget-6ded4262.js} +16 -16
- package/{barcode-widget-a86f7b66.js → barcode-widget-4daf99cb.js} +13 -13
- package/{baseImp-052ca3fa.js → baseImp-4ce51cd6.js} +373 -373
- package/{breadcrumb-widget-c4ce91d9.js → breadcrumb-widget-3a21bbc0.js} +13 -13
- package/{button-widget-bb317885.js → button-widget-bafae460.js} +16 -16
- package/{cache-widget-4b4e7ba7.js → cache-widget-d2162d8e.js} +15 -15
- package/{card-widget-a6262a85.js → card-widget-dbe4484f.js} +14 -14
- package/{carousel-widget-419120ff.js → carousel-widget-1e8b0031.js} +14 -14
- package/{cascader-widget-cf37c7fc.js → cascader-widget-b4fe431f.js} +15 -15
- package/{chart-widget-1fd2a719.js → chart-widget-6ed9ba27.js} +13 -13
- package/{checkbox-widget-7fa1e175.js → checkbox-widget-420ff097.js} +15 -15
- package/{collapse-widget-891eba0d.js → collapse-widget-6549d618.js} +14 -14
- package/{color-picker-widget-ba1c06ef.js → color-picker-widget-d28504f6.js} +15 -15
- package/{cont-cell-widget-d7d8773a.js → cont-cell-widget-999f8900.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-4b86dd97.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-6e738075.js} +5 -5
- package/{cont-widget-068f3bee.js → cont-widget-c6f6d2c2.js} +5 -5
- package/{content-wrapper-85d33270.js → content-wrapper-a0db733f.js} +7 -7
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-bc3a21dd.js → content-wrapper.vue_vue_type_script_setup_true_lang-23faa105.js} +3 -3
- package/{date-picker-range-widget-3cb108d3.js → date-picker-range-widget-954535f4.js} +15 -15
- package/{date-picker-widget-2be721eb.js → date-picker-widget-9f0893f8.js} +15 -15
- package/default-slot-widget-d0992d9b.js +26 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-32b9457b.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-36c801b7.js} +7 -7
- package/{descriptions-widget-141ad132.js → descriptions-widget-2bc55e0d.js} +14 -14
- package/{dialog-1518e61e.js → dialog-353b521c.js} +2 -2
- package/{dialog-widget-40258e62.js → dialog-widget-8af12479.js} +15 -15
- package/{divider-widget-fe54488a.js → divider-widget-f7bd53ee.js} +16 -16
- package/{drag-wrapper-524118f0.js → drag-wrapper-bdad156a.js} +6 -6
- package/{drawer-widget-f1300e07.js → drawer-widget-140100a7.js} +15 -15
- package/{dropdown-widget-8e4b8c90.js → dropdown-widget-b375b8fc.js} +14 -14
- package/{empty-widget-6013a4b5.js → empty-widget-51e29154.js} +16 -16
- package/{enum-type-ab0bcdca.js → enum-type-532cf144.js} +1 -1
- package/{enum-type-cbb32b79.js → enum-type-c9764247.js} +2 -1
- package/{expression-c75e887a.js → expression-e70c07f4.js} +2 -2
- package/feedback-widget-fa10304d.js +26 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-9ca69dfd.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-b9bd0500.js} +5 -5
- package/{fieldobj-5b1575ea.js → fieldobj-efecd1a3.js} +1 -1
- package/{file-upload-widget-fa50c91d.js → file-upload-widget-db1b2a41.js} +20 -20
- package/{form-item-wrapper-c7b3d474.js → form-item-wrapper-3063f304.js} +11 -11
- package/{form-widget-a691a694.js → form-widget-ec09001b.js} +10 -10
- package/{grid-col-widget-82889b19.js → grid-col-widget-2158349f.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-219973ab.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-400c74e2.js} +5 -5
- package/{grid-widget-781cb805.js → grid-widget-adb0e7b2.js} +5 -5
- package/{html-text-widget-230433cd.js → html-text-widget-c3758395.js} +14 -14
- package/{icon-widget-ca269bd0.js → icon-widget-e1265c7f.js} +13 -13
- package/{iframe-widget-42bd4a40.js → iframe-widget-81668a81.js} +13 -13
- package/{image-widget-5d3e3745.js → image-widget-d12b472e.js} +13 -13
- package/{index-30dc9e2f.js → index-931e24bb.js} +1 -1
- package/{index-608942ad.js → index-af03d571.js} +7 -6
- package/{index-779896bb.js → index-c913b518.js} +4 -4
- package/{input-number-widget-af7b6e71.js → input-number-widget-4c39789f.js} +15 -15
- package/{input-widget-e64ea76a.js → input-widget-2ee9ba05.js} +16 -16
- package/{label-wrapper-c86fd517.js → label-wrapper-4b53a515.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-142ee83d.js → label-wrapper.vue_vue_type_style_index_0_lang-9b26652d.js} +3 -3
- package/{link-widget-0cb0adf5.js → link-widget-2a1cc9e7.js} +16 -16
- package/{ltable-col-widget-6902f3d1.js → ltable-col-widget-11c939ce.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-c74477fb.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-b498937b.js} +9 -9
- package/{ltable-widget-4e908228.js → ltable-widget-b652e5bf.js} +5 -5
- package/{menu-widget-7ed8a1d8.js → menu-widget-afe65f10.js} +14 -14
- package/{model-widget-42fd0df7.js → model-widget-ed36f9d7.js} +13 -13
- package/{multirow-a6eb38d2.js → multirow-ba2adc70.js} +6 -6
- package/{multirow-widget-106c39d0.js → multirow-widget-da10edb2.js} +15 -15
- package/package.json +1 -1
- package/{pagination-widget-7f8c7030.js → pagination-widget-f3f61ec9.js} +13 -13
- package/{picture-upload-widget-e3baa826.js → picture-upload-widget-befb6bd5.js} +16 -16
- package/{progress-widget-b3e08291.js → progress-widget-0b74af7d.js} +14 -14
- package/{qrcode-widget-ab1e712c.js → qrcode-widget-3df58067.js} +13 -13
- package/{radio-widget-09060fda.js → radio-widget-ae28a029.js} +15 -15
- package/{range-widget-599a89dc.js → range-widget-47635e45.js} +16 -16
- package/{rate-widget-5c0a71ba.js → rate-widget-253c1c2b.js} +15 -15
- package/render.es.js +32 -32
- package/render.umd.js +115 -115
- package/{result-widget-4836d7f5.js → result-widget-a372086d.js} +14 -14
- package/{rich-editor-widget-db67ed50.js → rich-editor-widget-acd2a801.js} +15 -15
- package/{router-widget-5ca47172.js → router-widget-e1e1e459.js} +13 -13
- package/{select-widget-7f010c5a.js → select-widget-fed81414.js} +15 -15
- package/{sfc-91ea43b3.js → sfc-03da9e63.js} +8 -8
- package/{sfcview-e6bf75d1.js → sfcview-5aaba0de.js} +7 -7
- package/{share-field-2c91c11b.js → share-field-2d6d418f.js} +8 -8
- package/{share-file-c1a3abc1.js → share-file-4d5e3157.js} +6 -6
- package/{slider-widget-54f31d97.js → slider-widget-63400a3d.js} +15 -15
- package/slot-ca85fdf0.js +324 -0
- package/{static-text-widget-4672e986.js → static-text-widget-2e36d547.js} +14 -14
- package/{steps-widget-7ccae5ad.js → steps-widget-e6d8da1e.js} +13 -13
- package/{subMenu-widget-77844297.js → subMenu-widget-f956ee70.js} +8 -8
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-8d6aded8.js → subMenu-widget.vue_vue_type_script_setup_true_lang-9337b736.js} +3 -3
- package/{switch-widget-5e998abb.js → switch-widget-5156568a.js} +15 -15
- package/{tab-pane-widget-dd0470be.js → tab-pane-widget-c713d287.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-afef383e.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-48d0dfc3.js} +5 -5
- package/table-col-widget-04c999d6.js +22 -0
- package/table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-dbcc51d4.js +109 -0
- package/{table-widget-e9178b8d.js → table-widget-3dd1560e.js} +15 -15
- package/{tabs-widget-151a70d8.js → tabs-widget-31c6228c.js} +7 -7
- package/{tag-widget-2b1fcd07.js → tag-widget-5ae8752f.js} +16 -16
- package/{text-widget-58c789aa.js → text-widget-9e37cfbe.js} +16 -16
- package/{textarea-widget-da29adcf.js → textarea-widget-1f06ef4e.js} +15 -15
- package/{time-picker-range-widget-54b63498.js → time-picker-range-widget-4998d580.js} +15 -15
- package/{time-picker-widget-6b095b40.js → time-picker-widget-ca936632.js} +15 -15
- package/{time-select-widget-2cc97b54.js → time-select-widget-58a4b6e6.js} +15 -15
- package/{tmpl-widget-79fdfbdd.js → tmpl-widget-64424f8f.js} +14 -14
- package/{tree-select-widget-09122cf9.js → tree-select-widget-b796e333.js} +15 -15
- package/{tree-widget-84300c29.js → tree-widget-11c15844.js} +13 -13
- package/{uuid-6875626e.js → uuid-8a9f2bd8.js} +1 -1
- package/{verifycode-widget-4cfebcad.js → verifycode-widget-d77dd118.js} +13 -13
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d172ac58.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ca95dfe9.js} +7 -7
- package/{wrapper-widget-4cbbd100.js → wrapper-widget-2b9366d0.js} +6 -6
- package/default-slot-widget-af6f4acc.js +0 -26
- package/feedback-widget-4c700fd9.js +0 -26
- package/slot-931a9a39.js +0 -317
- package/table-col-widget-4a312c86.js +0 -22
- package/table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-4ebe9ebd.js +0 -107
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { defineComponent as d, computed as k, resolveComponent as S, openBlock as i, createBlock as p, mergeProps as m, unref as t, withCtx as a, toHandlers as j, createSlots as v, renderList as h, resolveDynamicComponent as D, createCommentVNode as F, createVNode as V } from "vue";
|
|
2
|
-
import { e as $ } from "./enum-type-
|
|
2
|
+
import { e as $ } from "./enum-type-c9764247.js";
|
|
3
3
|
import { I as B } from "./field-base-5547436d.js";
|
|
4
|
-
import { _ as E } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { b as I } from "./share-field-
|
|
6
|
-
import { w as O } from "./expression-
|
|
7
|
-
import { D as P } from "./drag-wrapper-
|
|
8
|
-
import { g as W } from "./slot-
|
|
4
|
+
import { _ as E } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ca95dfe9.js";
|
|
5
|
+
import { b as I } from "./share-field-2d6d418f.js";
|
|
6
|
+
import { w as O } from "./expression-e70c07f4.js";
|
|
7
|
+
import { D as P } from "./drag-wrapper-bdad156a.js";
|
|
8
|
+
import { g as W } from "./slot-ca85fdf0.js";
|
|
9
9
|
import "./widget-base-4c2d6265.js";
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./uuid-
|
|
12
|
-
import "./enum-type-
|
|
13
|
-
import "./baseImp-
|
|
10
|
+
import "./index-af03d571.js";
|
|
11
|
+
import "./uuid-8a9f2bd8.js";
|
|
12
|
+
import "./enum-type-532cf144.js";
|
|
13
|
+
import "./baseImp-4ce51cd6.js";
|
|
14
14
|
import "./icon-a0e0cdb0.js";
|
|
15
|
-
import "./dialog-
|
|
15
|
+
import "./dialog-353b521c.js";
|
|
16
16
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
17
|
import "element-plus";
|
|
18
|
-
import "./index-
|
|
18
|
+
import "./index-931e24bb.js";
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./fieldobj-
|
|
21
|
-
import "./multirow-
|
|
20
|
+
import "./fieldobj-efecd1a3.js";
|
|
21
|
+
import "./multirow-ba2adc70.js";
|
|
22
22
|
import "./source-map-b04aec4a.js";
|
|
23
23
|
import "./esprima-e8d15055.js";
|
|
24
24
|
const z = d({ componentName: O.FieldWidget }), se = /* @__PURE__ */ d({
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as u, computed as d, shallowRef as x, onMounted as F, nextTick as H, openBlock as s, createBlock as a, mergeProps as c, unref as e, withCtx as V, createElementVNode as j, normalizeClass as I, normalizeStyle as M, resolveDynamicComponent as W, isRef as z, toHandlers as B } from "vue";
|
|
2
|
-
import { b as N } from "./share-field-
|
|
2
|
+
import { b as N } from "./share-field-2d6d418f.js";
|
|
3
3
|
import { I as P } from "./field-base-5547436d.js";
|
|
4
|
-
import R from "./form-item-wrapper-
|
|
5
|
-
import { w as S } from "./expression-
|
|
6
|
-
import { d as q, E as D } from "./enum-type-
|
|
7
|
-
import "./multirow-
|
|
8
|
-
import "./baseImp-
|
|
9
|
-
import "./enum-type-
|
|
4
|
+
import R from "./form-item-wrapper-3063f304.js";
|
|
5
|
+
import { w as S } from "./expression-e70c07f4.js";
|
|
6
|
+
import { d as q, E as D } from "./enum-type-c9764247.js";
|
|
7
|
+
import "./multirow-ba2adc70.js";
|
|
8
|
+
import "./baseImp-4ce51cd6.js";
|
|
9
|
+
import "./enum-type-532cf144.js";
|
|
10
10
|
import "./icon-a0e0cdb0.js";
|
|
11
|
-
import "./dialog-
|
|
11
|
+
import "./dialog-353b521c.js";
|
|
12
12
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
|
-
import "./uuid-
|
|
13
|
+
import "./uuid-8a9f2bd8.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-af03d571.js";
|
|
16
|
+
import "./slot-ca85fdf0.js";
|
|
17
17
|
import "./widget-base-4c2d6265.js";
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
19
|
-
import "./index-
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ca95dfe9.js";
|
|
19
|
+
import "./index-931e24bb.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-
|
|
22
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
21
|
+
import "./fieldobj-efecd1a3.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-9b26652d.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
const K = u({ componentName: S.FieldWidget }), ue = /* @__PURE__ */ u({
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { defineComponent as m, resolveComponent as u, openBlock as e, createBlock as i, mergeProps as g, unref as o, withCtx as p, createElementBlock as k, toDisplayString as w, createCommentVNode as b } from "vue";
|
|
2
|
-
import { b as y } from "./share-field-
|
|
2
|
+
import { b as y } from "./share-field-2d6d418f.js";
|
|
3
3
|
import { I as v } from "./field-base-5547436d.js";
|
|
4
|
-
import { _ as C } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { w as F } from "./expression-
|
|
6
|
-
import "./enum-type-
|
|
7
|
-
import "./multirow-
|
|
8
|
-
import "./baseImp-
|
|
9
|
-
import "./enum-type-
|
|
4
|
+
import { _ as C } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ca95dfe9.js";
|
|
5
|
+
import { w as F } from "./expression-e70c07f4.js";
|
|
6
|
+
import "./enum-type-c9764247.js";
|
|
7
|
+
import "./multirow-ba2adc70.js";
|
|
8
|
+
import "./baseImp-4ce51cd6.js";
|
|
9
|
+
import "./enum-type-532cf144.js";
|
|
10
10
|
import "./icon-a0e0cdb0.js";
|
|
11
|
-
import "./dialog-
|
|
11
|
+
import "./dialog-353b521c.js";
|
|
12
12
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
|
-
import "./uuid-
|
|
13
|
+
import "./uuid-8a9f2bd8.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-af03d571.js";
|
|
16
|
+
import "./slot-ca85fdf0.js";
|
|
17
17
|
import "./widget-base-4c2d6265.js";
|
|
18
|
-
import "./index-
|
|
18
|
+
import "./index-931e24bb.js";
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./fieldobj-
|
|
20
|
+
import "./fieldobj-efecd1a3.js";
|
|
21
21
|
import "./source-map-b04aec4a.js";
|
|
22
22
|
import "./esprima-e8d15055.js";
|
|
23
23
|
const h = { key: 0 }, B = m({ componentName: F.FieldWidget }), T = /* @__PURE__ */ m({
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as ve, ref as S, computed as te, shallowRef as ue, watch as Fe, onMounted as we, resolveComponent as R, openBlock as u, createBlock as d, mergeProps as K, unref as e, withCtx as m, isRef as re, toHandlers as ne, createElementBlock as k, createVNode as ze, createTextVNode as Ne, toDisplayString as Se, createCommentVNode as V, Fragment as _, renderList as B, resolveDynamicComponent as j } from "vue";
|
|
2
|
-
import { t as O, c as oe, e as q } from "./enum-type-
|
|
3
|
-
import { d as Be } from "./baseImp-
|
|
4
|
-
import { b as Ee } from "./share-field-
|
|
2
|
+
import { t as O, c as oe, e as q } from "./enum-type-c9764247.js";
|
|
3
|
+
import { d as Be } from "./baseImp-4ce51cd6.js";
|
|
4
|
+
import { b as Ee } from "./share-field-2d6d418f.js";
|
|
5
5
|
import { I as Pe } from "./field-base-5547436d.js";
|
|
6
|
-
import De from "./form-item-wrapper-
|
|
7
|
-
import { b as Le, w as Re } from "./expression-
|
|
8
|
-
import { d as se } from "./slot-
|
|
9
|
-
import "./enum-type-
|
|
6
|
+
import De from "./form-item-wrapper-3063f304.js";
|
|
7
|
+
import { b as Le, w as Re } from "./expression-e70c07f4.js";
|
|
8
|
+
import { d as se } from "./slot-ca85fdf0.js";
|
|
9
|
+
import "./enum-type-532cf144.js";
|
|
10
10
|
import "./icon-a0e0cdb0.js";
|
|
11
|
-
import "./dialog-
|
|
11
|
+
import "./dialog-353b521c.js";
|
|
12
12
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
|
-
import "./uuid-
|
|
13
|
+
import "./uuid-8a9f2bd8.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./multirow-
|
|
16
|
-
import "./index-
|
|
15
|
+
import "./multirow-ba2adc70.js";
|
|
16
|
+
import "./index-af03d571.js";
|
|
17
17
|
import "./widget-base-4c2d6265.js";
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
19
|
-
import "./index-
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ca95dfe9.js";
|
|
19
|
+
import "./index-931e24bb.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-
|
|
22
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
21
|
+
import "./fieldobj-efecd1a3.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-9b26652d.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
const Ue = {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
var qe = Object.defineProperty;
|
|
2
2
|
var Ve = (t, i, s) => i in t ? qe(t, i, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[i] = s;
|
|
3
3
|
var Y = (t, i, s) => (Ve(t, typeof i != "symbol" ? i + "" : i, s), s);
|
|
4
|
-
import { S as q, f as Fe, i as Wt, h as J, T as Bt, o as H, d as B, U as Xe, j as mt, V as Ge, c as Kt, W as Qe, E as Ee, k as He } from "./enum-type-
|
|
5
|
-
import { B as w, P as M, A as ke, F as Je, C as Ye, D as Ze, b as gt, G as ti } from "./baseImp-
|
|
6
|
-
import { b as rt, m as F, s as _t, r as ei, n as Re } from "./expression-
|
|
7
|
-
import { c as R, d as ii, H as Yt, e as Zt, _ as si } from "./enum-type-
|
|
8
|
-
import { d as Se } from "./slot-
|
|
9
|
-
import { t as ni, l as Ae, m as Ce } from "./index-
|
|
4
|
+
import { S as q, f as Fe, i as Wt, h as J, T as Bt, o as H, d as B, U as Xe, j as mt, V as Ge, c as Kt, W as Qe, E as Ee, k as He } from "./enum-type-c9764247.js";
|
|
5
|
+
import { B as w, P as M, A as ke, F as Je, C as Ye, D as Ze, b as gt, G as ti } from "./baseImp-4ce51cd6.js";
|
|
6
|
+
import { b as rt, m as F, s as _t, r as ei, n as Re } from "./expression-e70c07f4.js";
|
|
7
|
+
import { c as R, d as ii, H as Yt, e as Zt, _ as si } from "./enum-type-532cf144.js";
|
|
8
|
+
import { d as Se } from "./slot-ca85fdf0.js";
|
|
9
|
+
import { t as ni, l as Ae, m as Ce } from "./index-af03d571.js";
|
|
10
10
|
import "vue";
|
|
11
11
|
import "./icon-a0e0cdb0.js";
|
|
12
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-353b521c.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
|
-
import "./uuid-
|
|
14
|
+
import "./uuid-8a9f2bd8.js";
|
|
15
15
|
import "element-plus";
|
|
16
16
|
import "./source-map-b04aec4a.js";
|
|
17
17
|
import "./esprima-e8d15055.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { D as B, B as a } from "./baseImp-
|
|
2
|
-
import { c as l } from "./enum-type-
|
|
3
|
-
import { f as D, n as G, o as J } from "./index-
|
|
4
|
-
import { j as h } from "./expression-
|
|
5
|
-
import { f as k, c as b } from "./enum-type-
|
|
1
|
+
import { D as B, B as a } from "./baseImp-4ce51cd6.js";
|
|
2
|
+
import { c as l } from "./enum-type-532cf144.js";
|
|
3
|
+
import { f as D, n as G, o as J } from "./index-af03d571.js";
|
|
4
|
+
import { j as h } from "./expression-e70c07f4.js";
|
|
5
|
+
import { f as k, c as b } from "./enum-type-c9764247.js";
|
|
6
6
|
import "./icon-a0e0cdb0.js";
|
|
7
7
|
import "vue";
|
|
8
|
-
import "./dialog-
|
|
8
|
+
import "./dialog-353b521c.js";
|
|
9
9
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
10
|
-
import "./uuid-
|
|
10
|
+
import "./uuid-8a9f2bd8.js";
|
|
11
11
|
import "element-plus";
|
|
12
12
|
import "./source-map-b04aec4a.js";
|
|
13
13
|
import "./esprima-e8d15055.js";
|
|
@@ -2,15 +2,15 @@ var xn = Object.defineProperty;
|
|
|
2
2
|
var Mn = (t, u, p) => u in t ? xn(t, u, { enumerable: !0, configurable: !0, writable: !0, value: p }) : t[u] = p;
|
|
3
3
|
var tt = (t, u, p) => (Mn(t, typeof u != "symbol" ? u + "" : u, p), p);
|
|
4
4
|
import { onMounted as ut, nextTick as at, onActivated as _n, onErrorCaptured as Sn, isRef as ct, watch as Z, reactive as Wn, ref as de, computed as We, onBeforeUnmount as Pn, inject as Nn, toRefs as Dn } from "vue";
|
|
5
|
-
import { m as ue, a as De, c as Be, t as it, i as ft, o as X, g as w, w as Tn, K as Bn, h as Ve, f as lt, k as Fn, n as In, E as Y, d as ge, z as Ln, H as he } from "./enum-type-
|
|
6
|
-
import { p as nt, b as mt, g as jn, f as pe, a as $n } from "./multirow-
|
|
5
|
+
import { m as ue, a as De, c as Be, t as it, i as ft, o as X, g as w, w as Tn, K as Bn, h as Ve, f as lt, k as Fn, n as In, E as Y, d as ge, z as Ln, H as he } from "./enum-type-c9764247.js";
|
|
6
|
+
import { p as nt, b as mt, g as jn, f as pe, a as $n } from "./multirow-ba2adc70.js";
|
|
7
7
|
import { u as vt } from "./icon-a0e0cdb0.js";
|
|
8
|
-
import { f as $, j as Oe, k as kn, l as ot, b as j, a as An, d as Hn } from "./expression-
|
|
9
|
-
import { b as dt, d as Te, B as q, P as gt, c as ht, e as Kn, a as rt } from "./baseImp-
|
|
10
|
-
import { F as qn, b as Gn, a as Un } from "./slot-
|
|
11
|
-
import { f as Jn, d as zn, h as Pe, e as Qn } from "./index-
|
|
12
|
-
import { W as k, c as Q } from "./enum-type-
|
|
13
|
-
import { m as Xn } from "./uuid-
|
|
8
|
+
import { f as $, j as Oe, k as kn, l as ot, b as j, a as An, d as Hn } from "./expression-e70c07f4.js";
|
|
9
|
+
import { b as dt, d as Te, B as q, P as gt, c as ht, e as Kn, a as rt } from "./baseImp-4ce51cd6.js";
|
|
10
|
+
import { F as qn, b as Gn, a as Un } from "./slot-ca85fdf0.js";
|
|
11
|
+
import { f as Jn, d as zn, h as Pe, e as Qn } from "./index-af03d571.js";
|
|
12
|
+
import { W as k, c as Q } from "./enum-type-532cf144.js";
|
|
13
|
+
import { m as Xn } from "./uuid-8a9f2bd8.js";
|
|
14
14
|
function Yn() {
|
|
15
15
|
return {
|
|
16
16
|
onMountedOrActivated: (p) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { reactive as ge, ref as _, computed as B } from "vue";
|
|
2
|
-
import { f as z, e as m, d as fe, c as we, t as be, E as b, i as A } from "./enum-type-
|
|
3
|
-
import { b as Ee } from "./share-field-
|
|
4
|
-
import { f as s } from "./expression-
|
|
5
|
-
import { $ as De, f as p, H as xe } from "./baseImp-
|
|
6
|
-
import { g as ye } from "./uuid-
|
|
7
|
-
import { ah as E } from "./enum-type-
|
|
2
|
+
import { f as z, e as m, d as fe, c as we, t as be, E as b, i as A } from "./enum-type-c9764247.js";
|
|
3
|
+
import { b as Ee } from "./share-field-2d6d418f.js";
|
|
4
|
+
import { f as s } from "./expression-e70c07f4.js";
|
|
5
|
+
import { $ as De, f as p, H as xe } from "./baseImp-4ce51cd6.js";
|
|
6
|
+
import { g as ye } from "./uuid-8a9f2bd8.js";
|
|
7
|
+
import { ah as E } from "./enum-type-532cf144.js";
|
|
8
8
|
function Te(I) {
|
|
9
9
|
const T = (e) => {
|
|
10
10
|
var r = [e];
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as d, computed as w, resolveComponent as x, openBlock as s, createBlock as m, mergeProps as n, unref as e, withCtx as C, isRef as F, toHandlers as b, createTextVNode as z, toDisplayString as I } from "vue";
|
|
2
|
-
import { b as B } from "./share-field-
|
|
2
|
+
import { b as B } from "./share-field-2d6d418f.js";
|
|
3
3
|
import { I as E } from "./field-base-5547436d.js";
|
|
4
|
-
import N from "./form-item-wrapper-
|
|
5
|
-
import { w as P } from "./expression-
|
|
6
|
-
import { t as a } from "./enum-type-
|
|
7
|
-
import "./multirow-
|
|
8
|
-
import "./baseImp-
|
|
9
|
-
import "./enum-type-
|
|
4
|
+
import N from "./form-item-wrapper-3063f304.js";
|
|
5
|
+
import { w as P } from "./expression-e70c07f4.js";
|
|
6
|
+
import { t as a } from "./enum-type-c9764247.js";
|
|
7
|
+
import "./multirow-ba2adc70.js";
|
|
8
|
+
import "./baseImp-4ce51cd6.js";
|
|
9
|
+
import "./enum-type-532cf144.js";
|
|
10
10
|
import "./icon-a0e0cdb0.js";
|
|
11
|
-
import "./dialog-
|
|
11
|
+
import "./dialog-353b521c.js";
|
|
12
12
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
|
-
import "./uuid-
|
|
13
|
+
import "./uuid-8a9f2bd8.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-af03d571.js";
|
|
16
|
+
import "./slot-ca85fdf0.js";
|
|
17
17
|
import "./widget-base-4c2d6265.js";
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
19
|
-
import "./index-
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ca95dfe9.js";
|
|
19
|
+
import "./index-931e24bb.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-
|
|
22
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
21
|
+
import "./fieldobj-efecd1a3.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-9b26652d.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
const S = d({ componentName: P.FieldWidget }), pe = /* @__PURE__ */ d({
|
package/slot-ca85fdf0.js
ADDED
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
var _ = Object.defineProperty;
|
|
2
|
+
var O = (e, t, o) => t in e ? _(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
|
|
3
|
+
var L = (e, t, o) => (O(e, typeof t != "symbol" ? t + "" : t, o), o);
|
|
4
|
+
import { inject as T, provide as S, computed as g } from "vue";
|
|
5
|
+
import { d as m, b as f, r as V, s as B } from "./expression-e70c07f4.js";
|
|
6
|
+
import { B as G } from "./baseImp-4ce51cd6.js";
|
|
7
|
+
import { c as N, i as q, m as A, j as E, o as x } from "./enum-type-c9764247.js";
|
|
8
|
+
class W {
|
|
9
|
+
constructor() {
|
|
10
|
+
/**
|
|
11
|
+
* 当前表单引用库
|
|
12
|
+
* 假设表单组件位于表单form中,则该引用注册入库
|
|
13
|
+
*/
|
|
14
|
+
L(this, "formRefList", {});
|
|
15
|
+
/**
|
|
16
|
+
* 全局引用库
|
|
17
|
+
*/
|
|
18
|
+
L(this, "globalRefList", {});
|
|
19
|
+
/**
|
|
20
|
+
* 全局数据对象
|
|
21
|
+
*/
|
|
22
|
+
L(this, "globalDataModel", {});
|
|
23
|
+
/**
|
|
24
|
+
* 当前表单名称
|
|
25
|
+
*/
|
|
26
|
+
L(this, "globalFormName", "");
|
|
27
|
+
/**
|
|
28
|
+
* 全局页面名称
|
|
29
|
+
*/
|
|
30
|
+
// globalPageName?: string = "";
|
|
31
|
+
/**
|
|
32
|
+
* 用于类似template组件的数据绑定传递
|
|
33
|
+
*/
|
|
34
|
+
L(this, "rowScope", {});
|
|
35
|
+
/**
|
|
36
|
+
* 渲染器调用者传入的配置参数,如接口地址、密钥等
|
|
37
|
+
*/
|
|
38
|
+
L(this, "globalConfig", {});
|
|
39
|
+
}
|
|
40
|
+
static globalInject() {
|
|
41
|
+
const t = new W();
|
|
42
|
+
return t.formRefList = T(m.refList, {}), t.globalRefList = T(m.allRefList, {}), t.globalDataModel = T(m.globalModel, {}), t.rowScope = T(m.rowScope, {}), t.globalFormName = T(m.globalForm, ""), t.globalConfig = T(m.globalConfig, {}), t;
|
|
43
|
+
}
|
|
44
|
+
static globalProvide(t) {
|
|
45
|
+
if ((t == null ? void 0 : t.globalDataModel) !== void 0) {
|
|
46
|
+
const o = (t == null ? void 0 : t.globalDataModel) || {};
|
|
47
|
+
S(m.globalModel, o);
|
|
48
|
+
}
|
|
49
|
+
if ((t == null ? void 0 : t.rowScope) !== void 0) {
|
|
50
|
+
const o = (t == null ? void 0 : t.rowScope) || {};
|
|
51
|
+
S(m.rowScope, o);
|
|
52
|
+
}
|
|
53
|
+
if ((t == null ? void 0 : t.globalRefList) !== void 0) {
|
|
54
|
+
const o = (t == null ? void 0 : t.globalRefList) || {};
|
|
55
|
+
S(m.allRefList, o);
|
|
56
|
+
}
|
|
57
|
+
if ((t == null ? void 0 : t.formRefList) !== void 0) {
|
|
58
|
+
const o = (t == null ? void 0 : t.formRefList) || {};
|
|
59
|
+
S(m.refList, o);
|
|
60
|
+
}
|
|
61
|
+
if ((t == null ? void 0 : t.globalFormName) !== void 0) {
|
|
62
|
+
const o = (t == null ? void 0 : t.globalFormName) || "";
|
|
63
|
+
S(m.globalForm, o);
|
|
64
|
+
}
|
|
65
|
+
if ((t == null ? void 0 : t.globalConfig) !== void 0) {
|
|
66
|
+
const o = (t == null ? void 0 : t.globalConfig) || "";
|
|
67
|
+
S(m.globalConfig, o);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
function ot(e) {
|
|
72
|
+
const t = (c, R = !1) => G.getOptions(e == null ? void 0 : e.widget, c, R, !(e != null && e.designState)), o = g(() => t(f.ctrlWidth) || "auto"), s = g(() => t(f.ctrlHeight) || "auto"), n = g(() => t(f.displayLayout)), i = g(() => {
|
|
73
|
+
var c = t(f.customClass);
|
|
74
|
+
return Array.isArray(c) ? c == null ? void 0 : c.join(" ") : c;
|
|
75
|
+
}), h = g(() => {
|
|
76
|
+
var c = t(f.componentWrapperClass);
|
|
77
|
+
return Array.isArray(c) ? c == null ? void 0 : c.join(" ") : c;
|
|
78
|
+
}), y = g(() => t(f.css)), l = g(() => {
|
|
79
|
+
var c = t(f.componentRootClass);
|
|
80
|
+
return Array.isArray(c) ? c == null ? void 0 : c.join(" ") : c;
|
|
81
|
+
}), r = g(() => {
|
|
82
|
+
var c, R;
|
|
83
|
+
return (R = N((c = t(f.required, !0)) == null ? void 0 : c.options)) == null ? void 0 : R.enable;
|
|
84
|
+
}), a = g(() => t(f.hidden)), d = g(() => t(f.labelTooltip)), C = g(() => t(f.labelIconClass)), b = g(() => t(f.labelIconPosition)), u = g(() => t(f.labelHidden)), p = g(() => t(f.label)), F = g(() => t(f.labelWidth)), w = g(() => t(f.labelAlign));
|
|
85
|
+
return {
|
|
86
|
+
//size,
|
|
87
|
+
attrs: g(() => ({
|
|
88
|
+
required: r.value,
|
|
89
|
+
label: p.value,
|
|
90
|
+
labelHidden: u.value,
|
|
91
|
+
labelAlign: w.value,
|
|
92
|
+
labelIconClass: C.value,
|
|
93
|
+
labelIconPosition: b.value,
|
|
94
|
+
labelTooltip: d.value,
|
|
95
|
+
labelWidth: F.value,
|
|
96
|
+
ctrlWidth: o.value
|
|
97
|
+
})),
|
|
98
|
+
labelAlign: w,
|
|
99
|
+
labelHidden: u,
|
|
100
|
+
labelIconClass: C,
|
|
101
|
+
labelIconPosition: b,
|
|
102
|
+
labelTooltip: d,
|
|
103
|
+
labelWidth: F,
|
|
104
|
+
label: p,
|
|
105
|
+
displayLayout: n,
|
|
106
|
+
hidden: a,
|
|
107
|
+
// required,
|
|
108
|
+
ctrlWidth: o,
|
|
109
|
+
ctrlHeight: s,
|
|
110
|
+
customClass: i,
|
|
111
|
+
componentWrapperClass: h,
|
|
112
|
+
componentRootClass: l,
|
|
113
|
+
css: y
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
const $ = (e = "") => new Promise((t) => {
|
|
117
|
+
import("./index-3aaf8638.js").then((o) => {
|
|
118
|
+
const s = o.parse(e, {
|
|
119
|
+
positions: !0,
|
|
120
|
+
parseValue: !1
|
|
121
|
+
}), n = [];
|
|
122
|
+
o.walk(s, {
|
|
123
|
+
visit: "Rule",
|
|
124
|
+
enter(i) {
|
|
125
|
+
const h = o.generate(i.prelude), y = {};
|
|
126
|
+
o.walk(i, {
|
|
127
|
+
visit: "Declaration",
|
|
128
|
+
enter(l) {
|
|
129
|
+
l.property && (y[l.property] = o.generate(l.value));
|
|
130
|
+
}
|
|
131
|
+
}), n.push({ selector: h, declarations: y });
|
|
132
|
+
}
|
|
133
|
+
}), t(n);
|
|
134
|
+
});
|
|
135
|
+
}), D = (e) => new Promise((t) => {
|
|
136
|
+
import("./index-3aaf8638.js").then((o) => {
|
|
137
|
+
const s = z(e), n = o.parse(s, { context: "stylesheet" });
|
|
138
|
+
t(o.generate(n));
|
|
139
|
+
});
|
|
140
|
+
});
|
|
141
|
+
function z(e) {
|
|
142
|
+
return e.map((o) => {
|
|
143
|
+
var n, i, h;
|
|
144
|
+
const s = (h = (i = (n = Object.entries(o.declarations)) == null ? void 0 : n.filter(([y, l]) => !q(l) && l !== "")) == null ? void 0 : i.sort(([y], [l]) => y > l ? 1 : -1)) == null ? void 0 : h.map(([y, l]) => `${y}: ${l};`);
|
|
145
|
+
return `${o.selector} { ${s.join(" ")} }`;
|
|
146
|
+
}).join(`
|
|
147
|
+
`);
|
|
148
|
+
}
|
|
149
|
+
const J = () => new Promise((e) => {
|
|
150
|
+
import("./acorn-a3705767.js").then((t) => {
|
|
151
|
+
e(t);
|
|
152
|
+
});
|
|
153
|
+
});
|
|
154
|
+
function Q(e) {
|
|
155
|
+
return new Promise((t) => {
|
|
156
|
+
J().then((o) => {
|
|
157
|
+
var s = U(o, e);
|
|
158
|
+
t(s);
|
|
159
|
+
});
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
function U(e, t) {
|
|
163
|
+
var i, h, y;
|
|
164
|
+
const o = e.parse(t, {
|
|
165
|
+
ecmaVersion: "latest",
|
|
166
|
+
sourceType: "script",
|
|
167
|
+
ranges: !0
|
|
168
|
+
// ←←← 必须启用,才能 slice 源码
|
|
169
|
+
}), s = [], n = [];
|
|
170
|
+
for (const l of o.body) {
|
|
171
|
+
if (l.type === "FunctionDeclaration" && ((i = l.id) != null && i.name) && l.range) {
|
|
172
|
+
const r = l.id.name, a = t.slice(l.range[0], l.range[1]);
|
|
173
|
+
s.push({ name: r, text: a });
|
|
174
|
+
}
|
|
175
|
+
if (l.type === "ClassDeclaration" && ((h = l.id) != null && h.name) && l.range) {
|
|
176
|
+
const r = l.id.name, a = t.slice(l.range[0], l.range[1]);
|
|
177
|
+
n.push({ name: r, text: a });
|
|
178
|
+
}
|
|
179
|
+
if (l.type === "VariableDeclaration") {
|
|
180
|
+
for (const r of l.declarations)
|
|
181
|
+
if (((y = r.id) == null ? void 0 : y.type) === "Identifier" && r.init && r.init.range && (r.init.type === "FunctionExpression" || r.init.type === "ArrowFunctionExpression")) {
|
|
182
|
+
const a = r.id.name, d = t.slice(r.range[0], r.range[1]);
|
|
183
|
+
s.push({ name: a, text: d });
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
return { functions: s, classes: n };
|
|
188
|
+
}
|
|
189
|
+
const X = () => {
|
|
190
|
+
const e = "v_form_global_css", t = (l = "", r = e) => {
|
|
191
|
+
var a = n(l, r);
|
|
192
|
+
s(a);
|
|
193
|
+
}, o = (l = "", r = "", a = e) => {
|
|
194
|
+
if (!l)
|
|
195
|
+
return;
|
|
196
|
+
let d = document.getElementsByTagName("head")[0];
|
|
197
|
+
if (d)
|
|
198
|
+
try {
|
|
199
|
+
var C = n(r, a);
|
|
200
|
+
s(a), s(C);
|
|
201
|
+
let b = document.createElement("style");
|
|
202
|
+
if (!b)
|
|
203
|
+
return;
|
|
204
|
+
b.type = "text/css", b.id = r ? a + "-" + r : a;
|
|
205
|
+
try {
|
|
206
|
+
b.appendChild(document.createTextNode(l.toString()));
|
|
207
|
+
} catch {
|
|
208
|
+
b.innerHTML = l.toString();
|
|
209
|
+
}
|
|
210
|
+
d.appendChild(b);
|
|
211
|
+
} catch (b) {
|
|
212
|
+
A.error("insert css to head fail", b);
|
|
213
|
+
}
|
|
214
|
+
}, s = (l) => {
|
|
215
|
+
let r = document.getElementById(l);
|
|
216
|
+
try {
|
|
217
|
+
r && r.parentNode && r.parentNode.removeChild(r);
|
|
218
|
+
} catch (a) {
|
|
219
|
+
console.log(a, r);
|
|
220
|
+
}
|
|
221
|
+
}, n = (l, r) => l ? r + "-" + l : r, i = "v_form_global_functions";
|
|
222
|
+
return {
|
|
223
|
+
insertCustomCssToHead: o,
|
|
224
|
+
insertGlobalFunctionsToHtml: (l, r = "") => new Promise((a) => {
|
|
225
|
+
if (!l) {
|
|
226
|
+
a(!0);
|
|
227
|
+
return;
|
|
228
|
+
}
|
|
229
|
+
try {
|
|
230
|
+
Q(l).then((d) => {
|
|
231
|
+
var C, b;
|
|
232
|
+
(C = d.functions) == null || C.forEach((u) => {
|
|
233
|
+
let p;
|
|
234
|
+
const F = u == null ? void 0 : u.text, w = u == null ? void 0 : u.name;
|
|
235
|
+
try {
|
|
236
|
+
p = new Function(`return ${F}`)();
|
|
237
|
+
} catch (H) {
|
|
238
|
+
A.error(`Failed to compile function "${w}":`, H);
|
|
239
|
+
return;
|
|
240
|
+
}
|
|
241
|
+
window[w] = p;
|
|
242
|
+
}), (b = d.classes) == null || b.forEach((u) => {
|
|
243
|
+
const p = u == null ? void 0 : u.text, F = u == null ? void 0 : u.name;
|
|
244
|
+
let w;
|
|
245
|
+
try {
|
|
246
|
+
w = new Function(`return ${p}`)();
|
|
247
|
+
} catch (H) {
|
|
248
|
+
A.error(`Failed to compile class "${F}":`, H);
|
|
249
|
+
return;
|
|
250
|
+
}
|
|
251
|
+
window[F] = w;
|
|
252
|
+
}), a(!0);
|
|
253
|
+
});
|
|
254
|
+
} catch (d) {
|
|
255
|
+
A.error("insert js to head fail", d), a(!0);
|
|
256
|
+
}
|
|
257
|
+
}),
|
|
258
|
+
removeGlobalFunctionsToHtml: (l, r = i) => {
|
|
259
|
+
var a = n(l, r);
|
|
260
|
+
s(a);
|
|
261
|
+
},
|
|
262
|
+
removeCustomCssToHead: t
|
|
263
|
+
};
|
|
264
|
+
}, K = [
|
|
265
|
+
"width",
|
|
266
|
+
"height",
|
|
267
|
+
"display",
|
|
268
|
+
"margin",
|
|
269
|
+
"margin-left",
|
|
270
|
+
"margin-right",
|
|
271
|
+
"margin-top",
|
|
272
|
+
"margin-bottom"
|
|
273
|
+
], Y = (e, t, o) => {
|
|
274
|
+
const s = {};
|
|
275
|
+
return t.forEach((n) => {
|
|
276
|
+
var i = e[n];
|
|
277
|
+
E(i) || (s[n] = o ? o(n, i) : i);
|
|
278
|
+
}), s;
|
|
279
|
+
}, Z = (e, t, o) => {
|
|
280
|
+
var n;
|
|
281
|
+
const s = {};
|
|
282
|
+
return (n = x(e)) == null || n.forEach((i) => {
|
|
283
|
+
var h = e[i];
|
|
284
|
+
t != null && t.includes(i) || (s[i] = o ? o(i, h) : h);
|
|
285
|
+
}), s;
|
|
286
|
+
}, M = (e, t) => ["width", "height", "display"].includes(e) ? E(t) || t == "auto" ? t : `${t} !important` : t, et = (e) => new Promise((t) => {
|
|
287
|
+
$(e).then((o) => {
|
|
288
|
+
var s = o == null ? void 0 : o.map((n) => ({ selector: n.selector, declarations: Y(n.declarations, K, M) }));
|
|
289
|
+
D(s).then((n) => {
|
|
290
|
+
t(n);
|
|
291
|
+
});
|
|
292
|
+
});
|
|
293
|
+
}), nt = (e) => new Promise((t) => {
|
|
294
|
+
$(e).then((o) => {
|
|
295
|
+
var s = o == null ? void 0 : o.map((n) => ({ selector: n.selector, declarations: Z(n.declarations, K, M) }));
|
|
296
|
+
D(s).then((n) => {
|
|
297
|
+
t(n);
|
|
298
|
+
});
|
|
299
|
+
});
|
|
300
|
+
}), lt = (e, t) => {
|
|
301
|
+
if (!t || !e)
|
|
302
|
+
return;
|
|
303
|
+
const o = V(e, ":root", `.${t}`), { insertCustomCssToHead: s } = X();
|
|
304
|
+
s(o, void 0, t);
|
|
305
|
+
}, st = (e, t = !0, o) => {
|
|
306
|
+
if (o != null && o === !1)
|
|
307
|
+
return [];
|
|
308
|
+
const s = k(e);
|
|
309
|
+
return t || (e == null ? void 0 : e.length) <= 0 ? s : s == null ? void 0 : s.filter((n) => {
|
|
310
|
+
var i;
|
|
311
|
+
return !!(n != null && n.widgetList) && ((i = n == null ? void 0 : n.widgetList) == null ? void 0 : i.length) > 0 || !!n.default || (n == null ? void 0 : n.slotName) === B.default;
|
|
312
|
+
});
|
|
313
|
+
}, rt = (e, t) => e == null ? void 0 : e.find((o) => (o == null ? void 0 : o.slotName) === t), k = (e) => N(e);
|
|
314
|
+
export {
|
|
315
|
+
W as F,
|
|
316
|
+
lt as a,
|
|
317
|
+
nt as b,
|
|
318
|
+
ot as c,
|
|
319
|
+
rt as d,
|
|
320
|
+
st as g,
|
|
321
|
+
k as i,
|
|
322
|
+
et as p,
|
|
323
|
+
X as u
|
|
324
|
+
};
|