@ironsource/shared-ui 2.1.12-rc.30 → 2.1.12-rc.31

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.
Files changed (67) hide show
  1. package/ColumnPicker.vue_vue_type_style_index_0_scoped_ea8c7024_lang.css +1 -0
  2. package/DialogFooter.vue_vue_type_style_index_0_scoped_8b7f64fe_lang.css +1 -0
  3. package/DialogHeader.vue_vue_type_style_index_0_scoped_9a814ec3_lang.css +1 -0
  4. package/DialogV4.vue_vue_type_style_index_0_scoped_cc99f1e3_lang.css +1 -0
  5. package/OptionChip.vue_vue_type_style_index_0_scoped_538e4a21_lang.css +1 -0
  6. package/OptionV4.vue_vue_type_style_index_0_scoped_752a357d_lang.css +1 -0
  7. package/RemoveButton.vue_vue_type_style_index_0_scoped_ca7fc11d_lang.css +1 -0
  8. package/SortableItem.vue_vue_type_style_index_0_scoped_800cd503_lang.css +1 -0
  9. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_a534c7af_lang.css +1 -0
  10. package/SortableList.vue_vue_type_style_index_0_scoped_84dc8525_lang.css +1 -0
  11. package/TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css +1 -0
  12. package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
  13. package/components/columnPicker/ColumnPicker.vue.d.ts +119 -0
  14. package/components/columnPicker/ColumnPicker.vue.js +7 -0
  15. package/components/columnPicker/ColumnPicker.vue2.js +322 -0
  16. package/components/columnPicker/OptionChip.vue.d.ts +53 -0
  17. package/components/columnPicker/OptionChip.vue.js +7 -0
  18. package/components/columnPicker/OptionChip.vue2.js +46 -0
  19. package/components/columnPicker/RemoveButton.vue.d.ts +38 -0
  20. package/components/columnPicker/RemoveButton.vue.js +7 -0
  21. package/components/columnPicker/RemoveButton.vue2.js +35 -0
  22. package/components/columnPicker/index.d.ts +388 -0
  23. package/components/columnPicker/index.js +6 -0
  24. package/components/columnPicker/mockData.d.ts +8 -0
  25. package/components/dialog/v3/Dialog.vue.d.ts +3 -3
  26. package/components/dialog/v3/index.d.ts +46 -46
  27. package/components/dialog/v4/DialogFooter.vue.d.ts +78 -0
  28. package/components/dialog/v4/DialogFooter.vue.js +7 -0
  29. package/components/dialog/v4/DialogFooter.vue2.js +60 -0
  30. package/components/dialog/v4/DialogHeader.vue.d.ts +60 -0
  31. package/components/dialog/v4/DialogHeader.vue.js +7 -0
  32. package/components/dialog/v4/DialogHeader.vue2.js +58 -0
  33. package/components/dialog/v4/DialogV4.vue.d.ts +9 -9
  34. package/components/dialog/v4/DialogV4.vue.js +3 -3
  35. package/components/dialog/v4/DialogV4.vue2.js +65 -107
  36. package/components/dialog/v4/index.d.ts +157 -157
  37. package/components/dropdown/v4/OptionV4.vue.d.ts +5 -0
  38. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  39. package/components/dropdown/v4/OptionV4.vue2.js +83 -70
  40. package/components/dropdown/v4/index.d.ts +20 -1
  41. package/components/sortableList/SortableItem.vue.d.ts +17 -2
  42. package/components/sortableList/SortableItem.vue.js +3 -3
  43. package/components/sortableList/SortableItem.vue2.js +86 -70
  44. package/components/sortableList/SortableItemLabel.vue.js +3 -3
  45. package/components/sortableList/SortableItemLabel.vue2.js +26 -23
  46. package/components/sortableList/SortableList.types.d.ts +1 -0
  47. package/components/sortableList/SortableList.vue.d.ts +10 -0
  48. package/components/sortableList/SortableList.vue.js +3 -3
  49. package/components/sortableList/SortableList.vue2.js +104 -96
  50. package/components/sortableList/composables/useHoverEffect.js +1 -1
  51. package/components/sortableList/index.d.ts +39 -1
  52. package/components/table/v4/storyUtils.d.ts +17 -0
  53. package/components/tooltip/v4/TooltipV4.vue.d.ts +5 -0
  54. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  55. package/components/tooltip/v4/TooltipV4.vue2.js +18 -17
  56. package/components/tooltip/v4/index.d.ts +20 -1
  57. package/index.d.ts +473 -320
  58. package/index.js +99 -95
  59. package/package.json +5 -1
  60. package/testids/index.d.ts +4 -0
  61. package/testids/index.js +29 -28
  62. package/DialogV4.vue_vue_type_style_index_0_scoped_eb226e31_lang.css +0 -1
  63. package/OptionV4.vue_vue_type_style_index_0_scoped_0287cebf_lang.css +0 -1
  64. package/SortableItem.vue_vue_type_style_index_0_scoped_48542664_lang.css +0 -1
  65. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css +0 -1
  66. package/SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css +0 -1
  67. package/TooltipV4.vue_vue_type_style_index_0_scoped_bcb40ed4_lang.css +0 -1
