@das-fed/ui 6.4.0-test.6.1 → 6.4.0-test.7.1
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 +8 -1
- package/package.json +6 -5
- package/packages/business-components/app-container/index.js +96 -73
- package/packages/business-components/app-container/index.js.gz +0 -0
- package/packages/business-components/app-container/src/style-theme.d.ts +0 -5
- 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/app-container/theme/index.d.ts +0 -1
- package/packages/business-components/device-panel/index.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/alarmLog/components/dealAlarm.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/alarmLog/components/historyList.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/alarmLog/components/liveList.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/alarmLog/components/logDetail.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/index.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/devicePanelModal/alarmLog/components/dealAlarm.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/devicePanelModal/alarmLog/components/historyList.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/devicePanelModal/alarmLog/components/liveList.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/devicePanelModal/alarmLog/components/logDetail.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/devicePanelModal/index.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/devicePanelModal/preview/index.vue.d.ts +2 -2
- package/packages/business-components/export-button/hooks/useExport.d.ts +5 -6
- package/packages/business-components/export-button/index.js +89 -87
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/hooks/file.d.ts +1 -0
- package/packages/business-components/import-button/hooks/useImport.d.ts +13 -13
- package/packages/business-components/import-button/index.js +284 -275
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/import-button/src/type.d.ts +2 -0
- package/packages/business-components/import-button/style.css +1 -1
- package/packages/business-components/index.d.ts +1 -0
- package/packages/business-components/index.js +1 -0
- package/packages/business-components/model-table-dialog/index.d.ts +65 -65
- package/packages/business-components/model-table-dialog/src/Index.vue.d.ts +12 -12
- package/packages/business-components/model-table-dialog/src/ModelTable.vue.d.ts +2 -2
- package/packages/business-components/payment/api.d.ts +8 -0
- package/packages/business-components/payment/i18n/index.d.ts +68 -0
- package/packages/business-components/payment/index.d.ts +52 -0
- package/packages/business-components/payment/index.js +1818 -0
- package/packages/business-components/payment/index.js.gz +0 -0
- package/packages/business-components/payment/src/Index.vue.d.ts +7 -0
- package/packages/business-components/payment/style.css +1 -0
- package/packages/business-components/payment/type.d.ts +41 -0
- package/packages/business-components/process-form/i18n/index.d.ts +10 -0
- package/packages/business-components/process-form/index.js +149 -145
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-form/style.css +1 -1
- package/packages/business-components/process-log/index.js +289 -289
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-table/index.d.ts +2 -0
- package/packages/business-components/process-table/index.js +2 -1
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/process-table/src/App.vue.d.ts +3 -3
- package/packages/business-components/process-table/src/type.d.ts +2 -0
- package/packages/components/autocomplete/index.d.ts +9 -9
- package/packages/components/autocomplete/index.js +1 -1
- package/packages/components/autocomplete/index.js.gz +0 -0
- package/packages/components/autocomplete/src/index.vue.d.ts +1 -1
- package/packages/components/autocomplete/src/type.d.ts +5 -0
- package/packages/components/autocomplete/style.css +1 -1
- package/packages/components/autocomplete/style.css.gz +0 -0
- package/packages/components/calendar/index.d.ts +5 -5
- package/packages/components/calendar/src/Index.vue.d.ts +2 -2
- package/packages/components/calendar/src/old-Index.vue.d.ts +2 -2
- package/packages/components/cascader/index.d.ts +9 -9
- package/packages/components/cascader/src/Index.vue.d.ts +1 -1
- package/packages/components/color-picker/index.js +4 -4
- package/packages/components/color-picker/index.js.gz +0 -0
- package/packages/components/color-picker/src/type.d.ts +6 -3
- package/packages/components/color-picker/style.css +1 -1
- package/packages/components/color-picker/style.css.gz +0 -0
- package/packages/components/date-picker/index.d.ts +30 -25
- package/packages/components/date-picker/index.js +543 -525
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/date-picker/src/DatePicker.vue.d.ts +2 -2
- package/packages/components/date-picker/src/DateRangePicker.vue.d.ts +4 -2
- package/packages/components/date-picker/src/RangePicker.vue.d.ts +2 -2
- package/packages/components/date-picker/src/TimePicker.vue.d.ts +2 -2
- package/packages/components/date-picker/src/TimeRangePicker.vue.d.ts +2 -2
- package/packages/components/date-picker/style.css +1 -1
- package/packages/components/date-picker/style.css.gz +0 -0
- package/packages/components/dialog/index.js +1 -1
- package/packages/components/dialog/index.js.gz +0 -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 +2 -2
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dimple-layout/style.css +1 -1
- package/packages/components/dimple-layout/style.css.gz +0 -0
- package/packages/components/edit-table/index.d.ts +27 -7
- package/packages/components/edit-table/index.js +1637 -1499
- package/packages/components/edit-table/index.js.gz +0 -0
- package/packages/components/edit-table/src/components/index.d.ts +1 -0
- package/packages/components/edit-table/src/components/row-button/index.vue.d.ts +5 -0
- package/packages/components/edit-table/src/components/row-button/type.d.ts +13 -0
- package/packages/components/edit-table/src/index.vue.d.ts +8 -4
- package/packages/components/edit-table/src/type.d.ts +15 -3
- package/packages/components/edit-table/src/utils.d.ts +1 -1
- package/packages/components/edit-table/style.css +1 -1
- package/packages/components/edit-table/style.css.gz +0 -0
- package/packages/components/empty/index.d.ts +3 -3
- package/packages/components/empty/src/Index.vue.d.ts +1 -1
- package/packages/components/index.d.ts +1 -0
- package/packages/components/index.js +1 -0
- package/packages/components/map/index.js +82 -85
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/map/style.css +1 -1
- package/packages/components/menu-aside/index.js +154 -153
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/menu-aside/style.css +1 -1
- package/packages/components/menu-aside/style.css.gz +0 -0
- package/packages/components/menu-header/index.js +24 -23
- package/packages/components/menu-header/index.js.gz +0 -0
- package/packages/components/pagination/index.d.ts +23 -23
- package/packages/components/pagination/index.js +101 -98
- package/packages/components/pagination/index.js.gz +0 -0
- package/packages/components/pagination/src/Pagination.vue.d.ts +3 -3
- package/packages/components/pagination/style.css +1 -1
- package/packages/components/pagination/style.css.gz +0 -0
- package/packages/components/popup-mask/index.d.ts +9 -9
- package/packages/components/popup-mask/src/Index.vue.d.ts +1 -1
- package/packages/components/preview/index.d.ts +3 -3
- package/packages/components/preview/src/Index.vue.d.ts +1 -1
- package/packages/components/search-form/index.js +241 -240
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/search-form/src/Index.vue.d.ts +3 -1
- package/packages/components/search-form/src/InputSelect.vue.d.ts +2 -2
- package/packages/components/search-form/src/SearchDateRange.vue.d.ts +2 -2
- package/packages/components/search-form/src/type.d.ts +3 -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 +17 -17
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select-input/index.d.ts +2 -2
- package/packages/components/select-input/src/Index.vue.d.ts +2 -2
- package/packages/components/select-list/index.js +176 -174
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/select-list/style.css +1 -1
- package/packages/components/select-list/style.css.gz +0 -0
- package/packages/components/select-list/theme/index.d.ts +2 -0
- package/packages/components/table/index.d.ts +18 -18
- package/packages/components/table/index.js +82 -81
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/src/Table.vue.d.ts +1 -1
- package/packages/components/table/src/hooks/use-operation.d.ts +1 -1
- package/packages/components/table/src/table-column/index.vue.d.ts +1 -1
- package/packages/components/table/style.css +1 -1
- package/packages/components/table/style.css.gz +0 -0
- package/packages/components/tabs/index.js +61 -60
- package/packages/components/tabs/index.js.gz +0 -0
- package/packages/components/tabs/style.css +1 -1
- package/packages/components/tabs/style.css.gz +0 -0
- package/packages/components/text-tooltip/index.js +702 -695
- package/packages/components/text-tooltip/index.js.gz +0 -0
- package/packages/components/tooltip/index.js +43 -42
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tooltip/style.css +1 -1
- package/packages/components/tooltip/style.css.gz +0 -0
- package/packages/components/tree/index.js +290 -294
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree/src/type.d.ts +6 -3
- package/packages/components/tree-select/index.js +50 -49
- package/packages/components/tree-select/index.js.gz +0 -0
- package/packages/components/tree-select/src/App.vue.d.ts +1 -0
- package/packages/components/tree-select/src/type.d.ts +3 -0
- package/packages/components/tree-v2/i18n/index.d.ts +31 -0
- package/packages/components/tree-v2/index.d.ts +585 -0
- package/packages/components/tree-v2/index.js +3371 -0
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/components/tree-v2/src/App.vue.d.ts +99 -0
- package/packages/components/tree-v2/src/empty.vue.d.ts +19 -0
- package/packages/components/tree-v2/src/expand-icon.vue.d.ts +2 -0
- package/packages/components/tree-v2/src/hooks/use-lazy-tree.d.ts +15 -0
- package/packages/components/tree-v2/src/hooks/use-style.d.ts +5 -0
- package/packages/components/tree-v2/src/hooks/use-tree.d.ts +43 -0
- package/packages/components/tree-v2/src/type.d.ts +283 -0
- package/packages/components/tree-v2/src/utils.d.ts +18 -0
- package/packages/components/tree-v2/style.css +1 -0
- package/packages/components/tree-v2/style.css.gz +0 -0
- package/packages/components/tree-v2/theme/base.d.ts +16 -0
- package/packages/icons/index.d.ts +1 -0
- package/packages/icons/index.js +1 -0
- package/packages/icons/input-select/index.d.ts +1 -0
- package/packages/icons/input-select/index.js +17 -0
- package/packages/icons/input-select/index.js.gz +0 -0
- package/packages/icons/input-select/index.vue.d.ts +16 -0
package/esm-map.json
CHANGED
|
@@ -388,5 +388,12 @@
|
|
|
388
388
|
"DasIconExit": "/packages/icons/exit/index",
|
|
389
389
|
"DasIconGlobal": "/packages/icons/global/index",
|
|
390
390
|
"DasIconSystem": "/packages/icons/system/index",
|
|
391
|
-
"DasIconPasswordLock2": "/packages/icons/password-lock2/index"
|
|
391
|
+
"DasIconPasswordLock2": "/packages/icons/password-lock2/index",
|
|
392
|
+
"DasIconInputSelect": "/packages/icons/input-select/index",
|
|
393
|
+
"DasTreeV2": "/packages/components/tree-v2/index",
|
|
394
|
+
"DasTreeV2Ref": "/packages/components/tree-v2/index",
|
|
395
|
+
"DasPaymentRef": "/packages/business-components/payment/index",
|
|
396
|
+
"DasPayment": "/packages/business-components/payment/index",
|
|
397
|
+
"ProviderMenu": "/packages/business-components/payment/index",
|
|
398
|
+
"PayStatusCode": "/packages/business-components/payment/index"
|
|
392
399
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@das-fed/ui",
|
|
3
|
-
"version": "6.4.0-test.
|
|
3
|
+
"version": "6.4.0-test.7.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@antv/x6-plugin-snapline": "^2.1.7",
|
|
27
27
|
"@antv/x6-plugin-transform": "^2.1.8",
|
|
28
28
|
"@antv/x6-vue-shape": "^2.1.2",
|
|
29
|
-
"@das-fed/cli": "6.4.0-test.
|
|
29
|
+
"@das-fed/cli": "6.4.0-test.7.1",
|
|
30
30
|
"@element-plus/icons-vue": "^2.3.1",
|
|
31
31
|
"@types/lodash": "^4.14.194",
|
|
32
32
|
"@types/lodash-es": "^4.17.9",
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
"vue-tsc": "^2.0.29"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@das-fed/ui": "6.4.0-test.
|
|
60
|
-
"@das-fed/utils": "6.4.0-test.
|
|
61
|
-
"@das-fed/web": "6.4.0-test.
|
|
59
|
+
"@das-fed/ui": "6.4.0-test.7.1",
|
|
60
|
+
"@das-fed/utils": "6.4.0-test.7.1",
|
|
61
|
+
"@das-fed/web": "6.4.0-test.7.1",
|
|
62
62
|
"@wangeditor/editor": "^5.1.23",
|
|
63
63
|
"@wangeditor/editor-for-vue": "^5.1.12",
|
|
64
64
|
"@wangeditor/plugin-upload-attachment": "^1.1.0",
|
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
"nanoid": "3.2.0",
|
|
75
75
|
"overlayscrollbars": "2.6.1",
|
|
76
76
|
"pinia": "^2.1.7",
|
|
77
|
+
"qrcode": "^1.5.4",
|
|
77
78
|
"sortablejs": "^1.15.2",
|
|
78
79
|
"vue-virtual-scroller": "2.0.0-beta.8"
|
|
79
80
|
},
|
|
@@ -1,126 +1,150 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/business-components/app-container/style.css';
|
|
2
|
-
import { withInstall as
|
|
3
|
-
import { defineComponent as
|
|
4
|
-
import { ElRow as
|
|
2
|
+
import { withInstall as q } from "@das-fed/utils/with-install/index";
|
|
3
|
+
import { defineComponent as B, computed as S, ref as O, watch as U, onMounted as V, withDirectives as f, openBlock as a, createElementBlock as l, normalizeClass as $, normalizeStyle as C, Fragment as h, renderList as u, createElementVNode as c, toDisplayString as g, createBlock as y, unref as i, withCtx as k, createTextVNode as w } from "vue";
|
|
4
|
+
import { ElRow as L, ElCol as M } from "element-plus";
|
|
5
5
|
import "element-plus/es/components/row/style/css";
|
|
6
6
|
import "element-plus/es/components/col/style/css";
|
|
7
|
-
import { DasEmpty as
|
|
8
|
-
import { vOverlay as
|
|
9
|
-
import { vDasTooltip as
|
|
10
|
-
import { pureImageSrc as
|
|
11
|
-
import { setThemeRule as
|
|
12
|
-
const
|
|
7
|
+
import { DasEmpty as P } from "@das-fed/ui/packages/components/empty/index";
|
|
8
|
+
import { vOverlay as G } from "@das-fed/ui/packages/components/overlay/index";
|
|
9
|
+
import { vDasTooltip as z } from "@das-fed/ui/packages/components/text-tooltip/index";
|
|
10
|
+
import { pureImageSrc as x } from "@das-fed/utils/pure-image-src";
|
|
11
|
+
import { setThemeRule as H } from "@das-fed/web/packages/theme/index";
|
|
12
|
+
const D = {
|
|
13
13
|
"--das-application-app-bg-color": {
|
|
14
|
-
kjl: "#F1F8FF",
|
|
15
|
-
cjb: "#343848",
|
|
16
|
-
ssl: "#2D314F"
|
|
17
|
-
},
|
|
18
|
-
"--das-application-app-border-color": {
|
|
19
14
|
kjl: "#2673DC",
|
|
20
15
|
cjb: "#343848",
|
|
21
16
|
ssl: "#2D314F"
|
|
22
17
|
},
|
|
23
18
|
"--das-application-app-color": {
|
|
24
|
-
kjl: "#
|
|
19
|
+
kjl: "#FFFFFF",
|
|
25
20
|
cjb: "#FFFFFF",
|
|
26
21
|
ssl: "#FFFFFF"
|
|
27
22
|
}
|
|
28
|
-
},
|
|
23
|
+
}, J = {
|
|
29
24
|
key: 0,
|
|
30
25
|
class: "application-list"
|
|
31
|
-
},
|
|
26
|
+
}, K = { class: "app-box" }, Q = { class: "cell cell-title" }, X = { class: "app-name" }, Y = { class: "cell app-list" }, Z = ["onClick"], b = ["src"], A = { class: "box-right" }, tt = { class: "name" }, et = { class: "describe" }, ot = /* @__PURE__ */ B({
|
|
32
27
|
__name: "index",
|
|
33
28
|
props: {
|
|
34
29
|
theme: { default: "default" },
|
|
35
30
|
appCategorys: { default: () => [] }
|
|
36
31
|
},
|
|
37
32
|
emits: ["open-app"],
|
|
38
|
-
setup(
|
|
39
|
-
const
|
|
33
|
+
setup(j, { emit: E }) {
|
|
34
|
+
const p = j, T = E, N = S(() => {
|
|
40
35
|
const t = {};
|
|
41
|
-
return
|
|
42
|
-
|
|
36
|
+
return p.theme === "default" || Object.keys(D).forEach((e) => {
|
|
37
|
+
var n;
|
|
38
|
+
t[e] = (n = D[e]) == null ? void 0 : n[p.theme];
|
|
43
39
|
}), t;
|
|
44
|
-
}),
|
|
45
|
-
|
|
40
|
+
}), I = (t) => T("open-app", t), F = O("18px"), _ = (t, e) => {
|
|
41
|
+
if (!e) return;
|
|
42
|
+
if (e.offsetWidth > t) {
|
|
43
|
+
const s = parseInt(window.getComputedStyle(e).fontSize) - 1;
|
|
44
|
+
e.style.fontSize = s + "px", F.value = s + "px", _(t, e);
|
|
45
|
+
}
|
|
46
|
+
}, v = async () => {
|
|
47
|
+
await R();
|
|
48
|
+
const t = document.querySelectorAll(".application-content .cell-title .app-name")[0];
|
|
49
|
+
if (!t) return;
|
|
50
|
+
const e = parseInt(getComputedStyle(t).paddingRight) || 0, n = t.clientWidth - e;
|
|
51
|
+
let r = 0, s = null;
|
|
52
|
+
document.querySelectorAll(".application-content .cell-title .app-name > .text").forEach((d) => {
|
|
53
|
+
const m = d.offsetWidth;
|
|
54
|
+
m > r && (r = m, s = d);
|
|
55
|
+
}), _(n, s);
|
|
56
|
+
}, R = () => new Promise((t) => {
|
|
57
|
+
const e = () => {
|
|
58
|
+
const n = document.querySelectorAll(".application-content .cell-title .app-name");
|
|
59
|
+
if ((n == null ? void 0 : n.length) === p.appCategorys.length) return t();
|
|
60
|
+
setTimeout(() => e(), 50);
|
|
61
|
+
};
|
|
62
|
+
e();
|
|
63
|
+
}), W = S(() => p.appCategorys.map((t) => t.name));
|
|
64
|
+
return U(() => W.value, v, { deep: !0 }), V(v), (t, e) => f((a(), l(
|
|
46
65
|
"div",
|
|
47
66
|
{
|
|
48
|
-
class:
|
|
49
|
-
style:
|
|
67
|
+
class: $(["application-content", `theme-${t.theme}`]),
|
|
68
|
+
style: C(N.value)
|
|
50
69
|
},
|
|
51
70
|
[
|
|
52
|
-
t.appCategorys && t.appCategorys.length ? (
|
|
53
|
-
(
|
|
54
|
-
|
|
71
|
+
t.appCategorys && t.appCategorys.length ? (a(), l("div", J, [
|
|
72
|
+
(a(!0), l(
|
|
73
|
+
h,
|
|
55
74
|
null,
|
|
56
|
-
|
|
57
|
-
(
|
|
58
|
-
key:
|
|
75
|
+
u(t.appCategorys, (n, r) => (a(), l("div", K, [
|
|
76
|
+
(a(), l("div", {
|
|
77
|
+
key: r,
|
|
59
78
|
class: "row"
|
|
60
79
|
}, [
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
80
|
+
c("div", Q, [
|
|
81
|
+
c("div", X, [
|
|
82
|
+
c(
|
|
83
|
+
"span",
|
|
84
|
+
{
|
|
85
|
+
class: "text",
|
|
86
|
+
style: C({ fontSize: F.value })
|
|
87
|
+
},
|
|
88
|
+
g(n.name),
|
|
89
|
+
5
|
|
90
|
+
/* TEXT, STYLE */
|
|
91
|
+
)
|
|
92
|
+
])
|
|
69
93
|
]),
|
|
70
|
-
|
|
71
|
-
(
|
|
72
|
-
|
|
94
|
+
c("div", Y, [
|
|
95
|
+
(a(!0), l(
|
|
96
|
+
h,
|
|
73
97
|
null,
|
|
74
|
-
n
|
|
75
|
-
|
|
98
|
+
u(n.apps, (s) => (a(), y(
|
|
99
|
+
i(L),
|
|
76
100
|
{
|
|
77
101
|
class: "app-row",
|
|
78
102
|
gutter: 20
|
|
79
103
|
},
|
|
80
104
|
{
|
|
81
|
-
default:
|
|
82
|
-
(
|
|
83
|
-
|
|
105
|
+
default: k(() => [
|
|
106
|
+
(a(!0), l(
|
|
107
|
+
h,
|
|
84
108
|
null,
|
|
85
|
-
|
|
86
|
-
|
|
109
|
+
u(s, (o, d) => (a(), y(
|
|
110
|
+
i(M),
|
|
87
111
|
{
|
|
88
112
|
class: "app-col",
|
|
89
|
-
key:
|
|
113
|
+
key: d,
|
|
90
114
|
span: 6
|
|
91
115
|
},
|
|
92
116
|
{
|
|
93
|
-
default:
|
|
94
|
-
|
|
117
|
+
default: k(() => [
|
|
118
|
+
c("div", {
|
|
95
119
|
class: "sub-app",
|
|
96
|
-
onClick: (
|
|
120
|
+
onClick: (m) => I(o)
|
|
97
121
|
}, [
|
|
98
|
-
|
|
122
|
+
c("img", {
|
|
99
123
|
class: "img",
|
|
100
|
-
src:
|
|
124
|
+
src: o != null && o.iconDomain ? o.iconDomain + i(x)(o == null ? void 0 : o.iconUrl) : i(x)(o == null ? void 0 : o.iconUrl),
|
|
101
125
|
alt: ""
|
|
102
|
-
}, null, 8,
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
126
|
+
}, null, 8, b),
|
|
127
|
+
c("div", A, [
|
|
128
|
+
f((a(), l("div", tt, [
|
|
129
|
+
w(
|
|
130
|
+
g(o.name),
|
|
107
131
|
1
|
|
108
132
|
/* TEXT */
|
|
109
133
|
)
|
|
110
134
|
])), [
|
|
111
|
-
[
|
|
135
|
+
[i(z)]
|
|
112
136
|
]),
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
137
|
+
f((a(), l("div", et, [
|
|
138
|
+
w(
|
|
139
|
+
g(o.description),
|
|
116
140
|
1
|
|
117
141
|
/* TEXT */
|
|
118
142
|
)
|
|
119
143
|
])), [
|
|
120
|
-
[
|
|
144
|
+
[i(z)]
|
|
121
145
|
])
|
|
122
146
|
])
|
|
123
|
-
], 8,
|
|
147
|
+
], 8, Z)
|
|
124
148
|
]),
|
|
125
149
|
_: 2
|
|
126
150
|
/* DYNAMIC */
|
|
@@ -147,7 +171,7 @@ const g = {
|
|
|
147
171
|
256
|
|
148
172
|
/* UNKEYED_FRAGMENT */
|
|
149
173
|
))
|
|
150
|
-
])) : (
|
|
174
|
+
])) : (a(), y(i(P), {
|
|
151
175
|
key: 1,
|
|
152
176
|
size: "large"
|
|
153
177
|
}))
|
|
@@ -155,19 +179,18 @@ const g = {
|
|
|
155
179
|
6
|
|
156
180
|
/* CLASS, STYLE */
|
|
157
181
|
)), [
|
|
158
|
-
[
|
|
182
|
+
[i(G)]
|
|
159
183
|
]);
|
|
160
184
|
}
|
|
161
|
-
}),
|
|
185
|
+
}), nt = {
|
|
162
186
|
"--das-application-app-bg-color": "#343848",
|
|
163
|
-
"--das-application-app-border-color": "#343848",
|
|
164
187
|
"--das-application-app-color": "#ffffff",
|
|
165
188
|
"--das-application-subapp-bg-color": "#ffffff",
|
|
166
189
|
"--das-application-subapp-name-color": "#212121",
|
|
167
190
|
"--das-application-subapp-describe-color": "#999999"
|
|
168
191
|
};
|
|
169
|
-
|
|
170
|
-
const
|
|
192
|
+
H(nt);
|
|
193
|
+
const ht = q(ot);
|
|
171
194
|
export {
|
|
172
|
-
|
|
195
|
+
ht as DasAppContainer
|
|
173
196
|
};
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.application-content{position:relative;width:100%;height:100%;padding:30px 20px;box-sizing:border-box}.application-content .application-list{width:100%;display:table}.application-content .application-list .app-box{width:100%;margin-bottom:20px;display:table}.application-content .application-list .app-box .row{display:table-row}.application-content .application-list .app-box .row .cell{display:table-cell}.application-content .application-list .app-box .row .cell.cell-title{width:110px;font-size:0;vertical-align:middle;color:var(--das-application-app-color);background-color:var(--das-application-app-bg-color);position:relative}.application-content .application-list .app-box .row .cell.cell-title
|
|
1
|
+
.application-content{position:relative;width:100%;height:100%;padding:30px 20px;box-sizing:border-box}.application-content .application-list{width:100%;display:table}.application-content .application-list .app-box{width:100%;margin-bottom:20px;display:table}.application-content .application-list .app-box .row{display:table-row}.application-content .application-list .app-box .row .cell{display:table-cell}.application-content .application-list .app-box .row .cell.cell-title{width:110px;font-size:0;vertical-align:middle;color:var(--das-application-app-color);background-color:var(--das-application-app-bg-color);position:relative}.application-content .application-list .app-box .row .cell.cell-title .app-name{width:110px;height:100%;font-size:18px;text-align:center;box-sizing:border-box;padding:25px 8px}.application-content .application-list .app-box .row .cell.app-list{padding-left:20px;box-sizing:border-box;width:calc(100% - 110px)}.application-content .application-list .app-box .row .cell.app-list .app-row:not(:first-child){margin-top:20px}.application-content .application-list .app-box .row .cell.app-list .app-row .app-col .sub-app{height:100%;box-shadow:0 4px 12px #86a2d233;background-color:var(--das-application-subapp-bg-color);padding:25px 30px;display:flex;cursor:pointer}.application-content .application-list .app-box .row .cell.app-list .app-row .app-col .sub-app .img{width:48px;height:48px;border-radius:6px}.application-content .application-list .app-box .row .cell.app-list .app-row .app-col .sub-app .box-right{padding-left:10px;flex:1;box-sizing:border-box;overflow:hidden}.application-content .application-list .app-box .row .cell.app-list .app-row .app-col .sub-app .box-right .name{font-size:16px;font-weight:400;color:var(--das-application-subapp-name-color)}.application-content .application-list .app-box .row .cell.app-list .app-row .app-col .sub-app .box-right .describe{font-size:12px;font-weight:400;color:var(--das-application-subapp-describe-color)}.application-content .application-list .app-box .row .cell.app-list .app-row .app-col .sub-app:hover,.application-content .application-list .app-box .row .cell.app-list .app-row .app-col .sub-app:active{box-shadow:0 0 20px #0003;border-radius:2px}
|
|
Binary file
|
|
@@ -5,14 +5,14 @@ declare const DasDevicePanelModal: import("@das-fed/utils").SFCWithInstall<impor
|
|
|
5
5
|
setConfigData: (_panelCode: any, _deviceName: any, _devicePanelDetail: any) => Promise<void>;
|
|
6
6
|
setData: (arg1: any, arg2: any) => void;
|
|
7
7
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
openLinkDialog: (...args: any[]) => void;
|
|
8
9
|
closePanel: (...args: any[]) => void;
|
|
9
10
|
updatePanelActive: (...args: any[]) => void;
|
|
10
|
-
openLinkDialog: (...args: any[]) => void;
|
|
11
11
|
resizePanel: (...args: any[]) => void;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<import("./src/components/devicePanelModal/type.js").Prop> & Readonly<{
|
|
13
|
+
onOpenLinkDialog?: ((...args: any[]) => any) | undefined;
|
|
13
14
|
onClosePanel?: ((...args: any[]) => any) | undefined;
|
|
14
15
|
onUpdatePanelActive?: ((...args: any[]) => any) | undefined;
|
|
15
|
-
onOpenLinkDialog?: ((...args: any[]) => any) | undefined;
|
|
16
16
|
onResizePanel?: ((...args: any[]) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
projectId: any;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
alarms: any;
|
|
3
3
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
-
emitFn: (...args: any[]) => void;
|
|
5
4
|
changeType: (...args: any[]) => void;
|
|
5
|
+
emitFn: (...args: any[]) => void;
|
|
6
6
|
}, string, import("vue").PublicProps, Readonly<{
|
|
7
7
|
alarms: any;
|
|
8
8
|
}> & Readonly<{
|
|
9
|
-
onEmitFn?: ((...args: any[]) => any) | undefined;
|
|
10
9
|
onChangeType?: ((...args: any[]) => any) | undefined;
|
|
10
|
+
onEmitFn?: ((...args: any[]) => any) | undefined;
|
|
11
11
|
}>, {
|
|
12
12
|
alarms: any;
|
|
13
13
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
-
emitFn: (...args: any[]) => void;
|
|
3
2
|
changeType: (...args: any[]) => void;
|
|
3
|
+
emitFn: (...args: any[]) => void;
|
|
4
4
|
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
5
|
-
onEmitFn?: ((...args: any[]) => any) | undefined;
|
|
6
5
|
onChangeType?: ((...args: any[]) => any) | undefined;
|
|
6
|
+
onEmitFn?: ((...args: any[]) => any) | undefined;
|
|
7
7
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
8
|
export default _default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
2
|
checkAllFn: (flag: boolean) => void;
|
|
3
3
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
-
emitFn: (...args: any[]) => void;
|
|
5
4
|
changeType: (...args: any[]) => void;
|
|
5
|
+
emitFn: (...args: any[]) => void;
|
|
6
6
|
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
7
|
-
onEmitFn?: ((...args: any[]) => any) | undefined;
|
|
8
7
|
onChangeType?: ((...args: any[]) => any) | undefined;
|
|
8
|
+
onEmitFn?: ((...args: any[]) => any) | undefined;
|
|
9
9
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
10
|
export default _default;
|
|
@@ -2,14 +2,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2
2
|
type: string;
|
|
3
3
|
id: any;
|
|
4
4
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
-
emitFn: (...args: any[]) => void;
|
|
6
5
|
changeType: (...args: any[]) => void;
|
|
6
|
+
emitFn: (...args: any[]) => void;
|
|
7
7
|
}, string, import("vue").PublicProps, Readonly<{
|
|
8
8
|
type: string;
|
|
9
9
|
id: any;
|
|
10
10
|
}> & Readonly<{
|
|
11
|
-
onEmitFn?: ((...args: any[]) => any) | undefined;
|
|
12
11
|
onChangeType?: ((...args: any[]) => any) | undefined;
|
|
12
|
+
onEmitFn?: ((...args: any[]) => any) | undefined;
|
|
13
13
|
}>, {
|
|
14
14
|
type: string;
|
|
15
15
|
id: any;
|
package/packages/business-components/device-panel/src/components/alarmDevicePanel/index.vue.d.ts
CHANGED
|
@@ -12,9 +12,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
resizeH: () => void;
|
|
13
13
|
setConfigData: (_panelCode: any, alarmTime: any) => Promise<void>;
|
|
14
14
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
openLinkDialog: (...args: any[]) => void;
|
|
15
16
|
closePanel: (...args: any[]) => void;
|
|
16
17
|
updatePanelActive: (...args: any[]) => void;
|
|
17
|
-
openLinkDialog: (...args: any[]) => void;
|
|
18
18
|
resizePanel: (...args: any[]) => void;
|
|
19
19
|
}, string, import("vue").PublicProps, Readonly<{
|
|
20
20
|
type: string;
|
|
@@ -26,9 +26,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
26
|
heardHeight: number;
|
|
27
27
|
alarmDataArr?: any;
|
|
28
28
|
}> & Readonly<{
|
|
29
|
+
onOpenLinkDialog?: ((...args: any[]) => any) | undefined;
|
|
29
30
|
onClosePanel?: ((...args: any[]) => any) | undefined;
|
|
30
31
|
onUpdatePanelActive?: ((...args: any[]) => any) | undefined;
|
|
31
|
-
onOpenLinkDialog?: ((...args: any[]) => any) | undefined;
|
|
32
32
|
onResizePanel?: ((...args: any[]) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
34
|
projectId: any;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
alarms: any;
|
|
3
3
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
-
emitFn: (...args: any[]) => void;
|
|
5
4
|
changeType: (...args: any[]) => void;
|
|
5
|
+
emitFn: (...args: any[]) => void;
|
|
6
6
|
}, string, import("vue").PublicProps, Readonly<{
|
|
7
7
|
alarms: any;
|
|
8
8
|
}> & Readonly<{
|
|
9
|
-
onEmitFn?: ((...args: any[]) => any) | undefined;
|
|
10
9
|
onChangeType?: ((...args: any[]) => any) | undefined;
|
|
10
|
+
onEmitFn?: ((...args: any[]) => any) | undefined;
|
|
11
11
|
}>, {
|
|
12
12
|
alarms: any;
|
|
13
13
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
-
emitFn: (...args: any[]) => void;
|
|
3
2
|
changeType: (...args: any[]) => void;
|
|
3
|
+
emitFn: (...args: any[]) => void;
|
|
4
4
|
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
5
|
-
onEmitFn?: ((...args: any[]) => any) | undefined;
|
|
6
5
|
onChangeType?: ((...args: any[]) => any) | undefined;
|
|
6
|
+
onEmitFn?: ((...args: any[]) => any) | undefined;
|
|
7
7
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
8
|
export default _default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
2
|
checkAllFn: (flag: boolean) => void;
|
|
3
3
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
-
emitFn: (...args: any[]) => void;
|
|
5
4
|
changeType: (...args: any[]) => void;
|
|
5
|
+
emitFn: (...args: any[]) => void;
|
|
6
6
|
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
7
|
-
onEmitFn?: ((...args: any[]) => any) | undefined;
|
|
8
7
|
onChangeType?: ((...args: any[]) => any) | undefined;
|
|
8
|
+
onEmitFn?: ((...args: any[]) => any) | undefined;
|
|
9
9
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
10
|
export default _default;
|
|
@@ -2,14 +2,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2
2
|
type: string;
|
|
3
3
|
id: any;
|
|
4
4
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
-
emitFn: (...args: any[]) => void;
|
|
6
5
|
changeType: (...args: any[]) => void;
|
|
6
|
+
emitFn: (...args: any[]) => void;
|
|
7
7
|
}, string, import("vue").PublicProps, Readonly<{
|
|
8
8
|
type: string;
|
|
9
9
|
id: any;
|
|
10
10
|
}> & Readonly<{
|
|
11
|
-
onEmitFn?: ((...args: any[]) => any) | undefined;
|
|
12
11
|
onChangeType?: ((...args: any[]) => any) | undefined;
|
|
12
|
+
onEmitFn?: ((...args: any[]) => any) | undefined;
|
|
13
13
|
}>, {
|
|
14
14
|
type: string;
|
|
15
15
|
id: any;
|
package/packages/business-components/device-panel/src/components/devicePanelModal/index.vue.d.ts
CHANGED
|
@@ -5,14 +5,14 @@ declare const _default: import("vue").DefineComponent<Prop, {
|
|
|
5
5
|
setConfigData: (_panelCode: any, _deviceName: any, _devicePanelDetail: any) => Promise<void>;
|
|
6
6
|
setData: (arg1: any, arg2: any) => void;
|
|
7
7
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
openLinkDialog: (...args: any[]) => void;
|
|
8
9
|
closePanel: (...args: any[]) => void;
|
|
9
10
|
updatePanelActive: (...args: any[]) => void;
|
|
10
|
-
openLinkDialog: (...args: any[]) => void;
|
|
11
11
|
resizePanel: (...args: any[]) => void;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<Prop> & Readonly<{
|
|
13
|
+
onOpenLinkDialog?: ((...args: any[]) => any) | undefined;
|
|
13
14
|
onClosePanel?: ((...args: any[]) => any) | undefined;
|
|
14
15
|
onUpdatePanelActive?: ((...args: any[]) => any) | undefined;
|
|
15
|
-
onOpenLinkDialog?: ((...args: any[]) => any) | undefined;
|
|
16
16
|
onResizePanel?: ((...args: any[]) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
projectId: any;
|
|
@@ -10,9 +10,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
10
|
setColors: (_config: any) => void;
|
|
11
11
|
setConfigData: (_panelCode: any, _deviceName: any) => Promise<void>;
|
|
12
12
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
openLinkDialog: (...args: any[]) => void;
|
|
13
14
|
closePanel: (...args: any[]) => void;
|
|
14
15
|
updatePanelActive: (...args: any[]) => void;
|
|
15
|
-
openLinkDialog: (...args: any[]) => void;
|
|
16
16
|
resizePanel: (...args: any[]) => void;
|
|
17
17
|
}, string, import("vue").PublicProps, Readonly<{
|
|
18
18
|
type: string;
|
|
@@ -22,9 +22,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
22
|
previewFooterMenus?: any;
|
|
23
23
|
detailInfo: any;
|
|
24
24
|
}> & Readonly<{
|
|
25
|
+
onOpenLinkDialog?: ((...args: any[]) => any) | undefined;
|
|
25
26
|
onClosePanel?: ((...args: any[]) => any) | undefined;
|
|
26
27
|
onUpdatePanelActive?: ((...args: any[]) => any) | undefined;
|
|
27
|
-
onOpenLinkDialog?: ((...args: any[]) => any) | undefined;
|
|
28
28
|
onResizePanel?: ((...args: any[]) => any) | undefined;
|
|
29
29
|
}>, {
|
|
30
30
|
projectId: any;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
1
|
export declare const useExport: (props: any, emits: any) => {
|
|
3
|
-
showProgressDialog: Ref<boolean, boolean>;
|
|
4
|
-
progressTitle: Ref<string, string>;
|
|
5
|
-
percent: Ref<number, number>;
|
|
6
|
-
progressStatus: Ref<string, string>;
|
|
7
|
-
progressLoading: Ref<boolean, boolean>;
|
|
2
|
+
showProgressDialog: import("vue").Ref<boolean, boolean>;
|
|
3
|
+
progressTitle: import("vue").Ref<string, string>;
|
|
4
|
+
percent: import("vue").Ref<number, number>;
|
|
5
|
+
progressStatus: import("vue").Ref<string, string>;
|
|
6
|
+
progressLoading: import("vue").Ref<boolean, boolean>;
|
|
8
7
|
exportList: (params: any, bodyParams: any) => void;
|
|
9
8
|
};
|