@vc-shell/framework 1.0.281 → 1.0.282
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/CHANGELOG.md +10 -0
- package/dist/framework.js +13040 -12977
- package/dist/index.css +1 -1
- package/dist/shared/components/notifications/components/notification-container/index.d.ts +4 -4
- package/dist/shared/components/notifications/components/notification-container/index.d.ts.map +1 -1
- package/dist/shared/components/notifications/core/notification.d.ts +5 -5
- package/dist/shared/components/notifications/core/notification.d.ts.map +1 -1
- package/dist/shared/components/notifications/types/index.d.ts +3 -1
- package/dist/shared/components/notifications/types/index.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/molecules/vc-notification/vc-notification.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-notification/vc-notification.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-base-header/vc-table-base-header.vue.d.ts +34 -0
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-base-header/vc-table-base-header.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-table/vc-table.stories.d.ts +150 -30
- package/dist/ui/components/organisms/vc-table/vc-table.stories.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts +20 -8
- package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts.map +1 -1
- package/package.json +4 -4
- package/shared/components/notifications/components/notification-container/index.ts +18 -3
- package/shared/components/notifications/core/notification.ts +7 -7
- package/shared/components/notifications/types/index.ts +8 -1
- package/shared/modules/dynamic/pages/dynamic-blade-list.vue +23 -1
- package/shared/pages/ChangePasswordPage/components/change-password/ChangePassword.vue +3 -3
- package/ui/components/molecules/vc-notification/vc-notification.vue +6 -2
- package/ui/components/organisms/vc-table/_internal/vc-table-base-header/vc-table-base-header.vue +82 -0
- package/ui/components/organisms/vc-table/vc-table.vue +21 -63
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { NotificationType } from "./../../../../shared/components/notifications";
|
|
1
|
+
import { Content, NotificationType } from "./../../../../shared/components/notifications";
|
|
2
2
|
export interface Props {
|
|
3
|
-
content?:
|
|
3
|
+
content?: Content;
|
|
4
4
|
notificationId?: number | string;
|
|
5
5
|
updateId?: number | string;
|
|
6
6
|
type?: NotificationType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-notification.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-notification/vc-notification.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;
|
|
1
|
+
{"version":3,"file":"vc-notification.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-notification/vc-notification.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;AAI1F,MAAM,WAAW,KAAK;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;;AAuMD,wBAMG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
searchValue?: string;
|
|
3
|
+
searchPlaceholder?: string;
|
|
4
|
+
activeFilterCount?: number;
|
|
5
|
+
expanded?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface Emits {
|
|
8
|
+
(event: "search:change", value: string): void;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
"search:change": (value: string) => void;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
|
13
|
+
"onSearch:change"?: ((value: string) => any) | undefined;
|
|
14
|
+
}, {}, {}>, {
|
|
15
|
+
filters?(_: {
|
|
16
|
+
closePanel: () => void;
|
|
17
|
+
}): any;
|
|
18
|
+
}>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
22
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
+
} : {
|
|
25
|
+
type: import('vue').PropType<T[K]>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=vc-table-base-header.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-table-base-header.vue.d.ts","sourceRoot":"","sources":["../../../../../../../ui/components/organisms/vc-table/_internal/vc-table-base-header/vc-table-base-header.vue.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,KAAK;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,KAAK;IACpB,CAAC,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/C;;;;;;;;;;AAwND,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -112,7 +112,11 @@ export declare const Loading: StoryFn<(<T extends string | import("./vc-table.vu
|
|
|
112
112
|
cell: import("../../../..").ITableColumns;
|
|
113
113
|
index: number;
|
|
114
114
|
}) => any;
|
|
115
|
-
header: (props:
|
|
115
|
+
header: (props: {
|
|
116
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
117
|
+
[key: string]: any;
|
|
118
|
+
}>;
|
|
119
|
+
}) => any;
|
|
116
120
|
filters: (args: {
|
|
117
121
|
closePanel: () => void;
|
|
118
122
|
}) => any;
|
|
@@ -129,7 +133,11 @@ export declare const Loading: StoryFn<(<T extends string | import("./vc-table.vu
|
|
|
129
133
|
cell: import("../../../..").ITableColumns;
|
|
130
134
|
index: number;
|
|
131
135
|
}) => any;
|
|
132
|
-
header: (props:
|
|
136
|
+
header: (props: {
|
|
137
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
138
|
+
[key: string]: any;
|
|
139
|
+
}>;
|
|
140
|
+
}) => any;
|
|
133
141
|
filters: (args: {
|
|
134
142
|
closePanel: () => void;
|
|
135
143
|
}) => any;
|
|
@@ -223,7 +231,11 @@ export declare const Loading: StoryFn<(<T extends string | import("./vc-table.vu
|
|
|
223
231
|
cell: import("../../../..").ITableColumns;
|
|
224
232
|
index: number;
|
|
225
233
|
}) => any;
|
|
226
|
-
header: (props:
|
|
234
|
+
header: (props: {
|
|
235
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
236
|
+
[key: string]: any;
|
|
237
|
+
}>;
|
|
238
|
+
}) => any;
|
|
227
239
|
filters: (args: {
|
|
228
240
|
closePanel: () => void;
|
|
229
241
|
}) => any;
|
|
@@ -240,7 +252,11 @@ export declare const Loading: StoryFn<(<T extends string | import("./vc-table.vu
|
|
|
240
252
|
cell: import("../../../..").ITableColumns;
|
|
241
253
|
index: number;
|
|
242
254
|
}) => any;
|
|
243
|
-
header: (props:
|
|
255
|
+
header: (props: {
|
|
256
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
257
|
+
[key: string]: any;
|
|
258
|
+
}>;
|
|
259
|
+
}) => any;
|
|
244
260
|
filters: (args: {
|
|
245
261
|
closePanel: () => void;
|
|
246
262
|
}) => any;
|
|
@@ -337,7 +353,11 @@ export declare const Loading: StoryFn<(<T extends string | import("./vc-table.vu
|
|
|
337
353
|
cell: import("../../../..").ITableColumns;
|
|
338
354
|
index: number;
|
|
339
355
|
}) => any;
|
|
340
|
-
header: (props:
|
|
356
|
+
header: (props: {
|
|
357
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
358
|
+
[key: string]: any;
|
|
359
|
+
}>;
|
|
360
|
+
}) => any;
|
|
341
361
|
filters: (args: {
|
|
342
362
|
closePanel: () => void;
|
|
343
363
|
}) => any;
|
|
@@ -354,7 +374,11 @@ export declare const Loading: StoryFn<(<T extends string | import("./vc-table.vu
|
|
|
354
374
|
cell: import("../../../..").ITableColumns;
|
|
355
375
|
index: number;
|
|
356
376
|
}) => any;
|
|
357
|
-
header: (props:
|
|
377
|
+
header: (props: {
|
|
378
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
379
|
+
[key: string]: any;
|
|
380
|
+
}>;
|
|
381
|
+
}) => any;
|
|
358
382
|
filters: (args: {
|
|
359
383
|
closePanel: () => void;
|
|
360
384
|
}) => any;
|
|
@@ -448,7 +472,11 @@ export declare const WithoutHeader: StoryFn<(<T extends string | import("./vc-ta
|
|
|
448
472
|
cell: import("../../../..").ITableColumns;
|
|
449
473
|
index: number;
|
|
450
474
|
}) => any;
|
|
451
|
-
header: (props:
|
|
475
|
+
header: (props: {
|
|
476
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
477
|
+
[key: string]: any;
|
|
478
|
+
}>;
|
|
479
|
+
}) => any;
|
|
452
480
|
filters: (args: {
|
|
453
481
|
closePanel: () => void;
|
|
454
482
|
}) => any;
|
|
@@ -465,7 +493,11 @@ export declare const WithoutHeader: StoryFn<(<T extends string | import("./vc-ta
|
|
|
465
493
|
cell: import("../../../..").ITableColumns;
|
|
466
494
|
index: number;
|
|
467
495
|
}) => any;
|
|
468
|
-
header: (props:
|
|
496
|
+
header: (props: {
|
|
497
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
498
|
+
[key: string]: any;
|
|
499
|
+
}>;
|
|
500
|
+
}) => any;
|
|
469
501
|
filters: (args: {
|
|
470
502
|
closePanel: () => void;
|
|
471
503
|
}) => any;
|
|
@@ -559,7 +591,11 @@ export declare const WithoutHeader: StoryFn<(<T extends string | import("./vc-ta
|
|
|
559
591
|
cell: import("../../../..").ITableColumns;
|
|
560
592
|
index: number;
|
|
561
593
|
}) => any;
|
|
562
|
-
header: (props:
|
|
594
|
+
header: (props: {
|
|
595
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
596
|
+
[key: string]: any;
|
|
597
|
+
}>;
|
|
598
|
+
}) => any;
|
|
563
599
|
filters: (args: {
|
|
564
600
|
closePanel: () => void;
|
|
565
601
|
}) => any;
|
|
@@ -576,7 +612,11 @@ export declare const WithoutHeader: StoryFn<(<T extends string | import("./vc-ta
|
|
|
576
612
|
cell: import("../../../..").ITableColumns;
|
|
577
613
|
index: number;
|
|
578
614
|
}) => any;
|
|
579
|
-
header: (props:
|
|
615
|
+
header: (props: {
|
|
616
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
617
|
+
[key: string]: any;
|
|
618
|
+
}>;
|
|
619
|
+
}) => any;
|
|
580
620
|
filters: (args: {
|
|
581
621
|
closePanel: () => void;
|
|
582
622
|
}) => any;
|
|
@@ -673,7 +713,11 @@ export declare const WithoutHeader: StoryFn<(<T extends string | import("./vc-ta
|
|
|
673
713
|
cell: import("../../../..").ITableColumns;
|
|
674
714
|
index: number;
|
|
675
715
|
}) => any;
|
|
676
|
-
header: (props:
|
|
716
|
+
header: (props: {
|
|
717
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
718
|
+
[key: string]: any;
|
|
719
|
+
}>;
|
|
720
|
+
}) => any;
|
|
677
721
|
filters: (args: {
|
|
678
722
|
closePanel: () => void;
|
|
679
723
|
}) => any;
|
|
@@ -690,7 +734,11 @@ export declare const WithoutHeader: StoryFn<(<T extends string | import("./vc-ta
|
|
|
690
734
|
cell: import("../../../..").ITableColumns;
|
|
691
735
|
index: number;
|
|
692
736
|
}) => any;
|
|
693
|
-
header: (props:
|
|
737
|
+
header: (props: {
|
|
738
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
739
|
+
[key: string]: any;
|
|
740
|
+
}>;
|
|
741
|
+
}) => any;
|
|
694
742
|
filters: (args: {
|
|
695
743
|
closePanel: () => void;
|
|
696
744
|
}) => any;
|
|
@@ -784,7 +832,11 @@ export declare const WithoutFooter: StoryFn<(<T extends string | import("./vc-ta
|
|
|
784
832
|
cell: import("../../../..").ITableColumns;
|
|
785
833
|
index: number;
|
|
786
834
|
}) => any;
|
|
787
|
-
header: (props:
|
|
835
|
+
header: (props: {
|
|
836
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
837
|
+
[key: string]: any;
|
|
838
|
+
}>;
|
|
839
|
+
}) => any;
|
|
788
840
|
filters: (args: {
|
|
789
841
|
closePanel: () => void;
|
|
790
842
|
}) => any;
|
|
@@ -801,7 +853,11 @@ export declare const WithoutFooter: StoryFn<(<T extends string | import("./vc-ta
|
|
|
801
853
|
cell: import("../../../..").ITableColumns;
|
|
802
854
|
index: number;
|
|
803
855
|
}) => any;
|
|
804
|
-
header: (props:
|
|
856
|
+
header: (props: {
|
|
857
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
858
|
+
[key: string]: any;
|
|
859
|
+
}>;
|
|
860
|
+
}) => any;
|
|
805
861
|
filters: (args: {
|
|
806
862
|
closePanel: () => void;
|
|
807
863
|
}) => any;
|
|
@@ -895,7 +951,11 @@ export declare const WithoutFooter: StoryFn<(<T extends string | import("./vc-ta
|
|
|
895
951
|
cell: import("../../../..").ITableColumns;
|
|
896
952
|
index: number;
|
|
897
953
|
}) => any;
|
|
898
|
-
header: (props:
|
|
954
|
+
header: (props: {
|
|
955
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
956
|
+
[key: string]: any;
|
|
957
|
+
}>;
|
|
958
|
+
}) => any;
|
|
899
959
|
filters: (args: {
|
|
900
960
|
closePanel: () => void;
|
|
901
961
|
}) => any;
|
|
@@ -912,7 +972,11 @@ export declare const WithoutFooter: StoryFn<(<T extends string | import("./vc-ta
|
|
|
912
972
|
cell: import("../../../..").ITableColumns;
|
|
913
973
|
index: number;
|
|
914
974
|
}) => any;
|
|
915
|
-
header: (props:
|
|
975
|
+
header: (props: {
|
|
976
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
977
|
+
[key: string]: any;
|
|
978
|
+
}>;
|
|
979
|
+
}) => any;
|
|
916
980
|
filters: (args: {
|
|
917
981
|
closePanel: () => void;
|
|
918
982
|
}) => any;
|
|
@@ -1009,7 +1073,11 @@ export declare const WithoutFooter: StoryFn<(<T extends string | import("./vc-ta
|
|
|
1009
1073
|
cell: import("../../../..").ITableColumns;
|
|
1010
1074
|
index: number;
|
|
1011
1075
|
}) => any;
|
|
1012
|
-
header: (props:
|
|
1076
|
+
header: (props: {
|
|
1077
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1078
|
+
[key: string]: any;
|
|
1079
|
+
}>;
|
|
1080
|
+
}) => any;
|
|
1013
1081
|
filters: (args: {
|
|
1014
1082
|
closePanel: () => void;
|
|
1015
1083
|
}) => any;
|
|
@@ -1026,7 +1094,11 @@ export declare const WithoutFooter: StoryFn<(<T extends string | import("./vc-ta
|
|
|
1026
1094
|
cell: import("../../../..").ITableColumns;
|
|
1027
1095
|
index: number;
|
|
1028
1096
|
}) => any;
|
|
1029
|
-
header: (props:
|
|
1097
|
+
header: (props: {
|
|
1098
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1099
|
+
[key: string]: any;
|
|
1100
|
+
}>;
|
|
1101
|
+
}) => any;
|
|
1030
1102
|
filters: (args: {
|
|
1031
1103
|
closePanel: () => void;
|
|
1032
1104
|
}) => any;
|
|
@@ -1120,7 +1192,11 @@ export declare const DisabledColumnsResizing: StoryFn<(<T extends string | impor
|
|
|
1120
1192
|
cell: import("../../../..").ITableColumns;
|
|
1121
1193
|
index: number;
|
|
1122
1194
|
}) => any;
|
|
1123
|
-
header: (props:
|
|
1195
|
+
header: (props: {
|
|
1196
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1197
|
+
[key: string]: any;
|
|
1198
|
+
}>;
|
|
1199
|
+
}) => any;
|
|
1124
1200
|
filters: (args: {
|
|
1125
1201
|
closePanel: () => void;
|
|
1126
1202
|
}) => any;
|
|
@@ -1137,7 +1213,11 @@ export declare const DisabledColumnsResizing: StoryFn<(<T extends string | impor
|
|
|
1137
1213
|
cell: import("../../../..").ITableColumns;
|
|
1138
1214
|
index: number;
|
|
1139
1215
|
}) => any;
|
|
1140
|
-
header: (props:
|
|
1216
|
+
header: (props: {
|
|
1217
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1218
|
+
[key: string]: any;
|
|
1219
|
+
}>;
|
|
1220
|
+
}) => any;
|
|
1141
1221
|
filters: (args: {
|
|
1142
1222
|
closePanel: () => void;
|
|
1143
1223
|
}) => any;
|
|
@@ -1231,7 +1311,11 @@ export declare const DisabledColumnsResizing: StoryFn<(<T extends string | impor
|
|
|
1231
1311
|
cell: import("../../../..").ITableColumns;
|
|
1232
1312
|
index: number;
|
|
1233
1313
|
}) => any;
|
|
1234
|
-
header: (props:
|
|
1314
|
+
header: (props: {
|
|
1315
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1316
|
+
[key: string]: any;
|
|
1317
|
+
}>;
|
|
1318
|
+
}) => any;
|
|
1235
1319
|
filters: (args: {
|
|
1236
1320
|
closePanel: () => void;
|
|
1237
1321
|
}) => any;
|
|
@@ -1248,7 +1332,11 @@ export declare const DisabledColumnsResizing: StoryFn<(<T extends string | impor
|
|
|
1248
1332
|
cell: import("../../../..").ITableColumns;
|
|
1249
1333
|
index: number;
|
|
1250
1334
|
}) => any;
|
|
1251
|
-
header: (props:
|
|
1335
|
+
header: (props: {
|
|
1336
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1337
|
+
[key: string]: any;
|
|
1338
|
+
}>;
|
|
1339
|
+
}) => any;
|
|
1252
1340
|
filters: (args: {
|
|
1253
1341
|
closePanel: () => void;
|
|
1254
1342
|
}) => any;
|
|
@@ -1345,7 +1433,11 @@ export declare const DisabledColumnsResizing: StoryFn<(<T extends string | impor
|
|
|
1345
1433
|
cell: import("../../../..").ITableColumns;
|
|
1346
1434
|
index: number;
|
|
1347
1435
|
}) => any;
|
|
1348
|
-
header: (props:
|
|
1436
|
+
header: (props: {
|
|
1437
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1438
|
+
[key: string]: any;
|
|
1439
|
+
}>;
|
|
1440
|
+
}) => any;
|
|
1349
1441
|
filters: (args: {
|
|
1350
1442
|
closePanel: () => void;
|
|
1351
1443
|
}) => any;
|
|
@@ -1362,7 +1454,11 @@ export declare const DisabledColumnsResizing: StoryFn<(<T extends string | impor
|
|
|
1362
1454
|
cell: import("../../../..").ITableColumns;
|
|
1363
1455
|
index: number;
|
|
1364
1456
|
}) => any;
|
|
1365
|
-
header: (props:
|
|
1457
|
+
header: (props: {
|
|
1458
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1459
|
+
[key: string]: any;
|
|
1460
|
+
}>;
|
|
1461
|
+
}) => any;
|
|
1366
1462
|
filters: (args: {
|
|
1367
1463
|
closePanel: () => void;
|
|
1368
1464
|
}) => any;
|
|
@@ -1456,7 +1552,11 @@ export declare const DisabledColumnsReordering: StoryFn<(<T extends string | imp
|
|
|
1456
1552
|
cell: import("../../../..").ITableColumns;
|
|
1457
1553
|
index: number;
|
|
1458
1554
|
}) => any;
|
|
1459
|
-
header: (props:
|
|
1555
|
+
header: (props: {
|
|
1556
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1557
|
+
[key: string]: any;
|
|
1558
|
+
}>;
|
|
1559
|
+
}) => any;
|
|
1460
1560
|
filters: (args: {
|
|
1461
1561
|
closePanel: () => void;
|
|
1462
1562
|
}) => any;
|
|
@@ -1473,7 +1573,11 @@ export declare const DisabledColumnsReordering: StoryFn<(<T extends string | imp
|
|
|
1473
1573
|
cell: import("../../../..").ITableColumns;
|
|
1474
1574
|
index: number;
|
|
1475
1575
|
}) => any;
|
|
1476
|
-
header: (props:
|
|
1576
|
+
header: (props: {
|
|
1577
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1578
|
+
[key: string]: any;
|
|
1579
|
+
}>;
|
|
1580
|
+
}) => any;
|
|
1477
1581
|
filters: (args: {
|
|
1478
1582
|
closePanel: () => void;
|
|
1479
1583
|
}) => any;
|
|
@@ -1567,7 +1671,11 @@ export declare const DisabledColumnsReordering: StoryFn<(<T extends string | imp
|
|
|
1567
1671
|
cell: import("../../../..").ITableColumns;
|
|
1568
1672
|
index: number;
|
|
1569
1673
|
}) => any;
|
|
1570
|
-
header: (props:
|
|
1674
|
+
header: (props: {
|
|
1675
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1676
|
+
[key: string]: any;
|
|
1677
|
+
}>;
|
|
1678
|
+
}) => any;
|
|
1571
1679
|
filters: (args: {
|
|
1572
1680
|
closePanel: () => void;
|
|
1573
1681
|
}) => any;
|
|
@@ -1584,7 +1692,11 @@ export declare const DisabledColumnsReordering: StoryFn<(<T extends string | imp
|
|
|
1584
1692
|
cell: import("../../../..").ITableColumns;
|
|
1585
1693
|
index: number;
|
|
1586
1694
|
}) => any;
|
|
1587
|
-
header: (props:
|
|
1695
|
+
header: (props: {
|
|
1696
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1697
|
+
[key: string]: any;
|
|
1698
|
+
}>;
|
|
1699
|
+
}) => any;
|
|
1588
1700
|
filters: (args: {
|
|
1589
1701
|
closePanel: () => void;
|
|
1590
1702
|
}) => any;
|
|
@@ -1681,7 +1793,11 @@ export declare const DisabledColumnsReordering: StoryFn<(<T extends string | imp
|
|
|
1681
1793
|
cell: import("../../../..").ITableColumns;
|
|
1682
1794
|
index: number;
|
|
1683
1795
|
}) => any;
|
|
1684
|
-
header: (props:
|
|
1796
|
+
header: (props: {
|
|
1797
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1798
|
+
[key: string]: any;
|
|
1799
|
+
}>;
|
|
1800
|
+
}) => any;
|
|
1685
1801
|
filters: (args: {
|
|
1686
1802
|
closePanel: () => void;
|
|
1687
1803
|
}) => any;
|
|
@@ -1698,7 +1814,11 @@ export declare const DisabledColumnsReordering: StoryFn<(<T extends string | imp
|
|
|
1698
1814
|
cell: import("../../../..").ITableColumns;
|
|
1699
1815
|
index: number;
|
|
1700
1816
|
}) => any;
|
|
1701
|
-
header: (props:
|
|
1817
|
+
header: (props: {
|
|
1818
|
+
header: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1819
|
+
[key: string]: any;
|
|
1820
|
+
}>;
|
|
1821
|
+
}) => any;
|
|
1702
1822
|
filters: (args: {
|
|
1703
1823
|
closePanel: () => void;
|
|
1704
1824
|
}) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-table.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-table/vc-table.stories.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,OAA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AAKxD,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAmB,CAAC;AAK1D,eAAO,MAAM,mBAAmB,EAAE,OAAO,CAAC,OAAO,OAAO,CAmEtD,CAAC;AAEH,eAAO,MAAM,cAAc,EAAE,OAAO,CAAC,OAAO,OAAO,CAuBjD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MaybeRef, Ref } from "vue";
|
|
1
|
+
import { MaybeRef, Ref, VNode } from "vue";
|
|
2
2
|
import { VcPagination } from "./../../";
|
|
3
3
|
import { IActionBuilderResult, ITableColumns } from "./../../../../core/types";
|
|
4
4
|
import "core-js/actual/array/to-spliced";
|
|
@@ -81,7 +81,9 @@ declare const _default: <T extends string | TableItem>(__VLS_props: {
|
|
|
81
81
|
cell: ITableColumns;
|
|
82
82
|
index: number;
|
|
83
83
|
}) => any;
|
|
84
|
-
header: (props:
|
|
84
|
+
header: (props: {
|
|
85
|
+
header: VNode;
|
|
86
|
+
}) => any;
|
|
85
87
|
filters: (args: {
|
|
86
88
|
closePanel: () => void;
|
|
87
89
|
}) => any;
|
|
@@ -98,7 +100,9 @@ declare const _default: <T extends string | TableItem>(__VLS_props: {
|
|
|
98
100
|
cell: ITableColumns;
|
|
99
101
|
index: number;
|
|
100
102
|
}) => any;
|
|
101
|
-
header: (props:
|
|
103
|
+
header: (props: {
|
|
104
|
+
header: VNode;
|
|
105
|
+
}) => any;
|
|
102
106
|
filters: (args: {
|
|
103
107
|
closePanel: () => void;
|
|
104
108
|
}) => any;
|
|
@@ -192,7 +196,9 @@ declare const _default: <T extends string | TableItem>(__VLS_props: {
|
|
|
192
196
|
cell: ITableColumns;
|
|
193
197
|
index: number;
|
|
194
198
|
}) => any;
|
|
195
|
-
header: (props:
|
|
199
|
+
header: (props: {
|
|
200
|
+
header: VNode;
|
|
201
|
+
}) => any;
|
|
196
202
|
filters: (args: {
|
|
197
203
|
closePanel: () => void;
|
|
198
204
|
}) => any;
|
|
@@ -209,7 +215,9 @@ declare const _default: <T extends string | TableItem>(__VLS_props: {
|
|
|
209
215
|
cell: ITableColumns;
|
|
210
216
|
index: number;
|
|
211
217
|
}) => any;
|
|
212
|
-
header: (props:
|
|
218
|
+
header: (props: {
|
|
219
|
+
header: VNode;
|
|
220
|
+
}) => any;
|
|
213
221
|
filters: (args: {
|
|
214
222
|
closePanel: () => void;
|
|
215
223
|
}) => any;
|
|
@@ -234,7 +242,7 @@ declare const _default: <T extends string | TableItem>(__VLS_props: {
|
|
|
234
242
|
row: number | undefined;
|
|
235
243
|
field: string;
|
|
236
244
|
}) => void);
|
|
237
|
-
}>) =>
|
|
245
|
+
}>) => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
238
246
|
[key: string]: any;
|
|
239
247
|
}> & {
|
|
240
248
|
__ctx?: {
|
|
@@ -306,7 +314,9 @@ declare const _default: <T extends string | TableItem>(__VLS_props: {
|
|
|
306
314
|
cell: ITableColumns;
|
|
307
315
|
index: number;
|
|
308
316
|
}) => any;
|
|
309
|
-
header: (props:
|
|
317
|
+
header: (props: {
|
|
318
|
+
header: VNode;
|
|
319
|
+
}) => any;
|
|
310
320
|
filters: (args: {
|
|
311
321
|
closePanel: () => void;
|
|
312
322
|
}) => any;
|
|
@@ -323,7 +333,9 @@ declare const _default: <T extends string | TableItem>(__VLS_props: {
|
|
|
323
333
|
cell: ITableColumns;
|
|
324
334
|
index: number;
|
|
325
335
|
}) => any;
|
|
326
|
-
header: (props:
|
|
336
|
+
header: (props: {
|
|
337
|
+
header: VNode;
|
|
338
|
+
}) => any;
|
|
327
339
|
filters: (args: {
|
|
328
340
|
closePanel: () => void;
|
|
329
341
|
}) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-table.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-table/vc-table.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,QAAQ,EACR,GAAG,
|
|
1
|
+
{"version":3,"file":"vc-table.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-table/vc-table.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,QAAQ,EACR,GAAG,EAWH,KAAK,EACN,MAAM,KAAK,CAAC;AAEb,OAAO,EAA6C,YAAY,EAAW,MAAM,UAAU,CAAC;AAC5F,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAO/E,OAAO,iCAAiC,CAAC;AACzC,OAAO,gCAAgC,CAAC;AAGxC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAEjE,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,MAAM,WAAW,SAAS;IACxB,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;IACjB,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;CAClC;;;;;;;;;;aAgjEY,aAAa,EAAE;;;;;;mBAl+DS,MAAM;mBAAa,MAAM;;;;;eAE5B;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,KAAK,EAA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|
|
5
5
|
"main": "./dist/framework.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -61,9 +61,9 @@
|
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@types/dompurify": "^3.0.5",
|
|
63
63
|
"@types/quill": "^2.0.14",
|
|
64
|
-
"@vc-shell/api-client-generator": "^1.0.
|
|
65
|
-
"@vc-shell/config-generator": "^1.0.
|
|
66
|
-
"@vc-shell/ts-config": "^1.0.
|
|
64
|
+
"@vc-shell/api-client-generator": "^1.0.282",
|
|
65
|
+
"@vc-shell/config-generator": "^1.0.282",
|
|
66
|
+
"@vc-shell/ts-config": "^1.0.282",
|
|
67
67
|
"@vitejs/plugin-vue": "^5.0.3",
|
|
68
68
|
"cypress-signalr-mock": "^1.5.0",
|
|
69
69
|
"sass": "^1.69.6",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VcNotification } from "./../../../../../ui/components";
|
|
2
|
-
import { PropType, computed, defineComponent, h } from "vue";
|
|
3
|
-
import { NotificationType } from "../../types";
|
|
2
|
+
import { PropType, computed, defineComponent, h, toRaw } from "vue";
|
|
3
|
+
import { Content, NotificationType } from "../../types";
|
|
4
4
|
import { useContainer } from "../../composables";
|
|
5
5
|
|
|
6
6
|
const NotificationContainer = defineComponent({
|
|
@@ -23,7 +23,7 @@ const NotificationContainer = defineComponent({
|
|
|
23
23
|
default: 3000,
|
|
24
24
|
},
|
|
25
25
|
content: {
|
|
26
|
-
type: String,
|
|
26
|
+
type: [String, Object] as PropType<Content>,
|
|
27
27
|
required: false,
|
|
28
28
|
default: "",
|
|
29
29
|
},
|
|
@@ -70,8 +70,23 @@ const NotificationContainer = defineComponent({
|
|
|
70
70
|
return notificationContainer.value || [];
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
+
function isComponent(content: Content) {
|
|
74
|
+
return (
|
|
75
|
+
typeof content === "object" &&
|
|
76
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
77
|
+
(!!(content as any)?.render || !!(content as any)?.setup)
|
|
78
|
+
);
|
|
79
|
+
}
|
|
80
|
+
|
|
73
81
|
return () =>
|
|
74
82
|
notificationsList.value.map((item) => {
|
|
83
|
+
if (item.content && isComponent(item.content)) {
|
|
84
|
+
return h(VcNotification, {
|
|
85
|
+
...item,
|
|
86
|
+
content: h(toRaw(item.content)),
|
|
87
|
+
key: item.notificationId,
|
|
88
|
+
});
|
|
89
|
+
}
|
|
75
90
|
return h(VcNotification, { ...item, key: item.notificationId });
|
|
76
91
|
});
|
|
77
92
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { mergeProps } from "vue";
|
|
2
|
-
import { InternalNotificationOptions, NotificationOptions } from "../types";
|
|
1
|
+
import { mergeProps, h } from "vue";
|
|
2
|
+
import { Content, InternalNotificationOptions, NotificationOptions } from "../types";
|
|
3
3
|
import { useContainer } from "../composables";
|
|
4
4
|
|
|
5
5
|
const {
|
|
@@ -27,7 +27,7 @@ function resolvePending(options: InternalNotificationOptions) {
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
function showNotification(content:
|
|
30
|
+
function showNotification(content: Content, options: InternalNotificationOptions) {
|
|
31
31
|
options = mergeProps(defaultOptions as Record<string, unknown>, options as Record<string, unknown>);
|
|
32
32
|
|
|
33
33
|
if (
|
|
@@ -52,16 +52,16 @@ function showNotification(content: string, options: InternalNotificationOptions)
|
|
|
52
52
|
return options.notificationId;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
const notification = (content:
|
|
55
|
+
const notification = (content: Content, options?: NotificationOptions) =>
|
|
56
56
|
showNotification(content, { ...options, type: "default" });
|
|
57
57
|
|
|
58
|
-
notification.error = (content:
|
|
58
|
+
notification.error = (content: Content, options?: NotificationOptions) =>
|
|
59
59
|
showNotification(content, { ...options, type: "error" });
|
|
60
60
|
|
|
61
|
-
notification.warning = (content:
|
|
61
|
+
notification.warning = (content: Content, options?: NotificationOptions) =>
|
|
62
62
|
showNotification(content, { ...options, type: "warning" });
|
|
63
63
|
|
|
64
|
-
notification.success = (content:
|
|
64
|
+
notification.success = (content: Content, options?: NotificationOptions) =>
|
|
65
65
|
showNotification(content, { ...options, type: "success" });
|
|
66
66
|
|
|
67
67
|
notification.clearAll = () => {
|