@@ -8,15 +8,15 @@ declare const DialogTypes: () => ({
8
8
  testId: string;
9
9
  width: string | number;
10
10
  content: string;
11
+ showCloseButton: boolean;
11
12
  appendToBody: boolean;
13
+ showBackdrop: boolean;
12
14
  closeDelay: number;
13
15
  openDelay: number;
14
16
  escapeToClose: boolean;
15
- showBackdrop: boolean;
16
- headerBorder: boolean;
17
17
  closeOnClickOutside: boolean;
18
18
  beforeClose: (show: () => void) => void;
19
- showCloseButton: boolean;
19
+ headerBorder: boolean;
20
20
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
21
21
  title: {
22
22
  type: import("vue").PropType<string>;
@@ -42,10 +42,18 @@ declare const DialogTypes: () => ({
42
42
  type: import("vue").PropType<boolean>;
43
43
  required: true;
44
44
  };
45
+ showCloseButton: {
46
+ type: import("vue").PropType<boolean>;
47
+ default: boolean;
48
+ };
45
49
  appendToBody: {
46
50
  type: import("vue").PropType<boolean>;
47
51
  default: boolean;
48
52
  };
53
+ showBackdrop: {
54
+ type: import("vue").PropType<boolean>;
55
+ default: boolean;
56
+ };
49
57
  closeDelay: {
50
58
  type: import("vue").PropType<number>;
51
59
  default: number;
@@ -58,14 +66,6 @@ declare const DialogTypes: () => ({
58
66
  type: import("vue").PropType<boolean>;
59
67
  default: boolean;
60
68
  };
61
- showBackdrop: {
62
- type: import("vue").PropType<boolean>;
63
- default: boolean;
64
- };
65
- headerBorder: {
66
- type: import("vue").PropType<boolean>;
67
- default: boolean;
68
- };
69
69
  closeOnClickOutside: {
70
70
  type: import("vue").PropType<boolean>;
71
71
  default: boolean;
@@ -74,7 +74,7 @@ declare const DialogTypes: () => ({
74
74
  type: import("vue").PropType<(show: () => void) => void>;
75
75
  default: any;
76
76
  };
77
- showCloseButton: {
77
+ headerBorder: {
78
78
  type: import("vue").PropType<boolean>;
79
79
  default: boolean;
80
80
  };
@@ -82,7 +82,7 @@ declare const DialogTypes: () => ({
82
82
  "onUpdate:modelValue"?: (value: boolean) => any;
83
83
  onClose?: (reason: import("../common/Reason").Reason) => any;
84
84
  onOpen?: () => any;
85
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "themeClass" | "testId" | "width" | "content" | "appendToBody" | "closeDelay" | "openDelay" | "escapeToClose" | "showBackdrop" | "headerBorder" | "closeOnClickOutside" | "beforeClose" | "showCloseButton">;
85
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "themeClass" | "testId" | "width" | "content" | "showCloseButton" | "appendToBody" | "showBackdrop" | "closeDelay" | "openDelay" | "escapeToClose" | "closeOnClickOutside" | "beforeClose" | "headerBorder">;
86
86
  $attrs: {
87
87
  [x: string]: unknown;
88
88
  };
@@ -121,10 +121,18 @@ declare const DialogTypes: () => ({
121
121
  type: import("vue").PropType<boolean>;
122
122
  required: true;
123
123
  };
124
+ showCloseButton: {
125
+ type: import("vue").PropType<boolean>;
126
+ default: boolean;
127
+ };
124
128
  appendToBody: {
125
129
  type: import("vue").PropType<boolean>;
126
130
  default: boolean;
127
131
  };
132
+ showBackdrop: {
133
+ type: import("vue").PropType<boolean>;
134
+ default: boolean;
135
+ };
128
136
  closeDelay: {
129
137
  type: import("vue").PropType<number>;
130
138
  default: number;
@@ -137,14 +145,6 @@ declare const DialogTypes: () => ({
137
145
  type: import("vue").PropType<boolean>;
138
146
  default: boolean;
139
147
  };
140
- showBackdrop: {
141
- type: import("vue").PropType<boolean>;
142
- default: boolean;
143
- };
144
- headerBorder: {
145
- type: import("vue").PropType<boolean>;
146
- default: boolean;
147
- };
148
148
  closeOnClickOutside: {
149
149
  type: import("vue").PropType<boolean>;
150
150
  default: boolean;
@@ -153,7 +153,7 @@ declare const DialogTypes: () => ({
153
153
  type: import("vue").PropType<(show: () => void) => void>;
154
154
  default: any;
155
155
  };
156
- showCloseButton: {
156
+ headerBorder: {
157
157
  type: import("vue").PropType<boolean>;
158
158
  default: boolean;
159
159
  };
@@ -171,15 +171,15 @@ declare const DialogTypes: () => ({
171
171
  testId: string;
172
172
  width: string | number;
173
173
  content: string;
174
+ showCloseButton: boolean;
174
175
  appendToBody: boolean;
176
+ showBackdrop: boolean;
175
177
  closeDelay: number;
176
178
  openDelay: number;
177
179
  escapeToClose: boolean;
178
- showBackdrop: boolean;
179
- headerBorder: boolean;
180
180
  closeOnClickOutside: boolean;
181
181
  beforeClose: (show: () => void) => void;
182
- showCloseButton: boolean;
182
+ headerBorder: boolean;
183
183
  }, {}, string> & {
184
184
  beforeCreate?: (() => void) | (() => void)[];
185
185
  created?: (() => void) | (() => void)[];
@@ -225,10 +225,18 @@ declare const DialogTypes: () => ({
225
225
  type: import("vue").PropType<boolean>;
226
226
  required: true;
227
227
  };
228
+ showCloseButton: {
229
+ type: import("vue").PropType<boolean>;
230
+ default: boolean;
231
+ };
228
232
  appendToBody: {
229
233
  type: import("vue").PropType<boolean>;
230
234
  default: boolean;
231
235
  };
236
+ showBackdrop: {
237
+ type: import("vue").PropType<boolean>;
238
+ default: boolean;
239
+ };
232
240
  closeDelay: {
233
241
  type: import("vue").PropType<number>;
234
242
  default: number;
@@ -241,14 +249,6 @@ declare const DialogTypes: () => ({
241
249
  type: import("vue").PropType<boolean>;
242
250
  default: boolean;
243
251
  };
244
- showBackdrop: {
245
- type: import("vue").PropType<boolean>;
246
- default: boolean;
247
- };
248
- headerBorder: {
249
- type: import("vue").PropType<boolean>;
250
- default: boolean;
251
- };
252
252
  closeOnClickOutside: {
253
253
  type: import("vue").PropType<boolean>;
254
254
  default: boolean;
@@ -257,7 +257,7 @@ declare const DialogTypes: () => ({
257
257
  type: import("vue").PropType<(show: () => void) => void>;
258
258
  default: any;
259
259
  };
260
- showCloseButton: {
260
+ headerBorder: {
261
261
  type: import("vue").PropType<boolean>;
262
262
  default: boolean;
263
263
  };
@@ -294,10 +294,18 @@ declare const DialogTypes: () => ({
294
294
  type: import("vue").PropType<boolean>;
295
295
  required: true;
296
296
  };
297
+ showCloseButton: {
298
+ type: import("vue").PropType<boolean>;
299
+ default: boolean;
300
+ };
297
301
  appendToBody: {
298
302
  type: import("vue").PropType<boolean>;
299
303
  default: boolean;
300
304
  };
305
+ showBackdrop: {
306
+ type: import("vue").PropType<boolean>;
307
+ default: boolean;
308
+ };
301
309
  closeDelay: {
302
310
  type: import("vue").PropType<number>;
303
311
  default: number;
@@ -310,14 +318,6 @@ declare const DialogTypes: () => ({
310
318
  type: import("vue").PropType<boolean>;
311
319
  default: boolean;
312
320
  };
313
- showBackdrop: {
314
- type: import("vue").PropType<boolean>;
315
- default: boolean;
316
- };
317
- headerBorder: {
318
- type: import("vue").PropType<boolean>;
319
- default: boolean;
320
- };
321
321
  closeOnClickOutside: {
322
322
  type: import("vue").PropType<boolean>;
323
323
  default: boolean;
@@ -326,7 +326,7 @@ declare const DialogTypes: () => ({
326
326
  type: import("vue").PropType<(show: () => void) => void>;
327
327
  default: any;
328
328
  };
329
- showCloseButton: {
329
+ headerBorder: {
330
330
  type: import("vue").PropType<boolean>;
331
331
  default: boolean;
332
332
  };
@@ -344,15 +344,15 @@ declare const DialogTypes: () => ({
344
344
  testId: string;
345
345
  width: string | number;
346
346
  content: string;
347
+ showCloseButton: boolean;
347
348
  appendToBody: boolean;
349
+ showBackdrop: boolean;
348
350
  closeDelay: number;
349
351
  openDelay: number;
350
352
  escapeToClose: boolean;
351
- showBackdrop: boolean;
352
- headerBorder: boolean;
353
353
  closeOnClickOutside: boolean;
354
354
  beforeClose: (show: () => void) => void;
355
- showCloseButton: boolean;
355
+ headerBorder: boolean;
356
356
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
357
357
  $slots: {
358
358
  header?(_: {}): any;
@@ -0,0 +1,78 @@
1
+ import { ButtonColor } from '@/components/button/common/consts';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ showCancelButton?: boolean;
4
+ showSaveButton?: boolean;
5
+ saveButtonLabel?: string;
6
+ saveButtonLoading?: boolean;
7
+ saveButtonColor?: ButtonColor;
8
+ cancelButtonLabel?: string;
9
+ cancelButtonColor?: string;
10
+ testId: string;
11
+ }>, {
12
+ showCancelButton: boolean;
13
+ showSaveButton: boolean;
14
+ saveButtonLabel: string;
15
+ saveButtonLoading: boolean;
16
+ saveButtonColor: string;
17
+ cancelButtonLabel: string;
18
+ cancelButtonColor: string;
19
+ testId: string;
20
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
+ save: () => void;
22
+ cancel: () => void;
23
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
24
+ showCancelButton?: boolean;
25
+ showSaveButton?: boolean;
26
+ saveButtonLabel?: string;
27
+ saveButtonLoading?: boolean;
28
+ saveButtonColor?: ButtonColor;
29
+ cancelButtonLabel?: string;
30
+ cancelButtonColor?: string;
31
+ testId: string;
32
+ }>, {
33
+ showCancelButton: boolean;
34
+ showSaveButton: boolean;
35
+ saveButtonLabel: string;
36
+ saveButtonLoading: boolean;
37
+ saveButtonColor: string;
38
+ cancelButtonLabel: string;
39
+ cancelButtonColor: string;
40
+ testId: string;
41
+ }>>> & {
42
+ onCancel?: () => any;
43
+ onSave?: () => any;
44
+ }, {
45
+ testId: string;
46
+ showCancelButton: boolean;
47
+ showSaveButton: boolean;
48
+ saveButtonLabel: string;
49
+ saveButtonLoading: boolean;
50
+ saveButtonColor: ButtonColor;
51
+ cancelButtonLabel: string;
52
+ cancelButtonColor: string;
53
+ }>, {
54
+ footer?(_: {}): any;
55
+ }>;
56
+ export default _default;
57
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
58
+ type __VLS_TypePropsToRuntimeProps<T> = {
59
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
60
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
61
+ } : {
62
+ type: import('vue').PropType<T[K]>;
63
+ required: true;
64
+ };
65
+ };
66
+ type __VLS_WithDefaults<P, D> = {
67
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
68
+ default: D[K];
69
+ }> : P[K];
70
+ };
71
+ type __VLS_Prettify<T> = {
72
+ [K in keyof T]: T[K];
73
+ } & {};
74
+ type __VLS_WithTemplateSlots<T, S> = T & {
75
+ new (): {
76
+ $slots: S;
77
+ };
78
+ };
@@ -0,0 +1,7 @@
1
+ import o from "./DialogFooter.vue2.js";
2
+ /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../DialogFooter.vue_vue_type_style_index_0_scoped_8b7f64fe_lang.css"; //*');
4
+ const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-8b7f64fe"]]);
5
+ export {
6
+ p as default
7
+ };
@@ -0,0 +1,60 @@
1
+ import "../../../DialogFooter.vue_vue_type_style_index_0_scoped_8b7f64fe_lang.css"; import { defineComponent as C, openBlock as l, createElementBlock as T, createElementVNode as g, mergeProps as r, unref as e, renderSlot as L, createBlock as u, withCtx as c, createTextVNode as d, toDisplayString as i, createCommentVNode as f } from "vue";
2
+ import B from "../../button/v4/ButtonV4.vue.js";
3
+ import "../../button/v4/IconButtonV4.vue.js";
4
+ import "../../button/v4/ButtonGroup.vue.js";
5
+ import "../../button/v4/ToggleButtonGroupAB.vue.js";
6
+ import { DialogTestIdModifiers as a } from "../../../testids/index.js";
7
+ import { useTestIdAttrs as N } from "../../../utils/testIds.js";
8
+ const b = { class: "footer" }, O = /* @__PURE__ */ C({
9
+ __name: "DialogFooter",
10
+ props: {
11
+ showCancelButton: { type: Boolean, default: !0 },
12
+ showSaveButton: { type: Boolean, default: !0 },
13
+ saveButtonLabel: { default: "Save" },
14
+ saveButtonLoading: { type: Boolean, default: !1 },
15
+ saveButtonColor: { default: "primary" },
16
+ cancelButtonLabel: { default: "Cancel" },
17
+ cancelButtonColor: { default: "default" },
18
+ testId: { default: "" }
19
+ },
20
+ emits: ["save", "cancel"],
21
+ setup(t, { emit: s }) {
22
+ const n = N(t.testId, a);
23
+ return (m, o) => (l(), T("footer", b, [
24
+ g("div", r({ class: "action-buttons" }, e(n)[e(a).ACTION_BUTTONS_WRAPPER]), [
25
+ L(m.$slots, "footer", {}, () => [
26
+ t.showCancelButton ? (l(), u(e(B), r({
27
+ key: 0,
28
+ class: "form-action",
29
+ variant: "outlined",
30
+ color: t.cancelButtonColor,
31
+ disabled: t.saveButtonLoading
32
+ }, e(n)[e(a).CANCEL_BUTTON], {
33
+ onClick: o[0] || (o[0] = (v) => s("cancel"))
34
+ }), {
35
+ default: c(() => [
36
+ d(i(t.cancelButtonLabel), 1)
37
+ ]),
38
+ _: 1
39
+ }, 16, ["color", "disabled"])) : f("", !0),
40
+ t.showSaveButton ? (l(), u(e(B), r({
41
+ key: 1,
42
+ class: "form-action",
43
+ loading: t.saveButtonLoading,
44
+ color: t.saveButtonColor
45
+ }, e(n)[e(a).SAVE_BUTTON], {
46
+ onClick: o[1] || (o[1] = (v) => s("save"))
47
+ }), {
48
+ default: c(() => [
49
+ d(i(t.saveButtonLabel), 1)
50
+ ]),
51
+ _: 1
52
+ }, 16, ["loading", "color"])) : f("", !0)
53
+ ], !0)
54
+ ], 16)
55
+ ]));
56
+ }
57
+ });
58
+ export {
59
+ O as default
60
+ };
@@ -0,0 +1,60 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ title?: string;
3
+ subtitle?: string;
4
+ showCloseButton?: boolean;
5
+ disableCloseButton?: boolean;
6
+ testId?: string;
7
+ }>, {
8
+ title: string;
9
+ subtitle: string;
10
+ showCloseButton: boolean;
11
+ disableCloseButton: boolean;
12
+ testId: string;
13
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ close: () => void;
15
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
16
+ title?: string;
17
+ subtitle?: string;
18
+ showCloseButton?: boolean;
19
+ disableCloseButton?: boolean;
20
+ testId?: string;
21
+ }>, {
22
+ title: string;
23
+ subtitle: string;
24
+ showCloseButton: boolean;
25
+ disableCloseButton: boolean;
26
+ testId: string;
27
+ }>>> & {
28
+ onClose?: () => any;
29
+ }, {
30
+ title: string;
31
+ testId: string;
32
+ subtitle: string;
33
+ showCloseButton: boolean;
34
+ disableCloseButton: boolean;
35
+ }>, {
36
+ header?(_: {}): any;
37
+ }>;
38
+ export default _default;
39
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
+ type __VLS_TypePropsToRuntimeProps<T> = {
41
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
42
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
43
+ } : {
44
+ type: import('vue').PropType<T[K]>;
45
+ required: true;
46
+ };
47
+ };
48
+ type __VLS_WithDefaults<P, D> = {
49
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
50
+ default: D[K];
51
+ }> : P[K];
52
+ };
53
+ type __VLS_Prettify<T> = {
54
+ [K in keyof T]: T[K];
55
+ } & {};
56
+ type __VLS_WithTemplateSlots<T, S> = T & {
57
+ new (): {
58
+ $slots: S;
59
+ };
60
+ };
@@ -0,0 +1,7 @@
1
+ import e from "./DialogHeader.vue2.js";
2
+ /* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../DialogHeader.vue_vue_type_style_index_0_scoped_9a814ec3_lang.css"; //*');
4
+ const t = /* @__PURE__ */ o(e, [["__scopeId", "data-v-9a814ec3"]]);
5
+ export {
6
+ t as default
7
+ };
@@ -0,0 +1,58 @@
1
+ import "../../../DialogHeader.vue_vue_type_style_index_0_scoped_9a814ec3_lang.css"; import { defineComponent as b, openBlock as o, createElementBlock as B, mergeProps as n, unref as t, createElementVNode as C, renderSlot as y, createBlock as l, withCtx as d, createTextVNode as u, toDisplayString as m, createCommentVNode as s } from "vue";
2
+ import "../../button/v4/ButtonV4.vue.js";
3
+ import h from "../../button/v4/IconButtonV4.vue.js";
4
+ import "../../button/v4/ButtonGroup.vue.js";
5
+ import "../../button/v4/ToggleButtonGroupAB.vue.js";
6
+ import c from "../../typography/v4/Typography.vue.js";
7
+ import { useTestIdAttrs as k } from "../../../utils/testIds.js";
8
+ import { DialogTestIdModifiers as r } from "../../../testids/index.js";
9
+ const I = { class: "title" }, V = /* @__PURE__ */ b({
10
+ __name: "DialogHeader",
11
+ props: {
12
+ title: { default: "" },
13
+ subtitle: { default: "" },
14
+ showCloseButton: { type: Boolean, default: !0 },
15
+ disableCloseButton: { type: Boolean, default: !1 },
16
+ testId: { default: "" }
17
+ },
18
+ emits: ["close"],
19
+ setup(e, { emit: f }) {
20
+ const a = k(e.testId, r);
21
+ return (p, i) => (o(), B("header", n({ class: "header" }, t(a)[t(r).HEADER]), [
22
+ C("div", I, [
23
+ y(p.$slots, "header", {}, () => [
24
+ e.title ? (o(), l(t(c), {
25
+ key: 0,
26
+ variant: "h3"
27
+ }, {
28
+ default: d(() => [
29
+ u(m(e.title), 1)
30
+ ]),
31
+ _: 1
32
+ })) : s("", !0),
33
+ e.subtitle ? (o(), l(t(c), {
34
+ key: 1,
35
+ class: "subtitle",
36
+ variant: "body1"
37
+ }, {
38
+ default: d(() => [
39
+ u(m(e.subtitle), 1)
40
+ ]),
41
+ _: 1
42
+ })) : s("", !0)
43
+ ], !0)
44
+ ]),
45
+ e.showCloseButton ? (o(), l(t(h), n({
46
+ key: 0,
47
+ class: "close-button",
48
+ "icon-name": "x",
49
+ disabled: e.disableCloseButton
50
+ }, t(a)[t(r).ACTION_CLOSE], {
51
+ onClick: i[0] || (i[0] = (E) => f("close"))
52
+ }), null, 16, ["disabled"])) : s("", !0)
53
+ ], 16));
54
+ }
55
+ });
56
+ export {
57
+ V as default
58
+ };
@@ -104,30 +104,30 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
104
104
  "onUpdate:modelValue"?: (value: boolean) => any;
105
105
  onClose?: (reason: Reason) => any;
106
106
  onCancel?: () => any;
107
- onOpen?: () => any;
108
107
  onSave?: () => any;
108
+ onOpen?: () => any;
109
109
  }, {
110
110
  title: string;
111
111
  testId: string;
112
112
  size: "small" | "medium" | "extraSmall";
113
113
  content: string;
114
114
  subtitle: string;
115
- appendToBody: boolean;
116
- closeDelay: number;
117
- openDelay: number;
118
- escapeToClose: boolean;
119
- showBackdrop: boolean;
120
- closeOnClickOutside: boolean;
121
- beforeClose: (show: () => void) => void;
122
115
  showCloseButton: boolean;
123
116
  showCancelButton: boolean;
124
117
  showSaveButton: boolean;
125
- showFooter: boolean;
126
118
  saveButtonLabel: string;
127
119
  saveButtonLoading: boolean;
128
120
  saveButtonColor: ButtonColor;
129
121
  cancelButtonLabel: string;
130
122
  cancelButtonColor: string;
123
+ appendToBody: boolean;
124
+ showBackdrop: boolean;
125
+ closeDelay: number;
126
+ openDelay: number;
127
+ escapeToClose: boolean;
128
+ closeOnClickOutside: boolean;
129
+ beforeClose: (show: () => void) => void;
130
+ showFooter: boolean;
131
131
  noPadding: boolean;
132
132
  }>, {
133
133
  header?(_: {}): any;
@@ -1,7 +1,7 @@
1
1
  import o from "./DialogV4.vue2.js";
2
2
  /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../DialogV4.vue_vue_type_style_index_0_scoped_eb226e31_lang.css"; //*');
4
- const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-eb226e31"]]);
3
+ // import "../../../DialogV4.vue_vue_type_style_index_0_scoped_cc99f1e3_lang.css"; //*');
4
+ const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-cc99f1e3"]]);
5
5
  export {
6
- p as default
6
+ t as default
7
7
  };