@wizleap-inc/wiz-ui-next 0.6.3 → 0.7.0

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 (26) hide show
  1. package/dist/components/base/box/box.vue.d.ts +8 -0
  2. package/dist/components/base/buttons/tiny/tiny.vue.d.ts +40 -0
  3. package/dist/components/base/dropdown/dropdown.vue.d.ts +42 -30
  4. package/dist/components/base/inputs/datepicker/date-picker.vue.d.ts +42 -30
  5. package/dist/components/base/inputs/index.d.ts +1 -0
  6. package/dist/components/base/inputs/search/index.d.ts +2 -0
  7. package/dist/components/base/inputs/search/search-popup.vue.d.ts +653 -0
  8. package/dist/components/base/inputs/search/search.vue.d.ts +1466 -0
  9. package/dist/components/base/inputs/search/types.d.ts +5 -0
  10. package/dist/components/base/inputs/selectbox/selectbox.vue.d.ts +42 -30
  11. package/dist/components/base/inputs/timepicker/time-picker.vue.d.ts +42 -30
  12. package/dist/components/base/inputs/upload/upload-display.vue.d.ts +8 -0
  13. package/dist/components/base/inputs/upload/upload.vue.d.ts +8 -0
  14. package/dist/components/base/popup/popup-container.vue.d.ts +3 -18
  15. package/dist/components/base/popup/popup.vue.d.ts +45 -16
  16. package/dist/components/base/popup/provider.d.ts +1 -2
  17. package/dist/components/custom/chat/card/chat-card.vue.d.ts +62 -30
  18. package/dist/components/custom/form/control.vue.d.ts +8 -0
  19. package/dist/components/custom/notification/list/list.vue.d.ts +623 -0
  20. package/dist/components/custom/notification/notification.vue.d.ts +790 -151
  21. package/dist/components/custom/notification/panel/panel.vue.d.ts +8 -0
  22. package/dist/index.d.ts +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/wiz-ui.es.js +3267 -2948
  25. package/dist/wiz-ui.umd.js +10 -10
  26. package/package.json +1 -1
@@ -117,6 +117,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
117
117
  type: PropType<"none" | "x" | "y" | "block" | "inline" | "both">;
118
118
  required: false;
119
119
  };
120
+ backdropBlur: {
121
+ type: PropType<"xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max">;
122
+ required: false;
123
+ };
120
124
  }, {
121
125
  props: any;
122
126
  computedStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
@@ -237,5 +241,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
237
241
  type: PropType<"none" | "x" | "y" | "block" | "inline" | "both">;
238
242
  required: false;
239
243
  };
244
+ backdropBlur: {
245
+ type: PropType<"xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max">;
246
+ required: false;
247
+ };
240
248
  }>>, {}>;
241
249
  export default _sfc_main;
@@ -11,6 +11,23 @@ declare const _sfc_main: import("vue").DefineComponent<{
11
11
  required: false;
12
12
  default: boolean;
13
13
  };
