keli-ui 0.2.3 → 0.2.5
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/README.md +5 -5
- package/dist/keli-ui.css +1 -1
- package/dist/keli-ui.js +669 -383
- package/dist/keli-ui.umd.cjs +1 -1
- package/dist/types/packages/FormComponents/FormDatePicker/FormDatePickerProxy.vue.d.ts +12 -0
- package/dist/types/packages/FormComponents/FormDatePicker/index.d.ts +1 -1
- package/dist/types/packages/FormComponents/FormDateTimePicker/FormDateTimePickerProxy.vue.d.ts +12 -0
- package/dist/types/packages/FormComponents/FormDateTimePicker/index.d.ts +1 -1
- package/dist/types/packages/FormComponents/FormRender/FormRenderProxy.vue.d.ts +12 -0
- package/dist/types/packages/FormComponents/FormRender/index.d.ts +1 -1
- package/dist/types/packages/FormComponents/FormSelect/FormSelectProxy.vue.d.ts +12 -0
- package/dist/types/packages/FormComponents/FormSelect/index.d.ts +1 -1
- package/dist/types/packages/FormComponents/FormSelectAsync/FormSelectAsyncProxy.vue.d.ts +12 -0
- package/dist/types/packages/FormComponents/FormSelectAsync/index.d.ts +1 -1
- package/dist/types/packages/FormComponents/hook/selectAsync.hook.d.ts +1 -4
- package/dist/types/packages/QueryComponents/QueryBar/QueryBarProxy.vue.d.ts +12 -0
- package/dist/types/packages/QueryComponents/QueryBar/index.d.ts +1 -1
- package/dist/types/packages/TableComponents/TableCardRender/TableCardRenderProxy.vue.d.ts +12 -0
- package/dist/types/packages/TableComponents/TableCardRender/index.d.ts +1 -1
- package/dist/types/packages/TableComponents/TableRender/TableRenderProxy.vue.d.ts +12 -0
- package/dist/types/packages/TableComponents/TableRender/index.d.ts +1 -1
- package/dist/types/packages/ToolBar/ToolBarProxy.vue.d.ts +11 -1
- package/package.json +1 -1
package/dist/keli-ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { onMounted, nextTick, getCurrentScope, onScopeDispose, getCurrentInstance, computed, shallowRef, watch, toValue, reactive, inject, provide, createCommentVNode, h as h$1, defineComponent, ref, onUnmounted, TransitionGroup, Teleport, onActivated, onDeactivated, onBeforeUnmount, resolveComponent, isRef, unref, isVNode, createVNode, watchEffect, mergeProps, Transition, withDirectives, vShow, Fragment, createApp, withKeys, createBlock, openBlock, withCtx, createElementBlock, renderList, resolveDynamicComponent, createElementVNode, createTextVNode, toDisplayString, renderSlot, mergeModels, useModel, withModifiers, normalizeStyle, normalizeClass, resolveDirective, createSlots, normalizeProps, guardReactiveProps, toRefs, useTemplateRef } from "vue";
|
|
1
|
+
import { onMounted, nextTick, getCurrentScope, onScopeDispose, getCurrentInstance, computed, shallowRef, watch, toValue, reactive, inject, provide, createCommentVNode, h as h$1, defineComponent, ref, onUnmounted, TransitionGroup, Teleport, onActivated, onDeactivated, onBeforeUnmount, resolveComponent, isRef, unref, isVNode, createVNode, watchEffect, mergeProps, Transition, withDirectives, vShow, Fragment, createApp, withKeys, createBlock, openBlock, withCtx, createElementBlock, renderList, resolveDynamicComponent, createElementVNode, createTextVNode, toDisplayString, renderSlot, mergeModels, useModel, withModifiers, normalizeStyle, normalizeClass, resolveDirective, createSlots, useAttrs, normalizeProps, guardReactiveProps, toRefs, useTemplateRef } from "vue";
|
|
2
2
|
import { Setting, Download, More } from "@element-plus/icons-vue";
|
|
3
3
|
import { dayjs, ElMessage, ElNotification, ElMessageBox, ElTable, ElTableColumn } from "element-plus";
|
|
4
4
|
function tryOnScopeDispose(fn) {
|
|
@@ -35545,7 +35545,6 @@ const getTitle = (type) => {
|
|
|
35545
35545
|
return type;
|
|
35546
35546
|
};
|
|
35547
35547
|
let alert = (params) => {
|
|
35548
|
-
console.log(params);
|
|
35549
35548
|
if (isNotEmpty(params.callback) || isNotEmpty(params.catch)) {
|
|
35550
35549
|
ElMessageBox.confirm(params.msg, getTitle(params.type), {
|
|
35551
35550
|
confirmButtonText: "OK",
|
|
@@ -36174,7 +36173,7 @@ const mergeObjects = (queryData, typeData) => {
|
|
|
36174
36173
|
return mergedObj;
|
|
36175
36174
|
};
|
|
36176
36175
|
const _hoisted_1$e = { style: { "width": "100%", "text-align": "right" } };
|
|
36177
|
-
const _sfc_main$
|
|
36176
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
36178
36177
|
__name: "QueryBarClient",
|
|
36179
36178
|
props: {
|
|
36180
36179
|
frame: {
|
|
@@ -36358,7 +36357,7 @@ async function useButtonExec(data, button, rowIndex) {
|
|
|
36358
36357
|
button.webFunction(data, button.params, rowIndex);
|
|
36359
36358
|
}
|
|
36360
36359
|
}
|
|
36361
|
-
const _sfc_main$
|
|
36360
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
36362
36361
|
__name: "ToolBarClient",
|
|
36363
36362
|
props: {
|
|
36364
36363
|
toolButtons: {
|
|
@@ -36401,7 +36400,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
36401
36400
|
}
|
|
36402
36401
|
return target;
|
|
36403
36402
|
};
|
|
36404
|
-
const ToolBarClient = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
36403
|
+
const ToolBarClient = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-d81813fb"]]);
|
|
36405
36404
|
const _hoisted_1$d = { class: "ke-table-render-client" };
|
|
36406
36405
|
const _hoisted_2$9 = {
|
|
36407
36406
|
key: 1,
|
|
@@ -36411,7 +36410,7 @@ const _hoisted_3$6 = {
|
|
|
36411
36410
|
key: 2,
|
|
36412
36411
|
class: "ke-pagination-div"
|
|
36413
36412
|
};
|
|
36414
|
-
const _sfc_main$
|
|
36413
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
36415
36414
|
__name: "TableRenderClient",
|
|
36416
36415
|
props: /* @__PURE__ */ mergeModels({
|
|
36417
36416
|
tableId: {
|
|
@@ -36579,7 +36578,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
36579
36578
|
const _component_el_button = resolveComponent("el-button");
|
|
36580
36579
|
const _component_el_pagination = resolveComponent("el-pagination");
|
|
36581
36580
|
return openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
36582
|
-
__props.queryConfig && __props.queryConfig.length > 0 ? (openBlock(), createBlock(_sfc_main$
|
|
36581
|
+
__props.queryConfig && __props.queryConfig.length > 0 ? (openBlock(), createBlock(_sfc_main$O, {
|
|
36583
36582
|
key: 0,
|
|
36584
36583
|
frame: __props.queryConfig,
|
|
36585
36584
|
class: "ke-query-bar-client",
|
|
@@ -36704,7 +36703,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
36704
36703
|
}
|
|
36705
36704
|
});
|
|
36706
36705
|
const _hoisted_1$c = { style: { "margin": "16px" } };
|
|
36707
|
-
const _sfc_main$
|
|
36706
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
36708
36707
|
__name: "QueryBarMobile",
|
|
36709
36708
|
props: {
|
|
36710
36709
|
frame: {
|
|
@@ -36834,7 +36833,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
36834
36833
|
}
|
|
36835
36834
|
});
|
|
36836
36835
|
const _hoisted_1$b = { class: "button-container" };
|
|
36837
|
-
const _sfc_main$
|
|
36836
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
36838
36837
|
__name: "ToolBarMobile",
|
|
36839
36838
|
props: {
|
|
36840
36839
|
toolButtons: {
|
|
@@ -36897,7 +36896,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
36897
36896
|
};
|
|
36898
36897
|
}
|
|
36899
36898
|
});
|
|
36900
|
-
const ToolBarMobile = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
36899
|
+
const ToolBarMobile = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-f3dd7c43"]]);
|
|
36901
36900
|
const customFormatter = (options) => {
|
|
36902
36901
|
if (isEmpty(options.cellValue) || isEmpty(options.tabObj))
|
|
36903
36902
|
return options.cellValue;
|
|
@@ -36923,7 +36922,7 @@ const _hoisted_5$2 = {
|
|
|
36923
36922
|
key: 0,
|
|
36924
36923
|
class: "pagination-div"
|
|
36925
36924
|
};
|
|
36926
|
-
const _sfc_main$
|
|
36925
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
36927
36926
|
__name: "TableRenderMobile",
|
|
36928
36927
|
props: /* @__PURE__ */ mergeModels({
|
|
36929
36928
|
tableId: {
|
|
@@ -37052,7 +37051,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
37052
37051
|
const _directive_loading = resolveDirective("loading");
|
|
37053
37052
|
return withDirectives((openBlock(), createElementBlock("div", _hoisted_1$a, [
|
|
37054
37053
|
createElementVNode("div", _hoisted_2$8, [
|
|
37055
|
-
createVNode(_sfc_main$
|
|
37054
|
+
createVNode(_sfc_main$L, {
|
|
37056
37055
|
frame: __props.queryConfig,
|
|
37057
37056
|
onQueryClick: queryClick
|
|
37058
37057
|
}, null, 8, ["frame"])
|
|
@@ -37148,10 +37147,25 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
37148
37147
|
};
|
|
37149
37148
|
}
|
|
37150
37149
|
});
|
|
37151
|
-
const
|
|
37152
|
-
const
|
|
37153
|
-
|
|
37154
|
-
|
|
37150
|
+
const Mobile$1 = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-8d24642d"]]);
|
|
37151
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
37152
|
+
__name: "TableRenderProxy",
|
|
37153
|
+
setup(__props) {
|
|
37154
|
+
const currentComponent = computed(() => isMobileDevice.value ? Mobile$1 : _sfc_main$M);
|
|
37155
|
+
const attrs = useAttrs();
|
|
37156
|
+
const forwardedAttrs = attrs;
|
|
37157
|
+
return (_ctx, _cache) => {
|
|
37158
|
+
return openBlock(), createBlock(resolveDynamicComponent(currentComponent.value), normalizeProps(guardReactiveProps(unref(forwardedAttrs))), {
|
|
37159
|
+
default: withCtx(() => [
|
|
37160
|
+
renderSlot(_ctx.$slots, "default")
|
|
37161
|
+
]),
|
|
37162
|
+
_: 3
|
|
37163
|
+
}, 16);
|
|
37164
|
+
};
|
|
37165
|
+
}
|
|
37166
|
+
});
|
|
37167
|
+
_sfc_main$I.install = (app) => {
|
|
37168
|
+
app.component("KeTableRender", _sfc_main$I);
|
|
37155
37169
|
};
|
|
37156
37170
|
const _hoisted_1$9 = { class: "table-card-render-client" };
|
|
37157
37171
|
const _hoisted_2$7 = {
|
|
@@ -37163,7 +37177,7 @@ const _hoisted_4$2 = ["src"];
|
|
|
37163
37177
|
const _hoisted_5$1 = { class: "title-wrapper" };
|
|
37164
37178
|
const _hoisted_6$1 = { class: "title-text" };
|
|
37165
37179
|
const _hoisted_7 = { class: "pagination-div" };
|
|
37166
|
-
const _sfc_main$
|
|
37180
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
37167
37181
|
__name: "TableCardRenderClient",
|
|
37168
37182
|
props: /* @__PURE__ */ mergeModels({
|
|
37169
37183
|
tableId: {
|
|
@@ -37417,14 +37431,14 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
37417
37431
|
};
|
|
37418
37432
|
}
|
|
37419
37433
|
});
|
|
37420
|
-
const
|
|
37434
|
+
const Client = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-8a376fa7"]]);
|
|
37421
37435
|
const _hoisted_1$8 = { class: "table-render-mobile" };
|
|
37422
37436
|
const _hoisted_2$6 = { class: "table-render-mobile-search" };
|
|
37423
37437
|
const _hoisted_3$3 = { class: "table-tool-button" };
|
|
37424
37438
|
const _hoisted_4$1 = { class: "table-render-mobile-content" };
|
|
37425
37439
|
const _hoisted_5 = ["src"];
|
|
37426
37440
|
const _hoisted_6 = { class: "pagination-div" };
|
|
37427
|
-
const _sfc_main$
|
|
37441
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
37428
37442
|
__name: "TableCardRenderMobile",
|
|
37429
37443
|
props: /* @__PURE__ */ mergeModels({
|
|
37430
37444
|
tableId: {
|
|
@@ -37658,17 +37672,32 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
37658
37672
|
};
|
|
37659
37673
|
}
|
|
37660
37674
|
});
|
|
37661
|
-
const
|
|
37662
|
-
const
|
|
37663
|
-
|
|
37664
|
-
|
|
37675
|
+
const Mobile = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-2e3c5fe2"]]);
|
|
37676
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
37677
|
+
__name: "TableCardRenderProxy",
|
|
37678
|
+
setup(__props) {
|
|
37679
|
+
const currentComponent = computed(() => isMobileDevice.value ? Mobile : Client);
|
|
37680
|
+
const attrs = useAttrs();
|
|
37681
|
+
const forwardedAttrs = attrs;
|
|
37682
|
+
return (_ctx, _cache) => {
|
|
37683
|
+
return openBlock(), createBlock(resolveDynamicComponent(currentComponent.value), normalizeProps(guardReactiveProps(unref(forwardedAttrs))), {
|
|
37684
|
+
default: withCtx(() => [
|
|
37685
|
+
renderSlot(_ctx.$slots, "default")
|
|
37686
|
+
]),
|
|
37687
|
+
_: 3
|
|
37688
|
+
}, 16);
|
|
37689
|
+
};
|
|
37690
|
+
}
|
|
37691
|
+
});
|
|
37692
|
+
_sfc_main$F.install = (app) => {
|
|
37693
|
+
app.component("KeTableCardRender", _sfc_main$F);
|
|
37665
37694
|
};
|
|
37666
37695
|
const _hoisted_1$7 = { class: "table-render-client" };
|
|
37667
37696
|
const _hoisted_2$5 = {
|
|
37668
37697
|
key: 1,
|
|
37669
37698
|
class: "table-tool-button"
|
|
37670
37699
|
};
|
|
37671
|
-
const _sfc_main$
|
|
37700
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
37672
37701
|
__name: "TableTreeRender",
|
|
37673
37702
|
props: {
|
|
37674
37703
|
tableId: {
|
|
@@ -37869,13 +37898,13 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
37869
37898
|
};
|
|
37870
37899
|
}
|
|
37871
37900
|
});
|
|
37872
|
-
const KeTableTreeRender = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
37901
|
+
const KeTableTreeRender = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-b06f3a94"]]);
|
|
37873
37902
|
KeTableTreeRender.install = (app) => {
|
|
37874
37903
|
app.component(KeTableTreeRender.__name, KeTableTreeRender);
|
|
37875
37904
|
};
|
|
37876
37905
|
const _hoisted_1$6 = { class: "table-check-box-async" };
|
|
37877
37906
|
const _hoisted_2$4 = { class: "dialog-header" };
|
|
37878
|
-
const _sfc_main$
|
|
37907
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
37879
37908
|
__name: "TableCheckBoxAsync",
|
|
37880
37909
|
props: /* @__PURE__ */ mergeModels({
|
|
37881
37910
|
value: {
|
|
@@ -38028,12 +38057,12 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
38028
38057
|
};
|
|
38029
38058
|
}
|
|
38030
38059
|
});
|
|
38031
|
-
const KeTableCheckBoxAsync = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
38060
|
+
const KeTableCheckBoxAsync = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-843c7943"]]);
|
|
38032
38061
|
KeTableCheckBoxAsync.install = (app) => {
|
|
38033
38062
|
app.component(KeTableCheckBoxAsync.__name, KeTableCheckBoxAsync);
|
|
38034
38063
|
};
|
|
38035
38064
|
const _hoisted_1$5 = { style: { "margin": "4px 0 0", "text-align": "right" } };
|
|
38036
|
-
const _sfc_main$
|
|
38065
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
38037
38066
|
__name: "TableInput",
|
|
38038
38067
|
props: /* @__PURE__ */ mergeModels({
|
|
38039
38068
|
value: {
|
|
@@ -38146,10 +38175,10 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
38146
38175
|
};
|
|
38147
38176
|
}
|
|
38148
38177
|
});
|
|
38149
|
-
const KeTableInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
38178
|
+
const KeTableInput = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-45577ce0"]]);
|
|
38150
38179
|
const _hoisted_1$4 = { style: { "width": "100%" } };
|
|
38151
38180
|
const _hoisted_2$3 = { style: { "margin": "4px 0 0", "text-align": "right" } };
|
|
38152
|
-
const _sfc_main$
|
|
38181
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
38153
38182
|
__name: "TableInputNumber",
|
|
38154
38183
|
props: /* @__PURE__ */ mergeModels({
|
|
38155
38184
|
value: {
|
|
@@ -38266,11 +38295,11 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
38266
38295
|
};
|
|
38267
38296
|
}
|
|
38268
38297
|
});
|
|
38269
|
-
const KeTableInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
38298
|
+
const KeTableInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-b622e1f6"]]);
|
|
38270
38299
|
KeTableInputNumber.install = (app) => {
|
|
38271
38300
|
app.component(KeTableInputNumber.__name, KeTableInputNumber);
|
|
38272
38301
|
};
|
|
38273
|
-
const _sfc_main$
|
|
38302
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
38274
38303
|
__name: "TableSelect",
|
|
38275
38304
|
props: {
|
|
38276
38305
|
value: {
|
|
@@ -38349,10 +38378,10 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
38349
38378
|
};
|
|
38350
38379
|
}
|
|
38351
38380
|
});
|
|
38352
|
-
_sfc_main$
|
|
38353
|
-
app.component(_sfc_main$
|
|
38381
|
+
_sfc_main$A.install = (app) => {
|
|
38382
|
+
app.component(_sfc_main$A.__name, _sfc_main$A);
|
|
38354
38383
|
};
|
|
38355
|
-
const _sfc_main$
|
|
38384
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
38356
38385
|
__name: "TableSelectAsync",
|
|
38357
38386
|
props: /* @__PURE__ */ mergeModels({
|
|
38358
38387
|
value: {
|
|
@@ -38416,10 +38445,10 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
38416
38445
|
};
|
|
38417
38446
|
}
|
|
38418
38447
|
});
|
|
38419
|
-
_sfc_main$
|
|
38420
|
-
app.component(_sfc_main$
|
|
38448
|
+
_sfc_main$z.install = (app) => {
|
|
38449
|
+
app.component(_sfc_main$z.__name, _sfc_main$z);
|
|
38421
38450
|
};
|
|
38422
|
-
const _sfc_main$
|
|
38451
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
38423
38452
|
__name: "TableSwitch",
|
|
38424
38453
|
props: /* @__PURE__ */ mergeModels({
|
|
38425
38454
|
value: {
|
|
@@ -38462,14 +38491,29 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
38462
38491
|
};
|
|
38463
38492
|
}
|
|
38464
38493
|
});
|
|
38465
|
-
_sfc_main$
|
|
38466
|
-
app.component(_sfc_main$
|
|
38494
|
+
_sfc_main$y.install = (app) => {
|
|
38495
|
+
app.component(_sfc_main$y.__name, _sfc_main$y);
|
|
38467
38496
|
};
|
|
38468
|
-
const
|
|
38469
|
-
|
|
38470
|
-
|
|
38497
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
38498
|
+
__name: "QueryBarProxy",
|
|
38499
|
+
setup(__props) {
|
|
38500
|
+
const currentComponent = computed(() => isMobileDevice.value ? _sfc_main$L : _sfc_main$O);
|
|
38501
|
+
const attrs = useAttrs();
|
|
38502
|
+
const forwardedAttrs = attrs;
|
|
38503
|
+
return (_ctx, _cache) => {
|
|
38504
|
+
return openBlock(), createBlock(resolveDynamicComponent(currentComponent.value), normalizeProps(guardReactiveProps(unref(forwardedAttrs))), {
|
|
38505
|
+
default: withCtx(() => [
|
|
38506
|
+
renderSlot(_ctx.$slots, "default")
|
|
38507
|
+
]),
|
|
38508
|
+
_: 3
|
|
38509
|
+
}, 16);
|
|
38510
|
+
};
|
|
38511
|
+
}
|
|
38512
|
+
});
|
|
38513
|
+
_sfc_main$x.install = (app) => {
|
|
38514
|
+
app.component("KeliQueryBar", _sfc_main$x);
|
|
38471
38515
|
};
|
|
38472
|
-
const _sfc_main$
|
|
38516
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
38473
38517
|
__name: "QueryDateTimeClient",
|
|
38474
38518
|
props: /* @__PURE__ */ mergeModels({
|
|
38475
38519
|
value: {
|
|
@@ -38534,10 +38578,10 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
38534
38578
|
};
|
|
38535
38579
|
}
|
|
38536
38580
|
});
|
|
38537
|
-
_sfc_main$
|
|
38538
|
-
app.component(_sfc_main$
|
|
38581
|
+
_sfc_main$w.install = (app) => {
|
|
38582
|
+
app.component(_sfc_main$w.__name, _sfc_main$w);
|
|
38539
38583
|
};
|
|
38540
|
-
const _sfc_main$
|
|
38584
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
38541
38585
|
__name: "QueryInput",
|
|
38542
38586
|
props: /* @__PURE__ */ mergeModels({
|
|
38543
38587
|
value: {
|
|
@@ -38567,10 +38611,10 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
38567
38611
|
};
|
|
38568
38612
|
}
|
|
38569
38613
|
});
|
|
38570
|
-
_sfc_main$
|
|
38571
|
-
app.component(_sfc_main$
|
|
38614
|
+
_sfc_main$v.install = (app) => {
|
|
38615
|
+
app.component(_sfc_main$v.__name, _sfc_main$v);
|
|
38572
38616
|
};
|
|
38573
|
-
const _sfc_main$
|
|
38617
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
38574
38618
|
__name: "QueryInputLike",
|
|
38575
38619
|
props: /* @__PURE__ */ mergeModels({
|
|
38576
38620
|
value: {
|
|
@@ -38600,10 +38644,10 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
38600
38644
|
};
|
|
38601
38645
|
}
|
|
38602
38646
|
});
|
|
38603
|
-
_sfc_main$
|
|
38604
|
-
app.component(_sfc_main$
|
|
38647
|
+
_sfc_main$u.install = (app) => {
|
|
38648
|
+
app.component(_sfc_main$u.__name, _sfc_main$u);
|
|
38605
38649
|
};
|
|
38606
|
-
const _sfc_main$
|
|
38650
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
38607
38651
|
__name: "QuerySelectClient",
|
|
38608
38652
|
props: /* @__PURE__ */ mergeModels({
|
|
38609
38653
|
value: {
|
|
@@ -38656,32 +38700,55 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
38656
38700
|
};
|
|
38657
38701
|
}
|
|
38658
38702
|
});
|
|
38659
|
-
const KeliQuerySelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
38703
|
+
const KeliQuerySelect = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-d1b8eb49"]]);
|
|
38660
38704
|
KeliQuerySelect.install = (app) => {
|
|
38661
38705
|
app.component(KeliQuerySelect.__name, KeliQuerySelect);
|
|
38662
38706
|
};
|
|
38663
|
-
const _sfc_main$
|
|
38707
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
38664
38708
|
__name: "ToolBarProxy",
|
|
38665
|
-
props: {
|
|
38666
|
-
toolButtons: {
|
|
38667
|
-
required: true,
|
|
38668
|
-
type: Array
|
|
38669
|
-
}
|
|
38670
|
-
},
|
|
38671
38709
|
setup(__props) {
|
|
38672
|
-
const
|
|
38673
|
-
const
|
|
38674
|
-
|
|
38675
|
-
});
|
|
38710
|
+
const currentComponent = computed(() => isMobileDevice.value ? ToolBarMobile : ToolBarClient);
|
|
38711
|
+
const attrs = useAttrs();
|
|
38712
|
+
const forwardedAttrs = attrs;
|
|
38676
38713
|
return (_ctx, _cache) => {
|
|
38677
|
-
return openBlock(), createBlock(resolveDynamicComponent(currentComponent.value), normalizeProps(guardReactiveProps(
|
|
38714
|
+
return openBlock(), createBlock(resolveDynamicComponent(currentComponent.value), normalizeProps(guardReactiveProps(unref(forwardedAttrs))), {
|
|
38715
|
+
default: withCtx(() => [
|
|
38716
|
+
renderSlot(_ctx.$slots, "default")
|
|
38717
|
+
]),
|
|
38718
|
+
_: 3
|
|
38719
|
+
}, 16);
|
|
38678
38720
|
};
|
|
38679
38721
|
}
|
|
38680
38722
|
});
|
|
38681
|
-
_sfc_main$
|
|
38682
|
-
app.component(_sfc_main$
|
|
38723
|
+
_sfc_main$s.install = (app) => {
|
|
38724
|
+
app.component(_sfc_main$s.__name, _sfc_main$s);
|
|
38683
38725
|
};
|
|
38684
|
-
const
|
|
38726
|
+
const useMittHook = (fieldName, mittId) => {
|
|
38727
|
+
if (!mittId) {
|
|
38728
|
+
return {
|
|
38729
|
+
registerMitt: () => {
|
|
38730
|
+
},
|
|
38731
|
+
offMitt: () => {
|
|
38732
|
+
}
|
|
38733
|
+
};
|
|
38734
|
+
}
|
|
38735
|
+
const registerMitt = (func) => {
|
|
38736
|
+
if (mittId && emitter) {
|
|
38737
|
+
emitter.on(fieldName + mittId, (_eventData) => {
|
|
38738
|
+
if (func) {
|
|
38739
|
+
func(_eventData);
|
|
38740
|
+
}
|
|
38741
|
+
});
|
|
38742
|
+
}
|
|
38743
|
+
};
|
|
38744
|
+
const offMitt = () => {
|
|
38745
|
+
if (mittId && emitter) {
|
|
38746
|
+
emitter.off(fieldName + mittId);
|
|
38747
|
+
}
|
|
38748
|
+
};
|
|
38749
|
+
return { registerMitt, offMitt };
|
|
38750
|
+
};
|
|
38751
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
38685
38752
|
__name: "FormCascaderAsync",
|
|
38686
38753
|
props: /* @__PURE__ */ mergeModels({
|
|
38687
38754
|
value: {
|
|
@@ -38695,6 +38762,11 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
38695
38762
|
fieldTitle: {
|
|
38696
38763
|
required: true,
|
|
38697
38764
|
type: String
|
|
38765
|
+
},
|
|
38766
|
+
mittId: {
|
|
38767
|
+
type: null,
|
|
38768
|
+
required: false,
|
|
38769
|
+
default: () => null
|
|
38698
38770
|
}
|
|
38699
38771
|
}, {
|
|
38700
38772
|
"value": {},
|
|
@@ -38703,13 +38775,13 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
38703
38775
|
emits: /* @__PURE__ */ mergeModels([
|
|
38704
38776
|
"update:value",
|
|
38705
38777
|
"getComponentValue",
|
|
38706
|
-
"valueChange",
|
|
38707
38778
|
"setShow"
|
|
38708
38779
|
], ["update:value"]),
|
|
38709
38780
|
setup(__props, { emit: __emit }) {
|
|
38710
38781
|
const props = __props;
|
|
38711
38782
|
const emits = __emit;
|
|
38712
38783
|
const valueRef = useModel(__props, "value");
|
|
38784
|
+
const { registerMitt, offMitt } = useMittHook(props.detail.field, props.mittId);
|
|
38713
38785
|
const cascaderProps = {
|
|
38714
38786
|
lazy: true,
|
|
38715
38787
|
lazyLoad: async (node, resolve) => {
|
|
@@ -38754,6 +38826,20 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
38754
38826
|
}
|
|
38755
38827
|
}
|
|
38756
38828
|
};
|
|
38829
|
+
const setValue = (value) => {
|
|
38830
|
+
valueRef.value = value;
|
|
38831
|
+
};
|
|
38832
|
+
const receiveBroadcasts = (eventData) => {
|
|
38833
|
+
if (props.detail.noticeReceive) {
|
|
38834
|
+
props.detail.noticeReceive(eventData, setValue);
|
|
38835
|
+
}
|
|
38836
|
+
};
|
|
38837
|
+
onMounted(() => {
|
|
38838
|
+
registerMitt(receiveBroadcasts);
|
|
38839
|
+
});
|
|
38840
|
+
onUnmounted(() => {
|
|
38841
|
+
offMitt();
|
|
38842
|
+
});
|
|
38757
38843
|
return (_ctx, _cache) => {
|
|
38758
38844
|
const _component_el_cascader = resolveComponent("el-cascader");
|
|
38759
38845
|
return openBlock(), createBlock(_component_el_cascader, mergeProps({
|
|
@@ -38764,11 +38850,11 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
38764
38850
|
};
|
|
38765
38851
|
}
|
|
38766
38852
|
});
|
|
38767
|
-
_sfc_main$
|
|
38768
|
-
app.component(_sfc_main$
|
|
38853
|
+
_sfc_main$r.install = (app) => {
|
|
38854
|
+
app.component(_sfc_main$r.__name, _sfc_main$r);
|
|
38769
38855
|
};
|
|
38770
38856
|
const isLoadFail = false;
|
|
38771
|
-
const _sfc_main$
|
|
38857
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
38772
38858
|
__name: "FormCheckBoxAsync",
|
|
38773
38859
|
props: /* @__PURE__ */ mergeModels({
|
|
38774
38860
|
value: {
|
|
@@ -38783,6 +38869,11 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
38783
38869
|
fieldTitle: {
|
|
38784
38870
|
required: true,
|
|
38785
38871
|
type: String
|
|
38872
|
+
},
|
|
38873
|
+
mittId: {
|
|
38874
|
+
type: null,
|
|
38875
|
+
required: false,
|
|
38876
|
+
default: () => null
|
|
38786
38877
|
}
|
|
38787
38878
|
}, {
|
|
38788
38879
|
"value": {
|
|
@@ -38800,6 +38891,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
38800
38891
|
const props = __props;
|
|
38801
38892
|
const emits = __emit;
|
|
38802
38893
|
const checkData = useModel(__props, "value");
|
|
38894
|
+
const { registerMitt, offMitt } = useMittHook(props.detail.field, props.mittId);
|
|
38803
38895
|
const options = reactive({
|
|
38804
38896
|
loading: false,
|
|
38805
38897
|
load: false,
|
|
@@ -38853,9 +38945,21 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
38853
38945
|
});
|
|
38854
38946
|
}
|
|
38855
38947
|
};
|
|
38948
|
+
const setValue = (value) => {
|
|
38949
|
+
checkData.value = value;
|
|
38950
|
+
};
|
|
38951
|
+
const receiveBroadcasts = (eventData) => {
|
|
38952
|
+
if (props.detail.noticeReceive) {
|
|
38953
|
+
props.detail.noticeReceive(eventData, setValue);
|
|
38954
|
+
}
|
|
38955
|
+
};
|
|
38856
38956
|
onMounted(() => {
|
|
38957
|
+
registerMitt(receiveBroadcasts);
|
|
38857
38958
|
getOptions();
|
|
38858
38959
|
});
|
|
38960
|
+
onUnmounted(() => {
|
|
38961
|
+
offMitt();
|
|
38962
|
+
});
|
|
38859
38963
|
return (_ctx, _cache) => {
|
|
38860
38964
|
const _component_el_checkbox = resolveComponent("el-checkbox");
|
|
38861
38965
|
const _component_el_checkbox_group = resolveComponent("el-checkbox-group");
|
|
@@ -38878,13 +38982,13 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
38878
38982
|
};
|
|
38879
38983
|
}
|
|
38880
38984
|
});
|
|
38881
|
-
_sfc_main$
|
|
38882
|
-
app.component(_sfc_main$
|
|
38985
|
+
_sfc_main$q.install = (app) => {
|
|
38986
|
+
app.component(_sfc_main$q.__name, _sfc_main$q);
|
|
38883
38987
|
};
|
|
38884
38988
|
const _hoisted_1$3 = { class: "dateCell" };
|
|
38885
38989
|
const _hoisted_2$2 = { class: "solar_calendar" };
|
|
38886
38990
|
const _hoisted_3$2 = { class: "lunar_calendar" };
|
|
38887
|
-
const _sfc_main$
|
|
38991
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
38888
38992
|
__name: "FormDatePickerClient",
|
|
38889
38993
|
props: /* @__PURE__ */ mergeModels({
|
|
38890
38994
|
value: {
|
|
@@ -38896,6 +39000,11 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
38896
39000
|
detail: {
|
|
38897
39001
|
required: true,
|
|
38898
39002
|
type: Object
|
|
39003
|
+
},
|
|
39004
|
+
mittId: {
|
|
39005
|
+
type: null,
|
|
39006
|
+
required: false,
|
|
39007
|
+
default: () => null
|
|
38899
39008
|
}
|
|
38900
39009
|
}, {
|
|
38901
39010
|
"value": {},
|
|
@@ -38904,25 +39013,28 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
38904
39013
|
emits: /* @__PURE__ */ mergeModels(["update:value", "valueChange"], ["update:value"]),
|
|
38905
39014
|
setup(__props, { emit: __emit }) {
|
|
38906
39015
|
const props = __props;
|
|
38907
|
-
const emits = __emit;
|
|
38908
39016
|
const valueRef = useModel(__props, "value");
|
|
38909
|
-
const
|
|
38910
|
-
var _a, _b, _c, _d;
|
|
38911
|
-
if (((_a = props.detail) == null ? void 0 : _a.noticeField) && ((_b = props.detail) == null ? void 0 : _b.noticeField.length) > 0) {
|
|
38912
|
-
emits(
|
|
38913
|
-
"valueChange",
|
|
38914
|
-
(_c = props.detail) == null ? void 0 : _c.noticeField,
|
|
38915
|
-
(_d = props.detail) == null ? void 0 : _d.field,
|
|
38916
|
-
valueRef
|
|
38917
|
-
);
|
|
38918
|
-
}
|
|
38919
|
-
};
|
|
39017
|
+
const { registerMitt, offMitt } = useMittHook(props.detail.field, props.mittId);
|
|
38920
39018
|
const getShowText = (cell) => {
|
|
38921
39019
|
if (cell.renderText) {
|
|
38922
39020
|
return cell.renderText;
|
|
38923
39021
|
}
|
|
38924
39022
|
return cell.text;
|
|
38925
39023
|
};
|
|
39024
|
+
const setValue = (value) => {
|
|
39025
|
+
valueRef.value = value;
|
|
39026
|
+
};
|
|
39027
|
+
const receiveBroadcasts = (eventData) => {
|
|
39028
|
+
if (props.detail.noticeReceive) {
|
|
39029
|
+
props.detail.noticeReceive(eventData, setValue);
|
|
39030
|
+
}
|
|
39031
|
+
};
|
|
39032
|
+
onMounted(() => {
|
|
39033
|
+
registerMitt(receiveBroadcasts);
|
|
39034
|
+
});
|
|
39035
|
+
onUnmounted(() => {
|
|
39036
|
+
offMitt();
|
|
39037
|
+
});
|
|
38926
39038
|
return (_ctx, _cache) => {
|
|
38927
39039
|
var _a;
|
|
38928
39040
|
const _component_el_date_picker = resolveComponent("el-date-picker");
|
|
@@ -38932,8 +39044,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
38932
39044
|
}, ((_a = props.detail) == null ? void 0 : _a.componentParams) ? props.detail.componentParams : {}, {
|
|
38933
39045
|
format: "YYYY-MM-DD",
|
|
38934
39046
|
style: { "width": "100%" },
|
|
38935
|
-
"value-format": "YYYY-MM-DD"
|
|
38936
|
-
onChange: handleChange
|
|
39047
|
+
"value-format": "YYYY-MM-DD"
|
|
38937
39048
|
}), {
|
|
38938
39049
|
default: withCtx((cell) => [
|
|
38939
39050
|
createElementVNode("div", _hoisted_1$3, [
|
|
@@ -38946,8 +39057,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
38946
39057
|
};
|
|
38947
39058
|
}
|
|
38948
39059
|
});
|
|
38949
|
-
const FormDatePickerClient = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
38950
|
-
const _sfc_main$
|
|
39060
|
+
const FormDatePickerClient = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-dd842b4b"]]);
|
|
39061
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
38951
39062
|
__name: "FormDatePickerMobile",
|
|
38952
39063
|
props: /* @__PURE__ */ mergeModels({
|
|
38953
39064
|
value: {
|
|
@@ -38964,6 +39075,11 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
38964
39075
|
fieldTitle: {
|
|
38965
39076
|
required: true,
|
|
38966
39077
|
type: String
|
|
39078
|
+
},
|
|
39079
|
+
mittId: {
|
|
39080
|
+
type: null,
|
|
39081
|
+
required: false,
|
|
39082
|
+
default: () => null
|
|
38967
39083
|
}
|
|
38968
39084
|
}, {
|
|
38969
39085
|
"value": {
|
|
@@ -38977,6 +39093,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
38977
39093
|
setup(__props) {
|
|
38978
39094
|
const props = __props;
|
|
38979
39095
|
const valueRef = useModel(__props, "value");
|
|
39096
|
+
const { registerMitt, offMitt } = useMittHook(props.detail.field, props.mittId);
|
|
38980
39097
|
const pickerText = computed(() => {
|
|
38981
39098
|
if (isEmpty(props.value)) {
|
|
38982
39099
|
return "";
|
|
@@ -38997,6 +39114,20 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
38997
39114
|
valueRef.value = `${currentDate.value[0]}-${currentDate.value[1]}-${currentDate.value[2]}`;
|
|
38998
39115
|
showPicker.value = false;
|
|
38999
39116
|
};
|
|
39117
|
+
const setValue = (value) => {
|
|
39118
|
+
valueRef.value = value;
|
|
39119
|
+
};
|
|
39120
|
+
const receiveBroadcasts = (eventData) => {
|
|
39121
|
+
if (props.detail.noticeReceive) {
|
|
39122
|
+
props.detail.noticeReceive(eventData, setValue);
|
|
39123
|
+
}
|
|
39124
|
+
};
|
|
39125
|
+
onMounted(() => {
|
|
39126
|
+
registerMitt(receiveBroadcasts);
|
|
39127
|
+
});
|
|
39128
|
+
onUnmounted(() => {
|
|
39129
|
+
offMitt();
|
|
39130
|
+
});
|
|
39000
39131
|
return (_ctx, _cache) => {
|
|
39001
39132
|
const _component_van_cell = resolveComponent("van-cell");
|
|
39002
39133
|
const _component_van_date_picker = resolveComponent("van-date-picker");
|
|
@@ -39030,11 +39161,26 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
39030
39161
|
};
|
|
39031
39162
|
}
|
|
39032
39163
|
});
|
|
39033
|
-
const
|
|
39034
|
-
|
|
39035
|
-
|
|
39164
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
39165
|
+
__name: "FormDatePickerProxy",
|
|
39166
|
+
setup(__props) {
|
|
39167
|
+
const currentComponent = computed(() => isMobileDevice.value ? _sfc_main$o : FormDatePickerClient);
|
|
39168
|
+
const attrs = useAttrs();
|
|
39169
|
+
const forwardedAttrs = attrs;
|
|
39170
|
+
return (_ctx, _cache) => {
|
|
39171
|
+
return openBlock(), createBlock(resolveDynamicComponent(currentComponent.value), normalizeProps(guardReactiveProps(unref(forwardedAttrs))), {
|
|
39172
|
+
default: withCtx(() => [
|
|
39173
|
+
renderSlot(_ctx.$slots, "default")
|
|
39174
|
+
]),
|
|
39175
|
+
_: 3
|
|
39176
|
+
}, 16);
|
|
39177
|
+
};
|
|
39178
|
+
}
|
|
39179
|
+
});
|
|
39180
|
+
_sfc_main$n.install = (app) => {
|
|
39181
|
+
app.component("KeFormDatePicker", _sfc_main$n);
|
|
39036
39182
|
};
|
|
39037
|
-
const _sfc_main$
|
|
39183
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
39038
39184
|
__name: "FormDivider",
|
|
39039
39185
|
props: {
|
|
39040
39186
|
fieldName: {
|
|
@@ -39048,6 +39194,11 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
39048
39194
|
detail: {
|
|
39049
39195
|
required: true,
|
|
39050
39196
|
type: Object
|
|
39197
|
+
},
|
|
39198
|
+
mittId: {
|
|
39199
|
+
type: null,
|
|
39200
|
+
required: false,
|
|
39201
|
+
default: () => null
|
|
39051
39202
|
}
|
|
39052
39203
|
},
|
|
39053
39204
|
setup(__props) {
|
|
@@ -39066,13 +39217,13 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
39066
39217
|
};
|
|
39067
39218
|
}
|
|
39068
39219
|
});
|
|
39069
|
-
_sfc_main$
|
|
39070
|
-
app.component(_sfc_main$
|
|
39220
|
+
_sfc_main$m.install = (app) => {
|
|
39221
|
+
app.component(_sfc_main$m.__name, _sfc_main$m);
|
|
39071
39222
|
};
|
|
39072
39223
|
const _hoisted_1$2 = { class: "dateCell" };
|
|
39073
39224
|
const _hoisted_2$1 = { class: "solar_calendar" };
|
|
39074
39225
|
const _hoisted_3$1 = { class: "lunar_calendar" };
|
|
39075
|
-
const _sfc_main$
|
|
39226
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
39076
39227
|
__name: "FormDateTimePickerClient",
|
|
39077
39228
|
props: /* @__PURE__ */ mergeModels({
|
|
39078
39229
|
value: {
|
|
@@ -39084,6 +39235,11 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
39084
39235
|
detail: {
|
|
39085
39236
|
required: true,
|
|
39086
39237
|
type: Object
|
|
39238
|
+
},
|
|
39239
|
+
mittId: {
|
|
39240
|
+
type: null,
|
|
39241
|
+
required: false,
|
|
39242
|
+
default: () => null
|
|
39087
39243
|
}
|
|
39088
39244
|
}, {
|
|
39089
39245
|
"value": {},
|
|
@@ -39097,19 +39253,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
39097
39253
|
], ["update:value"]),
|
|
39098
39254
|
setup(__props, { emit: __emit }) {
|
|
39099
39255
|
const props = __props;
|
|
39100
|
-
const emits = __emit;
|
|
39101
39256
|
const valueRef = useModel(__props, "value");
|
|
39102
|
-
const
|
|
39103
|
-
var _a, _b, _c, _d;
|
|
39104
|
-
if (((_a = props.detail) == null ? void 0 : _a.noticeField) && ((_b = props.detail) == null ? void 0 : _b.noticeField.length) > 0) {
|
|
39105
|
-
emits(
|
|
39106
|
-
"valueChange",
|
|
39107
|
-
(_c = props.detail) == null ? void 0 : _c.noticeField,
|
|
39108
|
-
(_d = props.detail) == null ? void 0 : _d.field,
|
|
39109
|
-
valueRef
|
|
39110
|
-
);
|
|
39111
|
-
}
|
|
39112
|
-
};
|
|
39257
|
+
const { registerMitt, offMitt } = useMittHook(props.detail.field, props.mittId);
|
|
39113
39258
|
const getShowText = (cell) => {
|
|
39114
39259
|
if (cell.renderText) {
|
|
39115
39260
|
return cell.renderText;
|
|
@@ -39150,6 +39295,20 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
39150
39295
|
}
|
|
39151
39296
|
}
|
|
39152
39297
|
];
|
|
39298
|
+
const setValue = (value) => {
|
|
39299
|
+
valueRef.value = value;
|
|
39300
|
+
};
|
|
39301
|
+
const receiveBroadcasts = (eventData) => {
|
|
39302
|
+
if (props.detail.noticeReceive) {
|
|
39303
|
+
props.detail.noticeReceive(eventData, setValue);
|
|
39304
|
+
}
|
|
39305
|
+
};
|
|
39306
|
+
onMounted(() => {
|
|
39307
|
+
registerMitt(receiveBroadcasts);
|
|
39308
|
+
});
|
|
39309
|
+
onUnmounted(() => {
|
|
39310
|
+
offMitt();
|
|
39311
|
+
});
|
|
39153
39312
|
return (_ctx, _cache) => {
|
|
39154
39313
|
var _a;
|
|
39155
39314
|
const _component_el_date_picker = resolveComponent("el-date-picker");
|
|
@@ -39161,8 +39320,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
39161
39320
|
format: "YYYY-MM-DD HH:mm:ss",
|
|
39162
39321
|
style: { "width": "100%" },
|
|
39163
39322
|
type: "datetime",
|
|
39164
|
-
"value-format": "YYYY-MM-DD HH:mm:ss"
|
|
39165
|
-
onChange: handleChange
|
|
39323
|
+
"value-format": "YYYY-MM-DD HH:mm:ss"
|
|
39166
39324
|
}), {
|
|
39167
39325
|
default: withCtx((cell) => [
|
|
39168
39326
|
createElementVNode("div", _hoisted_1$2, [
|
|
@@ -39175,8 +39333,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
39175
39333
|
};
|
|
39176
39334
|
}
|
|
39177
39335
|
});
|
|
39178
|
-
const FormDateTimePickerClient = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
39179
|
-
const _sfc_main$
|
|
39336
|
+
const FormDateTimePickerClient = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-f3731a0d"]]);
|
|
39337
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
39180
39338
|
__name: "FormDateTimePickerMobile",
|
|
39181
39339
|
props: /* @__PURE__ */ mergeModels({
|
|
39182
39340
|
value: {
|
|
@@ -39193,6 +39351,11 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
39193
39351
|
fieldTitle: {
|
|
39194
39352
|
required: true,
|
|
39195
39353
|
type: String
|
|
39354
|
+
},
|
|
39355
|
+
mittId: {
|
|
39356
|
+
type: null,
|
|
39357
|
+
required: false,
|
|
39358
|
+
default: () => null
|
|
39196
39359
|
}
|
|
39197
39360
|
}, {
|
|
39198
39361
|
"value": {
|
|
@@ -39206,6 +39369,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
39206
39369
|
setup(__props) {
|
|
39207
39370
|
const props = __props;
|
|
39208
39371
|
const valueRef = useModel(__props, "value");
|
|
39372
|
+
const { registerMitt, offMitt } = useMittHook(props.detail.field, props.mittId);
|
|
39209
39373
|
const pickerText = computed(() => {
|
|
39210
39374
|
if (props.value) {
|
|
39211
39375
|
return dayjs(props.value).format("YYYY-MM-DD HH:mm:ss");
|
|
@@ -39228,6 +39392,20 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
39228
39392
|
valueRef.value = `${currentDate.value[0]}-${currentDate.value[1]}-${currentDate.value[2]} ${currentTime.value[0]}:${currentTime.value[1]}:${currentTime.value[2]}`;
|
|
39229
39393
|
showPicker.value = false;
|
|
39230
39394
|
};
|
|
39395
|
+
const setValue = (value) => {
|
|
39396
|
+
valueRef.value = value;
|
|
39397
|
+
};
|
|
39398
|
+
const receiveBroadcasts = (eventData) => {
|
|
39399
|
+
if (props.detail.noticeReceive) {
|
|
39400
|
+
props.detail.noticeReceive(eventData, setValue);
|
|
39401
|
+
}
|
|
39402
|
+
};
|
|
39403
|
+
onMounted(() => {
|
|
39404
|
+
registerMitt(receiveBroadcasts);
|
|
39405
|
+
});
|
|
39406
|
+
onUnmounted(() => {
|
|
39407
|
+
offMitt();
|
|
39408
|
+
});
|
|
39231
39409
|
return (_ctx, _cache) => {
|
|
39232
39410
|
const _component_van_cell = resolveComponent("van-cell");
|
|
39233
39411
|
const _component_van_date_picker = resolveComponent("van-date-picker");
|
|
@@ -39276,9 +39454,24 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
39276
39454
|
};
|
|
39277
39455
|
}
|
|
39278
39456
|
});
|
|
39279
|
-
const
|
|
39280
|
-
|
|
39281
|
-
|
|
39457
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
39458
|
+
__name: "FormDateTimePickerProxy",
|
|
39459
|
+
setup(__props) {
|
|
39460
|
+
const currentComponent = computed(() => isMobileDevice.value ? _sfc_main$k : FormDateTimePickerClient);
|
|
39461
|
+
const attrs = useAttrs();
|
|
39462
|
+
const forwardedAttrs = attrs;
|
|
39463
|
+
return (_ctx, _cache) => {
|
|
39464
|
+
return openBlock(), createBlock(resolveDynamicComponent(currentComponent.value), normalizeProps(guardReactiveProps(unref(forwardedAttrs))), {
|
|
39465
|
+
default: withCtx(() => [
|
|
39466
|
+
renderSlot(_ctx.$slots, "default")
|
|
39467
|
+
]),
|
|
39468
|
+
_: 3
|
|
39469
|
+
}, 16);
|
|
39470
|
+
};
|
|
39471
|
+
}
|
|
39472
|
+
});
|
|
39473
|
+
_sfc_main$j.install = (app) => {
|
|
39474
|
+
app.component("KeFormDateTimePicker", _sfc_main$j);
|
|
39282
39475
|
};
|
|
39283
39476
|
var rn = Object.defineProperty;
|
|
39284
39477
|
var Ne = Object.getOwnPropertySymbols;
|
|
@@ -40875,7 +41068,7 @@ const ct = [
|
|
|
40875
41068
|
};
|
|
40876
41069
|
}
|
|
40877
41070
|
});
|
|
40878
|
-
const _sfc_main$
|
|
41071
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
40879
41072
|
__name: "FormDynamicTable",
|
|
40880
41073
|
props: {
|
|
40881
41074
|
value: {
|
|
@@ -40888,6 +41081,11 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
40888
41081
|
detail: {
|
|
40889
41082
|
required: true,
|
|
40890
41083
|
type: Object
|
|
41084
|
+
},
|
|
41085
|
+
mittId: {
|
|
41086
|
+
type: null,
|
|
41087
|
+
required: false,
|
|
41088
|
+
default: () => null
|
|
40891
41089
|
}
|
|
40892
41090
|
},
|
|
40893
41091
|
emits: [
|
|
@@ -40919,28 +41117,34 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
40919
41117
|
state.value.splice(index2, 1);
|
|
40920
41118
|
};
|
|
40921
41119
|
const handleChange = () => {
|
|
40922
|
-
var _a, _b, _c, _d;
|
|
40923
41120
|
emits("update:value", state.value);
|
|
40924
|
-
if (((_a = props.detail) == null ? void 0 : _a.noticeField) && ((_b = props.detail) == null ? void 0 : _b.noticeField.length) > 0) {
|
|
40925
|
-
emits(
|
|
40926
|
-
"valueChange",
|
|
40927
|
-
(_c = props.detail) == null ? void 0 : _c.noticeField,
|
|
40928
|
-
(_d = props.detail) == null ? void 0 : _d.field,
|
|
40929
|
-
state.value
|
|
40930
|
-
);
|
|
40931
|
-
}
|
|
40932
41121
|
modalOpen.value = false;
|
|
40933
41122
|
};
|
|
40934
41123
|
const handleCancel = () => {
|
|
40935
41124
|
state.value = JSON.parse(oldValue);
|
|
40936
41125
|
modalOpen.value = false;
|
|
40937
41126
|
};
|
|
41127
|
+
const { registerMitt, offMitt } = useMittHook(props.detail.field, props.mittId);
|
|
40938
41128
|
watch(
|
|
40939
41129
|
() => props.value,
|
|
40940
41130
|
(newValue) => {
|
|
40941
41131
|
state.value = Array.isArray(newValue) ? newValue : [];
|
|
40942
41132
|
}
|
|
40943
41133
|
);
|
|
41134
|
+
const setValue = (value) => {
|
|
41135
|
+
emits("update:value", value);
|
|
41136
|
+
};
|
|
41137
|
+
const receiveBroadcasts = (eventData) => {
|
|
41138
|
+
if (props.detail.noticeReceive) {
|
|
41139
|
+
props.detail.noticeReceive(eventData, setValue);
|
|
41140
|
+
}
|
|
41141
|
+
};
|
|
41142
|
+
onMounted(() => {
|
|
41143
|
+
registerMitt(receiveBroadcasts);
|
|
41144
|
+
});
|
|
41145
|
+
onUnmounted(() => {
|
|
41146
|
+
offMitt();
|
|
41147
|
+
});
|
|
40944
41148
|
return (_ctx, _cache) => {
|
|
40945
41149
|
var _a;
|
|
40946
41150
|
const _component_el_button = resolveComponent("el-button");
|
|
@@ -41119,10 +41323,10 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
41119
41323
|
};
|
|
41120
41324
|
}
|
|
41121
41325
|
});
|
|
41122
|
-
_sfc_main$
|
|
41123
|
-
app.component(_sfc_main$
|
|
41326
|
+
_sfc_main$i.install = (app) => {
|
|
41327
|
+
app.component(_sfc_main$i.__name, _sfc_main$i);
|
|
41124
41328
|
};
|
|
41125
|
-
const _sfc_main$
|
|
41329
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
41126
41330
|
__name: "FormInput",
|
|
41127
41331
|
props: /* @__PURE__ */ mergeModels({
|
|
41128
41332
|
value: {
|
|
@@ -41132,6 +41336,11 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
41132
41336
|
detail: {
|
|
41133
41337
|
required: true,
|
|
41134
41338
|
type: Object
|
|
41339
|
+
},
|
|
41340
|
+
mittId: {
|
|
41341
|
+
type: null,
|
|
41342
|
+
required: false,
|
|
41343
|
+
default: () => null
|
|
41135
41344
|
}
|
|
41136
41345
|
}, {
|
|
41137
41346
|
"value": {},
|
|
@@ -41145,19 +41354,22 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
41145
41354
|
], ["update:value"]),
|
|
41146
41355
|
setup(__props, { emit: __emit }) {
|
|
41147
41356
|
const props = __props;
|
|
41148
|
-
const
|
|
41357
|
+
const { registerMitt, offMitt } = useMittHook(props.detail.field, props.mittId);
|
|
41149
41358
|
const inputValue = useModel(__props, "value");
|
|
41150
|
-
const
|
|
41151
|
-
|
|
41152
|
-
|
|
41153
|
-
|
|
41154
|
-
|
|
41155
|
-
|
|
41156
|
-
(_d = props.detail) == null ? void 0 : _d.field,
|
|
41157
|
-
inputValue
|
|
41158
|
-
);
|
|
41359
|
+
const setValue = (value) => {
|
|
41360
|
+
inputValue.value = value;
|
|
41361
|
+
};
|
|
41362
|
+
const receiveBroadcasts = (eventData) => {
|
|
41363
|
+
if (props.detail.noticeReceive) {
|
|
41364
|
+
props.detail.noticeReceive(eventData, setValue);
|
|
41159
41365
|
}
|
|
41160
41366
|
};
|
|
41367
|
+
onMounted(() => {
|
|
41368
|
+
registerMitt(receiveBroadcasts);
|
|
41369
|
+
});
|
|
41370
|
+
onUnmounted(() => {
|
|
41371
|
+
offMitt();
|
|
41372
|
+
});
|
|
41161
41373
|
return (_ctx, _cache) => {
|
|
41162
41374
|
var _a, _b;
|
|
41163
41375
|
const _component_el_input = resolveComponent("el-input");
|
|
@@ -41165,7 +41377,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
41165
41377
|
modelValue: inputValue.value,
|
|
41166
41378
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputValue.value = $event),
|
|
41167
41379
|
placeholder: (_a = props.detail) == null ? void 0 : _a.placeholder
|
|
41168
|
-
}, ((_b = props.detail) == null ? void 0 : _b.componentParams) ? props.detail.componentParams : {}
|
|
41380
|
+
}, ((_b = props.detail) == null ? void 0 : _b.componentParams) ? props.detail.componentParams : {}), createSlots({ _: 2 }, [
|
|
41169
41381
|
__props.detail.componentParams && __props.detail.componentParams.prepend ? {
|
|
41170
41382
|
name: "prepend",
|
|
41171
41383
|
fn: withCtx(() => [
|
|
@@ -41184,35 +41396,10 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
41184
41396
|
};
|
|
41185
41397
|
}
|
|
41186
41398
|
});
|
|
41187
|
-
_sfc_main$
|
|
41188
|
-
app.component(_sfc_main$
|
|
41189
|
-
};
|
|
41190
|
-
const useMittHook = (fieldName, mittId) => {
|
|
41191
|
-
if (!mittId) {
|
|
41192
|
-
return {
|
|
41193
|
-
registerMitt: () => {
|
|
41194
|
-
},
|
|
41195
|
-
offMitt: () => {
|
|
41196
|
-
}
|
|
41197
|
-
};
|
|
41198
|
-
}
|
|
41199
|
-
const registerMitt = (func) => {
|
|
41200
|
-
if (mittId && emitter) {
|
|
41201
|
-
emitter.on(fieldName + mittId, (_eventData) => {
|
|
41202
|
-
if (func) {
|
|
41203
|
-
func(_eventData);
|
|
41204
|
-
}
|
|
41205
|
-
});
|
|
41206
|
-
}
|
|
41207
|
-
};
|
|
41208
|
-
const offMitt = () => {
|
|
41209
|
-
if (mittId && emitter) {
|
|
41210
|
-
emitter.off(fieldName + mittId);
|
|
41211
|
-
}
|
|
41212
|
-
};
|
|
41213
|
-
return { registerMitt, offMitt };
|
|
41399
|
+
_sfc_main$h.install = (app) => {
|
|
41400
|
+
app.component(_sfc_main$h.__name, _sfc_main$h);
|
|
41214
41401
|
};
|
|
41215
|
-
const _sfc_main$
|
|
41402
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
41216
41403
|
__name: "FormInputNumber",
|
|
41217
41404
|
props: /* @__PURE__ */ mergeModels({
|
|
41218
41405
|
value: {
|
|
@@ -41243,22 +41430,15 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
41243
41430
|
], ["update:value"]),
|
|
41244
41431
|
setup(__props, { emit: __emit }) {
|
|
41245
41432
|
const props = __props;
|
|
41246
|
-
const
|
|
41247
|
-
const valueState = useModel(__props, "value");
|
|
41433
|
+
const valueRef = useModel(__props, "value");
|
|
41248
41434
|
const { registerMitt, offMitt } = useMittHook(props.detail.field, props.mittId);
|
|
41249
|
-
const
|
|
41250
|
-
|
|
41251
|
-
if (((_a = props.detail) == null ? void 0 : _a.noticeField) && ((_b = props.detail) == null ? void 0 : _b.noticeField.length) > 0) {
|
|
41252
|
-
emits(
|
|
41253
|
-
"valueChange",
|
|
41254
|
-
(_c = props.detail) == null ? void 0 : _c.noticeField,
|
|
41255
|
-
(_d = props.detail) == null ? void 0 : _d.field,
|
|
41256
|
-
valueState
|
|
41257
|
-
);
|
|
41258
|
-
}
|
|
41435
|
+
const setValue = (value) => {
|
|
41436
|
+
valueRef.value = value;
|
|
41259
41437
|
};
|
|
41260
41438
|
const receiveBroadcasts = (eventData) => {
|
|
41261
|
-
|
|
41439
|
+
if (props.detail.noticeReceive) {
|
|
41440
|
+
props.detail.noticeReceive(eventData, setValue);
|
|
41441
|
+
}
|
|
41262
41442
|
};
|
|
41263
41443
|
onMounted(() => {
|
|
41264
41444
|
registerMitt(receiveBroadcasts);
|
|
@@ -41269,11 +41449,11 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
41269
41449
|
return (_ctx, _cache) => {
|
|
41270
41450
|
const _component_el_input_number = resolveComponent("el-input-number");
|
|
41271
41451
|
return openBlock(), createBlock(_component_el_input_number, mergeProps({
|
|
41272
|
-
modelValue:
|
|
41273
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
41452
|
+
modelValue: valueRef.value,
|
|
41453
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => valueRef.value = $event),
|
|
41274
41454
|
placeholder: __props.detail.placeholder,
|
|
41275
41455
|
class: "full"
|
|
41276
|
-
}, props.detail.componentParams ? props.detail.componentParams : {}
|
|
41456
|
+
}, props.detail.componentParams ? props.detail.componentParams : {}), createSlots({ _: 2 }, [
|
|
41277
41457
|
__props.detail.componentParams && __props.detail.componentParams.prefix ? {
|
|
41278
41458
|
name: "prefix",
|
|
41279
41459
|
fn: withCtx(() => [
|
|
@@ -41292,11 +41472,11 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
41292
41472
|
};
|
|
41293
41473
|
}
|
|
41294
41474
|
});
|
|
41295
|
-
const KeFormInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
41475
|
+
const KeFormInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-86ef0363"]]);
|
|
41296
41476
|
KeFormInputNumber.install = (app) => {
|
|
41297
41477
|
app.component(KeFormInputNumber.__name, KeFormInputNumber);
|
|
41298
41478
|
};
|
|
41299
|
-
const _sfc_main$
|
|
41479
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
41300
41480
|
__name: "FormRadio",
|
|
41301
41481
|
props: /* @__PURE__ */ mergeModels({
|
|
41302
41482
|
value: {
|
|
@@ -41308,6 +41488,11 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
41308
41488
|
detail: {
|
|
41309
41489
|
required: true,
|
|
41310
41490
|
type: Object
|
|
41491
|
+
},
|
|
41492
|
+
mittId: {
|
|
41493
|
+
type: null,
|
|
41494
|
+
required: false,
|
|
41495
|
+
default: () => null
|
|
41311
41496
|
}
|
|
41312
41497
|
}, {
|
|
41313
41498
|
"value": {
|
|
@@ -41317,7 +41502,23 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
41317
41502
|
}),
|
|
41318
41503
|
emits: ["update:value"],
|
|
41319
41504
|
setup(__props) {
|
|
41505
|
+
const props = __props;
|
|
41320
41506
|
const valueRef = useModel(__props, "value");
|
|
41507
|
+
const { registerMitt, offMitt } = useMittHook(props.detail.field, props.mittId);
|
|
41508
|
+
const setValue = (value) => {
|
|
41509
|
+
valueRef.value = value;
|
|
41510
|
+
};
|
|
41511
|
+
const receiveBroadcasts = (eventData) => {
|
|
41512
|
+
if (props.detail.noticeReceive) {
|
|
41513
|
+
props.detail.noticeReceive(eventData, setValue);
|
|
41514
|
+
}
|
|
41515
|
+
};
|
|
41516
|
+
onMounted(() => {
|
|
41517
|
+
registerMitt(receiveBroadcasts);
|
|
41518
|
+
});
|
|
41519
|
+
onUnmounted(() => {
|
|
41520
|
+
offMitt();
|
|
41521
|
+
});
|
|
41321
41522
|
return (_ctx, _cache) => {
|
|
41322
41523
|
const _component_el_radio = resolveComponent("el-radio");
|
|
41323
41524
|
const _component_el_radio_group = resolveComponent("el-radio-group");
|
|
@@ -41344,8 +41545,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
41344
41545
|
};
|
|
41345
41546
|
}
|
|
41346
41547
|
});
|
|
41347
|
-
_sfc_main$
|
|
41348
|
-
app.component(_sfc_main$
|
|
41548
|
+
_sfc_main$f.install = (app) => {
|
|
41549
|
+
app.component(_sfc_main$f.__name, _sfc_main$f);
|
|
41349
41550
|
};
|
|
41350
41551
|
const QuestionSVG = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1735202912040'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4284'%20width='16'%20height='16'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cpath%20d='M517.119%20954.878c244.589%200%20442.879-198.289%20442.879-442.879%200-244.594-198.289-442.879-442.879-442.879C272.524%2069.12%2074.24%20267.404%2074.24%20511.999%2074.24%20756.588%20272.524%20954.878%20517.119%20954.878L517.119%20954.878zM517.119%20891.608c-209.654%200-379.612-169.955-379.612-379.609s169.957-379.612%20379.612-379.612%20379.609%20169.957%20379.609%20379.612S726.773%20891.608%20517.119%20891.608L517.119%20891.608zM523.949%20243.992c-54.662%200-97.177%2016.705-127.547%2050.112-30.367%2031.885-44.795%2074.402-44.795%20127.547l59.98%200c0-37.202%208.35-66.052%2025.055-87.31%2018.222-25.055%2046.312-37.202%2084.272-37.202%2031.885%200%2056.945%208.352%2074.405%2026.572%2016.705%2016.702%2025.81%2040.24%2025.81%2070.607%200%2021.26-7.59%2041-22.775%2059.98-4.55%206.072-13.665%2015.185-25.81%2027.33-41%2036.445-66.055%2065.295-76.685%2088.075-9.11%2018.98-13.665%2040.995-13.665%2066.05l0%2017.465%2060.735%200%200-17.465c0-20.5%204.56-38.725%2014.43-55.425%207.59-13.665%2018.98-27.335%2035.68-41.755%2033.405-29.612%2053.91-49.352%2061.5-58.462%2018.98-25.055%2028.85-54.665%2028.85-88.83%200-45.552-14.425-81.235-42.515-107.05C611.258%20256.902%20572.544%20243.992%20523.949%20243.992L523.949%20243.992zM512.564%20706.363c-12.907%200-23.535%203.795-32.647%2012.905-9.11%208.345-12.905%2018.98-12.905%2031.885s3.795%2023.54%2012.905%2032.65c9.112%208.345%2019.74%2012.905%2032.647%2012.905%2012.91%200%2023.535-4.56%2032.645-12.905%209.11-8.355%2013.665-18.985%2013.665-32.65%200-12.905-4.555-23.54-12.905-31.885C536.859%20710.158%20525.474%20706.363%20512.564%20706.363L512.564%20706.363z'%20fill='%23272636'%20p-id='4285'%3e%3c/path%3e%3c/svg%3e";
|
|
41351
41552
|
const useFormatToTree = (params) => {
|
|
@@ -41495,7 +41696,7 @@ const _hoisted_1$1 = { class: "label-question" };
|
|
|
41495
41696
|
const _hoisted_2 = ["src"];
|
|
41496
41697
|
const _hoisted_3 = { class: "label-question" };
|
|
41497
41698
|
const _hoisted_4 = ["src"];
|
|
41498
|
-
const _sfc_main$
|
|
41699
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
41499
41700
|
__name: "FormRenderClient",
|
|
41500
41701
|
props: /* @__PURE__ */ mergeModels({
|
|
41501
41702
|
isLoading: {
|
|
@@ -41851,9 +42052,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
41851
42052
|
};
|
|
41852
42053
|
}
|
|
41853
42054
|
});
|
|
41854
|
-
const FormRenderClient = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
42055
|
+
const FormRenderClient = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-30b23a37"]]);
|
|
41855
42056
|
const _hoisted_1 = { class: "van-doc-demo-block__title" };
|
|
41856
|
-
const _sfc_main$
|
|
42057
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
41857
42058
|
__name: "FormRenderMobile",
|
|
41858
42059
|
props: /* @__PURE__ */ mergeModels({
|
|
41859
42060
|
isLoading: {
|
|
@@ -42095,12 +42296,27 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
42095
42296
|
};
|
|
42096
42297
|
}
|
|
42097
42298
|
});
|
|
42098
|
-
const FormRenderMobile = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
42099
|
-
const
|
|
42100
|
-
|
|
42101
|
-
|
|
42299
|
+
const FormRenderMobile = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-121f69cc"]]);
|
|
42300
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
42301
|
+
__name: "FormRenderProxy",
|
|
42302
|
+
setup(__props) {
|
|
42303
|
+
const currentComponent = computed(() => isMobileDevice.value ? FormRenderMobile : FormRenderClient);
|
|
42304
|
+
const attrs = useAttrs();
|
|
42305
|
+
const forwardedAttrs = attrs;
|
|
42306
|
+
return (_ctx, _cache) => {
|
|
42307
|
+
return openBlock(), createBlock(resolveDynamicComponent(currentComponent.value), normalizeProps(guardReactiveProps(unref(forwardedAttrs))), {
|
|
42308
|
+
default: withCtx(() => [
|
|
42309
|
+
renderSlot(_ctx.$slots, "default")
|
|
42310
|
+
]),
|
|
42311
|
+
_: 3
|
|
42312
|
+
}, 16);
|
|
42313
|
+
};
|
|
42314
|
+
}
|
|
42315
|
+
});
|
|
42316
|
+
_sfc_main$c.install = (app) => {
|
|
42317
|
+
app.component("KeFormRender", _sfc_main$c);
|
|
42102
42318
|
};
|
|
42103
|
-
const _sfc_main$
|
|
42319
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
42104
42320
|
__name: "FormSelectClient",
|
|
42105
42321
|
props: /* @__PURE__ */ mergeModels({
|
|
42106
42322
|
value: {
|
|
@@ -42112,6 +42328,11 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
42112
42328
|
detail: {
|
|
42113
42329
|
required: true,
|
|
42114
42330
|
type: Object
|
|
42331
|
+
},
|
|
42332
|
+
mittId: {
|
|
42333
|
+
type: null,
|
|
42334
|
+
required: false,
|
|
42335
|
+
default: () => null
|
|
42115
42336
|
}
|
|
42116
42337
|
}, {
|
|
42117
42338
|
"value": {},
|
|
@@ -42124,19 +42345,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
42124
42345
|
], ["update:value"]),
|
|
42125
42346
|
setup(__props, { emit: __emit }) {
|
|
42126
42347
|
const props = __props;
|
|
42127
|
-
const emits = __emit;
|
|
42128
42348
|
const valueRef = useModel(__props, "value");
|
|
42129
|
-
const
|
|
42130
|
-
var _a, _b, _c, _d;
|
|
42131
|
-
if (((_a = props.detail) == null ? void 0 : _a.noticeField) && ((_b = props.detail) == null ? void 0 : _b.noticeField.length) > 0) {
|
|
42132
|
-
emits(
|
|
42133
|
-
"valueChange",
|
|
42134
|
-
(_c = props.detail) == null ? void 0 : _c.noticeField,
|
|
42135
|
-
(_d = props.detail) == null ? void 0 : _d.field,
|
|
42136
|
-
valueRef
|
|
42137
|
-
);
|
|
42138
|
-
}
|
|
42139
|
-
};
|
|
42349
|
+
const { registerMitt, offMitt } = useMittHook(props.detail.field, props.mittId);
|
|
42140
42350
|
const multipleClear = async () => {
|
|
42141
42351
|
var _a;
|
|
42142
42352
|
await sleep(0.1);
|
|
@@ -42144,9 +42354,21 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
42144
42354
|
valueRef.value = [];
|
|
42145
42355
|
}
|
|
42146
42356
|
};
|
|
42357
|
+
const setValue = (value) => {
|
|
42358
|
+
valueRef.value = value;
|
|
42359
|
+
};
|
|
42360
|
+
const receiveBroadcasts = (eventData) => {
|
|
42361
|
+
if (props.detail.noticeReceive) {
|
|
42362
|
+
props.detail.noticeReceive(eventData, setValue);
|
|
42363
|
+
}
|
|
42364
|
+
};
|
|
42147
42365
|
onMounted(() => {
|
|
42366
|
+
registerMitt(receiveBroadcasts);
|
|
42148
42367
|
multipleClear();
|
|
42149
42368
|
});
|
|
42369
|
+
onUnmounted(() => {
|
|
42370
|
+
offMitt();
|
|
42371
|
+
});
|
|
42150
42372
|
return (_ctx, _cache) => {
|
|
42151
42373
|
var _a;
|
|
42152
42374
|
const _component_el_option = resolveComponent("el-option");
|
|
@@ -42156,10 +42378,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
42156
42378
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => valueRef.value = $event),
|
|
42157
42379
|
multiple: (_a = __props.detail) == null ? void 0 : _a.multiple,
|
|
42158
42380
|
placeholder: __props.detail.placeholder
|
|
42159
|
-
}, __props.detail.componentParams ? __props.detail.componentParams : {}, {
|
|
42160
|
-
clearable: "",
|
|
42161
|
-
onChange: handleChange
|
|
42162
|
-
}), {
|
|
42381
|
+
}, __props.detail.componentParams ? __props.detail.componentParams : {}, { clearable: "" }), {
|
|
42163
42382
|
default: withCtx(() => {
|
|
42164
42383
|
var _a2;
|
|
42165
42384
|
return [
|
|
@@ -42178,7 +42397,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
42178
42397
|
};
|
|
42179
42398
|
}
|
|
42180
42399
|
});
|
|
42181
|
-
const _sfc_main$
|
|
42400
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
42182
42401
|
__name: "FormSelectMobile",
|
|
42183
42402
|
props: /* @__PURE__ */ mergeModels({
|
|
42184
42403
|
value: {
|
|
@@ -42191,9 +42410,10 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
42191
42410
|
required: true,
|
|
42192
42411
|
type: Object
|
|
42193
42412
|
},
|
|
42194
|
-
|
|
42195
|
-
|
|
42196
|
-
|
|
42413
|
+
mittId: {
|
|
42414
|
+
type: null,
|
|
42415
|
+
required: false,
|
|
42416
|
+
default: () => null
|
|
42197
42417
|
}
|
|
42198
42418
|
}, {
|
|
42199
42419
|
"value": {
|
|
@@ -42209,6 +42429,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
42209
42429
|
__props,
|
|
42210
42430
|
"value"
|
|
42211
42431
|
);
|
|
42432
|
+
const { registerMitt, offMitt } = useMittHook(props.detail.field, props.mittId);
|
|
42212
42433
|
const pickerText = ref();
|
|
42213
42434
|
const showPicker = ref(false);
|
|
42214
42435
|
const checkboxRefs = ref([]);
|
|
@@ -42260,9 +42481,21 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
42260
42481
|
immediate: true
|
|
42261
42482
|
}
|
|
42262
42483
|
);
|
|
42484
|
+
const setValue = (value) => {
|
|
42485
|
+
valueRef.value = value;
|
|
42486
|
+
};
|
|
42487
|
+
const receiveBroadcasts = (eventData) => {
|
|
42488
|
+
if (props.detail.noticeReceive) {
|
|
42489
|
+
props.detail.noticeReceive(eventData, setValue);
|
|
42490
|
+
}
|
|
42491
|
+
};
|
|
42263
42492
|
onMounted(() => {
|
|
42493
|
+
registerMitt(receiveBroadcasts);
|
|
42264
42494
|
multipleClear();
|
|
42265
42495
|
});
|
|
42496
|
+
onUnmounted(() => {
|
|
42497
|
+
offMitt();
|
|
42498
|
+
});
|
|
42266
42499
|
return (_ctx, _cache) => {
|
|
42267
42500
|
var _a;
|
|
42268
42501
|
const _component_van_field = resolveComponent("van-field");
|
|
@@ -42278,7 +42511,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
42278
42511
|
createVNode(_component_van_field, {
|
|
42279
42512
|
modelValue: pickerText.value,
|
|
42280
42513
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => pickerText.value = $event),
|
|
42281
|
-
label: __props.
|
|
42514
|
+
label: __props.detail.title,
|
|
42282
42515
|
placeholder: (_a = props.detail) == null ? void 0 : _a.placeholder,
|
|
42283
42516
|
"is-link": "",
|
|
42284
42517
|
readonly: "",
|
|
@@ -42370,12 +42603,27 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
42370
42603
|
};
|
|
42371
42604
|
}
|
|
42372
42605
|
});
|
|
42373
|
-
const
|
|
42374
|
-
|
|
42375
|
-
|
|
42606
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
42607
|
+
__name: "FormSelectProxy",
|
|
42608
|
+
setup(__props) {
|
|
42609
|
+
const currentComponent = computed(() => isMobileDevice.value ? _sfc_main$a : _sfc_main$b);
|
|
42610
|
+
const attrs = useAttrs();
|
|
42611
|
+
const forwardedAttrs = attrs;
|
|
42612
|
+
return (_ctx, _cache) => {
|
|
42613
|
+
return openBlock(), createBlock(resolveDynamicComponent(currentComponent.value), normalizeProps(guardReactiveProps(unref(forwardedAttrs))), {
|
|
42614
|
+
default: withCtx(() => [
|
|
42615
|
+
renderSlot(_ctx.$slots, "default")
|
|
42616
|
+
]),
|
|
42617
|
+
_: 3
|
|
42618
|
+
}, 16);
|
|
42619
|
+
};
|
|
42620
|
+
}
|
|
42621
|
+
});
|
|
42622
|
+
_sfc_main$9.install = (app) => {
|
|
42623
|
+
app.component("KeFormSelect", _sfc_main$9);
|
|
42376
42624
|
};
|
|
42377
42625
|
const useSelectAsync = (params) => {
|
|
42378
|
-
const { emits, props
|
|
42626
|
+
const { emits, props } = params;
|
|
42379
42627
|
const loading = ref(false);
|
|
42380
42628
|
let load = false;
|
|
42381
42629
|
let isLoadFail2 = false;
|
|
@@ -42451,41 +42699,15 @@ const useSelectAsync = (params) => {
|
|
|
42451
42699
|
}
|
|
42452
42700
|
loading.value = false;
|
|
42453
42701
|
};
|
|
42454
|
-
const handleChange = async () => {
|
|
42455
|
-
var _a, _b, _c, _d;
|
|
42456
|
-
if (((_a = props.detail) == null ? void 0 : _a.noticeField) && ((_b = props.detail) == null ? void 0 : _b.noticeField.length) > 0) {
|
|
42457
|
-
await nextTick();
|
|
42458
|
-
emits(
|
|
42459
|
-
"valueChange",
|
|
42460
|
-
(_c = props.detail) == null ? void 0 : _c.noticeField,
|
|
42461
|
-
(_d = props.detail) == null ? void 0 : _d.field,
|
|
42462
|
-
valueRef.value
|
|
42463
|
-
);
|
|
42464
|
-
}
|
|
42465
|
-
};
|
|
42466
|
-
const registerMitt = () => {
|
|
42467
|
-
if (props.mittId) {
|
|
42468
|
-
emitter.on(props.detail.field + props.mittId, (_eventData) => {
|
|
42469
|
-
getOptions();
|
|
42470
|
-
});
|
|
42471
|
-
}
|
|
42472
|
-
};
|
|
42473
|
-
const offMitt = () => {
|
|
42474
|
-
if (props.mittId) {
|
|
42475
|
-
emitter.off(props.detail.field + props.mittId);
|
|
42476
|
-
}
|
|
42477
|
-
};
|
|
42478
42702
|
return {
|
|
42479
42703
|
getOptions,
|
|
42480
42704
|
optionsData,
|
|
42481
42705
|
loading,
|
|
42482
|
-
handleChange,
|
|
42483
|
-
init
|
|
42484
|
-
registerMitt,
|
|
42485
|
-
offMitt
|
|
42706
|
+
// handleChange,
|
|
42707
|
+
init
|
|
42486
42708
|
};
|
|
42487
42709
|
};
|
|
42488
|
-
const _sfc_main$
|
|
42710
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
42489
42711
|
__name: "FormSelectAsyncClient",
|
|
42490
42712
|
props: /* @__PURE__ */ mergeModels({
|
|
42491
42713
|
value: {
|
|
@@ -42516,22 +42738,30 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
42516
42738
|
const props = __props;
|
|
42517
42739
|
const emits = __emit;
|
|
42518
42740
|
const valueRef = useModel(__props, "value");
|
|
42741
|
+
const { registerMitt, offMitt } = useMittHook(props.detail.field, props.mittId);
|
|
42519
42742
|
const {
|
|
42520
42743
|
loading,
|
|
42521
42744
|
getOptions,
|
|
42522
42745
|
optionsData,
|
|
42523
|
-
|
|
42524
|
-
init,
|
|
42525
|
-
registerMitt,
|
|
42526
|
-
offMitt
|
|
42746
|
+
init
|
|
42527
42747
|
} = useSelectAsync({
|
|
42528
42748
|
emits,
|
|
42529
|
-
props
|
|
42530
|
-
valueRef
|
|
42749
|
+
props
|
|
42531
42750
|
});
|
|
42751
|
+
const setValue = (value) => {
|
|
42752
|
+
valueRef.value = value;
|
|
42753
|
+
};
|
|
42754
|
+
const receiveBroadcasts = (eventData) => {
|
|
42755
|
+
if (props.detail.noticeReceive) {
|
|
42756
|
+
props.detail.noticeReceive(eventData, setValue);
|
|
42757
|
+
}
|
|
42758
|
+
};
|
|
42532
42759
|
onMounted(() => {
|
|
42533
42760
|
init();
|
|
42534
|
-
registerMitt()
|
|
42761
|
+
registerMitt((_eventData) => {
|
|
42762
|
+
receiveBroadcasts(_eventData);
|
|
42763
|
+
getOptions();
|
|
42764
|
+
});
|
|
42535
42765
|
});
|
|
42536
42766
|
onUnmounted(() => {
|
|
42537
42767
|
offMitt();
|
|
@@ -42548,7 +42778,6 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
42548
42778
|
}, props.detail.componentParams ? props.detail.componentParams : {}, {
|
|
42549
42779
|
loading: unref(loading),
|
|
42550
42780
|
placeholder: (_a = props.detail) == null ? void 0 : _a.placeholder,
|
|
42551
|
-
onChange: unref(handleChange),
|
|
42552
42781
|
onFocus: unref(getOptions)
|
|
42553
42782
|
}), {
|
|
42554
42783
|
default: withCtx(() => [
|
|
@@ -42562,13 +42791,13 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
42562
42791
|
}), 128))
|
|
42563
42792
|
]),
|
|
42564
42793
|
_: 1
|
|
42565
|
-
}, 16, ["modelValue", "multiple", "loading", "placeholder", "
|
|
42794
|
+
}, 16, ["modelValue", "multiple", "loading", "placeholder", "onFocus"])), [
|
|
42566
42795
|
[_directive_loading, unref(loading)]
|
|
42567
42796
|
]);
|
|
42568
42797
|
};
|
|
42569
42798
|
}
|
|
42570
42799
|
});
|
|
42571
|
-
const _sfc_main$
|
|
42800
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
42572
42801
|
__name: "FormSelectAsyncMobile",
|
|
42573
42802
|
props: /* @__PURE__ */ mergeModels({
|
|
42574
42803
|
value: {
|
|
@@ -42605,18 +42834,15 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
42605
42834
|
const props = __props;
|
|
42606
42835
|
const emits = __emit;
|
|
42607
42836
|
const valueRef = useModel(__props, "value");
|
|
42837
|
+
const { registerMitt, offMitt } = useMittHook(props.detail.field, props.mittId);
|
|
42608
42838
|
const {
|
|
42609
42839
|
loading,
|
|
42610
42840
|
getOptions,
|
|
42611
42841
|
optionsData,
|
|
42612
|
-
|
|
42613
|
-
init,
|
|
42614
|
-
registerMitt,
|
|
42615
|
-
offMitt
|
|
42842
|
+
init
|
|
42616
42843
|
} = useSelectAsync({
|
|
42617
42844
|
emits,
|
|
42618
|
-
props
|
|
42619
|
-
valueRef
|
|
42845
|
+
props
|
|
42620
42846
|
});
|
|
42621
42847
|
const pickerText = ref("");
|
|
42622
42848
|
const pickerValue = ref([]);
|
|
@@ -42637,7 +42863,6 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
42637
42863
|
showPicker.value = false;
|
|
42638
42864
|
pickerValue.value = selectedValues;
|
|
42639
42865
|
valueRef.value = selectedValues[0];
|
|
42640
|
-
handleChange();
|
|
42641
42866
|
};
|
|
42642
42867
|
const showPopup = () => {
|
|
42643
42868
|
showPicker.value = true;
|
|
@@ -42663,9 +42888,20 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
42663
42888
|
immediate: true
|
|
42664
42889
|
}
|
|
42665
42890
|
);
|
|
42891
|
+
const setValue = (value) => {
|
|
42892
|
+
valueRef.value = value;
|
|
42893
|
+
};
|
|
42894
|
+
const receiveBroadcasts = (eventData) => {
|
|
42895
|
+
if (props.detail.noticeReceive) {
|
|
42896
|
+
props.detail.noticeReceive(eventData, setValue);
|
|
42897
|
+
}
|
|
42898
|
+
};
|
|
42666
42899
|
onMounted(() => {
|
|
42667
42900
|
init();
|
|
42668
|
-
registerMitt()
|
|
42901
|
+
registerMitt((_eventData) => {
|
|
42902
|
+
receiveBroadcasts(_eventData);
|
|
42903
|
+
getOptions();
|
|
42904
|
+
});
|
|
42669
42905
|
});
|
|
42670
42906
|
onUnmounted(() => {
|
|
42671
42907
|
offMitt();
|
|
@@ -42719,9 +42955,24 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
42719
42955
|
};
|
|
42720
42956
|
}
|
|
42721
42957
|
});
|
|
42722
|
-
const
|
|
42723
|
-
|
|
42724
|
-
|
|
42958
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
42959
|
+
__name: "FormSelectAsyncProxy",
|
|
42960
|
+
setup(__props) {
|
|
42961
|
+
const currentComponent = computed(() => isMobileDevice.value ? _sfc_main$7 : _sfc_main$8);
|
|
42962
|
+
const attrs = useAttrs();
|
|
42963
|
+
const forwardedAttrs = attrs;
|
|
42964
|
+
return (_ctx, _cache) => {
|
|
42965
|
+
return openBlock(), createBlock(resolveDynamicComponent(currentComponent.value), normalizeProps(guardReactiveProps(unref(forwardedAttrs))), {
|
|
42966
|
+
default: withCtx(() => [
|
|
42967
|
+
renderSlot(_ctx.$slots, "default")
|
|
42968
|
+
]),
|
|
42969
|
+
_: 3
|
|
42970
|
+
}, 16);
|
|
42971
|
+
};
|
|
42972
|
+
}
|
|
42973
|
+
});
|
|
42974
|
+
_sfc_main$6.install = (app) => {
|
|
42975
|
+
app.component("KeFormSelectAsync", _sfc_main$6);
|
|
42725
42976
|
};
|
|
42726
42977
|
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
42727
42978
|
__name: "FormSelectRemote",
|
|
@@ -42739,6 +42990,11 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
42739
42990
|
fieldTitle: {
|
|
42740
42991
|
required: true,
|
|
42741
42992
|
type: String
|
|
42993
|
+
},
|
|
42994
|
+
mittId: {
|
|
42995
|
+
type: null,
|
|
42996
|
+
required: false,
|
|
42997
|
+
default: () => null
|
|
42742
42998
|
}
|
|
42743
42999
|
}, {
|
|
42744
43000
|
"value": {},
|
|
@@ -42754,6 +43010,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
42754
43010
|
const props = __props;
|
|
42755
43011
|
const emits = __emit;
|
|
42756
43012
|
const valueRef = useModel(__props, "value");
|
|
43013
|
+
const { registerMitt, offMitt } = useMittHook(props.detail.field, props.mittId);
|
|
42757
43014
|
const optionsData = ref([]);
|
|
42758
43015
|
const loading = ref(false);
|
|
42759
43016
|
const remoteMethod = async (queryStr) => {
|
|
@@ -42794,17 +43051,20 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
42794
43051
|
optionsData.value = result.code === 0 ? result.data : [];
|
|
42795
43052
|
loading.value = false;
|
|
42796
43053
|
};
|
|
42797
|
-
const
|
|
42798
|
-
|
|
42799
|
-
|
|
42800
|
-
|
|
42801
|
-
|
|
42802
|
-
|
|
42803
|
-
(_d = props.detail) == null ? void 0 : _d.field,
|
|
42804
|
-
valueRef.value
|
|
42805
|
-
);
|
|
43054
|
+
const setValue = (value) => {
|
|
43055
|
+
valueRef.value = value;
|
|
43056
|
+
};
|
|
43057
|
+
const receiveBroadcasts = (eventData) => {
|
|
43058
|
+
if (props.detail.noticeReceive) {
|
|
43059
|
+
props.detail.noticeReceive(eventData, setValue);
|
|
42806
43060
|
}
|
|
42807
43061
|
};
|
|
43062
|
+
onMounted(() => {
|
|
43063
|
+
registerMitt(receiveBroadcasts);
|
|
43064
|
+
});
|
|
43065
|
+
onUnmounted(() => {
|
|
43066
|
+
offMitt();
|
|
43067
|
+
});
|
|
42808
43068
|
return (_ctx, _cache) => {
|
|
42809
43069
|
var _a;
|
|
42810
43070
|
const _component_el_option = resolveComponent("el-option");
|
|
@@ -42819,8 +43079,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
42819
43079
|
}, props.detail.componentParams ? props.detail.componentParams : {}, {
|
|
42820
43080
|
loading: loading.value,
|
|
42821
43081
|
placeholder: (_a = props.detail) == null ? void 0 : _a.placeholder,
|
|
42822
|
-
"remote-method": remoteMethod
|
|
42823
|
-
onChange: handleChange
|
|
43082
|
+
"remote-method": remoteMethod
|
|
42824
43083
|
}), {
|
|
42825
43084
|
default: withCtx(() => [
|
|
42826
43085
|
(openBlock(true), createElementBlock(Fragment, null, renderList(optionsData.value, (item) => {
|
|
@@ -42850,6 +43109,11 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
42850
43109
|
detail: {
|
|
42851
43110
|
required: true,
|
|
42852
43111
|
type: Object
|
|
43112
|
+
},
|
|
43113
|
+
mittId: {
|
|
43114
|
+
type: null,
|
|
43115
|
+
required: false,
|
|
43116
|
+
default: () => null
|
|
42853
43117
|
}
|
|
42854
43118
|
}, {
|
|
42855
43119
|
"value": { type: Boolean },
|
|
@@ -42858,40 +43122,39 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
42858
43122
|
emits: /* @__PURE__ */ mergeModels([
|
|
42859
43123
|
"update:value",
|
|
42860
43124
|
"getComponentValue",
|
|
42861
|
-
"valueChange",
|
|
42862
43125
|
"setShow"
|
|
42863
43126
|
], ["update:value"]),
|
|
42864
43127
|
setup(__props, { emit: __emit }) {
|
|
42865
43128
|
const props = __props;
|
|
42866
|
-
const emits = __emit;
|
|
42867
43129
|
const valueRef = useModel(__props, "value");
|
|
42868
|
-
const
|
|
42869
|
-
var _a, _b, _c, _d;
|
|
42870
|
-
await nextTick();
|
|
42871
|
-
if (Array.isArray((_a = props.detail) == null ? void 0 : _a.noticeField) && ((_b = props.detail) == null ? void 0 : _b.noticeField.length) > 0) {
|
|
42872
|
-
emits(
|
|
42873
|
-
"valueChange",
|
|
42874
|
-
(_c = props.detail) == null ? void 0 : _c.noticeField,
|
|
42875
|
-
(_d = props.detail) == null ? void 0 : _d.field,
|
|
42876
|
-
valueRef.value
|
|
42877
|
-
);
|
|
42878
|
-
}
|
|
42879
|
-
};
|
|
43130
|
+
const { registerMitt, offMitt } = useMittHook(props.detail.field, props.mittId);
|
|
42880
43131
|
const setDefaultValue = async () => {
|
|
42881
43132
|
await sleep(0.1);
|
|
42882
43133
|
if (!valueRef.value) {
|
|
42883
43134
|
valueRef.value = false;
|
|
42884
43135
|
}
|
|
42885
43136
|
};
|
|
43137
|
+
const setValue = (value) => {
|
|
43138
|
+
valueRef.value = value;
|
|
43139
|
+
};
|
|
43140
|
+
const receiveBroadcasts = (eventData) => {
|
|
43141
|
+
if (props.detail.noticeReceive) {
|
|
43142
|
+
props.detail.noticeReceive(eventData, setValue);
|
|
43143
|
+
}
|
|
43144
|
+
};
|
|
42886
43145
|
onMounted(() => {
|
|
43146
|
+
registerMitt(receiveBroadcasts);
|
|
42887
43147
|
setDefaultValue();
|
|
42888
43148
|
});
|
|
43149
|
+
onUnmounted(() => {
|
|
43150
|
+
offMitt();
|
|
43151
|
+
});
|
|
42889
43152
|
return (_ctx, _cache) => {
|
|
42890
43153
|
const _component_el_switch = resolveComponent("el-switch");
|
|
42891
43154
|
return openBlock(), createBlock(_component_el_switch, mergeProps({
|
|
42892
43155
|
modelValue: valueRef.value,
|
|
42893
43156
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => valueRef.value = $event)
|
|
42894
|
-
}, __props.detail.componentParams
|
|
43157
|
+
}, __props.detail.componentParams), null, 16, ["modelValue"]);
|
|
42895
43158
|
};
|
|
42896
43159
|
}
|
|
42897
43160
|
});
|
|
@@ -42926,20 +43189,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
42926
43189
|
], ["update:value"]),
|
|
42927
43190
|
setup(__props, { emit: __emit }) {
|
|
42928
43191
|
const props = __props;
|
|
42929
|
-
const emits = __emit;
|
|
42930
43192
|
const { registerMitt, offMitt } = useMittHook(props.detail.field, props.mittId);
|
|
42931
43193
|
const valueRef = useModel(__props, "value");
|
|
42932
|
-
const handleChange = () => {
|
|
42933
|
-
var _a, _b, _c, _d;
|
|
42934
|
-
if (((_a = props.detail) == null ? void 0 : _a.noticeField) && ((_b = props.detail) == null ? void 0 : _b.noticeField.length) > 0) {
|
|
42935
|
-
emits(
|
|
42936
|
-
"valueChange",
|
|
42937
|
-
(_c = props.detail) == null ? void 0 : _c.noticeField,
|
|
42938
|
-
(_d = props.detail) == null ? void 0 : _d.field,
|
|
42939
|
-
valueRef
|
|
42940
|
-
);
|
|
42941
|
-
}
|
|
42942
|
-
};
|
|
42943
43194
|
const multipleClear = async () => {
|
|
42944
43195
|
var _a;
|
|
42945
43196
|
await sleep(0.1);
|
|
@@ -42959,6 +43210,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
42959
43210
|
});
|
|
42960
43211
|
return (_ctx, _cache) => {
|
|
42961
43212
|
var _a;
|
|
43213
|
+
const _component_el_text = resolveComponent("el-text");
|
|
42962
43214
|
const _component_el_col = resolveComponent("el-col");
|
|
42963
43215
|
const _component_el_row = resolveComponent("el-row");
|
|
42964
43216
|
const _component_el_option = resolveComponent("el-option");
|
|
@@ -42970,8 +43222,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
42970
43222
|
multiple: (_a = __props.detail) == null ? void 0 : _a.multiple,
|
|
42971
43223
|
placeholder: __props.detail.placeholder,
|
|
42972
43224
|
"value-key": __props.detail.componentParams.keyField,
|
|
42973
|
-
clearable: ""
|
|
42974
|
-
onChange: handleChange
|
|
43225
|
+
clearable: ""
|
|
42975
43226
|
}), {
|
|
42976
43227
|
header: withCtx(() => [
|
|
42977
43228
|
createVNode(_component_el_row, null, {
|
|
@@ -42984,7 +43235,12 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
42984
43235
|
span: item.span
|
|
42985
43236
|
}, {
|
|
42986
43237
|
default: withCtx(() => [
|
|
42987
|
-
|
|
43238
|
+
createVNode(_component_el_text, { truncated: "" }, {
|
|
43239
|
+
default: withCtx(() => [
|
|
43240
|
+
createTextVNode(toDisplayString(item.label), 1)
|
|
43241
|
+
]),
|
|
43242
|
+
_: 2
|
|
43243
|
+
}, 1024)
|
|
42988
43244
|
]),
|
|
42989
43245
|
_: 2
|
|
42990
43246
|
}, 1032, ["span"]);
|
|
@@ -43017,7 +43273,12 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
43017
43273
|
span: optionSlot.span
|
|
43018
43274
|
}, {
|
|
43019
43275
|
default: withCtx(() => [
|
|
43020
|
-
|
|
43276
|
+
createVNode(_component_el_text, { truncated: "" }, {
|
|
43277
|
+
default: withCtx(() => [
|
|
43278
|
+
createTextVNode(toDisplayString(item[optionSlot.field]), 1)
|
|
43279
|
+
]),
|
|
43280
|
+
_: 2
|
|
43281
|
+
}, 1024)
|
|
43021
43282
|
]),
|
|
43022
43283
|
_: 2
|
|
43023
43284
|
}, 1032, ["span"]);
|
|
@@ -43068,28 +43329,37 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
43068
43329
|
const props = __props;
|
|
43069
43330
|
const emits = __emit;
|
|
43070
43331
|
const valueRef = useModel(__props, "value");
|
|
43332
|
+
const { registerMitt, offMitt } = useMittHook(props.detail.field, props.mittId);
|
|
43071
43333
|
const {
|
|
43072
43334
|
loading,
|
|
43073
43335
|
getOptions,
|
|
43074
43336
|
optionsData,
|
|
43075
|
-
|
|
43076
|
-
init,
|
|
43077
|
-
registerMitt,
|
|
43078
|
-
offMitt
|
|
43337
|
+
init
|
|
43079
43338
|
} = useSelectAsync({
|
|
43080
43339
|
emits,
|
|
43081
|
-
props
|
|
43082
|
-
valueRef
|
|
43340
|
+
props
|
|
43083
43341
|
});
|
|
43342
|
+
const setValue = (value) => {
|
|
43343
|
+
valueRef.value = value;
|
|
43344
|
+
};
|
|
43345
|
+
const receiveBroadcasts = (eventData) => {
|
|
43346
|
+
if (props.detail.noticeReceive) {
|
|
43347
|
+
props.detail.noticeReceive(eventData, setValue);
|
|
43348
|
+
}
|
|
43349
|
+
};
|
|
43084
43350
|
onMounted(() => {
|
|
43085
43351
|
init();
|
|
43086
|
-
registerMitt()
|
|
43352
|
+
registerMitt((_eventData) => {
|
|
43353
|
+
receiveBroadcasts(_eventData);
|
|
43354
|
+
getOptions();
|
|
43355
|
+
});
|
|
43087
43356
|
});
|
|
43088
43357
|
onUnmounted(() => {
|
|
43089
43358
|
offMitt();
|
|
43090
43359
|
});
|
|
43091
43360
|
return (_ctx, _cache) => {
|
|
43092
43361
|
var _a;
|
|
43362
|
+
const _component_el_text = resolveComponent("el-text");
|
|
43093
43363
|
const _component_el_col = resolveComponent("el-col");
|
|
43094
43364
|
const _component_el_row = resolveComponent("el-row");
|
|
43095
43365
|
const _component_el_option = resolveComponent("el-option");
|
|
@@ -43103,7 +43373,6 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
43103
43373
|
loading: unref(loading),
|
|
43104
43374
|
placeholder: (_a = __props.detail) == null ? void 0 : _a.placeholder,
|
|
43105
43375
|
"value-key": __props.detail.componentParams.keyField,
|
|
43106
|
-
onChange: unref(handleChange),
|
|
43107
43376
|
onFocus: unref(getOptions)
|
|
43108
43377
|
}), {
|
|
43109
43378
|
header: withCtx(() => [
|
|
@@ -43117,7 +43386,12 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
43117
43386
|
span: item.span
|
|
43118
43387
|
}, {
|
|
43119
43388
|
default: withCtx(() => [
|
|
43120
|
-
|
|
43389
|
+
createVNode(_component_el_text, { truncated: "" }, {
|
|
43390
|
+
default: withCtx(() => [
|
|
43391
|
+
createTextVNode(toDisplayString(item.label), 1)
|
|
43392
|
+
]),
|
|
43393
|
+
_: 2
|
|
43394
|
+
}, 1024)
|
|
43121
43395
|
]),
|
|
43122
43396
|
_: 2
|
|
43123
43397
|
}, 1032, ["span"]);
|
|
@@ -43148,7 +43422,12 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
43148
43422
|
span: optionSlot.span
|
|
43149
43423
|
}, {
|
|
43150
43424
|
default: withCtx(() => [
|
|
43151
|
-
|
|
43425
|
+
createVNode(_component_el_text, { truncated: "" }, {
|
|
43426
|
+
default: withCtx(() => [
|
|
43427
|
+
createTextVNode(toDisplayString(item[optionSlot.field]), 1)
|
|
43428
|
+
]),
|
|
43429
|
+
_: 2
|
|
43430
|
+
}, 1024)
|
|
43152
43431
|
]),
|
|
43153
43432
|
_: 2
|
|
43154
43433
|
}, 1032, ["span"]);
|
|
@@ -43163,7 +43442,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
43163
43442
|
}), 128))
|
|
43164
43443
|
]),
|
|
43165
43444
|
_: 1
|
|
43166
|
-
}, 16, ["modelValue", "multiple", "loading", "placeholder", "value-key", "
|
|
43445
|
+
}, 16, ["modelValue", "multiple", "loading", "placeholder", "value-key", "onFocus"])), [
|
|
43167
43446
|
[_directive_loading, unref(loading)]
|
|
43168
43447
|
]);
|
|
43169
43448
|
};
|
|
@@ -43233,6 +43512,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
43233
43512
|
detail: {
|
|
43234
43513
|
required: true,
|
|
43235
43514
|
type: Object
|
|
43515
|
+
},
|
|
43516
|
+
mittId: {
|
|
43517
|
+
type: null,
|
|
43518
|
+
required: false,
|
|
43519
|
+
default: () => null
|
|
43236
43520
|
}
|
|
43237
43521
|
}, {
|
|
43238
43522
|
"value": {},
|
|
@@ -43241,34 +43525,36 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
43241
43525
|
emits: /* @__PURE__ */ mergeModels([
|
|
43242
43526
|
"update:value",
|
|
43243
43527
|
"getComponentValue",
|
|
43244
|
-
"valueChange",
|
|
43245
43528
|
"setShow"
|
|
43246
43529
|
], ["update:value"]),
|
|
43247
43530
|
setup(__props, { emit: __emit }) {
|
|
43248
43531
|
const props = __props;
|
|
43249
|
-
const
|
|
43250
|
-
const
|
|
43251
|
-
const
|
|
43252
|
-
|
|
43253
|
-
|
|
43254
|
-
|
|
43255
|
-
|
|
43256
|
-
|
|
43257
|
-
(_d = props.detail) == null ? void 0 : _d.field,
|
|
43258
|
-
inputValue
|
|
43259
|
-
);
|
|
43532
|
+
const valueRef = useModel(__props, "value");
|
|
43533
|
+
const { registerMitt, offMitt } = useMittHook(props.detail.field, props.mittId);
|
|
43534
|
+
const setValue = (value) => {
|
|
43535
|
+
valueRef.value = value;
|
|
43536
|
+
};
|
|
43537
|
+
const receiveBroadcasts = (eventData) => {
|
|
43538
|
+
if (props.detail.noticeReceive) {
|
|
43539
|
+
props.detail.noticeReceive(eventData, setValue);
|
|
43260
43540
|
}
|
|
43261
43541
|
};
|
|
43542
|
+
onMounted(() => {
|
|
43543
|
+
registerMitt(receiveBroadcasts);
|
|
43544
|
+
});
|
|
43545
|
+
onUnmounted(() => {
|
|
43546
|
+
offMitt();
|
|
43547
|
+
});
|
|
43262
43548
|
return (_ctx, _cache) => {
|
|
43263
43549
|
var _a, _b, _c;
|
|
43264
43550
|
const _component_el_input = resolveComponent("el-input");
|
|
43265
43551
|
return openBlock(), createBlock(_component_el_input, mergeProps({
|
|
43266
|
-
modelValue:
|
|
43267
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
43552
|
+
modelValue: valueRef.value,
|
|
43553
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => valueRef.value = $event),
|
|
43268
43554
|
autosize: { minRows: 2 },
|
|
43269
43555
|
placeholder: ((_a = props.detail) == null ? void 0 : _a.placeholder) ? props.detail.placeholder : `请输入${(_b = props.detail) == null ? void 0 : _b.title}`,
|
|
43270
43556
|
type: "textarea"
|
|
43271
|
-
}, ((_c = props.detail) == null ? void 0 : _c.componentParams) ? props.detail.componentParams : {}
|
|
43557
|
+
}, ((_c = props.detail) == null ? void 0 : _c.componentParams) ? props.detail.componentParams : {}), null, 16, ["modelValue", "placeholder"]);
|
|
43272
43558
|
};
|
|
43273
43559
|
}
|
|
43274
43560
|
});
|
|
@@ -81252,33 +81538,33 @@ setI18n$1(defaultLanguage, zhCN);
|
|
|
81252
81538
|
setLanguage$1(defaultLanguage);
|
|
81253
81539
|
setTheme$1("light");
|
|
81254
81540
|
const components = [
|
|
81255
|
-
{ name: "KeTableRender", component:
|
|
81256
|
-
{ name: "KeTableCardRender", component:
|
|
81541
|
+
{ name: "KeTableRender", component: _sfc_main$I },
|
|
81542
|
+
{ name: "KeTableCardRender", component: _sfc_main$F },
|
|
81257
81543
|
{ name: "KeTableTreeRender", component: KeTableTreeRender },
|
|
81258
81544
|
{ name: "KeTableCheckBoxAsync", component: KeTableCheckBoxAsync },
|
|
81259
81545
|
{ name: "KeTableInput", component: KeTableInput },
|
|
81260
81546
|
{ name: "KeTableInputNumber", component: KeTableInputNumber },
|
|
81261
|
-
{ name: "KeTableSelect", component: _sfc_main$
|
|
81262
|
-
{ name: "KeTableSelectAsync", component: _sfc_main$
|
|
81263
|
-
{ name: "KeTableSwitch", component: _sfc_main$
|
|
81264
|
-
{ name: "KeQueryBar", component:
|
|
81265
|
-
{ name: "KeQueryDateTime", component: _sfc_main$
|
|
81266
|
-
{ name: "KeQueryInput", component: _sfc_main$
|
|
81267
|
-
{ name: "KeQueryInputLike", component: _sfc_main$
|
|
81547
|
+
{ name: "KeTableSelect", component: _sfc_main$A },
|
|
81548
|
+
{ name: "KeTableSelectAsync", component: _sfc_main$z },
|
|
81549
|
+
{ name: "KeTableSwitch", component: _sfc_main$y },
|
|
81550
|
+
{ name: "KeQueryBar", component: _sfc_main$x },
|
|
81551
|
+
{ name: "KeQueryDateTime", component: _sfc_main$w },
|
|
81552
|
+
{ name: "KeQueryInput", component: _sfc_main$v },
|
|
81553
|
+
{ name: "KeQueryInputLike", component: _sfc_main$u },
|
|
81268
81554
|
{ name: "KeQuerySelect", component: KeliQuerySelect },
|
|
81269
|
-
{ name: "KeToolBar", component: _sfc_main$
|
|
81270
|
-
{ name: "KeFormCascaderAsync", component: _sfc_main$
|
|
81271
|
-
{ name: "KeFormCheckBoxAsync", component: _sfc_main$
|
|
81272
|
-
{ name: "KeFormDatePicker", component:
|
|
81273
|
-
{ name: "KeFormDateTimePicker", component:
|
|
81274
|
-
{ name: "KeFormDivider", component: _sfc_main$
|
|
81275
|
-
{ name: "KeFormDynamicTable", component: _sfc_main$
|
|
81276
|
-
{ name: "KeFormInput", component: _sfc_main$
|
|
81555
|
+
{ name: "KeToolBar", component: _sfc_main$s },
|
|
81556
|
+
{ name: "KeFormCascaderAsync", component: _sfc_main$r },
|
|
81557
|
+
{ name: "KeFormCheckBoxAsync", component: _sfc_main$q },
|
|
81558
|
+
{ name: "KeFormDatePicker", component: _sfc_main$n },
|
|
81559
|
+
{ name: "KeFormDateTimePicker", component: _sfc_main$j },
|
|
81560
|
+
{ name: "KeFormDivider", component: _sfc_main$m },
|
|
81561
|
+
{ name: "KeFormDynamicTable", component: _sfc_main$i },
|
|
81562
|
+
{ name: "KeFormInput", component: _sfc_main$h },
|
|
81277
81563
|
{ name: "KeFormInputNumber", component: KeFormInputNumber },
|
|
81278
|
-
{ name: "KeFormRadio", component: _sfc_main$
|
|
81279
|
-
{ name: "KeFormRender", component:
|
|
81280
|
-
{ name: "KeFormSelect", component:
|
|
81281
|
-
{ name: "KeFormSelectAsync", component:
|
|
81564
|
+
{ name: "KeFormRadio", component: _sfc_main$f },
|
|
81565
|
+
{ name: "KeFormRender", component: _sfc_main$c },
|
|
81566
|
+
{ name: "KeFormSelect", component: _sfc_main$9 },
|
|
81567
|
+
{ name: "KeFormSelectAsync", component: _sfc_main$6 },
|
|
81282
81568
|
{ name: "KeFormSelectRemote", component: _sfc_main$5 },
|
|
81283
81569
|
{ name: "KeFormSwitch", component: _sfc_main$4 },
|
|
81284
81570
|
{ name: "KeFormTableSelect", component: _sfc_main$3 },
|
|
@@ -81299,39 +81585,39 @@ export {
|
|
|
81299
81585
|
Colgroup,
|
|
81300
81586
|
Column,
|
|
81301
81587
|
Grid,
|
|
81302
|
-
_sfc_main$
|
|
81303
|
-
_sfc_main$
|
|
81304
|
-
KeFormDatePicker,
|
|
81305
|
-
KeFormDateTimePicker,
|
|
81306
|
-
_sfc_main$
|
|
81307
|
-
_sfc_main$
|
|
81308
|
-
_sfc_main$
|
|
81588
|
+
_sfc_main$r as KeFormCascaderAsync,
|
|
81589
|
+
_sfc_main$q as KeFormCheckBoxAsync,
|
|
81590
|
+
_sfc_main$n as KeFormDatePicker,
|
|
81591
|
+
_sfc_main$j as KeFormDateTimePicker,
|
|
81592
|
+
_sfc_main$m as KeFormDivider,
|
|
81593
|
+
_sfc_main$i as KeFormDynamicTable,
|
|
81594
|
+
_sfc_main$h as KeFormInput,
|
|
81309
81595
|
KeFormInputNumber,
|
|
81310
|
-
_sfc_main$
|
|
81311
|
-
KeFormRender,
|
|
81312
|
-
KeFormSelect,
|
|
81313
|
-
KeFormSelectAsync,
|
|
81596
|
+
_sfc_main$f as KeFormRadio,
|
|
81597
|
+
_sfc_main$c as KeFormRender,
|
|
81598
|
+
_sfc_main$9 as KeFormSelect,
|
|
81599
|
+
_sfc_main$6 as KeFormSelectAsync,
|
|
81314
81600
|
_sfc_main$5 as KeFormSelectRemote,
|
|
81315
81601
|
_sfc_main$4 as KeFormSwitch,
|
|
81316
81602
|
_sfc_main$3 as KeFormTableSelect,
|
|
81317
81603
|
_sfc_main$2 as KeFormTableSelectAsync,
|
|
81318
81604
|
_sfc_main$1 as KeFormText,
|
|
81319
81605
|
_sfc_main as KeFormTextArea,
|
|
81320
|
-
|
|
81321
|
-
_sfc_main$
|
|
81322
|
-
_sfc_main$
|
|
81323
|
-
_sfc_main$
|
|
81606
|
+
_sfc_main$x as KeQueryBar,
|
|
81607
|
+
_sfc_main$w as KeQueryDateTime,
|
|
81608
|
+
_sfc_main$v as KeQueryInput,
|
|
81609
|
+
_sfc_main$u as KeQueryInputLike,
|
|
81324
81610
|
KeliQuerySelect as KeQuerySelect,
|
|
81325
|
-
KeTableCardRender,
|
|
81611
|
+
_sfc_main$F as KeTableCardRender,
|
|
81326
81612
|
KeTableCheckBoxAsync,
|
|
81327
81613
|
KeTableInput,
|
|
81328
81614
|
KeTableInputNumber,
|
|
81329
|
-
KeTableRender,
|
|
81330
|
-
_sfc_main$
|
|
81331
|
-
_sfc_main$
|
|
81332
|
-
_sfc_main$
|
|
81615
|
+
_sfc_main$I as KeTableRender,
|
|
81616
|
+
_sfc_main$A as KeTableSelect,
|
|
81617
|
+
_sfc_main$z as KeTableSelectAsync,
|
|
81618
|
+
_sfc_main$y as KeTableSwitch,
|
|
81333
81619
|
KeTableTreeRender,
|
|
81334
|
-
_sfc_main$
|
|
81620
|
+
_sfc_main$s as KeToolBar,
|
|
81335
81621
|
Table,
|
|
81336
81622
|
Toolbar,
|
|
81337
81623
|
VXETable,
|