@das-fed/ui 7.1.0-dev.8 → 7.1.0-dev.9

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.
@@ -16,7 +16,6 @@ export * from './process-form';
16
16
  export * from './process-log';
17
17
  export * from './process-search-form';
18
18
  export * from './process-table';
19
- export * from './update-confirm-dialog';
20
19
  export * from './upload-file';
21
20
  export * from './urgent-panel';
22
21
  export * from './user-org-dialog';
@@ -16,7 +16,6 @@ export * from './process-form'
16
16
  export * from './process-log'
17
17
  export * from './process-search-form'
18
18
  export * from './process-table'
19
- export * from './update-confirm-dialog'
20
19
  export * from './upload-file'
21
20
  export * from './urgent-panel'
22
21
  export * from './user-org-dialog'
@@ -1,23 +0,0 @@
1
- declare const _default: {
2
- 操作确认: {
3
- 'zh-CN': string;
4
- en: string;
5
- };
6
- '\u751F\u6548\u540E\uFF0C\u5373\u5237\u65B0\u7CFB\u7EDF\uFF0C\u5173\u95ED\u5DF2\u6253\u5F00\u7684\u529F\u80FD\u9875\u7B7E': {
7
- 'zh-CN': string;
8
- en: string;
9
- };
10
- '\u786E\u5B9A\u8981\u7ACB\u5373\u751F\u6548\u5417\uFF1F': {
11
- 'zh-CN': string;
12
- en: string;
13
- };
14
- 稍后: {
15
- 'zh-CN': string;
16
- en: string;
17
- };
18
- 立即生效: {
19
- 'zh-CN': string;
20
- en: string;
21
- };
22
- };
23
- export default _default;
@@ -1,61 +0,0 @@
1
- declare const DasUpdateConfirmDialog: import("@das-fed/utils").SFCWithInstall<import("vue").DefineComponent<{}, {
2
- open: () => void;
3
- close: () => void;
4
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
5
- cancel: () => any;
6
- confirm: () => any;
7
- }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
8
- onCancel?: (() => any) | undefined;
9
- onConfirm?: (() => any) | undefined;
10
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
11
- /** 获取组件实例 */
12
- declare const DasUpdateConfirmDialogRef: () => import("vue").Ref<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
13
- onCancel?: (() => any) | undefined;
14
- onConfirm?: (() => any) | undefined;
15
- }>, {
16
- open: () => void;
17
- close: () => void;
18
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
19
- cancel: () => any;
20
- confirm: () => any;
21
- }, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
22
- P: {};
23
- B: {};
24
- D: {};
25
- C: {};
26
- M: {};
27
- Defaults: {};
28
- }, Readonly<{}> & Readonly<{
29
- onCancel?: (() => any) | undefined;
30
- onConfirm?: (() => any) | undefined;
31
- }>, {
32
- open: () => void;
33
- close: () => void;
34
- }, {}, {}, {}, {}> | null, import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
35
- onCancel?: (() => any) | undefined;
36
- onConfirm?: (() => any) | undefined;
37
- }>, {
38
- open: () => void;
39
- close: () => void;
40
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
41
- cancel: () => any;
42
- confirm: () => any;
43
- }, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
44
- P: {};
45
- B: {};
46
- D: {};
47
- C: {};
48
- M: {};
49
- Defaults: {};
50
- }, Readonly<{}> & Readonly<{
51
- onCancel?: (() => any) | undefined;
52
- onConfirm?: (() => any) | undefined;
53
- }>, {
54
- open: () => void;
55
- close: () => void;
56
- }, {}, {}, {}, {}> | null>;
57
- export { DasUpdateConfirmDialog, DasUpdateConfirmDialogRef };
58
- declare const _default: {
59
- title: string;
60
- };
61
- export default _default;
@@ -1,105 +0,0 @@
1
- import { withInstall as g } from "@das-fed/utils/with-install/index";
2
- import { defineComponent as k, ref as d, createBlock as v, openBlock as z, unref as e, withCtx as n, createElementVNode as l, toDisplayString as a, createVNode as m, createTextVNode as c } from "vue";
3
- import { DasDialog as D } from "@das-fed/ui/packages/components/dialog/index";
4
- import { DasButton as f } from "@das-fed/ui/packages/components/button/index";
5
- import { t, setI18nRule as N } from "@das-fed/web/packages/i18n/index";
6
- const b = { class: "tips" }, x = { class: "tips" }, w = /* @__PURE__ */ k({
7
- __name: "App",
8
- emits: ["confirm", "cancel"],
9
- setup(A, { expose: p, emit: u }) {
10
- const s = u, o = d(!1), C = () => {
11
- o.value = !0;
12
- }, i = () => {
13
- o.value = !1;
14
- }, _ = () => {
15
- s("confirm"), i();
16
- }, h = () => {
17
- s("cancel"), i();
18
- };
19
- return p({
20
- open: C,
21
- close: i
22
- }), (B, r) => (z(), v(e(D), {
23
- size: "mini",
24
- title: e(t)("操作确认"),
25
- customClass: "portal-management-update-dialog",
26
- modelValue: o.value,
27
- "onUpdate:modelValue": r[0] || (r[0] = (y) => o.value = y),
28
- type: "feedback",
29
- "feed-type": "warning"
30
- }, {
31
- footer: n(() => [
32
- l("div", null, [
33
- m(e(f), {
34
- size: "middle",
35
- onClick: h
36
- }, {
37
- default: n(() => [
38
- c(
39
- a(e(t)("稍后")),
40
- 1
41
- /* TEXT */
42
- )
43
- ]),
44
- _: 1
45
- /* STABLE */
46
- }),
47
- m(e(f), {
48
- btnType: "primary",
49
- block: "",
50
- size: "middle",
51
- style: { "margin-left": "12px" },
52
- onClick: _
53
- }, {
54
- default: n(() => [
55
- c(
56
- a(e(t)("立即生效")),
57
- 1
58
- /* TEXT */
59
- )
60
- ]),
61
- _: 1
62
- /* STABLE */
63
- })
64
- ])
65
- ]),
66
- default: n(() => [
67
- l(
68
- "div",
69
- b,
70
- a(e(t)("生效后,即刷新系统,关闭已打开的功能页签")),
71
- 1
72
- /* TEXT */
73
- ),
74
- l(
75
- "div",
76
- x,
77
- a(e(t)("确定要立即生效吗?")),
78
- 1
79
- /* TEXT */
80
- )
81
- ]),
82
- _: 1
83
- /* STABLE */
84
- }, 8, ["title", "modelValue"]));
85
- }
86
- }), V = {
87
- 操作确认: { "zh-CN": "操作确认", en: "Operation Confirmation" },
88
- "生效后,即刷新系统,关闭已打开的功能页签": {
89
- "zh-CN": "生效后,即刷新系统,关闭已打开的功能页签",
90
- en: "After taking effect, the system will be refreshed, and the opened feature tabs will be closed."
91
- },
92
- "确定要立即生效吗?": {
93
- "zh-CN": "确定要立即生效吗?",
94
- en: "Are you sure you want to take effect immediately?"
95
- },
96
- 稍后: { "zh-CN": "稍后", en: "Later" },
97
- 立即生效: { "zh-CN": "立即生效", en: "Take Effect Immediately" }
98
- };
99
- N(V);
100
- const L = g(w), O = () => d(null), S = { title: "确认是否立即生效组件" };
101
- export {
102
- L as DasUpdateConfirmDialog,
103
- O as DasUpdateConfirmDialogRef,
104
- S as default
105
- };
@@ -1,11 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {
2
- open: () => void;
3
- close: () => void;
4
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
5
- cancel: () => any;
6
- confirm: () => any;
7
- }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
8
- onCancel?: (() => any) | undefined;
9
- onConfirm?: (() => any) | undefined;
10
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
- export default _default;
@@ -1,4 +0,0 @@
1
- export interface Emits {
2
- (e: 'confirm'): void
3
- (e: 'cancel'): void
4
- }