fit2cloud-ui-plus 0.0.1-beta.3 → 0.0.1-beta.7
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/lib/fit2cloud-ui-plus.es.js +119 -114
- package/lib/fit2cloud-ui-plus.umd.js +1 -1
- package/package.json +6 -10
- package/src/components/filter-bar/FuFilter.vue +1 -1
- package/src/components/read-write-switch/FuInputRwSwitch.vue +9 -5
- package/src/components/read-write-switch/FuReadWriteSwitch.vue +38 -36
- package/src/components/read-write-switch/FuSelectRwSwitch.vue +11 -7
- package/src/components/read-write-switch/types.ts +4 -0
- package/src/components/split-pane/FuSplitPane.vue +1 -1
- package/src/components/table/FuTableBody.ts +32 -26
- package/src/components/table/table-column-dropdown/FuTableColumnDropdown.vue +5 -2
- package/src/components/table/table-column-select/FuTableColumnSelectDialog.vue +12 -11
- package/src/components/table/table-column-select/FuTableColumnSelectPopover.vue +9 -9
- package/src/components/table/table-column-select/utils.ts +10 -7
- package/src/components/table/table-operations/FuTableMoreButton.vue +4 -2
- package/src/components/table/table-operations/FuTableOperations.vue +5 -5
- package/src/components/tabs/FuTabs.vue +4 -2
- package/src/styles/common/variables.scss +0 -6
- package/src/styles/components/tabs.scss +1 -1
- package/src/tools/types.ts +9 -0
- package/src/tools/utils.ts +36 -36
- package/.editorconfig +0 -14
- package/BETA.MD +0 -6
- package/env.d.ts +0 -13
- package/examples/App.vue +0 -65
- package/examples/assets/github.png +0 -0
- package/examples/assets/hidden-code.png +0 -0
- package/examples/assets/iconfont/demo.css +0 -539
- package/examples/assets/iconfont/demo_index.html +0 -257
- package/examples/assets/iconfont/iconfont.css +0 -27
- package/examples/assets/iconfont/iconfont.js +0 -1
- package/examples/assets/iconfont/iconfont.json +0 -30
- package/examples/assets/iconfont/iconfont.ttf +0 -0
- package/examples/assets/iconfont/iconfont.woff +0 -0
- package/examples/assets/iconfont/iconfont.woff2 +0 -0
- package/examples/assets/logo.png +0 -0
- package/examples/components/CodeExample.vue +0 -209
- package/examples/components/DocumentTable.vue +0 -98
- package/examples/components/Markdown.vue +0 -30
- package/examples/layout/components/AppHeader.vue +0 -35
- package/examples/layout/components/Sidebar.vue +0 -73
- package/examples/layout/index.vue +0 -55
- package/examples/layout/layout.scss +0 -75
- package/examples/main.ts +0 -25
- package/examples/markdown/getting-started.md +0 -38
- package/examples/pages/filter-bar/demo/BaseFilterBar.vue +0 -70
- package/examples/pages/filter-bar/demo/SetConditionsDemo.vue +0 -66
- package/examples/pages/filter-bar/demo/SlotDemo.vue +0 -77
- package/examples/pages/filter-bar/index.vue +0 -56
- package/examples/pages/index.ts +0 -11
- package/examples/pages/read-write-switch/demo/BaseDemo.vue +0 -30
- package/examples/pages/read-write-switch/demo/CustomContentDemo.vue +0 -28
- package/examples/pages/read-write-switch/demo/InputRwSwitchDemo.vue +0 -16
- package/examples/pages/read-write-switch/demo/ReadSwitchDemo.vue +0 -54
- package/examples/pages/read-write-switch/demo/SelectRwSwitchDemo.vue +0 -23
- package/examples/pages/read-write-switch/demo/TableInnerEditDemo.vue +0 -73
- package/examples/pages/read-write-switch/demo/WriteSwitchDemo.vue +0 -39
- package/examples/pages/read-write-switch/index.vue +0 -81
- package/examples/pages/speed-dial/demo/BaseSpeedDial.vue +0 -51
- package/examples/pages/speed-dial/demo/SpeedDialCustom.vue +0 -109
- package/examples/pages/speed-dial/demo/SpeedDialPosition.vue +0 -66
- package/examples/pages/speed-dial/demo/SpeedDialTrigger.vue +0 -64
- package/examples/pages/speed-dial/index.vue +0 -61
- package/examples/pages/split-pane/demo/BaseSplit.vue +0 -36
- package/examples/pages/split-pane/demo/CustomResizer.vue +0 -47
- package/examples/pages/split-pane/demo/NestSplit.vue +0 -34
- package/examples/pages/split-pane/demo/ResizerType.vue +0 -60
- package/examples/pages/split-pane/index.vue +0 -61
- package/examples/pages/table/demo/BaseTable.vue +0 -35
- package/examples/pages/table/demo/DropdownColumn.vue +0 -89
- package/examples/pages/table/demo/DropdownColumnSlot.vue +0 -92
- package/examples/pages/table/demo/SaveSelectColumn.vue +0 -41
- package/examples/pages/table/demo/SelectColumn.vue +0 -47
- package/examples/pages/table/demo/TableOperations.vue +0 -95
- package/examples/pages/table/demo/TablePagination.vue +0 -100
- package/examples/pages/table/index.vue +0 -89
- package/examples/pages/tabs/demo/AddCloseTab.vue +0 -73
- package/examples/pages/tabs/index.vue +0 -42
- package/examples/router/doc-routes.ts +0 -52
- package/examples/router/index.ts +0 -56
- package/index.html +0 -13
- package/plugins/example-transform.ts +0 -30
- package/public/favicon.bmp +0 -0
- package/tsconfig.json +0 -24
- package/tsconfig.node.json +0 -9
- package/vite.config.ts +0 -56
|
@@ -67,7 +67,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
69
|
}));
|
|
70
|
-
var FuSearchInput = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__file", "/Users/
|
|
70
|
+
var FuSearchInput = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/FuSearchInput.vue"]]);
|
|
71
71
|
const globalConfig = ref();
|
|
72
72
|
function useGlobalConfig(key, defaultValue = void 0) {
|
|
73
73
|
const config = getCurrentInstance() ? inject(Symbol(), globalConfig) : globalConfig;
|
|
@@ -525,7 +525,7 @@ const useLocale = () => {
|
|
|
525
525
|
return buildLocaleContext(computed(() => locale.value || Chinese));
|
|
526
526
|
};
|
|
527
527
|
const _hoisted_1$g = { class: "fu-filter-conditions" };
|
|
528
|
-
const _hoisted_2$
|
|
528
|
+
const _hoisted_2$b = { class: "condition-text" };
|
|
529
529
|
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
530
530
|
props: {
|
|
531
531
|
conditions: Array
|
|
@@ -550,7 +550,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
550
550
|
class: "fu-filter-conditions__item",
|
|
551
551
|
key: index2
|
|
552
552
|
}, [
|
|
553
|
-
createElementVNode("div", _hoisted_2$
|
|
553
|
+
createElementVNode("div", _hoisted_2$b, toDisplayString(text(condition)), 1),
|
|
554
554
|
createVNode(_component_el_icon, {
|
|
555
555
|
class: "fu-scale-click",
|
|
556
556
|
onClick: ($event) => remove(index2)
|
|
@@ -566,11 +566,11 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
566
566
|
};
|
|
567
567
|
}
|
|
568
568
|
});
|
|
569
|
-
var FuFilterConditions = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__file", "/Users/
|
|
569
|
+
var FuFilterConditions = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/FuFilterConditions.vue"]]);
|
|
570
570
|
const selectKey = Symbol("SelectKey");
|
|
571
571
|
const referenceKey = Symbol("ReferenceKey");
|
|
572
572
|
const _hoisted_1$f = { class: "fu-filter__result" };
|
|
573
|
-
const _hoisted_2$
|
|
573
|
+
const _hoisted_2$a = { style: { "opacity": "0.6" } };
|
|
574
574
|
const _hoisted_3$7 = /* @__PURE__ */ createElementVNode("div", { class: "fu-filter__split" }, null, -1);
|
|
575
575
|
const _hoisted_4$3 = { class: "drawer-body" };
|
|
576
576
|
const _hoisted_5$2 = { class: "drawer-footer" };
|
|
@@ -695,7 +695,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
695
695
|
}, [
|
|
696
696
|
createElementVNode("div", _hoisted_1$f, [
|
|
697
697
|
createTextVNode(toDisplayString(__props.count) + " ", 1),
|
|
698
|
-
createElementVNode("span", _hoisted_2$
|
|
698
|
+
createElementVNode("span", _hoisted_2$a, toDisplayString(unref(t)("fu.filter_bar.results")), 1)
|
|
699
699
|
]),
|
|
700
700
|
_hoisted_3$7,
|
|
701
701
|
scroll.value ? (openBlock(), createElementBlock("div", {
|
|
@@ -790,9 +790,9 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
790
790
|
};
|
|
791
791
|
}
|
|
792
792
|
}));
|
|
793
|
-
var FuFilter = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__file", "/Users/
|
|
793
|
+
var FuFilter = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/FuFilter.vue"]]);
|
|
794
794
|
const _hoisted_1$e = { class: "fu-filter-bar" };
|
|
795
|
-
const _hoisted_2$
|
|
795
|
+
const _hoisted_2$9 = { class: "fu-filter-bar__top" };
|
|
796
796
|
const _hoisted_3$6 = { class: "top_left" };
|
|
797
797
|
const _hoisted_4$2 = { class: "top_right" };
|
|
798
798
|
const _hoisted_5$1 = { key: 0 };
|
|
@@ -838,7 +838,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
838
838
|
return (_ctx, _cache) => {
|
|
839
839
|
const _component_el_button = resolveComponent("el-button");
|
|
840
840
|
return openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
841
|
-
createElementVNode("div", _hoisted_2$
|
|
841
|
+
createElementVNode("div", _hoisted_2$9, [
|
|
842
842
|
createElementVNode("div", _hoisted_3$6, [
|
|
843
843
|
renderSlot(_ctx.$slots, "tl")
|
|
844
844
|
]),
|
|
@@ -883,7 +883,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
883
883
|
};
|
|
884
884
|
}
|
|
885
885
|
}));
|
|
886
|
-
var FuFilterBar = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__file", "/Users/
|
|
886
|
+
var FuFilterBar = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/FuFilterBar.vue"]]);
|
|
887
887
|
const _hoisted_1$d = ["onClick"];
|
|
888
888
|
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
889
889
|
props: {
|
|
@@ -920,9 +920,9 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
920
920
|
};
|
|
921
921
|
}
|
|
922
922
|
});
|
|
923
|
-
var FuFilterOption = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__file", "/Users/
|
|
923
|
+
var FuFilterOption = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterOption.vue"]]);
|
|
924
924
|
const _hoisted_1$c = { class: "fu-filter-component" };
|
|
925
|
-
const _hoisted_2$
|
|
925
|
+
const _hoisted_2$8 = { class: "fu-filter-component__label" };
|
|
926
926
|
const _hoisted_3$5 = { class: "fu-filter-component__content" };
|
|
927
927
|
const _hoisted_4$1 = { class: "fu-filter-option" };
|
|
928
928
|
const __default__$f = { name: "FuFilterSelect" };
|
|
@@ -1032,7 +1032,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
1032
1032
|
const _component_el_icon = resolveComponent("el-icon");
|
|
1033
1033
|
const _component_el_popover = resolveComponent("el-popover");
|
|
1034
1034
|
return openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
1035
|
-
createElementVNode("div", _hoisted_2$
|
|
1035
|
+
createElementVNode("div", _hoisted_2$8, toDisplayString(__props.label), 1),
|
|
1036
1036
|
createElementVNode("div", _hoisted_3$5, [
|
|
1037
1037
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(showOptions), (o) => {
|
|
1038
1038
|
return openBlock(), createBlock(FuFilterOption, {
|
|
@@ -1097,7 +1097,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
1097
1097
|
};
|
|
1098
1098
|
}
|
|
1099
1099
|
}));
|
|
1100
|
-
var FuFilterSelect = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__file", "/Users/
|
|
1100
|
+
var FuFilterSelect = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterSelect.vue"]]);
|
|
1101
1101
|
const getCheckDate = (timestamp) => {
|
|
1102
1102
|
if (!timestamp)
|
|
1103
1103
|
return false;
|
|
@@ -1128,7 +1128,7 @@ const dateFormat = (timestamp) => {
|
|
|
1128
1128
|
return `${y}-${m}-${d}`;
|
|
1129
1129
|
};
|
|
1130
1130
|
const _hoisted_1$b = { class: "fu-filter-component" };
|
|
1131
|
-
const _hoisted_2$
|
|
1131
|
+
const _hoisted_2$7 = { class: "fu-filter-component__label" };
|
|
1132
1132
|
const _hoisted_3$4 = { class: "fu-filter-component__content" };
|
|
1133
1133
|
const __default__$e = { name: "FuFilterDate" };
|
|
1134
1134
|
const _sfc_main$o = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$e), {
|
|
@@ -1170,7 +1170,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
1170
1170
|
return (_ctx, _cache) => {
|
|
1171
1171
|
const _component_el_date_picker = resolveComponent("el-date-picker");
|
|
1172
1172
|
return openBlock(), createElementBlock("div", _hoisted_1$b, [
|
|
1173
|
-
createElementVNode("div", _hoisted_2$
|
|
1173
|
+
createElementVNode("div", _hoisted_2$7, toDisplayString(__props.label), 1),
|
|
1174
1174
|
createElementVNode("div", _hoisted_3$4, [
|
|
1175
1175
|
createCommentVNode(' :size="configSize" '),
|
|
1176
1176
|
createVNode(_component_el_date_picker, mergeProps({
|
|
@@ -1189,9 +1189,9 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
1189
1189
|
};
|
|
1190
1190
|
}
|
|
1191
1191
|
}));
|
|
1192
|
-
var FuFilterDate = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__file", "/Users/
|
|
1192
|
+
var FuFilterDate = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterDate.vue"]]);
|
|
1193
1193
|
const _hoisted_1$a = { class: "fu-filter-component" };
|
|
1194
|
-
const _hoisted_2$
|
|
1194
|
+
const _hoisted_2$6 = { class: "fu-filter-component__label" };
|
|
1195
1195
|
const _hoisted_3$3 = { class: "fu-filter-component__content" };
|
|
1196
1196
|
const __default__$d = { name: "FuFilterDateTime" };
|
|
1197
1197
|
const _sfc_main$n = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$d), {
|
|
@@ -1233,7 +1233,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
1233
1233
|
return (_ctx, _cache) => {
|
|
1234
1234
|
const _component_el_date_picker = resolveComponent("el-date-picker");
|
|
1235
1235
|
return openBlock(), createElementBlock("div", _hoisted_1$a, [
|
|
1236
|
-
createElementVNode("div", _hoisted_2$
|
|
1236
|
+
createElementVNode("div", _hoisted_2$6, toDisplayString(__props.label), 1),
|
|
1237
1237
|
createElementVNode("div", _hoisted_3$3, [
|
|
1238
1238
|
createCommentVNode(' :size="configSize" '),
|
|
1239
1239
|
createVNode(_component_el_date_picker, mergeProps({
|
|
@@ -1252,7 +1252,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
1252
1252
|
};
|
|
1253
1253
|
}
|
|
1254
1254
|
}));
|
|
1255
|
-
var FuFilterDateTime = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__file", "/Users/
|
|
1255
|
+
var FuFilterDateTime = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterDateTime.vue"]]);
|
|
1256
1256
|
var index$1 = {
|
|
1257
1257
|
install: (app) => {
|
|
1258
1258
|
app.component(FuFilterBar.name, FuFilterBar);
|
|
@@ -1282,15 +1282,15 @@ const uuid = function() {
|
|
|
1282
1282
|
return (c === "x" ? r : r & 3 | 8).toString(16);
|
|
1283
1283
|
});
|
|
1284
1284
|
};
|
|
1285
|
-
const TRIGGERS = ["manual", "
|
|
1285
|
+
const TRIGGERS = ["manual", "onClick", "onDblclick"];
|
|
1286
1286
|
const _sfc_main$m = defineComponent({
|
|
1287
1287
|
name: "FuReadWriteSwitch",
|
|
1288
1288
|
props: {
|
|
1289
|
-
|
|
1289
|
+
modelValue: Boolean,
|
|
1290
1290
|
data: [String, Number, Boolean],
|
|
1291
1291
|
writeTrigger: {
|
|
1292
1292
|
type: String,
|
|
1293
|
-
default: "
|
|
1293
|
+
default: "onClick",
|
|
1294
1294
|
validator: (value) => {
|
|
1295
1295
|
return TRIGGERS.includes(value);
|
|
1296
1296
|
}
|
|
@@ -1298,9 +1298,8 @@ const _sfc_main$m = defineComponent({
|
|
|
1298
1298
|
},
|
|
1299
1299
|
setup(props, { slots, emit }) {
|
|
1300
1300
|
const id = ref(uuid());
|
|
1301
|
-
const write = ref(props.
|
|
1302
|
-
watch(() => props.
|
|
1303
|
-
console.log(v);
|
|
1301
|
+
const write = ref(props.modelValue === void 0 ? false : props.modelValue);
|
|
1302
|
+
watch(() => props.modelValue, (v) => {
|
|
1304
1303
|
if (v === write.value)
|
|
1305
1304
|
return;
|
|
1306
1305
|
if (v) {
|
|
@@ -1310,7 +1309,7 @@ const _sfc_main$m = defineComponent({
|
|
|
1310
1309
|
}
|
|
1311
1310
|
});
|
|
1312
1311
|
function change() {
|
|
1313
|
-
emit("
|
|
1312
|
+
emit("update:modelValue", write.value);
|
|
1314
1313
|
emit("change", [props.data, write.value]);
|
|
1315
1314
|
}
|
|
1316
1315
|
function switchWrite() {
|
|
@@ -1329,46 +1328,47 @@ const _sfc_main$m = defineComponent({
|
|
|
1329
1328
|
write.value = false;
|
|
1330
1329
|
change();
|
|
1331
1330
|
}
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1331
|
+
return () => {
|
|
1332
|
+
const context = {
|
|
1333
|
+
class: "fu-read-write-switch",
|
|
1334
|
+
id: id.value
|
|
1335
|
+
};
|
|
1336
|
+
if (!write.value && props.writeTrigger !== TRIGGERS[0]) {
|
|
1337
|
+
context[props.writeTrigger] = switchWrite;
|
|
1338
|
+
}
|
|
1339
|
+
let children = props.data;
|
|
1340
|
+
if (!write.value && slots.read) {
|
|
1341
|
+
children = slots.read({
|
|
1342
|
+
write: switchWrite
|
|
1343
|
+
});
|
|
1344
|
+
}
|
|
1345
|
+
if (write.value && slots.default) {
|
|
1346
|
+
children = slots.default({
|
|
1347
|
+
read: switchRead
|
|
1348
|
+
});
|
|
1349
|
+
}
|
|
1350
|
+
return h("div", context, children);
|
|
1336
1351
|
};
|
|
1337
|
-
if (!write.value && props.writeTrigger !== TRIGGERS[0]) {
|
|
1338
|
-
context.on[props.writeTrigger] = switchWrite;
|
|
1339
|
-
}
|
|
1340
|
-
let children = props.data;
|
|
1341
|
-
if (!write.value && slots.read) {
|
|
1342
|
-
children = slots.read({
|
|
1343
|
-
write: switchWrite
|
|
1344
|
-
});
|
|
1345
|
-
}
|
|
1346
|
-
if (write.value && slots.default) {
|
|
1347
|
-
children = slots.default({
|
|
1348
|
-
read: switchRead
|
|
1349
|
-
});
|
|
1350
|
-
}
|
|
1351
|
-
return () => h("div", context, children);
|
|
1352
1352
|
}
|
|
1353
1353
|
});
|
|
1354
|
-
var FuReadWriteSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__file", "/Users/
|
|
1354
|
+
var FuReadWriteSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/read-write-switch/FuReadWriteSwitch.vue"]]);
|
|
1355
1355
|
const __default__$c = { name: "FuInputRwSwitch" };
|
|
1356
1356
|
const _sfc_main$l = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$c), {
|
|
1357
1357
|
props: {
|
|
1358
|
-
|
|
1358
|
+
modelValue: [String, Number],
|
|
1359
1359
|
writeTrigger: {
|
|
1360
1360
|
type: String,
|
|
1361
|
-
default: "
|
|
1361
|
+
default: "onClick",
|
|
1362
1362
|
validator: (value) => {
|
|
1363
|
-
return ["
|
|
1363
|
+
return ["onClick", "onDblclick"].includes(value);
|
|
1364
1364
|
}
|
|
1365
1365
|
}
|
|
1366
1366
|
},
|
|
1367
1367
|
emits: ["input", "blur"],
|
|
1368
1368
|
setup(__props, { emit }) {
|
|
1369
1369
|
const props = __props;
|
|
1370
|
-
const data = ref(props.
|
|
1371
|
-
watch(() => props.
|
|
1370
|
+
const data = ref(props.modelValue);
|
|
1371
|
+
watch(() => props.modelValue, (v) => {
|
|
1372
1372
|
data.value = v;
|
|
1373
1373
|
});
|
|
1374
1374
|
function input(e) {
|
|
@@ -1385,8 +1385,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
1385
1385
|
}
|
|
1386
1386
|
return (_ctx, _cache) => {
|
|
1387
1387
|
const _component_el_input = resolveComponent("el-input");
|
|
1388
|
-
|
|
1389
|
-
return openBlock(), createBlock(_component_fu_read_write_switch, {
|
|
1388
|
+
return openBlock(), createBlock(FuReadWriteSwitch, {
|
|
1390
1389
|
"write-trigger": __props.writeTrigger,
|
|
1391
1390
|
data: data.value
|
|
1392
1391
|
}, {
|
|
@@ -1405,25 +1404,28 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
1405
1404
|
};
|
|
1406
1405
|
}
|
|
1407
1406
|
}));
|
|
1408
|
-
var FuInputRwSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__file", "/Users/
|
|
1407
|
+
var FuInputRwSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/read-write-switch/FuInputRwSwitch.vue"]]);
|
|
1409
1408
|
const __default__$b = { name: "FuSelectRwSwitch" };
|
|
1410
1409
|
const _sfc_main$k = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$b), {
|
|
1411
1410
|
props: {
|
|
1412
|
-
|
|
1413
|
-
options:
|
|
1411
|
+
modelValue: [String, Number],
|
|
1412
|
+
options: {
|
|
1413
|
+
type: Array,
|
|
1414
|
+
default: []
|
|
1415
|
+
},
|
|
1414
1416
|
writeTrigger: {
|
|
1415
1417
|
type: String,
|
|
1416
|
-
default: "
|
|
1418
|
+
default: "onClick",
|
|
1417
1419
|
validator: (value) => {
|
|
1418
|
-
return ["
|
|
1420
|
+
return ["onClick", "onDblclick"].includes(value);
|
|
1419
1421
|
}
|
|
1420
1422
|
}
|
|
1421
1423
|
},
|
|
1422
1424
|
emits: ["input", "blur", "change"],
|
|
1423
1425
|
setup(__props, { emit }) {
|
|
1424
1426
|
const props = __props;
|
|
1425
|
-
const data = ref(props.
|
|
1426
|
-
watch(() => props.
|
|
1427
|
+
const data = ref(props.modelValue);
|
|
1428
|
+
watch(() => props.modelValue, (v) => {
|
|
1427
1429
|
data.value = v;
|
|
1428
1430
|
});
|
|
1429
1431
|
function input(e) {
|
|
@@ -1480,7 +1482,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
1480
1482
|
};
|
|
1481
1483
|
}
|
|
1482
1484
|
}));
|
|
1483
|
-
var FuSelectRwSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__file", "/Users/
|
|
1485
|
+
var FuSelectRwSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/read-write-switch/FuSelectRwSwitch.vue"]]);
|
|
1484
1486
|
FuReadWriteSwitch.install = (app) => {
|
|
1485
1487
|
app.component(FuReadWriteSwitch.name, FuReadWriteSwitch);
|
|
1486
1488
|
app.component(FuInputRwSwitch.name, FuInputRwSwitch);
|
|
@@ -1493,7 +1495,7 @@ var __glob_1_1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProp
|
|
|
1493
1495
|
const _hoisted_1$9 = {
|
|
1494
1496
|
class: /* @__PURE__ */ normalizeClass(["fu-quick-search"])
|
|
1495
1497
|
};
|
|
1496
|
-
const _hoisted_2$
|
|
1498
|
+
const _hoisted_2$5 = ["placeholder"];
|
|
1497
1499
|
const __default__$a = { name: "FuQuickSearch" };
|
|
1498
1500
|
const _sfc_main$j = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$a), {
|
|
1499
1501
|
props: {
|
|
@@ -1542,7 +1544,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
1542
1544
|
onInput: input,
|
|
1543
1545
|
onBlur: blur,
|
|
1544
1546
|
onKeydown: keydown
|
|
1545
|
-
}, null, 40, _hoisted_2$
|
|
1547
|
+
}, null, 40, _hoisted_2$5), [
|
|
1546
1548
|
[vModelText, quick.value]
|
|
1547
1549
|
])
|
|
1548
1550
|
])
|
|
@@ -1551,7 +1553,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
1551
1553
|
};
|
|
1552
1554
|
}
|
|
1553
1555
|
}));
|
|
1554
|
-
var FuQuickSearch = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__file", "/Users/
|
|
1556
|
+
var FuQuickSearch = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/search-bar/FuQuickSearch.vue"]]);
|
|
1555
1557
|
const __default__$9 = { name: "FuSearchBarButton" };
|
|
1556
1558
|
const _sfc_main$i = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$9), {
|
|
1557
1559
|
props: {
|
|
@@ -1579,9 +1581,9 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
1579
1581
|
};
|
|
1580
1582
|
}
|
|
1581
1583
|
}));
|
|
1582
|
-
var FuSearchBarButton = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__file", "/Users/
|
|
1584
|
+
var FuSearchBarButton = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/search-bar/FuSearchBarButton.vue"]]);
|
|
1583
1585
|
const _hoisted_1$8 = { class: "fu-complex-search" };
|
|
1584
|
-
const _hoisted_2$
|
|
1586
|
+
const _hoisted_2$4 = { class: "fu-complex-components__body" };
|
|
1585
1587
|
const _hoisted_3$2 = { class: "fu-complex-components__footer" };
|
|
1586
1588
|
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
1587
1589
|
props: {
|
|
@@ -1659,7 +1661,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
1659
1661
|
}, null, 8, ["class", "tooltip"])
|
|
1660
1662
|
]),
|
|
1661
1663
|
default: withCtx(() => [
|
|
1662
|
-
createElementVNode("div", _hoisted_2$
|
|
1664
|
+
createElementVNode("div", _hoisted_2$4, [
|
|
1663
1665
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
1664
1666
|
createCommentVNode(' :size="configSize" '),
|
|
1665
1667
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.components, (c, i) => {
|
|
@@ -1697,11 +1699,11 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
1697
1699
|
};
|
|
1698
1700
|
}
|
|
1699
1701
|
});
|
|
1700
|
-
var FuComplexSearch = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__file", "/Users/
|
|
1702
|
+
var FuComplexSearch = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/search-bar/FuComplexSearch.vue"]]);
|
|
1701
1703
|
const _hoisted_1$7 = {
|
|
1702
1704
|
class: /* @__PURE__ */ normalizeClass(["fu-search-conditions"])
|
|
1703
1705
|
};
|
|
1704
|
-
const _hoisted_2$
|
|
1706
|
+
const _hoisted_2$3 = { key: 0 };
|
|
1705
1707
|
const _hoisted_3$1 = { key: 1 };
|
|
1706
1708
|
const _hoisted_4 = { class: "condition-value" };
|
|
1707
1709
|
const _hoisted_5 = ["onClick"];
|
|
@@ -1725,7 +1727,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
1725
1727
|
class: "fu-search-conditions__item",
|
|
1726
1728
|
key: index2
|
|
1727
1729
|
}, [
|
|
1728
|
-
condition.label ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
1730
|
+
condition.label ? (openBlock(), createElementBlock("div", _hoisted_2$3, toDisplayString(condition.label), 1)) : createCommentVNode("v-if", true),
|
|
1729
1731
|
condition.operatorLabel ? (openBlock(), createElementBlock("div", _hoisted_3$1, toDisplayString(condition.operatorLabel), 1)) : createCommentVNode("v-if", true),
|
|
1730
1732
|
createElementVNode("div", _hoisted_4, toDisplayString(condition.valueLabel), 1),
|
|
1731
1733
|
createElementVNode("i", {
|
|
@@ -1739,7 +1741,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
1739
1741
|
};
|
|
1740
1742
|
}
|
|
1741
1743
|
});
|
|
1742
|
-
var FuSearchConditions = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__file", "/Users/
|
|
1744
|
+
var FuSearchConditions = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/search-bar/FuSearchContions.vue"]]);
|
|
1743
1745
|
class ComplexCondition {
|
|
1744
1746
|
constructor(options) {
|
|
1745
1747
|
__publicField(this, "field");
|
|
@@ -1757,7 +1759,7 @@ class ComplexCondition {
|
|
|
1757
1759
|
}
|
|
1758
1760
|
}
|
|
1759
1761
|
const _hoisted_1$6 = { class: "fu-search-bar" };
|
|
1760
|
-
const _hoisted_2$
|
|
1762
|
+
const _hoisted_2$2 = { class: "fu-search-bar__content" };
|
|
1761
1763
|
const _hoisted_3 = { class: "fu-search-bar__buttons" };
|
|
1762
1764
|
const __default__$8 = { name: "FuSearchBar" };
|
|
1763
1765
|
const _sfc_main$f = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$8), {
|
|
@@ -1860,7 +1862,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
1860
1862
|
});
|
|
1861
1863
|
return (_ctx, _cache) => {
|
|
1862
1864
|
return openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
1863
|
-
createElementVNode("div", _hoisted_2$
|
|
1865
|
+
createElementVNode("div", _hoisted_2$2, [
|
|
1864
1866
|
createCommentVNode(' :size="configSize" '),
|
|
1865
1867
|
unref(showComplex) ? (openBlock(), createBlock(FuComplexSearch, {
|
|
1866
1868
|
key: 0,
|
|
@@ -1914,7 +1916,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
1914
1916
|
};
|
|
1915
1917
|
}
|
|
1916
1918
|
}));
|
|
1917
|
-
var FuSearchBar = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__file", "/Users/
|
|
1919
|
+
var FuSearchBar = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/search-bar/FuSearchBar.vue"]]);
|
|
1918
1920
|
FuSearchBar.install = (app) => {
|
|
1919
1921
|
app.component(FuSearchBar.name, FuSearchBar);
|
|
1920
1922
|
app.component(FuSearchBarButton.name, FuSearchBarButton);
|
|
@@ -1982,7 +1984,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
1982
1984
|
};
|
|
1983
1985
|
}
|
|
1984
1986
|
});
|
|
1985
|
-
var FuSpeedDialButton = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__file", "/Users/
|
|
1987
|
+
var FuSpeedDialButton = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDialButton.vue"]]);
|
|
1986
1988
|
const _hoisted_1$5 = { class: "fu-speed-dial-action-button" };
|
|
1987
1989
|
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
1988
1990
|
props: {
|
|
@@ -2072,7 +2074,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
2072
2074
|
};
|
|
2073
2075
|
}
|
|
2074
2076
|
});
|
|
2075
|
-
var FuSpeedDialActionButton = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__file", "/Users/
|
|
2077
|
+
var FuSpeedDialActionButton = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDialActionButton.vue"]]);
|
|
2076
2078
|
const __default__$7 = { name: "FuSpeedDialItem" };
|
|
2077
2079
|
const _sfc_main$c = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$7), {
|
|
2078
2080
|
props: {
|
|
@@ -2163,7 +2165,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
2163
2165
|
};
|
|
2164
2166
|
}
|
|
2165
2167
|
}));
|
|
2166
|
-
var FuSpeedDialItem = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__file", "/Users/
|
|
2168
|
+
var FuSpeedDialItem = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDialItem.vue"]]);
|
|
2167
2169
|
const _hoisted_1$4 = { class: "fu-speed-dial__content" };
|
|
2168
2170
|
const __default__$6 = { name: "FuSpeedDial" };
|
|
2169
2171
|
const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$6), {
|
|
@@ -2428,7 +2430,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
2428
2430
|
};
|
|
2429
2431
|
}
|
|
2430
2432
|
}));
|
|
2431
|
-
var FuSpeedDial = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__file", "/Users/
|
|
2433
|
+
var FuSpeedDial = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDial.vue"]]);
|
|
2432
2434
|
FuSpeedDial.install = (app) => {
|
|
2433
2435
|
app.component(FuSpeedDial.name, FuSpeedDial);
|
|
2434
2436
|
app.component(FuSpeedDialItem.name, FuSpeedDialItem);
|
|
@@ -2441,7 +2443,6 @@ const _hoisted_1$3 = {
|
|
|
2441
2443
|
key: 0,
|
|
2442
2444
|
class: "icon"
|
|
2443
2445
|
};
|
|
2444
|
-
const _hoisted_2$2 = /* @__PURE__ */ createElementVNode("i", { class: "el-icon-more" }, null, -1);
|
|
2445
2446
|
const __default__$5 = { name: "FuSplitPane" };
|
|
2446
2447
|
const _sfc_main$a = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$5), {
|
|
2447
2448
|
props: {
|
|
@@ -2604,6 +2605,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
2604
2605
|
readValue();
|
|
2605
2606
|
});
|
|
2606
2607
|
return (_ctx, _cache) => {
|
|
2608
|
+
const _component_MoreFilled = resolveComponent("MoreFilled");
|
|
2609
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
2607
2610
|
return openBlock(), createElementBlock("div", {
|
|
2608
2611
|
style: normalizeStyle({ cursor: unref(cursor), userSelect: unref(userSelect) }),
|
|
2609
2612
|
class: "fu-split-pane",
|
|
@@ -2624,7 +2627,12 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
2624
2627
|
}, [
|
|
2625
2628
|
__props.resizerType === "resizer" ? (openBlock(), createElementBlock("div", _hoisted_1$3, [
|
|
2626
2629
|
renderSlot(_ctx.$slots, "resizer", {}, () => [
|
|
2627
|
-
|
|
2630
|
+
createVNode(_component_el_icon, { size: 10 }, {
|
|
2631
|
+
default: withCtx(() => [
|
|
2632
|
+
createVNode(_component_MoreFilled)
|
|
2633
|
+
]),
|
|
2634
|
+
_: 1
|
|
2635
|
+
})
|
|
2628
2636
|
])
|
|
2629
2637
|
])) : createCommentVNode("v-if", true)
|
|
2630
2638
|
], 38),
|
|
@@ -2638,7 +2646,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
2638
2646
|
};
|
|
2639
2647
|
}
|
|
2640
2648
|
}));
|
|
2641
|
-
var FuSplitPane = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__file", "/Users/
|
|
2649
|
+
var FuSplitPane = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/split-pane/FuSplitPane.vue"]]);
|
|
2642
2650
|
FuSplitPane.install = (app) => {
|
|
2643
2651
|
app.component(FuSplitPane.name, FuSplitPane);
|
|
2644
2652
|
};
|
|
@@ -2673,9 +2681,12 @@ const getLabel = (node) => {
|
|
|
2673
2681
|
return label;
|
|
2674
2682
|
};
|
|
2675
2683
|
const FuTableBody = (props, context) => {
|
|
2676
|
-
|
|
2684
|
+
let slots = context.slots.default();
|
|
2677
2685
|
const nodes = [];
|
|
2678
2686
|
let { columns } = props;
|
|
2687
|
+
if (typeof slots[0].children[0].type === "symbol") {
|
|
2688
|
+
slots = slots[0].children;
|
|
2689
|
+
}
|
|
2679
2690
|
const children = slots[0].children.filter((c) => c.type.name !== void 0);
|
|
2680
2691
|
if (!children)
|
|
2681
2692
|
return nodes;
|
|
@@ -2825,7 +2836,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
2825
2836
|
};
|
|
2826
2837
|
}
|
|
2827
2838
|
}));
|
|
2828
|
-
var FuTable = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__file", "/Users/
|
|
2839
|
+
var FuTable = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/FuTable.vue"]]);
|
|
2829
2840
|
const tableColumnSelect = (localKey) => {
|
|
2830
2841
|
const columnsKey = computed(() => {
|
|
2831
2842
|
return localKey ? "FU-T-" + localKey : "";
|
|
@@ -2838,14 +2849,16 @@ const tableColumnSelect = (localKey) => {
|
|
|
2838
2849
|
}
|
|
2839
2850
|
function dragenter(event) {
|
|
2840
2851
|
event.preventDefault();
|
|
2841
|
-
|
|
2842
|
-
|
|
2852
|
+
let target = event.target;
|
|
2853
|
+
if (target) {
|
|
2854
|
+
target.style.opacity = ".2";
|
|
2843
2855
|
}
|
|
2844
2856
|
}
|
|
2845
2857
|
function dragleave(event) {
|
|
2846
2858
|
event.preventDefault();
|
|
2847
|
-
|
|
2848
|
-
|
|
2859
|
+
let target = event.target;
|
|
2860
|
+
if (target) {
|
|
2861
|
+
target.style.opacity = "";
|
|
2849
2862
|
}
|
|
2850
2863
|
}
|
|
2851
2864
|
function dragend(event) {
|
|
@@ -2855,6 +2868,7 @@ const tableColumnSelect = (localKey) => {
|
|
|
2855
2868
|
}
|
|
2856
2869
|
function drop(event, list, index2) {
|
|
2857
2870
|
var _a;
|
|
2871
|
+
let target = event.target;
|
|
2858
2872
|
let source_index = Number((_a = event.dataTransfer) == null ? void 0 : _a.getData("source_index"));
|
|
2859
2873
|
let target_index = index2;
|
|
2860
2874
|
if (target_index > source_index) {
|
|
@@ -2864,8 +2878,8 @@ const tableColumnSelect = (localKey) => {
|
|
|
2864
2878
|
list.splice(target_index, 0, list[source_index]);
|
|
2865
2879
|
list.splice(source_index + 1, 1);
|
|
2866
2880
|
}
|
|
2867
|
-
if (
|
|
2868
|
-
|
|
2881
|
+
if (target) {
|
|
2882
|
+
target.style.opacity = "";
|
|
2869
2883
|
}
|
|
2870
2884
|
}
|
|
2871
2885
|
return {
|
|
@@ -2994,7 +3008,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2994
3008
|
};
|
|
2995
3009
|
}
|
|
2996
3010
|
});
|
|
2997
|
-
var FuTableColumnSelectPopover = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__file", "/Users/
|
|
3011
|
+
var FuTableColumnSelectPopover = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/table-column-select/FuTableColumnSelectPopover.vue"]]);
|
|
2998
3012
|
const _hoisted_1$1 = { style: { "display": "inline-block" } };
|
|
2999
3013
|
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
3000
3014
|
props: {
|
|
@@ -3074,7 +3088,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3074
3088
|
onOpen: open,
|
|
3075
3089
|
"append-to-body": ""
|
|
3076
3090
|
}, {
|
|
3077
|
-
|
|
3091
|
+
header: withCtx(() => [
|
|
3078
3092
|
createElementVNode("h3", null, toDisplayString(unref(t)("fu.table.custom_table_fields")), 1),
|
|
3079
3093
|
createVNode(_component_el_alert, {
|
|
3080
3094
|
title: unref(t)("fu.table.custom_table_fields_desc"),
|
|
@@ -3103,7 +3117,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3103
3117
|
})
|
|
3104
3118
|
]),
|
|
3105
3119
|
default: withCtx(() => [
|
|
3106
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(cloneColumns
|
|
3120
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(cloneColumns), (c, i) => {
|
|
3107
3121
|
return withDirectives((openBlock(), createBlock(_component_el_checkbox, {
|
|
3108
3122
|
key: i,
|
|
3109
3123
|
modelValue: c.show,
|
|
@@ -3116,7 +3130,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3116
3130
|
onDragover: _cache[1] || (_cache[1] = withModifiers(() => {
|
|
3117
3131
|
}, ["prevent"])),
|
|
3118
3132
|
onDragend: unref(dragend),
|
|
3119
|
-
onDrop: ($event) => unref(drop)($event, cloneColumns
|
|
3133
|
+
onDrop: ($event) => unref(drop)($event, unref(cloneColumns), i)
|
|
3120
3134
|
}, {
|
|
3121
3135
|
default: withCtx(() => [
|
|
3122
3136
|
createTextVNode(toDisplayString(c.label), 1)
|
|
@@ -3133,7 +3147,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3133
3147
|
};
|
|
3134
3148
|
}
|
|
3135
3149
|
});
|
|
3136
|
-
var FuTableColumnSelectDialog = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__file", "/Users/
|
|
3150
|
+
var FuTableColumnSelectDialog = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/table-column-select/FuTableColumnSelectDialog.vue"]]);
|
|
3137
3151
|
const _sfc_main$6 = defineComponent({
|
|
3138
3152
|
name: "FuTableColumnSelect",
|
|
3139
3153
|
props: ["type"],
|
|
@@ -3148,7 +3162,7 @@ const _sfc_main$6 = defineComponent({
|
|
|
3148
3162
|
};
|
|
3149
3163
|
}
|
|
3150
3164
|
});
|
|
3151
|
-
var FuTableColumnSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__file", "/Users/
|
|
3165
|
+
var FuTableColumnSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/table-column-select/FuTableColumnSelect.vue"]]);
|
|
3152
3166
|
FuTableColumnSelect.install = (app) => {
|
|
3153
3167
|
app.component(FuTableColumnSelect.name, FuTableColumnSelect);
|
|
3154
3168
|
};
|
|
@@ -3200,7 +3214,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
3200
3214
|
};
|
|
3201
3215
|
}
|
|
3202
3216
|
}));
|
|
3203
|
-
var FuTablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__file", "/Users/
|
|
3217
|
+
var FuTablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/FuTablePagination.vue"]]);
|
|
3204
3218
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
3205
3219
|
props: {
|
|
3206
3220
|
size: {
|
|
@@ -3232,7 +3246,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3232
3246
|
};
|
|
3233
3247
|
}
|
|
3234
3248
|
});
|
|
3235
|
-
var FuTableButton = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__file", "/Users/
|
|
3249
|
+
var FuTableButton = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/table-operations/FuTableButton.vue"]]);
|
|
3236
3250
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
3237
3251
|
props: {
|
|
3238
3252
|
row: Object,
|
|
@@ -3278,7 +3292,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
3278
3292
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.buttons, (btn, i) => {
|
|
3279
3293
|
return openBlock(), createBlock(_component_el_dropdown_item, {
|
|
3280
3294
|
key: i,
|
|
3281
|
-
icon: __props.type === "icon"
|
|
3295
|
+
icon: __props.type === "icon" ? btn.icon : "",
|
|
3282
3296
|
disabled: unref(disabled)(btn),
|
|
3283
3297
|
command: btn
|
|
3284
3298
|
}, {
|
|
@@ -3317,7 +3331,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
3317
3331
|
};
|
|
3318
3332
|
}
|
|
3319
3333
|
});
|
|
3320
|
-
var FuTableMoreButton = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__file", "/Users/
|
|
3334
|
+
var FuTableMoreButton = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/table-operations/FuTableMoreButton.vue"]]);
|
|
3321
3335
|
const __default__$2 = { name: "FuTableOperations" };
|
|
3322
3336
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$2), {
|
|
3323
3337
|
props: {
|
|
@@ -3424,7 +3438,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
3424
3438
|
};
|
|
3425
3439
|
}
|
|
3426
3440
|
}));
|
|
3427
|
-
var FuTableOperations = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__file", "/Users/
|
|
3441
|
+
var FuTableOperations = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/table-operations/FuTableOperations.vue"]]);
|
|
3428
3442
|
FuTableOperations.install = (app) => {
|
|
3429
3443
|
app.component(FuTableOperations.name, FuTableOperations);
|
|
3430
3444
|
app.component(FuTableButton.name, FuTableButton);
|
|
@@ -3563,7 +3577,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
3563
3577
|
};
|
|
3564
3578
|
}
|
|
3565
3579
|
}));
|
|
3566
|
-
var FuTableColumnDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file", "/Users/
|
|
3580
|
+
var FuTableColumnDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/table-column-dropdown/FuTableColumnDropdown.vue"]]);
|
|
3567
3581
|
FuTableColumnDropdown.install = (app) => {
|
|
3568
3582
|
app.component(FuTableColumnDropdown.name, FuTableColumnDropdown);
|
|
3569
3583
|
};
|
|
@@ -3720,7 +3734,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
3720
3734
|
};
|
|
3721
3735
|
}
|
|
3722
3736
|
}));
|
|
3723
|
-
var FuTabs = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/
|
|
3737
|
+
var FuTabs = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/tabs/FuTabs.vue"]]);
|
|
3724
3738
|
FuTabs.install = (app) => {
|
|
3725
3739
|
app.component(FuTabs.name, FuTabs);
|
|
3726
3740
|
};
|
|
@@ -3729,15 +3743,8 @@ var __glob_1_7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProp
|
|
|
3729
3743
|
"default": FuTabs
|
|
3730
3744
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3731
3745
|
const name = "fit2cloud-ui-plus";
|
|
3732
|
-
const version = "0.0.1-beta.
|
|
3733
|
-
const main = "./lib/fit2cloud-ui-plus.
|
|
3734
|
-
const module = "./lib/fit2cloud-ui-plus.es.js";
|
|
3735
|
-
const exports = {
|
|
3736
|
-
".": {
|
|
3737
|
-
"import": "./lib/fit2cloud-ui-plus.es.js",
|
|
3738
|
-
require: "./lib/fit2cloud-ui-plus.umd.js"
|
|
3739
|
-
}
|
|
3740
|
-
};
|
|
3746
|
+
const version = "0.0.1-beta.7";
|
|
3747
|
+
const main = "./lib/fit2cloud-ui-plus.es.js";
|
|
3741
3748
|
const files = [
|
|
3742
3749
|
"lib",
|
|
3743
3750
|
"src"
|
|
@@ -3778,8 +3785,6 @@ var PackageJSON = {
|
|
|
3778
3785
|
version,
|
|
3779
3786
|
"private": false,
|
|
3780
3787
|
main,
|
|
3781
|
-
module,
|
|
3782
|
-
exports,
|
|
3783
3788
|
files,
|
|
3784
3789
|
author,
|
|
3785
3790
|
license,
|