@das-fed/ui 7.1.0-dev.1 → 7.1.0-dev.10
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/esm-map.json +3 -2
- package/package.json +5 -5
- package/packages/business-components/ai-panel/{index-8yffh0Id.js → index-DMJXZM7n.js} +1067 -1056
- package/packages/business-components/ai-panel/index-DMJXZM7n.js.gz +0 -0
- package/packages/business-components/ai-panel/{index-IzGl26KU.js → index-MqhMkLo9.js} +9 -9
- package/packages/business-components/ai-panel/index-MqhMkLo9.js.gz +0 -0
- package/packages/business-components/ai-panel/{index-OwRrV6K8.js → index-_q72oKSF.js} +63 -62
- package/packages/business-components/ai-panel/index-_q72oKSF.js.gz +0 -0
- package/packages/business-components/ai-panel/index.js +1 -1
- package/packages/business-components/app-container/style.css +1 -1
- package/packages/business-components/app-container/style.css.gz +0 -0
- package/packages/business-components/area-phone-select/index.d.ts +23 -23
- package/packages/business-components/area-phone-select/src/Index.vue.d.ts +2 -2
- package/packages/business-components/area-phone-select/src/area-popover/index.vue.d.ts +2 -2
- package/packages/business-components/device-panel/i18n/index.d.ts +40 -0
- package/packages/business-components/device-panel/index.js +20949 -19425
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/hooks/use-knowledge.d.ts +6 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/knowledge/Index.vue.d.ts +6 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/knowledge/apis.d.ts +5 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/knowledge/components/use-info/Info.vue.d.ts +44 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/knowledge/components/use-info/downloadFile.d.ts +8 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/knowledge/components/use-info/info.d.ts +24 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/knowledge/utils/get-file-details.d.ts +2 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/hooks/use-knowledge.d.ts +6 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/knowledge/Index.vue.d.ts +6 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/knowledge/apis.d.ts +5 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/knowledge/components/use-info/Info.vue.d.ts +44 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/knowledge/components/use-info/downloadFile.d.ts +8 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/knowledge/components/use-info/info.d.ts +24 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/knowledge/utils/get-file-details.d.ts +2 -0
- package/packages/business-components/device-panel/style.css +1 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/echarts/index.js +2056 -2049
- package/packages/business-components/echarts/index.js.gz +0 -0
- package/packages/business-components/index.d.ts +1 -0
- package/packages/business-components/index.js +1 -0
- package/packages/business-components/payment/index.d.ts +9 -11
- package/packages/business-components/payment/index.js +122 -129
- package/packages/business-components/payment/index.js.gz +0 -0
- package/packages/business-components/payment/style.css +1 -1
- package/packages/business-components/payment/type.d.ts +2 -0
- package/packages/business-components/process-configuration/index.js +46 -46
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-form/index.js +675 -655
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-form/src/utils/common-methods.d.ts +6 -0
- package/packages/business-components/process-search-form/index.js +73 -73
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-table/index.js +215 -213
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/update-confirm-dialog/i18n/index.d.ts +23 -0
- package/packages/business-components/update-confirm-dialog/index.d.ts +61 -0
- package/packages/business-components/update-confirm-dialog/index.js +105 -0
- package/packages/business-components/update-confirm-dialog/index.js.gz +0 -0
- package/packages/business-components/update-confirm-dialog/src/App.vue.d.ts +11 -0
- package/packages/business-components/update-confirm-dialog/src/type.d.ts +4 -0
- package/packages/business-components/urgent-panel/index.js +1104 -1096
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/index.js +243 -240
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/index.d.ts +10 -0
- package/packages/business-components/video-dialog/index.js +357 -337
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/src/api.d.ts +1 -0
- package/packages/business-components/video-dialog/src/component/Player/index.vue.d.ts +2 -0
- package/packages/business-components/video-dialog/src/hooks/use-video/PlayerProvider.d.ts +6 -0
- package/packages/business-components/video-dialog/src/index.vue.d.ts +2 -0
- package/packages/business-components/video-dialog/src/type.d.ts +7 -1
- package/packages/business-components/video-dialog/style.css +1 -1
- package/packages/business-components/video-dialog/style.css.gz +0 -0
- package/packages/components/autocomplete/index.d.ts +15 -15
- package/packages/components/autocomplete/index.js +12 -6
- package/packages/components/autocomplete/index.js.gz +0 -0
- package/packages/components/autocomplete/src/index.vue.d.ts +2 -2
- package/packages/components/calendar/index.js +99 -99
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/cascader/index.js +2 -2
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/checkbox/index.d.ts +15 -15
- package/packages/components/checkbox/index.js +30 -30
- package/packages/components/checkbox/index.js.gz +0 -0
- package/packages/components/checkbox/src/Index.vue.d.ts +2 -2
- package/packages/components/color-picker/index.d.ts +8 -8
- package/packages/components/color-picker/src/Index.vue.d.ts +2 -2
- package/packages/components/custom-search-item/index.d.ts +15 -15
- package/packages/components/custom-search-item/src/Index.vue.d.ts +2 -2
- package/packages/components/date-picker/index.js +212 -212
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/dialog/index.d.ts +6 -3
- package/packages/components/dialog/index.js +281 -184
- package/packages/components/dialog/index.js.gz +0 -0
- package/packages/components/dialog/src/Index.vue.d.ts +2 -1
- package/packages/components/dialog/src/directives/dialogResize.d.ts +2 -0
- package/packages/components/dialog/src/type.d.ts +2 -0
- package/packages/components/dialog/style.css +1 -1
- package/packages/components/dialog/style.css.gz +0 -0
- package/packages/components/dimple-layout/index.js +77 -75
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dropdown/index.js +25 -24
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/edit-table/index.js +398 -397
- package/packages/components/edit-table/index.js.gz +0 -0
- package/packages/components/error-overlay-model/index.js +47 -45
- package/packages/components/error-overlay-model/index.js.gz +0 -0
- package/packages/components/form-item/index.js +67 -67
- package/packages/components/form-item/index.js.gz +0 -0
- package/packages/components/hls-player/index.js +496 -485
- package/packages/components/hls-player/index.js.gz +0 -0
- package/packages/components/hls-player/src/type.d.ts +3 -0
- package/packages/components/hls-player/style.css +1 -1
- package/packages/components/hls-player/style.css.gz +0 -0
- package/packages/components/image-upload/index.js +147 -143
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/image-viewer/index.js +297 -293
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/input/index.d.ts +5 -5
- package/packages/components/input/index.js +52 -52
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input/src/index.vue.d.ts +2 -2
- package/packages/components/input-dialog-select/index.d.ts +2 -2
- package/packages/components/input-dialog-select/src/Index.vue.d.ts +2 -2
- package/packages/components/input-number/index.d.ts +8 -8
- package/packages/components/input-number/index.js +26 -26
- package/packages/components/input-number/index.js.gz +0 -0
- package/packages/components/input-number/src/App.vue.d.ts +2 -2
- package/packages/components/live-player/index.d.ts +2 -0
- package/packages/components/live-player/index.js +988 -977
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/live-player/src/type.d.ts +3 -0
- package/packages/components/live-player/style.css +1 -1
- package/packages/components/map/index.js +421 -415
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/menu-aside/index.js +1 -1
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/message/index.js +6 -6
- package/packages/components/message/index.js.gz +0 -0
- package/packages/components/popover/index.js +12 -12
- package/packages/components/popover/index.js.gz +0 -0
- package/packages/components/radio/index.d.ts +15 -15
- package/packages/components/radio/src/Index.vue.d.ts +2 -2
- package/packages/components/radio-tabs/index.js +34 -34
- package/packages/components/radio-tabs/index.js.gz +0 -0
- package/packages/components/rich-editor/index.d.ts +8 -8
- package/packages/components/rich-editor/index.js +4613 -4583
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/rich-editor/src/Index.vue.d.ts +2 -2
- package/packages/components/scrollbar/index.d.ts +9 -3
- package/packages/components/scrollbar/index.js +394 -390
- package/packages/components/scrollbar/index.js.gz +0 -0
- package/packages/components/scrollbar/src/scrollbar.vue.d.ts +3 -1
- package/packages/components/scrollbar/style.css +1 -1
- package/packages/components/scrollbar/style.css.gz +0 -0
- package/packages/components/search/index.d.ts +2 -2
- package/packages/components/search/index.js +24 -24
- package/packages/components/search/index.js.gz +0 -0
- package/packages/components/search/src/Index.vue.d.ts +2 -2
- package/packages/components/search-form/index.js +175 -174
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/search-form/style.css +1 -1
- package/packages/components/search-form/style.css.gz +0 -0
- package/packages/components/select/index.js +60 -60
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select-list/index.js +9 -5
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/special-range-picker-month/index.d.ts +2 -2
- package/packages/components/special-range-picker-month/index.js +16 -14
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-month/src/Index.vue.d.ts +2 -2
- package/packages/components/special-range-picker-year/index.d.ts +2 -2
- package/packages/components/special-range-picker-year/index.js +53 -51
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/src/Index.vue.d.ts +2 -2
- package/packages/components/spin/index.js +33 -33
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/split-panel/index.js +129 -128
- package/packages/components/split-panel/index.js.gz +0 -0
- package/packages/components/table/index.js +179 -178
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/time-line/index.js +1 -1
- package/packages/components/time-line/index.js.gz +0 -0
- package/packages/components/tree-select/index.js +1 -1
- package/packages/components/tree-select/index.js.gz +0 -0
- package/packages/components/tree-select/src/App.vue.d.ts +2 -2
- package/packages/components/tree-table/index.js +2 -2
- package/packages/components/tree-table/index.js.gz +0 -0
- package/packages/components/tree-v2/index.js +1117 -1093
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/business-components/ai-panel/index-8yffh0Id.js.gz +0 -0
- package/packages/business-components/ai-panel/index-IzGl26KU.js.gz +0 -0
- package/packages/business-components/ai-panel/index-OwRrV6K8.js.gz +0 -0
|
Binary file
|
|
@@ -439,7 +439,7 @@ function jn(e, r, n) {
|
|
|
439
439
|
return r in e ? Object.defineProperty(e, r, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = n, e;
|
|
440
440
|
}
|
|
441
441
|
function An(e, r) {
|
|
442
|
-
process.env.NODE_ENV;
|
|
442
|
+
process.env.NODE_ENV !== "production" && !e && console !== void 0 && console.error("Warning: ".concat(r));
|
|
443
443
|
}
|
|
444
444
|
function Tn(e, r) {
|
|
445
445
|
An(e, "[@ant-design/icons-vue] ".concat(r));
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/components/message/style.css';
|
|
2
2
|
import { ElMessage as n } from "element-plus";
|
|
3
3
|
import { DasIconTongguo as f } from "@das-fed/ui/packages/icons/tongguo/index";
|
|
4
|
-
import { DasIconJinggao as
|
|
4
|
+
import { DasIconJinggao as g } from "@das-fed/ui/packages/icons/jinggao/index";
|
|
5
5
|
import { DasIconTongzhi as y } from "@das-fed/ui/packages/icons/tongzhi/index";
|
|
6
6
|
import { h as t } from "vue";
|
|
7
7
|
import "element-plus/es/components/message/style/css";
|
|
@@ -28,13 +28,13 @@ const M = (e = 24) => {
|
|
|
28
28
|
return e == "success" && (s = t(f, {
|
|
29
29
|
iconColor: "#1BA854",
|
|
30
30
|
customSize: "16"
|
|
31
|
-
})), e == "warning" && (s = t(
|
|
31
|
+
})), e == "warning" && (s = t(g, {
|
|
32
32
|
iconColor: "#FF991C",
|
|
33
33
|
customSize: "16"
|
|
34
34
|
})), e == "info" && (s = t(y, {
|
|
35
35
|
iconColor: "#0E5FD8",
|
|
36
36
|
customSize: "16"
|
|
37
|
-
})), e == "error" && (s = t(
|
|
37
|
+
})), e == "error" && (s = t(g, {
|
|
38
38
|
iconColor: "#FB2323",
|
|
39
39
|
customSize: "16"
|
|
40
40
|
})), s;
|
|
@@ -43,7 +43,7 @@ const M = (e = 24) => {
|
|
|
43
43
|
return e == "success" && (s = " el-message--success"), e == "warning" && (s = " el-message--warning"), e == "info" && (s = " el-message--info"), e == "error" && (s = " el-message--error"), s;
|
|
44
44
|
};
|
|
45
45
|
M();
|
|
46
|
-
let
|
|
46
|
+
let i = {
|
|
47
47
|
close() {
|
|
48
48
|
}
|
|
49
49
|
};
|
|
@@ -53,7 +53,7 @@ const D = {
|
|
|
53
53
|
duration: 3e3
|
|
54
54
|
}, r = (e) => {
|
|
55
55
|
var s;
|
|
56
|
-
return r.proxyStatus ? r.proxyMessage(e) : (typeof e == "string" && (e = { message: e }), e = { ...D, ...e }, e.customClass = ((s = e.customClass) == null ? void 0 : s.concat(" das-ui-message")) || "das-ui-message", e.appendTo || (e.appendTo = "#das-ui-message-container"), e.icon || (e.icon = h(e.type), e.customClass = e.customClass.concat(C(e.type))),
|
|
56
|
+
return r.proxyStatus ? r.proxyMessage(e) : (typeof e == "string" && (e = { message: e }), e = { ...D, ...e }, e.customClass = ((s = e.customClass) == null ? void 0 : s.concat(" das-ui-message")) || "das-ui-message", e.appendTo || (e.appendTo = "#das-ui-message-container"), e.icon || (e.icon = h(e.type), e.customClass = e.customClass.concat(C(e.type))), i = n(e), i);
|
|
57
57
|
};
|
|
58
58
|
r.error = (e) => (typeof e == "string" && (e = { message: e }), e.type = "error", r(e));
|
|
59
59
|
r.success = (e) => (typeof e == "string" && (e = { message: e }), e.type = "success", r(e));
|
|
@@ -63,7 +63,7 @@ r.closeAll = (e) => n.closeAll(e);
|
|
|
63
63
|
window.addEventListener("message", (e) => {
|
|
64
64
|
const { type: s, data: o } = e.data, a = { setProxyMessageStatus: "setProxyMessageStatus", showProxyMessage: "showProxyMessage" };
|
|
65
65
|
if (Object.values(a).includes(s)) {
|
|
66
|
-
if (s === a.setProxyMessageStatus) {
|
|
66
|
+
if (console.log(s), s === a.setProxyMessageStatus) {
|
|
67
67
|
const { visible: m, parentHref: l } = o;
|
|
68
68
|
r.proxyStatus = m ?? !0, r.proxyMessage = (u) => {
|
|
69
69
|
var c;
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/components/popover/style.css';
|
|
2
|
-
import { defineComponent as _, useAttrs as
|
|
2
|
+
import { defineComponent as _, useAttrs as g, ref as C, computed as D, createBlock as O, openBlock as s, unref as t, mergeProps as P, withCtx as r, withDirectives as b, createElementBlock as p, createCommentVNode as d, renderSlot as m, toDisplayString as n, createElementVNode as R, createTextVNode as a, createVNode as u } from "vue";
|
|
3
3
|
import { withInstall as V } from "@das-fed/utils/with-install/index";
|
|
4
4
|
import { i18n as f, setI18nRule as E } from "@das-fed/web/packages/i18n/index";
|
|
5
5
|
import { ElPopover as I, ClickOutside as z } from "element-plus";
|
|
@@ -24,13 +24,13 @@ const S = { class: "das-ui-popover-container" }, T = {
|
|
|
24
24
|
},
|
|
25
25
|
emits: ["cancel", "confirm", "clickOutside"],
|
|
26
26
|
setup(k, { expose: h, emit: w }) {
|
|
27
|
-
const l = k, i = w, $ =
|
|
27
|
+
const l = k, i = w, $ = g(), c = C(null), y = D(() => {
|
|
28
28
|
let e = "das-ui-popover-over-container";
|
|
29
29
|
return l.popperClass && (e = `${e} ${l.popperClass}`), e;
|
|
30
30
|
}), N = () => {
|
|
31
|
-
$.visible !== void 0 && i("clickOutside");
|
|
31
|
+
console.log("tttttttttt"), $.visible !== void 0 && i("clickOutside");
|
|
32
32
|
};
|
|
33
|
-
return h({ $popoverRef: c }), (e,
|
|
33
|
+
return h({ $popoverRef: c }), (e, o) => (s(), O(t(I), P({
|
|
34
34
|
ref_key: "$popoverRef",
|
|
35
35
|
ref: c,
|
|
36
36
|
class: "das-ui-popover",
|
|
@@ -42,7 +42,7 @@ const S = { class: "das-ui-popover-container" }, T = {
|
|
|
42
42
|
m(e.$slots, "reference")
|
|
43
43
|
]),
|
|
44
44
|
default: r(() => [
|
|
45
|
-
|
|
45
|
+
b((s(), p("div", S, [
|
|
46
46
|
e.title ? (s(), p(
|
|
47
47
|
"div",
|
|
48
48
|
T,
|
|
@@ -58,12 +58,12 @@ const S = { class: "das-ui-popover-container" }, T = {
|
|
|
58
58
|
/* TEXT */
|
|
59
59
|
),
|
|
60
60
|
e.showBtns ? (s(), p("div", K, [
|
|
61
|
-
u(
|
|
62
|
-
onClick:
|
|
61
|
+
u(t(v), {
|
|
62
|
+
onClick: o[0] || (o[0] = (B) => i("cancel"))
|
|
63
63
|
}, {
|
|
64
64
|
default: r(() => [
|
|
65
65
|
a(
|
|
66
|
-
n(
|
|
66
|
+
n(t(f)("das-ui-popover-cancel").value),
|
|
67
67
|
1
|
|
68
68
|
/* TEXT */
|
|
69
69
|
)
|
|
@@ -71,14 +71,14 @@ const S = { class: "das-ui-popover-container" }, T = {
|
|
|
71
71
|
_: 1
|
|
72
72
|
/* STABLE */
|
|
73
73
|
}),
|
|
74
|
-
u(
|
|
74
|
+
u(t(v), {
|
|
75
75
|
btnType: "primary",
|
|
76
|
-
onClick:
|
|
76
|
+
onClick: o[1] || (o[1] = (B) => i("confirm")),
|
|
77
77
|
style: { "margin-left": "12px" }
|
|
78
78
|
}, {
|
|
79
79
|
default: r(() => [
|
|
80
80
|
a(
|
|
81
|
-
n(
|
|
81
|
+
n(t(f)("das-ui-popover-confirm").value),
|
|
82
82
|
1
|
|
83
83
|
/* TEXT */
|
|
84
84
|
)
|
|
@@ -90,7 +90,7 @@ const S = { class: "das-ui-popover-container" }, T = {
|
|
|
90
90
|
])
|
|
91
91
|
])
|
|
92
92
|
])), [
|
|
93
|
-
[
|
|
93
|
+
[t(z), N]
|
|
94
94
|
])
|
|
95
95
|
]),
|
|
96
96
|
_: 3
|
|
Binary file
|
|
@@ -16,8 +16,8 @@ declare const DasRadioRef: () => import("vue").Ref<({
|
|
|
16
16
|
readonly maxWidth?: string | undefined;
|
|
17
17
|
readonly isSetTimeout?: boolean | undefined;
|
|
18
18
|
readonly noSetDefaultVal?: boolean | undefined;
|
|
19
|
-
readonly "onUpdate:modelValue"?: ((n: any) => any) | undefined;
|
|
20
19
|
readonly onChange?: ((e: any) => any) | undefined;
|
|
20
|
+
readonly "onUpdate:modelValue"?: ((n: any) => any) | undefined;
|
|
21
21
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
22
22
|
$attrs: {
|
|
23
23
|
[x: string]: unknown;
|
|
@@ -31,14 +31,14 @@ declare const DasRadioRef: () => import("vue").Ref<({
|
|
|
31
31
|
$root: import("vue").ComponentPublicInstance | null;
|
|
32
32
|
$parent: import("vue").ComponentPublicInstance | null;
|
|
33
33
|
$host: Element | null;
|
|
34
|
-
$emit: ((event: "
|
|
34
|
+
$emit: ((event: "change", e: any) => void) & ((event: "update:modelValue", n: any) => void);
|
|
35
35
|
$el: any;
|
|
36
36
|
$options: import("vue").ComponentOptionsBase<Readonly<import("./src/type.js").Props> & Readonly<{
|
|
37
|
-
"onUpdate:modelValue"?: ((n: any) => any) | undefined;
|
|
38
37
|
onChange?: ((e: any) => any) | undefined;
|
|
38
|
+
"onUpdate:modelValue"?: ((n: any) => any) | undefined;
|
|
39
39
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
40
|
-
"update:modelValue": (n: any) => any;
|
|
41
40
|
change: (e: any) => any;
|
|
41
|
+
"update:modelValue": (n: any) => any;
|
|
42
42
|
}, string, {
|
|
43
43
|
defaultProps: import("./src/type.js").ValLabel<string>;
|
|
44
44
|
name: string;
|
|
@@ -82,8 +82,8 @@ declare const DasRadioRef: () => import("vue").Ref<({
|
|
|
82
82
|
isView: boolean;
|
|
83
83
|
noSetDefaultVal: boolean;
|
|
84
84
|
}> & Omit<Readonly<import("./src/type.js").Props> & Readonly<{
|
|
85
|
-
"onUpdate:modelValue"?: ((n: any) => any) | undefined;
|
|
86
85
|
onChange?: ((e: any) => any) | undefined;
|
|
86
|
+
"onUpdate:modelValue"?: ((n: any) => any) | undefined;
|
|
87
87
|
}>, "defaultProps" | "name" | "disabled" | "modelValue" | "options" | "layout" | "radioType" | "optionType" | "isView" | "noSetDefaultVal"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
88
88
|
$slots: {
|
|
89
89
|
default?: (props: {}) => any;
|
|
@@ -115,8 +115,8 @@ declare const DasRadioRef: () => import("vue").Ref<({
|
|
|
115
115
|
readonly maxWidth?: string | undefined;
|
|
116
116
|
readonly isSetTimeout?: boolean | undefined;
|
|
117
117
|
readonly noSetDefaultVal?: boolean | undefined;
|
|
118
|
-
readonly "onUpdate:modelValue"?: ((n: any) => any) | undefined;
|
|
119
118
|
readonly onChange?: ((e: any) => any) | undefined;
|
|
119
|
+
readonly "onUpdate:modelValue"?: ((n: any) => any) | undefined;
|
|
120
120
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
121
121
|
$attrs: {
|
|
122
122
|
[x: string]: unknown;
|
|
@@ -130,14 +130,14 @@ declare const DasRadioRef: () => import("vue").Ref<({
|
|
|
130
130
|
$root: import("vue").ComponentPublicInstance | null;
|
|
131
131
|
$parent: import("vue").ComponentPublicInstance | null;
|
|
132
132
|
$host: Element | null;
|
|
133
|
-
$emit: ((event: "
|
|
133
|
+
$emit: ((event: "change", e: any) => void) & ((event: "update:modelValue", n: any) => void);
|
|
134
134
|
$el: any;
|
|
135
135
|
$options: import("vue").ComponentOptionsBase<Readonly<import("./src/type.js").Props> & Readonly<{
|
|
136
|
-
"onUpdate:modelValue"?: ((n: any) => any) | undefined;
|
|
137
136
|
onChange?: ((e: any) => any) | undefined;
|
|
137
|
+
"onUpdate:modelValue"?: ((n: any) => any) | undefined;
|
|
138
138
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
139
|
-
"update:modelValue": (n: any) => any;
|
|
140
139
|
change: (e: any) => any;
|
|
140
|
+
"update:modelValue": (n: any) => any;
|
|
141
141
|
}, string, {
|
|
142
142
|
defaultProps: import("./src/type.js").ValLabel<string>;
|
|
143
143
|
name: string;
|
|
@@ -181,8 +181,8 @@ declare const DasRadioRef: () => import("vue").Ref<({
|
|
|
181
181
|
isView: boolean;
|
|
182
182
|
noSetDefaultVal: boolean;
|
|
183
183
|
}> & Omit<Readonly<import("./src/type.js").Props> & Readonly<{
|
|
184
|
-
"onUpdate:modelValue"?: ((n: any) => any) | undefined;
|
|
185
184
|
onChange?: ((e: any) => any) | undefined;
|
|
185
|
+
"onUpdate:modelValue"?: ((n: any) => any) | undefined;
|
|
186
186
|
}>, "defaultProps" | "name" | "disabled" | "modelValue" | "options" | "layout" | "radioType" | "optionType" | "isView" | "noSetDefaultVal"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
187
187
|
$slots: {
|
|
188
188
|
default?: (props: {}) => any;
|
|
@@ -200,11 +200,11 @@ declare const DasRadioRef: () => import("vue").Ref<({
|
|
|
200
200
|
}) | null>;
|
|
201
201
|
declare const DasRadio: import("@das-fed/utils").SFCWithInstall<{
|
|
202
202
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("./src/type.js").Props> & Readonly<{
|
|
203
|
-
"onUpdate:modelValue"?: ((n: any) => any) | undefined;
|
|
204
203
|
onChange?: ((e: any) => any) | undefined;
|
|
204
|
+
"onUpdate:modelValue"?: ((n: any) => any) | undefined;
|
|
205
205
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
206
|
-
"update:modelValue": (n: any) => any;
|
|
207
206
|
change: (e: any) => any;
|
|
207
|
+
"update:modelValue": (n: any) => any;
|
|
208
208
|
}, import("vue").PublicProps, {
|
|
209
209
|
defaultProps: import("./src/type.js").ValLabel<string>;
|
|
210
210
|
name: string;
|
|
@@ -224,8 +224,8 @@ declare const DasRadio: import("@das-fed/utils").SFCWithInstall<{
|
|
|
224
224
|
M: {};
|
|
225
225
|
Defaults: {};
|
|
226
226
|
}, Readonly<import("./src/type.js").Props> & Readonly<{
|
|
227
|
-
"onUpdate:modelValue"?: ((n: any) => any) | undefined;
|
|
228
227
|
onChange?: ((e: any) => any) | undefined;
|
|
228
|
+
"onUpdate:modelValue"?: ((n: any) => any) | undefined;
|
|
229
229
|
}>, {}, {}, {}, {}, {
|
|
230
230
|
defaultProps: import("./src/type.js").ValLabel<string>;
|
|
231
231
|
name: string;
|
|
@@ -242,11 +242,11 @@ declare const DasRadio: import("@das-fed/utils").SFCWithInstall<{
|
|
|
242
242
|
__isTeleport?: never;
|
|
243
243
|
__isSuspense?: never;
|
|
244
244
|
} & import("vue").ComponentOptionsBase<Readonly<import("./src/type.js").Props> & Readonly<{
|
|
245
|
-
"onUpdate:modelValue"?: ((n: any) => any) | undefined;
|
|
246
245
|
onChange?: ((e: any) => any) | undefined;
|
|
246
|
+
"onUpdate:modelValue"?: ((n: any) => any) | undefined;
|
|
247
247
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
248
|
-
"update:modelValue": (n: any) => any;
|
|
249
248
|
change: (e: any) => any;
|
|
249
|
+
"update:modelValue": (n: any) => any;
|
|
250
250
|
}, string, {
|
|
251
251
|
defaultProps: import("./src/type.js").ValLabel<string>;
|
|
252
252
|
name: string;
|
|
@@ -15,11 +15,11 @@ type __VLS_Slots = {} & {
|
|
|
15
15
|
default?: (props: typeof __VLS_43) => any;
|
|
16
16
|
};
|
|
17
17
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
18
|
-
"update:modelValue": (n: any) => any;
|
|
19
18
|
change: (e: any) => any;
|
|
19
|
+
"update:modelValue": (n: any) => any;
|
|
20
20
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
21
|
-
"onUpdate:modelValue"?: ((n: any) => any) | undefined;
|
|
22
21
|
onChange?: ((e: any) => any) | undefined;
|
|
22
|
+
"onUpdate:modelValue"?: ((n: any) => any) | undefined;
|
|
23
23
|
}>, {
|
|
24
24
|
defaultProps: import("./type").ValLabel<string>;
|
|
25
25
|
name: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/components/radio-tabs/style.css';
|
|
2
2
|
import { withInstall as A } from "@das-fed/utils/with-install/index";
|
|
3
|
-
import { defineComponent as z, ref as
|
|
3
|
+
import { defineComponent as z, ref as n, computed as B, watch as x, nextTick as N, createElementBlock as v, openBlock as d, withDirectives as y, createElementVNode as h, createVNode as M, unref as i, vShow as _, Fragment as P, renderList as S, normalizeClass as E, createTextVNode as F, toDisplayString as j } from "vue";
|
|
4
4
|
import { DasAutoRegisterIcon as q, DasIcon as D } from "@das-fed/ui/packages/components/icon/index";
|
|
5
5
|
import { vDasTooltip as G } from "@das-fed/ui/packages/components/text-tooltip/index";
|
|
6
6
|
const H = {
|
|
@@ -27,18 +27,18 @@ const H = {
|
|
|
27
27
|
left: import("@das-fed/ui/packages/icons/left"),
|
|
28
28
|
right: import("@das-fed/ui/packages/icons/right")
|
|
29
29
|
});
|
|
30
|
-
const
|
|
31
|
-
let
|
|
30
|
+
const s = f, p = n(null);
|
|
31
|
+
let g = n(s.modelValue), T = n(s.optionsLabelKey || "name"), b = n(s.optionsValueKey || "id"), K = B(() => s.disabled), r = n([]), o = n(s.tabOptions), k = n(!0);
|
|
32
32
|
x(
|
|
33
|
-
() =>
|
|
33
|
+
() => s.modelValue,
|
|
34
34
|
(t) => {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
const e = o.value.findIndex((l) => l[
|
|
35
|
+
g.value = t, N(() => {
|
|
36
|
+
k.value && t && o.value && o.value.length > 0 && setTimeout(() => {
|
|
37
|
+
const e = o.value.findIndex((l) => l[b.value] === t);
|
|
38
38
|
if (e !== "-1" && e > 3) {
|
|
39
39
|
const l = e + 1, $ = l % 4 === 0 ? Math.floor(l / 4) : Math.floor(l / 4) + 1;
|
|
40
40
|
for (let I = 0; I < $ - 1; I++)
|
|
41
|
-
|
|
41
|
+
C();
|
|
42
42
|
}
|
|
43
43
|
}, 200);
|
|
44
44
|
});
|
|
@@ -48,7 +48,7 @@ const H = {
|
|
|
48
48
|
deep: !0
|
|
49
49
|
}
|
|
50
50
|
), x(
|
|
51
|
-
() =>
|
|
51
|
+
() => s.tabOptions,
|
|
52
52
|
(t) => {
|
|
53
53
|
r.value = (t == null ? void 0 : t.length) > 4 ? t.slice(0, 4) : t, o.value = (t == null ? void 0 : t.length) > 0 ? t : [];
|
|
54
54
|
},
|
|
@@ -57,19 +57,19 @@ const H = {
|
|
|
57
57
|
deep: !0
|
|
58
58
|
}
|
|
59
59
|
);
|
|
60
|
-
const O = m, u =
|
|
61
|
-
K.value || (
|
|
60
|
+
const O = m, u = n(!1), R = (t) => {
|
|
61
|
+
K.value || (k.value = !1, console.log(t, "change-tab"), g.value = t, O("update:modelValue", t));
|
|
62
62
|
};
|
|
63
|
-
let
|
|
63
|
+
let a = n(0);
|
|
64
64
|
const L = () => {
|
|
65
|
-
|
|
66
|
-
},
|
|
67
|
-
o.value.length - 1 -
|
|
65
|
+
console.log("←", a.value, o.value), !(a.value < 4) && (a.value -= 4, a.value < 4 ? r.value = o.value.slice(0, 4) : (console.log(555), r.value = o.value.filter((t, e) => (e > a.value || e === a.value) && e < a.value + 4)));
|
|
66
|
+
}, C = () => {
|
|
67
|
+
console.log("→", a.value, o.value.length), !(o.value.length - 1 - a.value < 4) && (a.value += 4, o.value.length - 1 - a.value < 4 ? r.value = o.value.slice(-4) : r.value = o.value.filter((t, e) => (e > a.value || e === a.value) && e < a.value + 4));
|
|
68
68
|
};
|
|
69
69
|
return c({
|
|
70
70
|
$radiotabs: p,
|
|
71
71
|
setPointer: (t) => {
|
|
72
|
-
|
|
72
|
+
console.log("setPointer:" + t), a.value = t;
|
|
73
73
|
}
|
|
74
74
|
}), (t, e) => (d(), v(
|
|
75
75
|
"div",
|
|
@@ -79,7 +79,7 @@ const H = {
|
|
|
79
79
|
ref: p
|
|
80
80
|
},
|
|
81
81
|
[
|
|
82
|
-
y(
|
|
82
|
+
y(h(
|
|
83
83
|
"div",
|
|
84
84
|
{
|
|
85
85
|
class: "icon-left",
|
|
@@ -88,7 +88,7 @@ const H = {
|
|
|
88
88
|
onMouseleave: e[2] || (e[2] = (l) => u.value = !1)
|
|
89
89
|
},
|
|
90
90
|
[
|
|
91
|
-
M(
|
|
91
|
+
M(i(D), {
|
|
92
92
|
icon: "left",
|
|
93
93
|
iconColor: u.value ? "#3761CA" : "#666666",
|
|
94
94
|
size: "mini"
|
|
@@ -97,18 +97,18 @@ const H = {
|
|
|
97
97
|
544
|
|
98
98
|
/* NEED_HYDRATION, NEED_PATCH */
|
|
99
99
|
), [
|
|
100
|
-
[_,
|
|
100
|
+
[_, i(o).length > 4]
|
|
101
101
|
]),
|
|
102
|
-
y(
|
|
102
|
+
y(h(
|
|
103
103
|
"div",
|
|
104
104
|
{
|
|
105
105
|
class: "icon-right",
|
|
106
|
-
onClick: e[3] || (e[3] = (l) =>
|
|
106
|
+
onClick: e[3] || (e[3] = (l) => C()),
|
|
107
107
|
onMouseover: e[4] || (e[4] = (l) => u.value = !0),
|
|
108
108
|
onMouseleave: e[5] || (e[5] = (l) => u.value = !1)
|
|
109
109
|
},
|
|
110
110
|
[
|
|
111
|
-
M(
|
|
111
|
+
M(i(D), {
|
|
112
112
|
icon: "right",
|
|
113
113
|
iconColor: u.value ? "#3761CA" : "#666666",
|
|
114
114
|
size: "mini"
|
|
@@ -117,9 +117,9 @@ const H = {
|
|
|
117
117
|
544
|
|
118
118
|
/* NEED_HYDRATION, NEED_PATCH */
|
|
119
119
|
), [
|
|
120
|
-
[_,
|
|
120
|
+
[_, i(o).length > 4]
|
|
121
121
|
]),
|
|
122
|
-
|
|
122
|
+
h(
|
|
123
123
|
"div",
|
|
124
124
|
{
|
|
125
125
|
class: "dimension-box",
|
|
@@ -127,22 +127,22 @@ const H = {
|
|
|
127
127
|
onMouseleave: e[7] || (e[7] = (l) => u.value = !1)
|
|
128
128
|
},
|
|
129
129
|
[
|
|
130
|
-
|
|
130
|
+
i(o).length > 0 && i(r).length > 0 ? (d(), v("div", H, [
|
|
131
131
|
(d(!0), v(
|
|
132
|
-
|
|
132
|
+
P,
|
|
133
133
|
null,
|
|
134
|
-
|
|
135
|
-
class:
|
|
136
|
-
onClick: ($) => R(l[
|
|
134
|
+
S(i(r), (l) => (d(), v("div", {
|
|
135
|
+
class: E(["time-type-item", { tab_active: i(g) == l[i(b)] }]),
|
|
136
|
+
onClick: ($) => R(l[i(b)])
|
|
137
137
|
}, [
|
|
138
138
|
y((d(), v("div", null, [
|
|
139
139
|
F(
|
|
140
|
-
j(l[
|
|
140
|
+
j(l[i(T)]),
|
|
141
141
|
1
|
|
142
142
|
/* TEXT */
|
|
143
143
|
)
|
|
144
144
|
])), [
|
|
145
|
-
[
|
|
145
|
+
[i(G)]
|
|
146
146
|
])
|
|
147
147
|
], 10, J))),
|
|
148
148
|
256
|
|
@@ -160,10 +160,10 @@ const H = {
|
|
|
160
160
|
}
|
|
161
161
|
}), W = (f, c) => {
|
|
162
162
|
const m = f.__vccOpts || f;
|
|
163
|
-
for (const [
|
|
164
|
-
m[
|
|
163
|
+
for (const [s, p] of c)
|
|
164
|
+
m[s] = p;
|
|
165
165
|
return m;
|
|
166
|
-
}, X = /* @__PURE__ */ W(V, [["__scopeId", "data-v-405865ad"]]), le = A(X), oe = () =>
|
|
166
|
+
}, X = /* @__PURE__ */ W(V, [["__scopeId", "data-v-405865ad"]]), le = A(X), oe = () => n(null);
|
|
167
167
|
export {
|
|
168
168
|
le as DasRadioTabs,
|
|
169
169
|
oe as DasRadioTabsRef,
|
|
Binary file
|
|
@@ -4,13 +4,13 @@ declare const DasRichEditor: import("@das-fed/utils").SFCWithInstall<import("vue
|
|
|
4
4
|
$editor: import("vue").Ref<any, any>;
|
|
5
5
|
editorRef: import("vue").ShallowRef<any, any>;
|
|
6
6
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
-
"update:modelValue": (value: string) => any;
|
|
8
7
|
change: (value: string) => any;
|
|
8
|
+
"update:modelValue": (value: string) => any;
|
|
9
9
|
focus: () => any;
|
|
10
10
|
blur: (value: string) => any;
|
|
11
11
|
}, string, import("vue").PublicProps, Readonly<import("./src/type.js").Props> & Readonly<{
|
|
12
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
13
12
|
onChange?: ((value: string) => any) | undefined;
|
|
13
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
14
14
|
onFocus?: (() => any) | undefined;
|
|
15
15
|
onBlur?: ((value: string) => any) | undefined;
|
|
16
16
|
}>, {
|
|
@@ -20,8 +20,8 @@ declare const DasRichEditor: import("@das-fed/utils").SFCWithInstall<import("vue
|
|
|
20
20
|
excludeKeys: Array<string>;
|
|
21
21
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>>;
|
|
22
22
|
declare const DasRichEditorRef: () => import("vue").Ref<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("./src/type.js").Props> & Readonly<{
|
|
23
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
24
23
|
onChange?: ((value: string) => any) | undefined;
|
|
24
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
25
25
|
onFocus?: (() => any) | undefined;
|
|
26
26
|
onBlur?: ((value: string) => any) | undefined;
|
|
27
27
|
}>, {
|
|
@@ -30,8 +30,8 @@ declare const DasRichEditorRef: () => import("vue").Ref<import("vue").CreateComp
|
|
|
30
30
|
$editor: import("vue").Ref<any, any>;
|
|
31
31
|
editorRef: import("vue").ShallowRef<any, any>;
|
|
32
32
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
33
|
-
"update:modelValue": (value: string) => any;
|
|
34
33
|
change: (value: string) => any;
|
|
34
|
+
"update:modelValue": (value: string) => any;
|
|
35
35
|
focus: () => any;
|
|
36
36
|
blur: (value: string) => any;
|
|
37
37
|
}, import("vue").PublicProps, {
|
|
@@ -47,8 +47,8 @@ declare const DasRichEditorRef: () => import("vue").Ref<import("vue").CreateComp
|
|
|
47
47
|
M: {};
|
|
48
48
|
Defaults: {};
|
|
49
49
|
}, Readonly<import("./src/type.js").Props> & Readonly<{
|
|
50
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
51
50
|
onChange?: ((value: string) => any) | undefined;
|
|
51
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
52
52
|
onFocus?: (() => any) | undefined;
|
|
53
53
|
onBlur?: ((value: string) => any) | undefined;
|
|
54
54
|
}>, {
|
|
@@ -62,8 +62,8 @@ declare const DasRichEditorRef: () => import("vue").Ref<import("vue").CreateComp
|
|
|
62
62
|
mode: "default" | "simple";
|
|
63
63
|
excludeKeys: Array<string>;
|
|
64
64
|
}> | null, import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("./src/type.js").Props> & Readonly<{
|
|
65
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
66
65
|
onChange?: ((value: string) => any) | undefined;
|
|
66
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
67
67
|
onFocus?: (() => any) | undefined;
|
|
68
68
|
onBlur?: ((value: string) => any) | undefined;
|
|
69
69
|
}>, {
|
|
@@ -72,8 +72,8 @@ declare const DasRichEditorRef: () => import("vue").Ref<import("vue").CreateComp
|
|
|
72
72
|
$editor: import("vue").Ref<any, any>;
|
|
73
73
|
editorRef: import("vue").ShallowRef<any, any>;
|
|
74
74
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
75
|
-
"update:modelValue": (value: string) => any;
|
|
76
75
|
change: (value: string) => any;
|
|
76
|
+
"update:modelValue": (value: string) => any;
|
|
77
77
|
focus: () => any;
|
|
78
78
|
blur: (value: string) => any;
|
|
79
79
|
}, import("vue").PublicProps, {
|
|
@@ -89,8 +89,8 @@ declare const DasRichEditorRef: () => import("vue").Ref<import("vue").CreateComp
|
|
|
89
89
|
M: {};
|
|
90
90
|
Defaults: {};
|
|
91
91
|
}, Readonly<import("./src/type.js").Props> & Readonly<{
|
|
92
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
93
92
|
onChange?: ((value: string) => any) | undefined;
|
|
93
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
94
94
|
onFocus?: (() => any) | undefined;
|
|
95
95
|
onBlur?: ((value: string) => any) | undefined;
|
|
96
96
|
}>, {
|