keli-ui 0.2.13 → 0.2.15
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/dist/keli-ui.css +1 -1
- package/dist/keli-ui.js +128 -109
- package/dist/keli-ui.umd.cjs +1 -1
- package/dist/types/packages/FormComponents/FormCheckBox/FormCheckBox.vue.d.ts +2 -0
- package/dist/types/packages/FormComponents/FormCheckBox/index.d.ts +2 -0
- package/dist/types/packages/index.d.ts +3 -1
- package/package.json +3 -3
package/dist/keli-ui.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";@tailwind base;@tailwind components;@tailwind utilities;@layer base{:root{--background: 0 0% 100%;--foreground: 222.2 84% 4.9%;--card: 0 0% 100%;--card-foreground: 222.2 84% 4.9%;--popover: 0 0% 100%;--popover-foreground: 222.2 84% 4.9%;--primary: 221.2 83.2% 53.3%;--primary-foreground: 210 40% 98%;--secondary: 210 40% 96.1%;--secondary-foreground: 222.2 47.4% 11.2%;--muted: 210 40% 96.1%;--muted-foreground: 215.4 16.3% 46.9%;--accent: 210 40% 96.1%;--accent-foreground: 222.2 47.4% 11.2%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 210 40% 98%;--border: 214.3 31.8% 91.4%;--input: 214.3 31.8% 91.4%;--ring: 221.2 83.2% 53.3%;--radius: .5rem}.dark{--background: 222.2 84% 4.9%;--foreground: 210 40% 98%;--card: 222.2 84% 4.9%;--card-foreground: 210 40% 98%;--popover: 222.2 84% 4.9%;--popover-foreground: 210 40% 98%;--primary: 217.2 91.2% 59.8%;--primary-foreground: 222.2 47.4% 11.2%;--secondary: 217.2 32.6% 17.5%;--secondary-foreground: 210 40% 98%;--muted: 217.2 32.6% 17.5%;--muted-foreground: 215 20.2% 65.1%;--accent: 217.2 32.6% 17.5%;--accent-foreground: 210 40% 98%;--destructive: 0 62.8% 30.6%;--destructive-foreground: 210 40% 98%;--border: 217.2 32.6% 17.5%;--input: 217.2 32.6% 17.5%;--ring: 224.3 76.3% 48%}}[data-v-12421ade] .el-scrollbar__wrap{overflow-x:hidden!important}[data-v-12421ade] .el-scrollbar__bar.is-horizontal{height:0!important}[data-v-12421ade] .el-form-item{margin-bottom:0!important}.table-card-render-client[data-v-12421ade]{display:flex;flex-direction:column;height:100%}.title-wrapper[data-v-12421ade]{display:flex;align-items:center;justify-content:space-between}.title-wrapper .title-text[data-v-12421ade]{flex:1}.title-wrapper .dropdown-wrapper[data-v-12421ade]{margin-left:auto}.table-tool-button[data-v-12421ade]{margin-top:6px}.card-container[data-v-12421ade]{flex-grow:1;height:0;overflow:hidden}.pagination-div[data-v-12421ade]{padding:6px;margin-top:10px;background:var(--el-fill-color-blank)}.table-render-client[data-v-9f348410]{display:flex;flex-direction:column;height:100%;background:var(--overlay-content)}.query-bar-client[data-v-9f348410]{margin-top:6px}.table-tool-button[data-v-9f348410]{margin:6px 2px}.table-container[data-v-9f348410]{flex-grow:1;height:0;overflow:hidden}.table-check-box-async[data-v-843c7943]{width:100%}.table-check-box-async .text[data-v-843c7943]{cursor:pointer}.dialog-header[data-v-843c7943]{display:flex;flex-direction:row;gap:16px;justify-content:space-between}.text[data-v-45577ce0],.text[data-v-b622e1f6]{width:100%;cursor:pointer}.query-bar-client{padding:8px 8px 0;background:var(--el-fill-color-blank)}.minWidth[data-v-042e4267]{min-width:120px}.tool-bar[data-v-
|
|
1
|
+
@charset "UTF-8";@tailwind base;@tailwind components;@tailwind utilities;@layer base{:root{--background: 0 0% 100%;--foreground: 222.2 84% 4.9%;--card: 0 0% 100%;--card-foreground: 222.2 84% 4.9%;--popover: 0 0% 100%;--popover-foreground: 222.2 84% 4.9%;--primary: 221.2 83.2% 53.3%;--primary-foreground: 210 40% 98%;--secondary: 210 40% 96.1%;--secondary-foreground: 222.2 47.4% 11.2%;--muted: 210 40% 96.1%;--muted-foreground: 215.4 16.3% 46.9%;--accent: 210 40% 96.1%;--accent-foreground: 222.2 47.4% 11.2%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 210 40% 98%;--border: 214.3 31.8% 91.4%;--input: 214.3 31.8% 91.4%;--ring: 221.2 83.2% 53.3%;--radius: .5rem}.dark{--background: 222.2 84% 4.9%;--foreground: 210 40% 98%;--card: 222.2 84% 4.9%;--card-foreground: 210 40% 98%;--popover: 222.2 84% 4.9%;--popover-foreground: 210 40% 98%;--primary: 217.2 91.2% 59.8%;--primary-foreground: 222.2 47.4% 11.2%;--secondary: 217.2 32.6% 17.5%;--secondary-foreground: 210 40% 98%;--muted: 217.2 32.6% 17.5%;--muted-foreground: 215 20.2% 65.1%;--accent: 217.2 32.6% 17.5%;--accent-foreground: 210 40% 98%;--destructive: 0 62.8% 30.6%;--destructive-foreground: 210 40% 98%;--border: 217.2 32.6% 17.5%;--input: 217.2 32.6% 17.5%;--ring: 224.3 76.3% 48%}}[data-v-12421ade] .el-scrollbar__wrap{overflow-x:hidden!important}[data-v-12421ade] .el-scrollbar__bar.is-horizontal{height:0!important}[data-v-12421ade] .el-form-item{margin-bottom:0!important}.table-card-render-client[data-v-12421ade]{display:flex;flex-direction:column;height:100%}.title-wrapper[data-v-12421ade]{display:flex;align-items:center;justify-content:space-between}.title-wrapper .title-text[data-v-12421ade]{flex:1}.title-wrapper .dropdown-wrapper[data-v-12421ade]{margin-left:auto}.table-tool-button[data-v-12421ade]{margin-top:6px}.card-container[data-v-12421ade]{flex-grow:1;height:0;overflow:hidden}.pagination-div[data-v-12421ade]{padding:6px;margin-top:10px;background:var(--el-fill-color-blank)}.table-render-client[data-v-9f348410]{display:flex;flex-direction:column;height:100%;background:var(--overlay-content)}.query-bar-client[data-v-9f348410]{margin-top:6px}.table-tool-button[data-v-9f348410]{margin:6px 2px}.table-container[data-v-9f348410]{flex-grow:1;height:0;overflow:hidden}.table-check-box-async[data-v-843c7943]{width:100%}.table-check-box-async .text[data-v-843c7943]{cursor:pointer}.dialog-header[data-v-843c7943]{display:flex;flex-direction:row;gap:16px;justify-content:space-between}.text[data-v-45577ce0],.text[data-v-b622e1f6]{width:100%;cursor:pointer}.query-bar-client{padding:8px 8px 0;background:var(--el-fill-color-blank)}.minWidth[data-v-042e4267]{min-width:120px}.tool-bar[data-v-4eaf37da]{padding:8px;background:var(--el-fill-color-blank)}td.current .dateCell[data-v-99ad5d16]{color:#fff;background-color:var(--el-color-primary);border-radius:calc(var(--el-border-radius-base) - 1px)}td.today .dateCell[data-v-99ad5d16]{color:var(--el-color-primary)}.dateCell[data-v-99ad5d16]{width:48px;height:42px}.dateCell span[data-v-99ad5d16]{display:block}.dateCell .solar_calendar[data-v-99ad5d16]{font-size:16px;font-weight:400}.dateCell .lunar_calendar[data-v-99ad5d16]{margin-top:-14px;margin-bottom:-6px;overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}td.current .dateCell[data-v-822d99ba]{color:#fff;background-color:var(--el-color-primary);border-radius:calc(var(--el-border-radius-base) - 1px)}td.today .dateCell[data-v-822d99ba]{color:var(--el-color-primary)}.dateCell[data-v-822d99ba]{width:48px;height:42px}.dateCell span[data-v-822d99ba]{display:block}.dateCell .solar_calendar[data-v-822d99ba]{font-size:16px;font-weight:400}.dateCell .lunar_calendar[data-v-822d99ba]{margin-top:-14px;margin-bottom:-6px;overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.full[data-v-17fcf4e1]{width:100%}.form-item-label[data-v-30b23a37] .el-form-item__label{font-weight:400}.label-question[data-v-30b23a37]{display:flex;align-items:center;justify-content:center;height:100%}
|
package/dist/keli-ui.js
CHANGED
|
@@ -2100,7 +2100,7 @@ const _hoisted_4$1 = ["src"];
|
|
|
2100
2100
|
const _hoisted_5 = { class: "title-wrapper" };
|
|
2101
2101
|
const _hoisted_6 = { class: "title-text" };
|
|
2102
2102
|
const _hoisted_7 = { class: "pagination-div" };
|
|
2103
|
-
const _sfc_main$
|
|
2103
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
2104
2104
|
__name: "TableCardRenderClient",
|
|
2105
2105
|
props: /* @__PURE__ */ mergeModels({
|
|
2106
2106
|
tableId: {
|
|
@@ -2361,7 +2361,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
2361
2361
|
}
|
|
2362
2362
|
return target;
|
|
2363
2363
|
};
|
|
2364
|
-
const TableCardRender = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2364
|
+
const TableCardRender = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-12421ade"]]);
|
|
2365
2365
|
TableCardRender.install = (app) => {
|
|
2366
2366
|
app.component("TableCardRender", TableCardRender);
|
|
2367
2367
|
};
|
|
@@ -2511,7 +2511,7 @@ const _hoisted_2$5 = {
|
|
|
2511
2511
|
key: 1,
|
|
2512
2512
|
class: "table-tool-button"
|
|
2513
2513
|
};
|
|
2514
|
-
const _sfc_main$
|
|
2514
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
2515
2515
|
__name: "TableTreeRender",
|
|
2516
2516
|
props: {
|
|
2517
2517
|
tableId: {
|
|
@@ -2712,13 +2712,13 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
2712
2712
|
};
|
|
2713
2713
|
}
|
|
2714
2714
|
});
|
|
2715
|
-
const KeTableTreeRender = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2715
|
+
const KeTableTreeRender = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-9f348410"]]);
|
|
2716
2716
|
KeTableTreeRender.install = (app) => {
|
|
2717
2717
|
app.component(KeTableTreeRender.__name, KeTableTreeRender);
|
|
2718
2718
|
};
|
|
2719
2719
|
const _hoisted_1$6 = { class: "table-check-box-async" };
|
|
2720
2720
|
const _hoisted_2$4 = { class: "dialog-header" };
|
|
2721
|
-
const _sfc_main$
|
|
2721
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
2722
2722
|
__name: "TableCheckBoxAsync",
|
|
2723
2723
|
props: /* @__PURE__ */ mergeModels({
|
|
2724
2724
|
value: {
|
|
@@ -2871,12 +2871,12 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
2871
2871
|
};
|
|
2872
2872
|
}
|
|
2873
2873
|
});
|
|
2874
|
-
const KeTableCheckBoxAsync = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2874
|
+
const KeTableCheckBoxAsync = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-843c7943"]]);
|
|
2875
2875
|
KeTableCheckBoxAsync.install = (app) => {
|
|
2876
2876
|
app.component(KeTableCheckBoxAsync.__name, KeTableCheckBoxAsync);
|
|
2877
2877
|
};
|
|
2878
2878
|
const _hoisted_1$5 = { style: { "margin": "4px 0 0", "text-align": "right" } };
|
|
2879
|
-
const _sfc_main$
|
|
2879
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
2880
2880
|
__name: "TableInput",
|
|
2881
2881
|
props: /* @__PURE__ */ mergeModels({
|
|
2882
2882
|
value: {
|
|
@@ -2989,13 +2989,13 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
2989
2989
|
};
|
|
2990
2990
|
}
|
|
2991
2991
|
});
|
|
2992
|
-
const KeTableInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2992
|
+
const KeTableInput = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-45577ce0"]]);
|
|
2993
2993
|
KeTableInput.install = (app) => {
|
|
2994
2994
|
app.component(KeTableInput.__name, KeTableInput);
|
|
2995
2995
|
};
|
|
2996
2996
|
const _hoisted_1$4 = { style: { "width": "100%" } };
|
|
2997
2997
|
const _hoisted_2$3 = { style: { "margin": "4px 0 0", "text-align": "right" } };
|
|
2998
|
-
const _sfc_main$
|
|
2998
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
2999
2999
|
__name: "TableInputNumber",
|
|
3000
3000
|
props: /* @__PURE__ */ mergeModels({
|
|
3001
3001
|
value: {
|
|
@@ -3112,11 +3112,11 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
3112
3112
|
};
|
|
3113
3113
|
}
|
|
3114
3114
|
});
|
|
3115
|
-
const KeTableInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3115
|
+
const KeTableInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-b622e1f6"]]);
|
|
3116
3116
|
KeTableInputNumber.install = (app) => {
|
|
3117
3117
|
app.component(KeTableInputNumber.__name, KeTableInputNumber);
|
|
3118
3118
|
};
|
|
3119
|
-
const _sfc_main$
|
|
3119
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
3120
3120
|
__name: "TableSelect",
|
|
3121
3121
|
props: {
|
|
3122
3122
|
value: {
|
|
@@ -3195,10 +3195,10 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
3195
3195
|
};
|
|
3196
3196
|
}
|
|
3197
3197
|
});
|
|
3198
|
-
_sfc_main$
|
|
3199
|
-
app.component(_sfc_main$
|
|
3198
|
+
_sfc_main$r.install = (app) => {
|
|
3199
|
+
app.component(_sfc_main$r.__name, _sfc_main$r);
|
|
3200
3200
|
};
|
|
3201
|
-
const _sfc_main$
|
|
3201
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
3202
3202
|
__name: "TableSelectAsync",
|
|
3203
3203
|
props: /* @__PURE__ */ mergeModels({
|
|
3204
3204
|
value: {
|
|
@@ -3262,10 +3262,10 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
3262
3262
|
};
|
|
3263
3263
|
}
|
|
3264
3264
|
});
|
|
3265
|
-
_sfc_main$
|
|
3266
|
-
app.component(_sfc_main$
|
|
3265
|
+
_sfc_main$q.install = (app) => {
|
|
3266
|
+
app.component(_sfc_main$q.__name, _sfc_main$q);
|
|
3267
3267
|
};
|
|
3268
|
-
const _sfc_main$
|
|
3268
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
3269
3269
|
__name: "TableSwitch",
|
|
3270
3270
|
props: /* @__PURE__ */ mergeModels({
|
|
3271
3271
|
value: {
|
|
@@ -3308,8 +3308,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
3308
3308
|
};
|
|
3309
3309
|
}
|
|
3310
3310
|
});
|
|
3311
|
-
_sfc_main$
|
|
3312
|
-
app.component(_sfc_main$
|
|
3311
|
+
_sfc_main$p.install = (app) => {
|
|
3312
|
+
app.component(_sfc_main$p.__name, _sfc_main$p);
|
|
3313
3313
|
};
|
|
3314
3314
|
const mergeObjects = (queryData, typeData) => {
|
|
3315
3315
|
var _a;
|
|
@@ -3330,7 +3330,7 @@ const mergeObjects = (queryData, typeData) => {
|
|
|
3330
3330
|
return mergedObj;
|
|
3331
3331
|
};
|
|
3332
3332
|
const _hoisted_1$3 = { style: { "width": "100%", "text-align": "right" } };
|
|
3333
|
-
const _sfc_main$
|
|
3333
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
3334
3334
|
__name: "QueryBarClient",
|
|
3335
3335
|
props: {
|
|
3336
3336
|
frame: {
|
|
@@ -3497,10 +3497,10 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
3497
3497
|
};
|
|
3498
3498
|
}
|
|
3499
3499
|
});
|
|
3500
|
-
_sfc_main$
|
|
3501
|
-
app.component("KeliQueryBar", _sfc_main$
|
|
3500
|
+
_sfc_main$o.install = (app) => {
|
|
3501
|
+
app.component("KeliQueryBar", _sfc_main$o);
|
|
3502
3502
|
};
|
|
3503
|
-
const _sfc_main$
|
|
3503
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
3504
3504
|
__name: "QueryDateTimeClient",
|
|
3505
3505
|
props: /* @__PURE__ */ mergeModels({
|
|
3506
3506
|
value: {
|
|
@@ -3565,10 +3565,10 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
3565
3565
|
};
|
|
3566
3566
|
}
|
|
3567
3567
|
});
|
|
3568
|
-
_sfc_main$
|
|
3569
|
-
app.component(_sfc_main$
|
|
3568
|
+
_sfc_main$n.install = (app) => {
|
|
3569
|
+
app.component(_sfc_main$n.__name, _sfc_main$n);
|
|
3570
3570
|
};
|
|
3571
|
-
const _sfc_main$
|
|
3571
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
3572
3572
|
__name: "QueryInput",
|
|
3573
3573
|
props: /* @__PURE__ */ mergeModels({
|
|
3574
3574
|
value: {
|
|
@@ -3598,10 +3598,10 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
3598
3598
|
};
|
|
3599
3599
|
}
|
|
3600
3600
|
});
|
|
3601
|
-
_sfc_main$
|
|
3602
|
-
app.component(_sfc_main$
|
|
3601
|
+
_sfc_main$m.install = (app) => {
|
|
3602
|
+
app.component(_sfc_main$m.__name, _sfc_main$m);
|
|
3603
3603
|
};
|
|
3604
|
-
const _sfc_main$
|
|
3604
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
3605
3605
|
__name: "QueryInputLike",
|
|
3606
3606
|
props: /* @__PURE__ */ mergeModels({
|
|
3607
3607
|
value: {
|
|
@@ -3631,10 +3631,10 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
3631
3631
|
};
|
|
3632
3632
|
}
|
|
3633
3633
|
});
|
|
3634
|
-
_sfc_main$
|
|
3635
|
-
app.component(_sfc_main$
|
|
3634
|
+
_sfc_main$l.install = (app) => {
|
|
3635
|
+
app.component(_sfc_main$l.__name, _sfc_main$l);
|
|
3636
3636
|
};
|
|
3637
|
-
const _sfc_main$
|
|
3637
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
3638
3638
|
__name: "QuerySelectClient",
|
|
3639
3639
|
props: /* @__PURE__ */ mergeModels({
|
|
3640
3640
|
value: {
|
|
@@ -3687,11 +3687,11 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
3687
3687
|
};
|
|
3688
3688
|
}
|
|
3689
3689
|
});
|
|
3690
|
-
const KeliQuerySelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3690
|
+
const KeliQuerySelect = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-042e4267"]]);
|
|
3691
3691
|
KeliQuerySelect.install = (app) => {
|
|
3692
3692
|
app.component(KeliQuerySelect.__name, KeliQuerySelect);
|
|
3693
3693
|
};
|
|
3694
|
-
const _sfc_main$
|
|
3694
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
3695
3695
|
__name: "ToolBarClient",
|
|
3696
3696
|
props: {
|
|
3697
3697
|
toolButtons: {
|
|
@@ -3727,7 +3727,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
3727
3727
|
};
|
|
3728
3728
|
}
|
|
3729
3729
|
});
|
|
3730
|
-
const ToolBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3730
|
+
const ToolBar = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-4eaf37da"]]);
|
|
3731
3731
|
const useMittHook = (fieldName, mittId) => {
|
|
3732
3732
|
if (!mittId) {
|
|
3733
3733
|
return {
|
|
@@ -3753,26 +3753,12 @@ const useMittHook = (fieldName, mittId) => {
|
|
|
3753
3753
|
};
|
|
3754
3754
|
return { registerMitt, offMitt };
|
|
3755
3755
|
};
|
|
3756
|
-
const _sfc_main$
|
|
3756
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
3757
3757
|
__name: "FormCascaderAsync",
|
|
3758
3758
|
props: /* @__PURE__ */ mergeModels({
|
|
3759
|
-
value: {
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
},
|
|
3763
|
-
detail: {
|
|
3764
|
-
required: true,
|
|
3765
|
-
type: Object
|
|
3766
|
-
},
|
|
3767
|
-
fieldTitle: {
|
|
3768
|
-
required: true,
|
|
3769
|
-
type: String
|
|
3770
|
-
},
|
|
3771
|
-
mittId: {
|
|
3772
|
-
type: null,
|
|
3773
|
-
required: false,
|
|
3774
|
-
default: () => null
|
|
3775
|
-
}
|
|
3759
|
+
value: { default: null },
|
|
3760
|
+
detail: {},
|
|
3761
|
+
mittId: { default: () => null }
|
|
3776
3762
|
}, {
|
|
3777
3763
|
"value": {},
|
|
3778
3764
|
"valueModifiers": {}
|
|
@@ -3824,7 +3810,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
3824
3810
|
resolve(result.data);
|
|
3825
3811
|
} else {
|
|
3826
3812
|
msgTips.tips({
|
|
3827
|
-
msg: `${props.
|
|
3813
|
+
msg: `${props.detail.title}数据获取失败!${result.msg}`,
|
|
3828
3814
|
type: "warning"
|
|
3829
3815
|
});
|
|
3830
3816
|
resolve([]);
|
|
@@ -3856,27 +3842,12 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
3856
3842
|
}
|
|
3857
3843
|
});
|
|
3858
3844
|
const isLoadFail = false;
|
|
3859
|
-
const _sfc_main$
|
|
3845
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
3860
3846
|
__name: "FormCheckBoxAsync",
|
|
3861
3847
|
props: /* @__PURE__ */ mergeModels({
|
|
3862
|
-
value: {
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
default: null
|
|
3866
|
-
},
|
|
3867
|
-
detail: {
|
|
3868
|
-
required: true,
|
|
3869
|
-
type: Object
|
|
3870
|
-
},
|
|
3871
|
-
fieldTitle: {
|
|
3872
|
-
required: true,
|
|
3873
|
-
type: String
|
|
3874
|
-
},
|
|
3875
|
-
mittId: {
|
|
3876
|
-
type: null,
|
|
3877
|
-
required: false,
|
|
3878
|
-
default: () => null
|
|
3879
|
-
}
|
|
3848
|
+
value: { default: null },
|
|
3849
|
+
detail: {},
|
|
3850
|
+
mittId: { default: null }
|
|
3880
3851
|
}, {
|
|
3881
3852
|
"value": {
|
|
3882
3853
|
type: Array
|
|
@@ -3984,6 +3955,64 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
3984
3955
|
};
|
|
3985
3956
|
}
|
|
3986
3957
|
});
|
|
3958
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
3959
|
+
__name: "FormCheckBox",
|
|
3960
|
+
props: /* @__PURE__ */ mergeModels({
|
|
3961
|
+
value: { default: null },
|
|
3962
|
+
detail: {},
|
|
3963
|
+
mittId: { default: null }
|
|
3964
|
+
}, {
|
|
3965
|
+
"value": {
|
|
3966
|
+
type: Array
|
|
3967
|
+
},
|
|
3968
|
+
"valueModifiers": {}
|
|
3969
|
+
}),
|
|
3970
|
+
emits: /* @__PURE__ */ mergeModels([
|
|
3971
|
+
"update:value",
|
|
3972
|
+
"getComponentValue",
|
|
3973
|
+
"valueChange",
|
|
3974
|
+
"setShow"
|
|
3975
|
+
], ["update:value"]),
|
|
3976
|
+
setup(__props, { emit: __emit }) {
|
|
3977
|
+
const props = __props;
|
|
3978
|
+
const checkData = useModel(__props, "value");
|
|
3979
|
+
const { registerMitt, offMitt } = useMittHook(props.detail.field, props.mittId);
|
|
3980
|
+
const setValue = (value) => {
|
|
3981
|
+
checkData.value = value;
|
|
3982
|
+
};
|
|
3983
|
+
const receiveBroadcasts = (eventData) => {
|
|
3984
|
+
if (props.detail.noticeReceive) {
|
|
3985
|
+
props.detail.noticeReceive(eventData, setValue);
|
|
3986
|
+
}
|
|
3987
|
+
};
|
|
3988
|
+
onMounted(() => {
|
|
3989
|
+
registerMitt(receiveBroadcasts);
|
|
3990
|
+
});
|
|
3991
|
+
onUnmounted(() => {
|
|
3992
|
+
offMitt();
|
|
3993
|
+
});
|
|
3994
|
+
return (_ctx, _cache) => {
|
|
3995
|
+
const _component_el_checkbox = resolveComponent("el-checkbox");
|
|
3996
|
+
const _component_el_checkbox_group = resolveComponent("el-checkbox-group");
|
|
3997
|
+
return openBlock(), createBlock(_component_el_checkbox_group, {
|
|
3998
|
+
modelValue: checkData.value,
|
|
3999
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checkData.value = $event)
|
|
4000
|
+
}, {
|
|
4001
|
+
default: withCtx(() => [
|
|
4002
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.detail.options, (ops) => {
|
|
4003
|
+
return openBlock(), createBlock(_component_el_checkbox, {
|
|
4004
|
+
key: ops.value,
|
|
4005
|
+
disabled: ops.disabled,
|
|
4006
|
+
label: ops.label,
|
|
4007
|
+
value: ops.value
|
|
4008
|
+
}, null, 8, ["disabled", "label", "value"]);
|
|
4009
|
+
}), 128))
|
|
4010
|
+
]),
|
|
4011
|
+
_: 1
|
|
4012
|
+
}, 8, ["modelValue"]);
|
|
4013
|
+
};
|
|
4014
|
+
}
|
|
4015
|
+
});
|
|
3987
4016
|
const _hoisted_1$2 = { class: "dateCell" };
|
|
3988
4017
|
const _hoisted_2$2 = { class: "solar_calendar" };
|
|
3989
4018
|
const _hoisted_3$2 = { class: "lunar_calendar" };
|
|
@@ -6779,21 +6808,9 @@ const FormRenderClient = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId",
|
|
|
6779
6808
|
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
6780
6809
|
__name: "FormSelectClient",
|
|
6781
6810
|
props: /* @__PURE__ */ mergeModels({
|
|
6782
|
-
value: {
|
|
6783
|
-
|
|
6784
|
-
|
|
6785
|
-
return void 0;
|
|
6786
|
-
}
|
|
6787
|
-
},
|
|
6788
|
-
detail: {
|
|
6789
|
-
required: true,
|
|
6790
|
-
type: Object
|
|
6791
|
-
},
|
|
6792
|
-
mittId: {
|
|
6793
|
-
type: null,
|
|
6794
|
-
required: false,
|
|
6795
|
-
default: () => null
|
|
6796
|
-
}
|
|
6811
|
+
value: { default: null },
|
|
6812
|
+
detail: {},
|
|
6813
|
+
mittId: { default: null }
|
|
6797
6814
|
}, {
|
|
6798
6815
|
"value": {},
|
|
6799
6816
|
"valueModifiers": {}
|
|
@@ -6836,9 +6853,9 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
6836
6853
|
return openBlock(), createBlock(_component_el_select, mergeProps({
|
|
6837
6854
|
modelValue: valueRef.value,
|
|
6838
6855
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => valueRef.value = $event),
|
|
6839
|
-
multiple: (_a =
|
|
6840
|
-
placeholder:
|
|
6841
|
-
},
|
|
6856
|
+
multiple: (_a = _ctx.detail) == null ? void 0 : _a.multiple,
|
|
6857
|
+
placeholder: _ctx.detail.placeholder
|
|
6858
|
+
}, _ctx.detail.componentParams ? _ctx.detail.componentParams : {}, { clearable: "" }), {
|
|
6842
6859
|
default: withCtx(() => {
|
|
6843
6860
|
var _a2;
|
|
6844
6861
|
return [
|
|
@@ -7613,17 +7630,18 @@ const components = [
|
|
|
7613
7630
|
{ name: "KeTableCheckBoxAsync", component: KeTableCheckBoxAsync },
|
|
7614
7631
|
{ name: "KeTableInput", component: KeTableInput },
|
|
7615
7632
|
{ name: "KeTableInputNumber", component: KeTableInputNumber },
|
|
7616
|
-
{ name: "KeTableSelect", component: _sfc_main$
|
|
7617
|
-
{ name: "KeTableSelectAsync", component: _sfc_main$
|
|
7618
|
-
{ name: "KeTableSwitch", component: _sfc_main$
|
|
7619
|
-
{ name: "KeQueryBar", component: _sfc_main$
|
|
7620
|
-
{ name: "KeQueryDateTime", component: _sfc_main$
|
|
7621
|
-
{ name: "KeQueryInput", component: _sfc_main$
|
|
7622
|
-
{ name: "KeQueryInputLike", component: _sfc_main$
|
|
7633
|
+
{ name: "KeTableSelect", component: _sfc_main$r },
|
|
7634
|
+
{ name: "KeTableSelectAsync", component: _sfc_main$q },
|
|
7635
|
+
{ name: "KeTableSwitch", component: _sfc_main$p },
|
|
7636
|
+
{ name: "KeQueryBar", component: _sfc_main$o },
|
|
7637
|
+
{ name: "KeQueryDateTime", component: _sfc_main$n },
|
|
7638
|
+
{ name: "KeQueryInput", component: _sfc_main$m },
|
|
7639
|
+
{ name: "KeQueryInputLike", component: _sfc_main$l },
|
|
7623
7640
|
{ name: "KeQuerySelect", component: KeliQuerySelect },
|
|
7624
7641
|
{ name: "KeToolBar", component: ToolBar },
|
|
7625
|
-
{ name: "KeFormCascaderAsync", component: _sfc_main$
|
|
7626
|
-
{ name: "KeFormCheckBoxAsync", component: _sfc_main$
|
|
7642
|
+
{ name: "KeFormCascaderAsync", component: _sfc_main$i },
|
|
7643
|
+
{ name: "KeFormCheckBoxAsync", component: _sfc_main$h },
|
|
7644
|
+
{ name: "KeFormCheckBox", component: _sfc_main$g },
|
|
7627
7645
|
{ name: "KeFormDatePicker", component: FormDatePickerClient },
|
|
7628
7646
|
{ name: "KeFormDateTimePicker", component: FormDateTimePickerClient },
|
|
7629
7647
|
{ name: "KeFormDivider", component: _sfc_main$d },
|
|
@@ -7648,8 +7666,9 @@ const install = (app) => {
|
|
|
7648
7666
|
});
|
|
7649
7667
|
};
|
|
7650
7668
|
export {
|
|
7651
|
-
_sfc_main$
|
|
7652
|
-
_sfc_main$g as
|
|
7669
|
+
_sfc_main$i as KeFormCascaderAsync,
|
|
7670
|
+
_sfc_main$g as KeFormCheckBox,
|
|
7671
|
+
_sfc_main$h as KeFormCheckBoxAsync,
|
|
7653
7672
|
FormDatePickerClient as KeFormDatePicker,
|
|
7654
7673
|
FormDateTimePickerClient as KeFormDateTimePicker,
|
|
7655
7674
|
_sfc_main$d as KeFormDivider,
|
|
@@ -7666,18 +7685,18 @@ export {
|
|
|
7666
7685
|
_sfc_main$2 as KeFormTableSelectAsync,
|
|
7667
7686
|
_sfc_main$1 as KeFormText,
|
|
7668
7687
|
_sfc_main as KeFormTextArea,
|
|
7669
|
-
_sfc_main$
|
|
7670
|
-
_sfc_main$
|
|
7671
|
-
_sfc_main$
|
|
7672
|
-
_sfc_main$
|
|
7688
|
+
_sfc_main$o as KeQueryBar,
|
|
7689
|
+
_sfc_main$n as KeQueryDateTime,
|
|
7690
|
+
_sfc_main$m as KeQueryInput,
|
|
7691
|
+
_sfc_main$l as KeQueryInputLike,
|
|
7673
7692
|
KeliQuerySelect as KeQuerySelect,
|
|
7674
7693
|
TableCardRender as KeTableCardRender,
|
|
7675
7694
|
KeTableCheckBoxAsync,
|
|
7676
7695
|
KeTableInput,
|
|
7677
7696
|
KeTableInputNumber,
|
|
7678
|
-
_sfc_main$
|
|
7679
|
-
_sfc_main$
|
|
7680
|
-
_sfc_main$
|
|
7697
|
+
_sfc_main$r as KeTableSelect,
|
|
7698
|
+
_sfc_main$q as KeTableSelectAsync,
|
|
7699
|
+
_sfc_main$p as KeTableSwitch,
|
|
7681
7700
|
KeTableTreeRender,
|
|
7682
7701
|
ToolBar as KeToolBar,
|
|
7683
7702
|
calculateTimeDifference,
|