14
+ hover: {
15
+ type: BooleanConstructor;
16
+ required: false;
17
+ default: boolean;
18
+ };
19
+ p: {
20
+ type: PropType<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max">;
21
+ required: false;
22
+ };
23
+ px: {
24
+ type: PropType<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max">;
25
+ required: false;
26
+ };
27
+ py: {
28
+ type: PropType<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max">;
29
+ required: false;
30
+ };
14
31
  icon: {
15
32
  type: PropType<TIcon>;
16
33
  required: false;
@@ -21,13 +38,18 @@ declare const _sfc_main: import("vue").DefineComponent<{
21
38
  default: string;
22
39
  };
23
40
  }, {
41
+ isHover: import("vue").Ref<boolean>;
24
42
  props: any;
25
43
  emit: (e: "click") => void;
26
44
  onClick: () => false | void;
27
45
  tinyButtonState: import("vue").ComputedRef<"clickable+active" | "clickable+inactive" | "unclickable+active" | "unclickable+inactive">;
28
46
  readonly tinyButtonBaseStyle: string;
47
+ readonly tinyButtonHoverStyle: string;
29
48
  readonly tinyButtonSizeStyle: string;
30
49
  readonly tinyButtonVaraiantStyle: Record<"clickable+active" | "clickable+inactive" | "unclickable+active" | "unclickable+inactive", string>;
50
+ readonly paddingStyle: Record<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max", string>;
51
+ readonly paddingXStyle: Record<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max", string>;
52
+ readonly paddingYStyle: Record<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max", string>;
31
53
  readonly WizHStack: import("vue").DefineComponent<{
32
54
  align: {
33
55
  type: PropType<"stretch" | "center" | "end" | "start">;
@@ -545,6 +567,23 @@ declare const _sfc_main: import("vue").DefineComponent<{
545
567
  required: false;
546
568
  default: boolean;
547
569
  };
570
+ hover: {
571
+ type: BooleanConstructor;
572
+ required: false;
573
+ default: boolean;
574
+ };
575
+ p: {
576
+ type: PropType<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max">;
577
+ required: false;
578
+ };
579
+ px: {
580
+ type: PropType<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max">;
581
+ required: false;
582
+ };
583
+ py: {
584
+ type: PropType<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max">;
585
+ required: false;
586
+ };
548
587
  icon: {
549
588
  type: PropType<TIcon>;
550
589
  required: false;
@@ -560,5 +599,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
560
599
  iconPosition: "left" | "right";
561
600
  clickable: boolean;
562
601
  active: boolean;
602
+ hover: boolean;
563
603
  }>;
564
604
  export default _sfc_main;
@@ -19,10 +19,20 @@ declare const _sfc_main: import("vue").DefineComponent<{
19
19
  readonly dropdownStyle: string;
20
20
  readonly dropdownSkeletonStyle: string;
21
21
  readonly WizPopup: import("vue").DefineComponent<{
22
- layer: {
23
- type: PropType<"base" | "floating" | "dialog" | "popover">;
22
+ isOpen: {
23
+ type: BooleanConstructor;
24
24
  required: true;
25
25
  };
26
+ closeOnBlur: {
27
+ type: BooleanConstructor;
28
+ required: false;
29
+ default: boolean;
30
+ };
31
+ layer: {
32
+ type: PropType<"floating" | "popover">;
33
+ required: false;
34
+ default: string;
35
+ };
26
36
  gap: {
27
37
  type: PropType<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max">;
28
38
  required: false;
@@ -35,6 +45,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
35
45
  };
36
46
  }, {
37
47
  props: any;
48
+ emit: (event: "onClose", isOpen: boolean) => void;
38
49
  popupRef: import("vue").Ref<HTMLElement | undefined>;
39
50
  injected: {
40
51
  initialPxInfo: {
@@ -54,10 +65,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
54
65
  readonly height: number;
55
66
  };
56
67
  updateBodyPxInfo: () => void;
57
- isPopupOpen: Readonly<import("vue").Ref<boolean>>;
58
- setPopupOpen: (isOpen: boolean) => void;
68
+ containerRef: import("vue").Ref<HTMLElement | undefined>;
59
69
  };
60
- isPopupOpen: Readonly<import("vue").Ref<boolean>>;
61
70
  bodyPxInfo: {
62
71
  readonly top: number;
63
72
  readonly left: number;
@@ -66,6 +75,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
66
75
  readonly width: number;
67
76
  readonly height: number;
68
77
  };
78
+ updateBodyPxInfo: () => void;
79
+ containerRef: import("vue").Ref<HTMLElement | undefined>;
69
80
  popupRect: import("vue").ComputedRef<{
70
81
  width: number;
71
82
  height: number;
@@ -78,17 +89,29 @@ declare const _sfc_main: import("vue").DefineComponent<{
78
89
  x: number;
79
90
  y: number;
80
91
  }>;
92
+ isDirectionChar: (char: string) => char is "t" | "l" | "r" | "b";
93
+ directionToTuple: (direction: "tl" | "tr" | "bl" | "br" | "rt" | "rb" | "lt" | "lb") => ["t" | "l" | "r" | "b", "t" | "l" | "r" | "b"];
94
+ convertDirection: (char: "t" | "l" | "r" | "b") => "t" | "b" | "r" | "l";
81
95
  computedDirection: import("vue").ComputedRef<"tl" | "tr" | "bl" | "br" | "rt" | "rb" | "lt" | "lb">;
96
+ inset: import("vue").ComputedRef<string>;
97
+ popupTranslate: import("vue").ComputedRef<string>;
82
98
  readonly popupStyle: string;
83
- readonly popupDirectionStyle: Record<"tl" | "tr" | "bl" | "br" | "rt" | "rb" | "lt" | "lb", string>;
84
99
  readonly zIndexStyle: Record<"base" | "floating" | "dialog" | "popover", string>;
85
- readonly marginXStyle: Record<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max", string>;
86
- readonly marginYStyle: Record<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max", string>;
87
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
88
- layer: {
89
- type: PropType<"base" | "floating" | "dialog" | "popover">;
100
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onClose"[], "onClose", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
101
+ isOpen: {
102
+ type: BooleanConstructor;
90
103
  required: true;
91
104
  };
105
+ closeOnBlur: {
106
+ type: BooleanConstructor;
107
+ required: false;
108
+ default: boolean;
109
+ };
110
+ layer: {
111
+ type: PropType<"floating" | "popover">;
112
+ required: false;
113
+ default: string;
114
+ };
92
115
  gap: {
93
116
  type: PropType<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max">;
94
117
  required: false;
@@ -99,22 +122,20 @@ declare const _sfc_main: import("vue").DefineComponent<{
99
122
  required: false;
100
123
  default: string;
101
124
  };
102
- }>>, {
125
+ }>> & {
126
+ onOnClose?: ((...args: any[]) => any) | undefined;
127
+ }, {
103
128
  direction: "tl" | "tr" | "bl" | "br" | "rt" | "rb" | "lt" | "lb";
104
129
  gap: "at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max";
130
+ closeOnBlur: boolean;
131
+ layer: "floating" | "popover";
105
132
  }>;
106
133
  readonly WizPopupContainer: import("vue").DefineComponent<{
107
- modelValue: {
108
- type: BooleanConstructor;
109
- required: true;
110
- };
111
134
  expand: {
112
135
  type: BooleanConstructor;
113
136
  required: false;
114
137
  };
115
138
  }, {
116
- props: any;
117
- emit: (event: "update:modelValue", value: boolean) => void;
118
139
  popupContainerRef: import("vue").Ref<HTMLElement | undefined>;
119
140
  provider: {
120
141
  initialPxInfo: {
@@ -134,24 +155,15 @@ declare const _sfc_main: import("vue").DefineComponent<{
134
155
  readonly height: number;
135
156
  };
136
157
  updateBodyPxInfo: () => void;
137
- isPopupOpen: Readonly<import("vue").Ref<boolean>>;
138
- setPopupOpen: (isOpen: boolean) => void;
158
+ containerRef: import("vue").Ref<HTMLElement | undefined>;
139
159
  };
140
- setPopupOpen: (isOpen: boolean) => void;
141
- updateBodyPxInfo: () => void;
142
160
  readonly popupContainerStyle: Record<"default" | "expanded", string>;
143
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
144
- modelValue: {
145
- type: BooleanConstructor;
146
- required: true;
147
- };
161
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
148
162
  expand: {
149
163
  type: BooleanConstructor;
150
164
  required: false;
151
165
  };
152
- }>> & {
153
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
154
- }, {
166
+ }>>, {
155
167
  expand: boolean;
156
168
  }>;
157
169
  readonly WizVStack: import("vue").DefineComponent<{
@@ -789,10 +789,20 @@ declare const _sfc_main: import("vue").DefineComponent<{
789
789
  breakAll: boolean;
790
790
  }>;
791
791
  readonly WizPopup: import("vue").DefineComponent<{
792
- layer: {
793
- type: import("vue").PropType<"base" | "floating" | "dialog" | "popover">;
792
+ isOpen: {
793
+ type: BooleanConstructor;
794
794
  required: true;
795
795
  };
796
+ closeOnBlur: {
797
+ type: BooleanConstructor;
798
+ required: false;
799
+ default: boolean;
800
+ };
801
+ layer: {
802
+ type: import("vue").PropType<"floating" | "popover">;
803
+ required: false;
804
+ default: string;
805
+ };
796
806
  gap: {
797
807
  type: import("vue").PropType<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max">;
798
808
  required: false;
@@ -805,6 +815,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
805
815
  };
806
816
  }, {
807
817
  props: any;
818
+ emit: (event: "onClose", isOpen: boolean) => void;
808
819
  popupRef: import("vue").Ref<HTMLElement | undefined>;
809
820
  injected: {
810
821
  initialPxInfo: {
@@ -824,10 +835,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
824
835
  readonly height: number;
825
836
  };
826
837
  updateBodyPxInfo: () => void;
827
- isPopupOpen: Readonly<import("vue").Ref<boolean>>;
828
- setPopupOpen: (isOpen: boolean) => void;
838
+ containerRef: import("vue").Ref<HTMLElement | undefined>;
829
839
  };
830
- isPopupOpen: Readonly<import("vue").Ref<boolean>>;
831
840
  bodyPxInfo: {
832
841
  readonly top: number;
833
842
  readonly left: number;
@@ -836,6 +845,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
836
845
  readonly width: number;
837
846
  readonly height: number;
838
847
  };
848
+ updateBodyPxInfo: () => void;
849
+ containerRef: import("vue").Ref<HTMLElement | undefined>;
839
850
  popupRect: import("vue").ComputedRef<{
840
851
  width: number;
841
852
  height: number;
@@ -848,17 +859,29 @@ declare const _sfc_main: import("vue").DefineComponent<{
848
859
  x: number;
849
860
  y: number;
850
861
  }>;
862
+ isDirectionChar: (char: string) => char is "t" | "l" | "r" | "b";
863
+ directionToTuple: (direction: "tl" | "tr" | "bl" | "br" | "rt" | "rb" | "lt" | "lb") => ["t" | "l" | "r" | "b", "t" | "l" | "r" | "b"];
864
+ convertDirection: (char: "t" | "l" | "r" | "b") => "t" | "b" | "r" | "l";
851
865
  computedDirection: import("vue").ComputedRef<"tl" | "tr" | "bl" | "br" | "rt" | "rb" | "lt" | "lb">;
866
+ inset: import("vue").ComputedRef<string>;
867
+ popupTranslate: import("vue").ComputedRef<string>;
852
868
  readonly popupStyle: string;
853
- readonly popupDirectionStyle: Record<"tl" | "tr" | "bl" | "br" | "rt" | "rb" | "lt" | "lb", string>;
854
869
  readonly zIndexStyle: Record<"base" | "floating" | "dialog" | "popover", string>;
855
- readonly marginXStyle: Record<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max", string>;
856
- readonly marginYStyle: Record<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max", string>;
857
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
858
- layer: {
859
- type: import("vue").PropType<"base" | "floating" | "dialog" | "popover">;
870
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onClose"[], "onClose", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
871
+ isOpen: {
872
+ type: BooleanConstructor;
860
873
  required: true;
861
874
  };
875
+ closeOnBlur: {
876
+ type: BooleanConstructor;
877
+ required: false;
878
+ default: boolean;
879
+ };
880
+ layer: {
881
+ type: import("vue").PropType<"floating" | "popover">;
882
+ required: false;
883
+ default: string;
884
+ };
862
885
  gap: {
863
886
  type: import("vue").PropType<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max">;
864
887
  required: false;
@@ -869,22 +892,20 @@ declare const _sfc_main: import("vue").DefineComponent<{
869
892
  required: false;
870
893
  default: string;
871
894
  };
872
- }>>, {
895
+ }>> & {
896
+ onOnClose?: ((...args: any[]) => any) | undefined;
897
+ }, {
873
898
  direction: "tl" | "tr" | "bl" | "br" | "rt" | "rb" | "lt" | "lb";
874
899
  gap: "at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max";
900
+ closeOnBlur: boolean;
901
+ layer: "floating" | "popover";
875
902
  }>;
876
903
  readonly WizPopupContainer: import("vue").DefineComponent<{
877
- modelValue: {
878
- type: BooleanConstructor;
879
- required: true;
880
- };
881
904
  expand: {
882
905
  type: BooleanConstructor;
883
906
  required: false;
884
907
  };
885
908
  }, {
886
- props: any;
887
- emit: (event: "update:modelValue", value: boolean) => void;
888
909
  popupContainerRef: import("vue").Ref<HTMLElement | undefined>;
889
910
  provider: {
890
911
  initialPxInfo: {
@@ -904,24 +925,15 @@ declare const _sfc_main: import("vue").DefineComponent<{
904
925
  readonly height: number;
905
926
  };
906
927
  updateBodyPxInfo: () => void;
907
- isPopupOpen: Readonly<import("vue").Ref<boolean>>;
908
- setPopupOpen: (isOpen: boolean) => void;
928
+ containerRef: import("vue").Ref<HTMLElement | undefined>;
909
929
  };
910
- setPopupOpen: (isOpen: boolean) => void;
911
- updateBodyPxInfo: () => void;
912
930
  readonly popupContainerStyle: Record<"default" | "expanded", string>;
913
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
914
- modelValue: {
915
- type: BooleanConstructor;
916
- required: true;
917
- };
931
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
918
932
  expand: {
919
933
  type: BooleanConstructor;
920
934
  required: false;
921
935
  };
922
- }>> & {
923
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
924
- }, {
936
+ }>>, {
925
937
  expand: boolean;
926
938
  }>;
927
939
  readonly WizICalendar: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
@@ -8,3 +8,4 @@ export * from "./panel-switch";
8
8
  export * from "./timepicker";
9
9
  export * from "./datepicker";
10
10
  export * from "./upload";
11
+ export * from "./search";
@@ -0,0 +1,2 @@
1
+ export { default as WizSearch } from "./search.vue";
2
+ export { default as WizSearchPopup } from "./search-popup.vue";