@fangzhongya/fang-ui 0.1.54 → 0.1.56
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/components/audios/src/index2.cjs +16 -10
- package/dist/components/audios/src/index2.js +16 -10
- package/dist/components/box-adjust/src/index2.cjs +6 -4
- package/dist/components/box-adjust/src/index2.js +6 -4
- package/dist/components/box-title/src/index2.cjs +3 -2
- package/dist/components/box-title/src/index2.js +3 -2
- package/dist/components/buttons/src/data.d.ts +5 -5
- package/dist/components/buttons/src/index2.cjs +2 -2
- package/dist/components/buttons/src/index2.js +2 -2
- package/dist/components/cascaders/src/data.d.ts +5 -5
- package/dist/components/checks/src/data.d.ts +5 -5
- package/dist/components/common/list.d.ts +1 -1
- package/dist/components/common/use.cjs +1 -1
- package/dist/components/common/use.js +1 -1
- package/dist/components/dates/src/data.d.ts +5 -5
- package/dist/components/dates2/src/data.d.ts +5 -5
- package/dist/components/double/src/index2.cjs +3 -2
- package/dist/components/double/src/index2.js +3 -2
- package/dist/components/edit/src/index2.cjs +3 -2
- package/dist/components/edit/src/index2.js +3 -2
- package/dist/components/edit-data/src/area/array-json2.cjs +8 -4
- package/dist/components/edit-data/src/area/array-json2.js +8 -4
- package/dist/components/edit-data/src/area/array2.cjs +46 -8
- package/dist/components/edit-data/src/area/array2.js +47 -9
- package/dist/components/edit-data/src/area/editor2.cjs +22 -4
- package/dist/components/edit-data/src/area/editor2.js +22 -4
- package/dist/components/edit-data/src/area/general2.cjs +8 -1
- package/dist/components/edit-data/src/area/general2.js +8 -1
- package/dist/components/edit-data/src/area/object-json2.cjs +5 -1
- package/dist/components/edit-data/src/area/object-json2.js +5 -1
- package/dist/components/edit-data/src/area/object2.cjs +48 -11
- package/dist/components/edit-data/src/area/object2.js +49 -12
- package/dist/components/edit-data/src/data/array2.cjs +9 -5
- package/dist/components/edit-data/src/data/array2.js +9 -5
- package/dist/components/edit-data/src/data/bigint2.cjs +7 -3
- package/dist/components/edit-data/src/data/bigint2.js +7 -3
- package/dist/components/edit-data/src/data/boolean2.cjs +7 -3
- package/dist/components/edit-data/src/data/boolean2.js +7 -3
- package/dist/components/edit-data/src/data/date.cjs +4 -0
- package/dist/components/edit-data/src/data/date.js +4 -0
- package/dist/components/edit-data/src/data/date2.cjs +48 -0
- package/dist/components/edit-data/src/data/date2.js +48 -0
- package/dist/components/edit-data/src/data/function2.cjs +16 -7
- package/dist/components/edit-data/src/data/function2.js +17 -8
- package/dist/components/edit-data/src/data/null2.cjs +3 -1
- package/dist/components/edit-data/src/data/null2.js +4 -2
- package/dist/components/edit-data/src/data/number2.cjs +7 -3
- package/dist/components/edit-data/src/data/number2.js +7 -3
- package/dist/components/edit-data/src/data/object2.cjs +9 -5
- package/dist/components/edit-data/src/data/object2.js +9 -5
- package/dist/components/edit-data/src/data/other2.cjs +13 -5
- package/dist/components/edit-data/src/data/other2.js +14 -6
- package/dist/components/edit-data/src/data/string2.cjs +7 -3
- package/dist/components/edit-data/src/data/string2.js +7 -3
- package/dist/components/edit-data/src/data/symbol2.cjs +7 -3
- package/dist/components/edit-data/src/data/symbol2.js +7 -3
- package/dist/components/edit-data/src/data/undefined2.cjs +3 -1
- package/dist/components/edit-data/src/data/undefined2.js +4 -2
- package/dist/components/edit-data/src/data.cjs +10 -0
- package/dist/components/edit-data/src/data.d.ts +20 -0
- package/dist/components/edit-data/src/data.js +10 -0
- package/dist/components/edit-data/src/index2.cjs +31 -2
- package/dist/components/edit-data/src/index2.js +45 -16
- package/dist/components/edit-data-add/src/index2.cjs +2 -0
- package/dist/components/edit-data-add/src/index2.js +2 -0
- package/dist/components/edit-float/src/index2.cjs +3 -2
- package/dist/components/edit-float/src/index2.js +3 -2
- package/dist/components/forms/src/setup.cjs +1 -1
- package/dist/components/forms/src/setup.js +1 -1
- package/dist/components/forms/src/util.cjs +1 -1
- package/dist/components/forms/src/util.js +1 -1
- package/dist/components/forms-div/src/index2.cjs +1 -1
- package/dist/components/forms-div/src/index2.js +1 -1
- package/dist/components/forms-item/src/index2.cjs +1 -1
- package/dist/components/forms-item/src/index2.js +1 -1
- package/dist/components/forms-item/src/label.cjs +1 -1
- package/dist/components/forms-item/src/label.js +1 -1
- package/dist/components/forms-items/src/index2.cjs +1 -1
- package/dist/components/forms-items/src/index2.js +1 -1
- package/dist/components/history/src/index2.cjs +6 -4
- package/dist/components/history/src/index2.js +6 -4
- package/dist/components/input-array/src/index2.cjs +3 -2
- package/dist/components/input-array/src/index2.js +3 -2
- package/dist/components/input-history/src/index2.cjs +3 -2
- package/dist/components/input-history/src/index2.js +3 -2
- package/dist/components/input-select/src/index2.cjs +6 -4
- package/dist/components/input-select/src/index2.js +6 -4
- package/dist/components/labels/src/data.d.ts +5 -5
- package/dist/components/list/index.scss +1 -1
- package/dist/components/list/src/index2.cjs +9 -9
- package/dist/components/list/src/index2.js +9 -9
- package/dist/components/list/src/util.cjs +1 -1
- package/dist/components/list/src/util.js +1 -1
- package/dist/components/listsp/src/index2.cjs +1 -1
- package/dist/components/listsp/src/index2.js +1 -1
- package/dist/components/listspd/src/index2.cjs +1 -1
- package/dist/components/listspd/src/index2.js +1 -1
- package/dist/components/message/index.d.ts +11 -4
- package/dist/components/message/src/function.d.ts +11 -4
- package/dist/components/message-box/index.d.ts +2 -3
- package/dist/components/message-box/src/function.d.ts +2 -3
- package/dist/components/retract/index.css +23 -20
- package/dist/components/retract/index.scss +39 -20
- package/dist/components/retract/src/data.cjs +4 -1
- package/dist/components/retract/src/data.d.ts +4 -1
- package/dist/components/retract/src/data.js +4 -1
- package/dist/components/retract/src/index2.cjs +12 -10
- package/dist/components/retract/src/index2.js +9 -7
- package/dist/components/right-key/index.css +2 -1
- package/dist/components/right-key/index.scss +2 -1
- package/dist/components/right-key/src/data.cjs +7 -2
- package/dist/components/right-key/src/data.d.ts +5 -0
- package/dist/components/right-key/src/data.js +7 -2
- package/dist/components/right-key/src/index2.cjs +134 -60
- package/dist/components/right-key/src/index2.js +135 -61
- package/dist/components/selects/src/data.d.ts +5 -5
- package/dist/components/stick-window/src/index2.cjs +3 -2
- package/dist/components/stick-window/src/index2.js +3 -2
- package/dist/components/switchs/src/data.d.ts +5 -4
- package/dist/components/tables/index.scss +1 -1
- package/dist/components/tables/src/column.cjs +2 -2
- package/dist/components/tables/src/column.js +2 -2
- package/dist/components/tables/src/columns2.cjs +10 -10
- package/dist/components/tables/src/columns2.js +10 -10
- package/dist/components/tables/src/index2.cjs +1 -1
- package/dist/components/tables/src/index2.js +1 -1
- package/dist/components/{tables → tableset}/common/pagin.d.ts +1 -1
- package/dist/components/tablesp/src/index2.cjs +1 -1
- package/dist/components/tablesp/src/index2.js +1 -1
- package/dist/components/tablespd/src/index2.cjs +1 -1
- package/dist/components/tablespd/src/index2.js +1 -1
- package/dist/components/tabless/src/index2.cjs +1 -1
- package/dist/components/tabless/src/index2.js +1 -1
- package/dist/components/tablesv/src/column.cjs +2 -2
- package/dist/components/tablesv/src/column.js +2 -2
- package/dist/components/tablesv/src/columns2.cjs +8 -8
- package/dist/components/tablesv/src/columns2.js +8 -8
- package/dist/components/tablesv/src/columns3.cjs +1 -1
- package/dist/components/tablesv/src/columns3.js +1 -1
- package/dist/components/tablesv/src/index2.cjs +1 -1
- package/dist/components/tablesv/src/index2.js +1 -1
- package/dist/components/tablesvp/src/index2.cjs +1 -1
- package/dist/components/tablesvp/src/index2.js +1 -1
- package/dist/components/tablesvpd/src/index2.cjs +1 -1
- package/dist/components/tablesvpd/src/index2.js +1 -1
- package/dist/components/uploads/src/data.d.ts +5 -5
- package/dist/components/uploads/src/index2.cjs +26 -21
- package/dist/components/uploads/src/index2.js +15 -10
- package/dist/components/videos/src/index2.cjs +30 -19
- package/dist/components/videos/src/index2.js +30 -19
- package/dist/components/window/src/index2.cjs +9 -6
- package/dist/components/window/src/index2.js +9 -6
- package/dist/css/index.css +25 -21
- package/dist/css/retract.css +23 -20
- package/dist/css/right-key.css +2 -1
- package/dist/hooks/model/index.cjs +25 -0
- package/dist/hooks/model/index.d.ts +2 -0
- package/dist/hooks/model/index.js +25 -0
- package/dist/icons/index.json +1 -1
- package/dist/icons/vue/bar.cjs +2 -18
- package/dist/icons/vue/bar.js +1 -17
- package/dist/icons/vue/bar2.cjs +21 -2
- package/dist/icons/vue/bar2.js +21 -2
- package/dist/icons/vue/below.cjs +2 -18
- package/dist/icons/vue/below.js +1 -17
- package/dist/icons/vue/below2.cjs +21 -2
- package/dist/icons/vue/below2.js +21 -2
- package/dist/icons/vue/bicycle.cjs +2 -15
- package/dist/icons/vue/bicycle.js +1 -14
- package/dist/icons/vue/bicycle2.cjs +18 -2
- package/dist/icons/vue/bicycle2.js +18 -2
- package/dist/icons/vue/bottom-left.cjs +2 -22
- package/dist/icons/vue/bottom-left.js +1 -21
- package/dist/icons/vue/bottom-left2.cjs +25 -2
- package/dist/icons/vue/bottom-left2.js +25 -2
- package/dist/icons/vue/bottom-right.cjs +2 -22
- package/dist/icons/vue/bottom-right.js +1 -21
- package/dist/icons/vue/bottom-right2.cjs +25 -2
- package/dist/icons/vue/bottom-right2.js +25 -2
- package/dist/icons/vue/bottom.cjs +2 -18
- package/dist/icons/vue/bottom.js +1 -17
- package/dist/icons/vue/bottom2.cjs +21 -2
- package/dist/icons/vue/bottom2.js +21 -2
- package/dist/icons/vue/catalogue.cjs +2 -23
- package/dist/icons/vue/catalogue.js +1 -22
- package/dist/icons/vue/catalogue2.cjs +26 -2
- package/dist/icons/vue/catalogue2.js +26 -2
- package/dist/icons/vue/clear.cjs +2 -23
- package/dist/icons/vue/clear.js +1 -22
- package/dist/icons/vue/clear2.cjs +26 -2
- package/dist/icons/vue/clear2.js +26 -2
- package/dist/icons/vue/close.cjs +2 -18
- package/dist/icons/vue/close.js +1 -17
- package/dist/icons/vue/close2.cjs +21 -2
- package/dist/icons/vue/close2.js +21 -2
- package/dist/icons/vue/delete.cjs +2 -18
- package/dist/icons/vue/delete.js +1 -17
- package/dist/icons/vue/delete2.cjs +21 -2
- package/dist/icons/vue/delete2.js +21 -2
- package/dist/icons/vue/document.cjs +2 -23
- package/dist/icons/vue/document.js +1 -22
- package/dist/icons/vue/document2.cjs +26 -2
- package/dist/icons/vue/document2.js +26 -2
- package/dist/icons/vue/down.cjs +2 -18
- package/dist/icons/vue/down.js +1 -17
- package/dist/icons/vue/down2.cjs +21 -2
- package/dist/icons/vue/down2.js +21 -2
- package/dist/icons/vue/download.cjs +2 -18
- package/dist/icons/vue/download.js +1 -17
- package/dist/icons/vue/download2.cjs +21 -2
- package/dist/icons/vue/download2.js +21 -2
- package/dist/icons/vue/edit.cjs +2 -23
- package/dist/icons/vue/edit.js +1 -22
- package/dist/icons/vue/edit2.cjs +26 -2
- package/dist/icons/vue/edit2.js +26 -2
- package/dist/icons/vue/enter.cjs +2 -19
- package/dist/icons/vue/enter.js +1 -18
- package/dist/icons/vue/enter2.cjs +22 -2
- package/dist/icons/vue/enter2.js +22 -2
- package/dist/icons/vue/frame.cjs +2 -15
- package/dist/icons/vue/frame.js +1 -14
- package/dist/icons/vue/frame2.cjs +18 -2
- package/dist/icons/vue/frame2.js +18 -2
- package/dist/icons/vue/index.cjs +81 -54
- package/dist/icons/vue/index.js +54 -27
- package/dist/icons/vue/left.cjs +2 -18
- package/dist/icons/vue/left.js +1 -17
- package/dist/icons/vue/left2.cjs +21 -2
- package/dist/icons/vue/left2.js +21 -2
- package/dist/icons/vue/mute.cjs +2 -18
- package/dist/icons/vue/mute.js +1 -17
- package/dist/icons/vue/mute2.cjs +21 -2
- package/dist/icons/vue/mute2.js +21 -2
- package/dist/icons/vue/pause.cjs +2 -24
- package/dist/icons/vue/pause.js +1 -23
- package/dist/icons/vue/pause2.cjs +27 -2
- package/dist/icons/vue/pause2.js +27 -2
- package/dist/icons/vue/play.cjs +2 -19
- package/dist/icons/vue/play.js +1 -18
- package/dist/icons/vue/play2.cjs +22 -2
- package/dist/icons/vue/play2.js +22 -2
- package/dist/icons/vue/plus.cjs +2 -18
- package/dist/icons/vue/plus.js +1 -17
- package/dist/icons/vue/plus2.cjs +21 -2
- package/dist/icons/vue/plus2.js +21 -2
- package/dist/icons/vue/retreat.cjs +2 -19
- package/dist/icons/vue/retreat.js +1 -18
- package/dist/icons/vue/retreat2.cjs +22 -2
- package/dist/icons/vue/retreat2.js +22 -2
- package/dist/icons/vue/right.cjs +2 -18
- package/dist/icons/vue/right.js +1 -17
- package/dist/icons/vue/right2.cjs +21 -2
- package/dist/icons/vue/right2.js +21 -2
- package/dist/icons/vue/sound.cjs +2 -22
- package/dist/icons/vue/sound.js +1 -21
- package/dist/icons/vue/sound2.cjs +25 -2
- package/dist/icons/vue/sound2.js +25 -2
- package/dist/icons/vue/star.cjs +2 -22
- package/dist/icons/vue/star.js +1 -21
- package/dist/icons/vue/star2.cjs +25 -2
- package/dist/icons/vue/star2.js +25 -2
- package/dist/icons/vue/up.cjs +2 -18
- package/dist/icons/vue/up.js +1 -17
- package/dist/icons/vue/up2.cjs +21 -2
- package/dist/icons/vue/up2.js +21 -2
- package/dist/icons/vue/views.cjs +2 -18
- package/dist/icons/vue/views.js +1 -17
- package/dist/icons/vue/views2.cjs +21 -2
- package/dist/icons/vue/views2.js +21 -2
- package/dist/index.css +25 -21
- package/dist/utils/vues/index.d.ts +1 -0
- package/dist/utils/vues/shared.cjs +19 -0
- package/dist/utils/vues/shared.d.ts +5 -0
- package/dist/utils/vues/shared.js +19 -0
- package/package.json +9 -10
- package/dist/_virtual/_plugin-vue_export-helper.cjs +0 -10
- package/dist/_virtual/_plugin-vue_export-helper.js +0 -10
- /package/dist/components/{box-fun → box}/index.css +0 -0
- /package/dist/components/{edit-data → edit-data-add}/index.css +0 -0
- /package/dist/components/{forms → formset}/common/config.cjs +0 -0
- /package/dist/components/{forms → formset}/common/config.d.ts +0 -0
- /package/dist/components/{forms → formset}/common/config.js +0 -0
- /package/dist/components/{global-config → keep-com}/index.css +0 -0
- /package/dist/components/{tables → tableset}/common/com-but.cjs +0 -0
- /package/dist/components/{tables → tableset}/common/com-but.js +0 -0
- /package/dist/components/{tables → tableset}/common/com-but2.cjs +0 -0
- /package/dist/components/{tables → tableset}/common/com-but2.js +0 -0
- /package/dist/components/{tables → tableset}/common/com-color.cjs +0 -0
- /package/dist/components/{tables → tableset}/common/com-color.js +0 -0
- /package/dist/components/{tables → tableset}/common/com-color2.cjs +0 -0
- /package/dist/components/{tables → tableset}/common/com-color2.js +0 -0
- /package/dist/components/{tables → tableset}/common/com-fig.cjs +0 -0
- /package/dist/components/{tables → tableset}/common/com-fig.js +0 -0
- /package/dist/components/{tables → tableset}/common/com-fig2.cjs +0 -0
- /package/dist/components/{tables → tableset}/common/com-fig2.js +0 -0
- /package/dist/components/{tables → tableset}/common/com-limit.cjs +0 -0
- /package/dist/components/{tables → tableset}/common/com-limit.js +0 -0
- /package/dist/components/{tables → tableset}/common/com-limit2.cjs +0 -0
- /package/dist/components/{tables → tableset}/common/com-limit2.js +0 -0
- /package/dist/components/{tables → tableset}/common/com-lis.cjs +0 -0
- /package/dist/components/{tables → tableset}/common/com-lis.js +0 -0
- /package/dist/components/{tables → tableset}/common/com-lis2.cjs +0 -0
- /package/dist/components/{tables → tableset}/common/com-lis2.js +0 -0
- /package/dist/components/{tables → tableset}/common/com.scss +0 -0
- /package/dist/components/{tables → tableset}/common/config.cjs +0 -0
- /package/dist/components/{tables → tableset}/common/config.d.ts +0 -0
- /package/dist/components/{tables → tableset}/common/config.js +0 -0
- /package/dist/components/{tables → tableset}/common/empty.cjs +0 -0
- /package/dist/components/{tables → tableset}/common/empty.js +0 -0
- /package/dist/components/{tables → tableset}/common/empty2.cjs +0 -0
- /package/dist/components/{tables → tableset}/common/empty2.js +0 -0
- /package/dist/components/{tables → tableset}/common/pagin.cjs +0 -0
- /package/dist/components/{tables → tableset}/common/pagin.js +0 -0
- /package/dist/components/{tables → tableset}/common/tooltip.cjs +0 -0
- /package/dist/components/{tables → tableset}/common/tooltip.d.ts +0 -0
- /package/dist/components/{tables → tableset}/common/tooltip.js +0 -0
- /package/dist/components/{tables → tableset}/common/util.cjs +0 -0
- /package/dist/components/{tables → tableset}/common/util.d.ts +0 -0
- /package/dist/components/{tables → tableset}/common/util.js +0 -0
- /package/dist/css/{box-fun.css → box.css} +0 -0
- /package/dist/css/{edit-data.css → edit-data-add.css} +0 -0
- /package/dist/css/{global-config.css → keep-com.css} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, onMounted, onUnmounted, createElementBlock, openBlock, normalizeClass, unref, renderSlot, createVNode, withCtx, withDirectives, createElementVNode, normalizeStyle, Fragment, renderList, withModifiers, createBlock, createCommentVNode, resolveDynamicComponent, toDisplayString, vShow } from "vue";
|
|
1
|
+
import { defineComponent, ref, computed, nextTick, watch, onMounted, onUnmounted, createElementBlock, openBlock, normalizeClass, unref, renderSlot, createVNode, withCtx, withDirectives, createElementVNode, normalizeStyle, Fragment, renderList, withModifiers, createBlock, createCommentVNode, resolveDynamicComponent, toDisplayString, vShow } from "vue";
|
|
2
2
|
import { getPrentClass } from "@fangzhongya/utils/css/getPrentClass";
|
|
3
3
|
import { useVueValue } from "../../common/use.js";
|
|
4
4
|
import { Icon } from "../../icon/index.js";
|
|
@@ -6,6 +6,7 @@ import { BoxTeleport } from "../../box-teleport/index.js";
|
|
|
6
6
|
import { name, dataProps, dataExpose, dataSlot, dataEmits } from "./data.js";
|
|
7
7
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
8
8
|
import { useLocale } from "../../../hooks/locale/index.js";
|
|
9
|
+
import { getBoxDom } from "../../../utils/vues/getBoxDom.js";
|
|
9
10
|
import { usePropsDefault, getProps } from "../../../hooks/props-default/index.js";
|
|
10
11
|
const _hoisted_1 = ["onClick"];
|
|
11
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -21,73 +22,145 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21
22
|
const flag = ref(false);
|
|
22
23
|
const refRightKey = ref();
|
|
23
24
|
const refRightKeyBox = ref();
|
|
24
|
-
const
|
|
25
|
-
const lefty = ref("");
|
|
25
|
+
const position = ref({ x: 0, y: 0 });
|
|
26
26
|
const dom = ref();
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
const boxStyle = computed(() => {
|
|
28
|
+
if (!refRightKeyBox.value) return {};
|
|
29
|
+
const rect = refRightKeyBox.value.getBoundingClientRect();
|
|
30
|
+
const { innerWidth, innerHeight } = window;
|
|
31
|
+
let x = position.value.x;
|
|
32
|
+
let y = position.value.y;
|
|
33
|
+
if (x + rect.width > innerWidth) {
|
|
34
|
+
x = x - rect.width;
|
|
35
|
+
}
|
|
36
|
+
if (y + rect.height > innerHeight) {
|
|
37
|
+
y = y - rect.height;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
top: `${y}px`,
|
|
41
|
+
left: `${x}px`
|
|
42
|
+
};
|
|
32
43
|
});
|
|
33
|
-
function
|
|
34
|
-
|
|
44
|
+
function handleGlobalMousedown(event) {
|
|
45
|
+
var _a;
|
|
46
|
+
if ((_a = refRightKeyBox.value) == null ? void 0 : _a.contains(event.target)) {
|
|
35
47
|
return;
|
|
36
48
|
}
|
|
37
|
-
|
|
49
|
+
flag.value = false;
|
|
50
|
+
}
|
|
51
|
+
function handleGlobalClick(event) {
|
|
52
|
+
var _a;
|
|
53
|
+
if (event.button === 2) return;
|
|
54
|
+
if (!((_a = refRightKeyBox.value) == null ? void 0 : _a.contains(event.target))) {
|
|
55
|
+
flag.value = false;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
function handleKeydown(event) {
|
|
59
|
+
if (event.key === "Escape" && flag.value) {
|
|
38
60
|
flag.value = false;
|
|
39
61
|
}
|
|
40
62
|
}
|
|
41
63
|
function isDomClass(dom2) {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} else {
|
|
53
|
-
return dom2;
|
|
64
|
+
var _a, _b;
|
|
65
|
+
if (!dom2) return null;
|
|
66
|
+
if (props.domClass) {
|
|
67
|
+
const element = getPrentClass(
|
|
68
|
+
dom2,
|
|
69
|
+
props.domClass,
|
|
70
|
+
props.level
|
|
71
|
+
);
|
|
72
|
+
if (element && ((_a = refRightKey.value) == null ? void 0 : _a.contains(element))) {
|
|
73
|
+
return element;
|
|
54
74
|
}
|
|
75
|
+
} else if ((_b = refRightKey.value) == null ? void 0 : _b.contains(dom2)) {
|
|
76
|
+
return dom2;
|
|
55
77
|
}
|
|
78
|
+
return null;
|
|
56
79
|
}
|
|
57
80
|
function handleContextmenu(event) {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
if (target) {
|
|
61
|
-
dom.value = target;
|
|
62
|
-
let x = 0, y = 0;
|
|
63
|
-
if (event.x || event.y) {
|
|
64
|
-
x = event.x;
|
|
65
|
-
y = event.y;
|
|
66
|
-
} else if (event.pageX || event.pageY) {
|
|
67
|
-
x = event.pageX - 1;
|
|
68
|
-
y = event.pageY - 1;
|
|
69
|
-
}
|
|
70
|
-
let ww = globalThis ? globalThis.innerWidth : 0;
|
|
71
|
-
let kw = 0;
|
|
72
|
-
if (ww != 0 && x + 120 > ww) {
|
|
73
|
-
kw = 0 - (x + 120 - ww);
|
|
74
|
-
}
|
|
75
|
-
topx.value = x + kw + "px";
|
|
76
|
-
lefty.value = y + "px";
|
|
77
|
-
flag.value = true;
|
|
78
|
-
event.preventDefault();
|
|
79
|
-
event.stopPropagation();
|
|
80
|
-
emit("click-right", target);
|
|
81
|
-
} else {
|
|
81
|
+
const target = isDomClass(event.target);
|
|
82
|
+
if (!target) {
|
|
82
83
|
flag.value = false;
|
|
84
|
+
return;
|
|
83
85
|
}
|
|
86
|
+
dom.value = target;
|
|
87
|
+
let x = event.clientX;
|
|
88
|
+
let y = event.clientY;
|
|
89
|
+
flag.value = true;
|
|
90
|
+
event.preventDefault();
|
|
91
|
+
event.stopPropagation();
|
|
92
|
+
emit("click-right", target);
|
|
93
|
+
nextTick(() => {
|
|
94
|
+
position.value = { x, y };
|
|
95
|
+
});
|
|
84
96
|
}
|
|
85
97
|
function onClick(v) {
|
|
86
98
|
flag.value = false;
|
|
87
99
|
emit("click-key", v, dom.value);
|
|
88
100
|
}
|
|
101
|
+
const toDom = ref();
|
|
102
|
+
watch(
|
|
103
|
+
() => flag.value,
|
|
104
|
+
() => {
|
|
105
|
+
if (props.isSingle) {
|
|
106
|
+
if (flag.value) {
|
|
107
|
+
if (toDom.value) {
|
|
108
|
+
toDom.value.querySelectorAll("." + cs.z("box")).forEach((v) => {
|
|
109
|
+
v.style.display = "none";
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
nextTick(() => {
|
|
113
|
+
refRightKeyBox.value.style.display = "block";
|
|
114
|
+
});
|
|
115
|
+
} else {
|
|
116
|
+
refRightKeyBox.value.style.display = "none";
|
|
117
|
+
}
|
|
118
|
+
} else {
|
|
119
|
+
refRightKeyBox.value.style.display = flag.value ? "block" : "none";
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
);
|
|
123
|
+
onMounted(() => {
|
|
124
|
+
toDom.value = getBoxDom();
|
|
125
|
+
document.addEventListener("mousedown", handleGlobalMousedown, true);
|
|
126
|
+
document.addEventListener("click", handleGlobalClick, true);
|
|
127
|
+
document.addEventListener("keydown", handleKeydown);
|
|
128
|
+
window.addEventListener("resize", () => {
|
|
129
|
+
if (flag.value) {
|
|
130
|
+
flag.value = false;
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
window.addEventListener(
|
|
134
|
+
"scroll",
|
|
135
|
+
() => {
|
|
136
|
+
if (flag.value) {
|
|
137
|
+
flag.value = false;
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
true
|
|
141
|
+
);
|
|
142
|
+
});
|
|
143
|
+
onUnmounted(() => {
|
|
144
|
+
document.removeEventListener("mousedown", handleGlobalMousedown, true);
|
|
145
|
+
document.removeEventListener("click", handleGlobalClick, true);
|
|
146
|
+
document.removeEventListener("keydown", handleKeydown);
|
|
147
|
+
window.removeEventListener("resize", () => {
|
|
148
|
+
});
|
|
149
|
+
window.removeEventListener("scroll", () => {
|
|
150
|
+
}, true);
|
|
151
|
+
});
|
|
89
152
|
__expose({
|
|
90
|
-
...dataExpose
|
|
153
|
+
...dataExpose,
|
|
154
|
+
// 提供关闭菜单的方法
|
|
155
|
+
close: () => {
|
|
156
|
+
flag.value = false;
|
|
157
|
+
},
|
|
158
|
+
// 提供打开菜单的方法
|
|
159
|
+
open: (x, y, target) => {
|
|
160
|
+
position.value = { x, y };
|
|
161
|
+
dom.value = target;
|
|
162
|
+
flag.value = true;
|
|
163
|
+
}
|
|
91
164
|
});
|
|
92
165
|
return (_ctx, _cache) => {
|
|
93
166
|
return openBlock(), createElementBlock("div", {
|
|
@@ -106,11 +179,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
106
179
|
class: normalizeClass([unref(cs).z("box"), unref(props).boxClass]),
|
|
107
180
|
ref_key: "refRightKeyBox",
|
|
108
181
|
ref: refRightKeyBox,
|
|
109
|
-
style: normalizeStyle(
|
|
110
|
-
position: "fixed",
|
|
111
|
-
top: lefty.value,
|
|
112
|
-
left: topx.value
|
|
113
|
-
})
|
|
182
|
+
style: normalizeStyle(boxStyle.value)
|
|
114
183
|
}, [
|
|
115
184
|
createElementVNode("div", {
|
|
116
185
|
class: normalizeClass(unref(cs).z("box-list"))
|
|
@@ -121,13 +190,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
121
190
|
onClick: withModifiers(($event) => onClick(v), ["stop"]),
|
|
122
191
|
class: normalizeClass(unref(cs).z("box-list-li"))
|
|
123
192
|
}, [
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
193
|
+
renderSlot(_ctx.$slots, unref(dataSlot).list, {
|
|
194
|
+
value: v,
|
|
195
|
+
index: k
|
|
196
|
+
}, () => [
|
|
197
|
+
v.icon ? (openBlock(), createBlock(unref(Icon), { key: 0 }, {
|
|
198
|
+
default: withCtx(() => [
|
|
199
|
+
(openBlock(), createBlock(resolveDynamicComponent(v.icon)))
|
|
200
|
+
]),
|
|
201
|
+
_: 2
|
|
202
|
+
}, 1024)) : createCommentVNode("", true),
|
|
203
|
+
createElementVNode("span", null, toDisplayString(unref(useVueValue)(v, unref(props).label)), 1)
|
|
204
|
+
])
|
|
131
205
|
], 10, _hoisted_1);
|
|
132
206
|
}), 128))
|
|
133
207
|
], 2)
|
|
@@ -135,7 +209,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
135
209
|
[vShow, flag.value]
|
|
136
210
|
])
|
|
137
211
|
]),
|
|
138
|
-
_:
|
|
212
|
+
_: 3
|
|
139
213
|
}, 8, ["disabled", "to"])
|
|
140
214
|
], 34);
|
|
141
215
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
|
-
import { comHandle } from '../../common/list';
|
|
2
|
+
import { comHandle, Options } from '../../common/list';
|
|
3
3
|
/**
|
|
4
4
|
* @title {h3}
|
|
5
5
|
*/
|
|
@@ -18,10 +18,10 @@ export declare const dataProps: {
|
|
|
18
18
|
};
|
|
19
19
|
options: {
|
|
20
20
|
type: {
|
|
21
|
-
(arrayLength: number):
|
|
22
|
-
(...items:
|
|
23
|
-
new (arrayLength: number):
|
|
24
|
-
new (...items:
|
|
21
|
+
(arrayLength: number): Options[];
|
|
22
|
+
(...items: Options[]): Options[];
|
|
23
|
+
new (arrayLength: number): Options[];
|
|
24
|
+
new (...items: Options[]): Options[];
|
|
25
25
|
isArray(arg: any): arg is any[];
|
|
26
26
|
readonly prototype: any[];
|
|
27
27
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
@@ -4,11 +4,12 @@ const vue = require("vue");
|
|
|
4
4
|
const index$3 = require("../../box-teleport/index.cjs");
|
|
5
5
|
const data = require("./data.cjs");
|
|
6
6
|
const index$4 = require("../../icon/index.cjs");
|
|
7
|
-
|
|
7
|
+
require("../../../icons/vue/close.cjs");
|
|
8
8
|
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
9
9
|
const index = require("../../../hooks/locale/index.cjs");
|
|
10
10
|
const index$5 = require("../../../directives/stick/index.cjs");
|
|
11
11
|
const index$2 = require("../../../hooks/props-default/index.cjs");
|
|
12
|
+
const close_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/close2.cjs");
|
|
12
13
|
const _hoisted_1 = ["onClick"];
|
|
13
14
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
14
15
|
__name: "index",
|
|
@@ -87,7 +88,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
87
88
|
title: vue.unref(getLocale)("close")
|
|
88
89
|
}, {
|
|
89
90
|
default: vue.withCtx(() => [
|
|
90
|
-
vue.createVNode(
|
|
91
|
+
vue.createVNode(close_vue_vue_type_script_setup_true_lang.default)
|
|
91
92
|
]),
|
|
92
93
|
_: 1
|
|
93
94
|
}, 8, ["onClick", "class", "title"])
|
|
@@ -2,11 +2,12 @@ import { defineComponent, ref, createBlock, openBlock, unref, withCtx, withDirec
|
|
|
2
2
|
import { BoxTeleport } from "../../box-teleport/index.js";
|
|
3
3
|
import { name, dataProps, dataExpose, dataSlot, dataEmits } from "./data.js";
|
|
4
4
|
import { Icon } from "../../icon/index.js";
|
|
5
|
-
import
|
|
5
|
+
import "../../../icons/vue/close.js";
|
|
6
6
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
7
7
|
import { useLocale } from "../../../hooks/locale/index.js";
|
|
8
8
|
import vStick from "../../../directives/stick/index.js";
|
|
9
9
|
import { usePropsDefault, getProps } from "../../../hooks/props-default/index.js";
|
|
10
|
+
import _sfc_main$1 from "../../../icons/vue/close2.js";
|
|
10
11
|
const _hoisted_1 = ["onClick"];
|
|
11
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
13
|
__name: "index",
|
|
@@ -85,7 +86,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
85
86
|
title: unref(getLocale)("close")
|
|
86
87
|
}, {
|
|
87
88
|
default: withCtx(() => [
|
|
88
|
-
createVNode(
|
|
89
|
+
createVNode(_sfc_main$1)
|
|
89
90
|
]),
|
|
90
91
|
_: 1
|
|
91
92
|
}, 8, ["onClick", "class", "title"])
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
|
+
import { Options } from '../../common/list';
|
|
2
3
|
/**
|
|
3
4
|
* @title {h3} switchs 开关列表
|
|
4
5
|
* @text value: '' 在@change中会返回 true
|
|
@@ -14,10 +15,10 @@ export declare const dataProps: {
|
|
|
14
15
|
};
|
|
15
16
|
options: {
|
|
16
17
|
type: {
|
|
17
|
-
(arrayLength: number):
|
|
18
|
-
(...items:
|
|
19
|
-
new (arrayLength: number):
|
|
20
|
-
new (...items:
|
|
18
|
+
(arrayLength: number): Options[];
|
|
19
|
+
(...items: Options[]): Options[];
|
|
20
|
+
new (arrayLength: number): Options[];
|
|
21
|
+
new (...items: Options[]): Options[];
|
|
21
22
|
isArray(arg: any): arg is any[];
|
|
22
23
|
readonly prototype: any[];
|
|
23
24
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
@@ -4,8 +4,8 @@ const vue = require("vue");
|
|
|
4
4
|
const use = require("../../common/use.cjs");
|
|
5
5
|
const getAttrValue = require("../../../utils/vues/getAttrValue.cjs");
|
|
6
6
|
const index = require("../../../hooks/compons/index.cjs");
|
|
7
|
-
const config = require("
|
|
8
|
-
const util = require("
|
|
7
|
+
const config = require("../../tableset/common/config.cjs");
|
|
8
|
+
const util = require("../../tableset/common/util.cjs");
|
|
9
9
|
const lineToSmallHump = require("@fangzhongya/utils/name/lineToSmallHump");
|
|
10
10
|
const index$1 = require("../../table-column/index.cjs");
|
|
11
11
|
const noProps = /* @__PURE__ */ new Set(["children", "class", "minWidth", "label"]);
|
|
@@ -2,8 +2,8 @@ import { h } from "vue";
|
|
|
2
2
|
import { useSetSlot, useSetCompon, useGetDomValue, useGetDomLabel } from "../../common/use.js";
|
|
3
3
|
import { getAttrValue } from "../../../utils/vues/getAttrValue.js";
|
|
4
4
|
import { useComponsGet } from "../../../hooks/compons/index.js";
|
|
5
|
-
import { provides } from "
|
|
6
|
-
import { setEmptyDisplay, setMinWidth } from "
|
|
5
|
+
import { provides } from "../../tableset/common/config.js";
|
|
6
|
+
import { setEmptyDisplay, setMinWidth } from "../../tableset/common/util.js";
|
|
7
7
|
import { lineToSmallHump } from "@fangzhongya/utils/name/lineToSmallHump";
|
|
8
8
|
import { TableColumn } from "../../table-column/index.js";
|
|
9
9
|
const noProps = /* @__PURE__ */ new Set(["children", "class", "minWidth", "label"]);
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vue = require("vue");
|
|
4
4
|
const columns = require("./columns3.cjs");
|
|
5
|
-
require("
|
|
6
|
-
require("
|
|
7
|
-
require("
|
|
8
|
-
require("
|
|
9
|
-
require("
|
|
10
|
-
const comLimit_vue_vue_type_script_setup_true_lang = require("
|
|
11
|
-
const comFig_vue_vue_type_script_setup_true_lang = require("
|
|
12
|
-
const comLis_vue_vue_type_script_setup_true_lang = require("
|
|
13
|
-
const comColor_vue_vue_type_script_setup_true_lang = require("
|
|
14
|
-
const comBut_vue_vue_type_script_setup_true_lang = require("
|
|
5
|
+
require("../../tableset/common/com-but.cjs");
|
|
6
|
+
require("../../tableset/common/com-color.cjs");
|
|
7
|
+
require("../../tableset/common/com-lis.cjs");
|
|
8
|
+
require("../../tableset/common/com-fig.cjs");
|
|
9
|
+
require("../../tableset/common/com-limit.cjs");
|
|
10
|
+
const comLimit_vue_vue_type_script_setup_true_lang = require("../../tableset/common/com-limit2.cjs");
|
|
11
|
+
const comFig_vue_vue_type_script_setup_true_lang = require("../../tableset/common/com-fig2.cjs");
|
|
12
|
+
const comLis_vue_vue_type_script_setup_true_lang = require("../../tableset/common/com-lis2.cjs");
|
|
13
|
+
const comColor_vue_vue_type_script_setup_true_lang = require("../../tableset/common/com-color2.cjs");
|
|
14
|
+
const comBut_vue_vue_type_script_setup_true_lang = require("../../tableset/common/com-but2.cjs");
|
|
15
15
|
const _sfc_main = vue.defineComponent({
|
|
16
16
|
emits: ["list-events"],
|
|
17
17
|
components: { But: comBut_vue_vue_type_script_setup_true_lang.default, Color: comColor_vue_vue_type_script_setup_true_lang.default, Lis: comLis_vue_vue_type_script_setup_true_lang.default, Fig: comFig_vue_vue_type_script_setup_true_lang.default, Limit: comLimit_vue_vue_type_script_setup_true_lang.default },
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent } from "vue";
|
|
2
2
|
import { render } from "./columns3.js";
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
6
|
-
import "
|
|
7
|
-
import "
|
|
8
|
-
import _sfc_main$1 from "
|
|
9
|
-
import _sfc_main$2 from "
|
|
10
|
-
import _sfc_main$3 from "
|
|
11
|
-
import _sfc_main$4 from "
|
|
12
|
-
import _sfc_main$5 from "
|
|
3
|
+
import "../../tableset/common/com-but.js";
|
|
4
|
+
import "../../tableset/common/com-color.js";
|
|
5
|
+
import "../../tableset/common/com-lis.js";
|
|
6
|
+
import "../../tableset/common/com-fig.js";
|
|
7
|
+
import "../../tableset/common/com-limit.js";
|
|
8
|
+
import _sfc_main$1 from "../../tableset/common/com-limit2.js";
|
|
9
|
+
import _sfc_main$2 from "../../tableset/common/com-fig2.js";
|
|
10
|
+
import _sfc_main$3 from "../../tableset/common/com-lis2.js";
|
|
11
|
+
import _sfc_main$4 from "../../tableset/common/com-color2.js";
|
|
12
|
+
import _sfc_main$5 from "../../tableset/common/com-but2.js";
|
|
13
13
|
const _sfc_main = defineComponent({
|
|
14
14
|
emits: ["list-events"],
|
|
15
15
|
components: { But: _sfc_main$5, Color: _sfc_main$4, Lis: _sfc_main$3, Fig: _sfc_main$2, Limit: _sfc_main$1 },
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vue = require("vue");
|
|
4
4
|
const data = require("./data.cjs");
|
|
5
|
-
const config = require("
|
|
5
|
+
const config = require("../../tableset/common/config.cjs");
|
|
6
6
|
const index$4 = require("../../table/index.cjs");
|
|
7
7
|
require("../../loading/index.cjs");
|
|
8
8
|
const index$5 = require("../../no-data/index.cjs");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, useSlots, useAttrs, ref, computed, watch, onMounted, onUnmounted, createElementBlock, openBlock, mergeProps, unref, withDirectives, createBlock, withModifiers, withCtx, createVNode, createSlots, renderList, renderSlot, normalizeProps, guardReactiveProps } from "vue";
|
|
2
2
|
import { name, dataProps, dataExpose, dataEmits } from "./data.js";
|
|
3
|
-
import { provides } from "
|
|
3
|
+
import { provides } from "../../tableset/common/config.js";
|
|
4
4
|
import { Table } from "../../table/index.js";
|
|
5
5
|
import "../../loading/index.js";
|
|
6
6
|
import { NoData } from "../../no-data/index.js";
|
|
@@ -5,7 +5,7 @@ const index$3 = require("../../tables/index.cjs");
|
|
|
5
5
|
const index$5 = require("../../paging/index.cjs");
|
|
6
6
|
const index$4 = require("../../../directives/scroll/index.cjs");
|
|
7
7
|
const data = require("./data.cjs");
|
|
8
|
-
const pagin = require("../../
|
|
8
|
+
const pagin = require("../../tableset/common/pagin.cjs");
|
|
9
9
|
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
10
10
|
const index$2 = require("../../../hooks/props-default/index.cjs");
|
|
11
11
|
const index = require("../../../hooks/locale/index.cjs");
|
|
@@ -3,7 +3,7 @@ import { Tables } from "../../tables/index.js";
|
|
|
3
3
|
import { Paging } from "../../paging/index.js";
|
|
4
4
|
import vScroll from "../../../directives/scroll/index.js";
|
|
5
5
|
import { name } from "./data.js";
|
|
6
|
-
import { dataProps, useInit, dataEmit } from "../../
|
|
6
|
+
import { dataProps, useInit, dataEmit } from "../../tableset/common/pagin.js";
|
|
7
7
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
8
8
|
import { usePropsDefault, getProps } from "../../../hooks/props-default/index.js";
|
|
9
9
|
import { useLocale } from "../../../hooks/locale/index.js";
|
|
@@ -6,7 +6,7 @@ const index$6 = require("../../paging/index.cjs");
|
|
|
6
6
|
const index$4 = require("../../../directives/scroll/index.cjs");
|
|
7
7
|
const index$5 = require("../../../directives/sortable/index.cjs");
|
|
8
8
|
const data = require("./data.cjs");
|
|
9
|
-
const pagin = require("../../
|
|
9
|
+
const pagin = require("../../tableset/common/pagin.cjs");
|
|
10
10
|
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
11
11
|
const index$2 = require("../../../hooks/props-default/index.cjs");
|
|
12
12
|
const index = require("../../../hooks/locale/index.cjs");
|
|
@@ -4,7 +4,7 @@ import { Paging } from "../../paging/index.js";
|
|
|
4
4
|
import vScroll from "../../../directives/scroll/index.js";
|
|
5
5
|
import vSortable from "../../../directives/sortable/index.js";
|
|
6
6
|
import { name } from "./data.js";
|
|
7
|
-
import { dataProps, useInit, dataEmit } from "../../
|
|
7
|
+
import { dataProps, useInit, dataEmit } from "../../tableset/common/pagin.js";
|
|
8
8
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
9
9
|
import { usePropsDefault, getProps } from "../../../hooks/props-default/index.js";
|
|
10
10
|
import { useLocale } from "../../../hooks/locale/index.js";
|
|
@@ -4,7 +4,7 @@ const vue = require("vue");
|
|
|
4
4
|
const index$4 = require("../../tables/index.cjs");
|
|
5
5
|
const index$3 = require("../../tablesv/index.cjs");
|
|
6
6
|
const index$5 = require("../../paging/index.cjs");
|
|
7
|
-
const pagin = require("../../
|
|
7
|
+
const pagin = require("../../tableset/common/pagin.cjs");
|
|
8
8
|
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
9
9
|
const index = require("../../../hooks/locale/index.cjs");
|
|
10
10
|
const index$2 = require("../../../hooks/props-default/index.cjs");
|
|
@@ -2,7 +2,7 @@ import { defineComponent, useSlots, ref, createElementBlock, openBlock, normaliz
|
|
|
2
2
|
import { Tables } from "../../tables/index.js";
|
|
3
3
|
import { Tablesv } from "../../tablesv/index.js";
|
|
4
4
|
import { Paging } from "../../paging/index.js";
|
|
5
|
-
import { dataProps, useInit, dataEmit } from "../../
|
|
5
|
+
import { dataProps, useInit, dataEmit } from "../../tableset/common/pagin.js";
|
|
6
6
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
7
7
|
import { useLocale } from "../../../hooks/locale/index.js";
|
|
8
8
|
import { usePropsDefault, getProps } from "../../../hooks/props-default/index.js";
|
|
@@ -4,8 +4,8 @@ const vue = require("vue");
|
|
|
4
4
|
const use = require("../../common/use.cjs");
|
|
5
5
|
const getAttrValue = require("../../../utils/vues/getAttrValue.cjs");
|
|
6
6
|
const index = require("../../../hooks/compons/index.cjs");
|
|
7
|
-
const config = require("../../
|
|
8
|
-
const util = require("../../
|
|
7
|
+
const config = require("../../tableset/common/config.cjs");
|
|
8
|
+
const util = require("../../tableset/common/util.cjs");
|
|
9
9
|
const lineToSmallHump = require("@fangzhongya/utils/name/lineToSmallHump");
|
|
10
10
|
const column = require("vxe-table/es/column");
|
|
11
11
|
const index$1 = require("../../radio/index.cjs");
|
|
@@ -2,8 +2,8 @@ import { h } from "vue";
|
|
|
2
2
|
import { useSetSlot, useSetCompon, useGetDomValue, useGetDomLabel } from "../../common/use.js";
|
|
3
3
|
import { getAttrValue } from "../../../utils/vues/getAttrValue.js";
|
|
4
4
|
import { useComponsGet } from "../../../hooks/compons/index.js";
|
|
5
|
-
import { provides } from "../../
|
|
6
|
-
import { setEmptyDisplay, setMinWidth } from "../../
|
|
5
|
+
import { provides } from "../../tableset/common/config.js";
|
|
6
|
+
import { setEmptyDisplay, setMinWidth } from "../../tableset/common/util.js";
|
|
7
7
|
import { lineToSmallHump } from "@fangzhongya/utils/name/lineToSmallHump";
|
|
8
8
|
import { VxeColumn } from "vxe-table/es/column";
|
|
9
9
|
import { Radio } from "../../radio/index.js";
|
|
@@ -3,14 +3,14 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const vue = require("vue");
|
|
4
4
|
const columns = require("./columns3.cjs");
|
|
5
5
|
const index = require("../../tooltip/index.cjs");
|
|
6
|
-
require("../../
|
|
7
|
-
require("../../
|
|
8
|
-
require("../../
|
|
9
|
-
require("../../
|
|
10
|
-
const comFig_vue_vue_type_script_setup_true_lang = require("../../
|
|
11
|
-
const comLis_vue_vue_type_script_setup_true_lang = require("../../
|
|
12
|
-
const comColor_vue_vue_type_script_setup_true_lang = require("../../
|
|
13
|
-
const comBut_vue_vue_type_script_setup_true_lang = require("../../
|
|
6
|
+
require("../../tableset/common/com-but.cjs");
|
|
7
|
+
require("../../tableset/common/com-color.cjs");
|
|
8
|
+
require("../../tableset/common/com-lis.cjs");
|
|
9
|
+
require("../../tableset/common/com-fig.cjs");
|
|
10
|
+
const comFig_vue_vue_type_script_setup_true_lang = require("../../tableset/common/com-fig2.cjs");
|
|
11
|
+
const comLis_vue_vue_type_script_setup_true_lang = require("../../tableset/common/com-lis2.cjs");
|
|
12
|
+
const comColor_vue_vue_type_script_setup_true_lang = require("../../tableset/common/com-color2.cjs");
|
|
13
|
+
const comBut_vue_vue_type_script_setup_true_lang = require("../../tableset/common/com-but2.cjs");
|
|
14
14
|
const _sfc_main = vue.defineComponent({
|
|
15
15
|
emits: ["list-events"],
|
|
16
16
|
components: { VxeTooltip: index.Tooltip, But: comBut_vue_vue_type_script_setup_true_lang.default, Color: comColor_vue_vue_type_script_setup_true_lang.default, Lis: comLis_vue_vue_type_script_setup_true_lang.default, Fig: comFig_vue_vue_type_script_setup_true_lang.default },
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent } from "vue";
|
|
2
2
|
import { render } from "./columns3.js";
|
|
3
3
|
import { Tooltip } from "../../tooltip/index.js";
|
|
4
|
-
import "../../
|
|
5
|
-
import "../../
|
|
6
|
-
import "../../
|
|
7
|
-
import "../../
|
|
8
|
-
import _sfc_main$1 from "../../
|
|
9
|
-
import _sfc_main$2 from "../../
|
|
10
|
-
import _sfc_main$3 from "../../
|
|
11
|
-
import _sfc_main$4 from "../../
|
|
4
|
+
import "../../tableset/common/com-but.js";
|
|
5
|
+
import "../../tableset/common/com-color.js";
|
|
6
|
+
import "../../tableset/common/com-lis.js";
|
|
7
|
+
import "../../tableset/common/com-fig.js";
|
|
8
|
+
import _sfc_main$1 from "../../tableset/common/com-fig2.js";
|
|
9
|
+
import _sfc_main$2 from "../../tableset/common/com-lis2.js";
|
|
10
|
+
import _sfc_main$3 from "../../tableset/common/com-color2.js";
|
|
11
|
+
import _sfc_main$4 from "../../tableset/common/com-but2.js";
|
|
12
12
|
const _sfc_main = defineComponent({
|
|
13
13
|
emits: ["list-events"],
|
|
14
14
|
components: { VxeTooltip: Tooltip, But: _sfc_main$4, Color: _sfc_main$3, Lis: _sfc_main$2, Fig: _sfc_main$1 },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const vue = require("vue");
|
|
4
|
-
const util = require("../../
|
|
4
|
+
const util = require("../../tableset/common/util.cjs");
|
|
5
5
|
const use = require("../../common/use.cjs");
|
|
6
6
|
const colgroup = require("vxe-table/es/colgroup");
|
|
7
7
|
const column = require("./column.cjs");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from "vue";
|
|
2
|
-
import { setMinWidth } from "../../
|
|
2
|
+
import { setMinWidth } from "../../tableset/common/util.js";
|
|
3
3
|
import { useHide } from "../../common/use.js";
|
|
4
4
|
import { VxeColgroup } from "vxe-table/es/colgroup";
|
|
5
5
|
import { setHeader, setProps, columnRender } from "./column.js";
|
|
@@ -4,7 +4,7 @@ const vue = require("vue");
|
|
|
4
4
|
const table = require("vxe-table/es/table");
|
|
5
5
|
require("../../loading/index.cjs");
|
|
6
6
|
const data = require("./data.cjs");
|
|
7
|
-
const config = require("../../
|
|
7
|
+
const config = require("../../tableset/common/config.cjs");
|
|
8
8
|
require("./columns.cjs");
|
|
9
9
|
const index$4 = require("../../no-data/index.cjs");
|
|
10
10
|
const use = require("../../common/use.cjs");
|