@wizleap-inc/wiz-ui-next 0.6.3 → 0.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.
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 +43 -30
  4. package/dist/components/base/inputs/datepicker/date-picker.vue.d.ts +43 -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 +1467 -0
  9. package/dist/components/base/inputs/search/types.d.ts +5 -0
  10. package/dist/components/base/inputs/selectbox/selectbox.vue.d.ts +43 -30
  11. package/dist/components/base/inputs/timepicker/time-picker.vue.d.ts +43 -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 +46 -16
  16. package/dist/components/base/popup/provider.d.ts +1 -2
  17. package/dist/components/custom/chat/card/chat-card.vue.d.ts +63 -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 +3272 -2953
  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,9 @@ 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>;
80
+ observer: ResizeObserver;
69
81
  popupRect: import("vue").ComputedRef<{
70
82
  width: number;
71
83
  height: number;
@@ -78,17 +90,29 @@ declare const _sfc_main: import("vue").DefineComponent<{
78
90
  x: number;
79
91
  y: number;
80
92
  }>;
93
+ isDirectionChar: (char: string) => char is "t" | "l" | "r" | "b";
94
+ directionToTuple: (direction: "tl" | "tr" | "bl" | "br" | "rt" | "rb" | "lt" | "lb") => ["t" | "l" | "r" | "b", "t" | "l" | "r" | "b"];
95
+ convertDirection: (char: "t" | "l" | "r" | "b") => "t" | "b" | "r" | "l";
81
96
  computedDirection: import("vue").ComputedRef<"tl" | "tr" | "bl" | "br" | "rt" | "rb" | "lt" | "lb">;
97
+ inset: import("vue").ComputedRef<string>;
98
+ popupTranslate: import("vue").ComputedRef<string>;
82
99
  readonly popupStyle: string;
83
- readonly popupDirectionStyle: Record<"tl" | "tr" | "bl" | "br" | "rt" | "rb" | "lt" | "lb", string>;
84
100
  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">;
101
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onClose"[], "onClose", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
102
+ isOpen: {
103
+ type: BooleanConstructor;
90
104
  required: true;
91
105
  };
106
+ closeOnBlur: {
107
+ type: BooleanConstructor;
108
+ required: false;
109
+ default: boolean;
110
+ };
111
+ layer: {
112
+ type: PropType<"floating" | "popover">;
113
+ required: false;
114
+ default: string;
115
+ };
92
116
  gap: {
93
117
  type: PropType<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max">;
94
118
  required: false;
@@ -99,22 +123,20 @@ declare const _sfc_main: import("vue").DefineComponent<{
99
123
  required: false;
100
124
  default: string;
101
125
  };
102
- }>>, {
126
+ }>> & {
127
+ onOnClose?: ((...args: any[]) => any) | undefined;
128
+ }, {
103
129
  direction: "tl" | "tr" | "bl" | "br" | "rt" | "rb" | "lt" | "lb";
104
130
  gap: "at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max";
131
+ closeOnBlur: boolean;
132
+ layer: "floating" | "popover";
105
133
  }>;
106
134
  readonly WizPopupContainer: import("vue").DefineComponent<{
107
- modelValue: {
108
- type: BooleanConstructor;
109
- required: true;
110
- };
111
135
  expand: {
112
136
  type: BooleanConstructor;
113
137
  required: false;
114
138
  };
115
139
  }, {
116
- props: any;
117
- emit: (event: "update:modelValue", value: boolean) => void;
118
140
  popupContainerRef: import("vue").Ref<HTMLElement | undefined>;
119
141
  provider: {
120
142
  initialPxInfo: {
@@ -134,24 +156,15 @@ declare const _sfc_main: import("vue").DefineComponent<{
134
156
  readonly height: number;
135
157
  };
136
158
  updateBodyPxInfo: () => void;
137
- isPopupOpen: Readonly<import("vue").Ref<boolean>>;
138
- setPopupOpen: (isOpen: boolean) => void;
159
+ containerRef: import("vue").Ref<HTMLElement | undefined>;
139
160
  };
140
- setPopupOpen: (isOpen: boolean) => void;
141
- updateBodyPxInfo: () => void;
142
161
  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
- };
162
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
148
163
  expand: {
149
164
  type: BooleanConstructor;
150
165
  required: false;
151
166
  };
152
- }>> & {
153
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
154
- }, {
167
+ }>>, {
155
168
  expand: boolean;
156
169
  }>;
157
170
  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,9 @@ 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>;
850
+ observer: ResizeObserver;
839
851
  popupRect: import("vue").ComputedRef<{
840
852
  width: number;
841
853
  height: number;
@@ -848,17 +860,29 @@ declare const _sfc_main: import("vue").DefineComponent<{
848
860
  x: number;
849
861
  y: number;
850
862
  }>;
863
+ isDirectionChar: (char: string) => char is "t" | "l" | "r" | "b";
864
+ directionToTuple: (direction: "tl" | "tr" | "bl" | "br" | "rt" | "rb" | "lt" | "lb") => ["t" | "l" | "r" | "b", "t" | "l" | "r" | "b"];
865
+ convertDirection: (char: "t" | "l" | "r" | "b") => "t" | "b" | "r" | "l";
851
866
  computedDirection: import("vue").ComputedRef<"tl" | "tr" | "bl" | "br" | "rt" | "rb" | "lt" | "lb">;
867
+ inset: import("vue").ComputedRef<string>;
868
+ popupTranslate: import("vue").ComputedRef<string>;
852
869
  readonly popupStyle: string;
853
- readonly popupDirectionStyle: Record<"tl" | "tr" | "bl" | "br" | "rt" | "rb" | "lt" | "lb", string>;
854
870
  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">;
871
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onClose"[], "onClose", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
872
+ isOpen: {
873
+ type: BooleanConstructor;
860
874
  required: true;
861
875
  };
876
+ closeOnBlur: {
877
+ type: BooleanConstructor;
878
+ required: false;
879
+ default: boolean;
880
+ };
881
+ layer: {
882
+ type: import("vue").PropType<"floating" | "popover">;
883
+ required: false;
884
+ default: string;
885
+ };
862
886
  gap: {
863
887
  type: import("vue").PropType<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max">;
864
888
  required: false;
@@ -869,22 +893,20 @@ declare const _sfc_main: import("vue").DefineComponent<{
869
893
  required: false;
870
894
  default: string;
871
895
  };
872
- }>>, {
896
+ }>> & {
897
+ onOnClose?: ((...args: any[]) => any) | undefined;
898
+ }, {
873
899
  direction: "tl" | "tr" | "bl" | "br" | "rt" | "rb" | "lt" | "lb";
874
900
  gap: "at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max";
901
+ closeOnBlur: boolean;
902
+ layer: "floating" | "popover";
875
903
  }>;
876
904
  readonly WizPopupContainer: import("vue").DefineComponent<{
877
- modelValue: {
878
- type: BooleanConstructor;
879
- required: true;
880
- };
881
905
  expand: {
882
906
  type: BooleanConstructor;
883
907
  required: false;
884
908
  };
885
909
  }, {
886
- props: any;
887
- emit: (event: "update:modelValue", value: boolean) => void;
888
910
  popupContainerRef: import("vue").Ref<HTMLElement | undefined>;
889
911
  provider: {
890
912
  initialPxInfo: {
@@ -904,24 +926,15 @@ declare const _sfc_main: import("vue").DefineComponent<{
904
926
  readonly height: number;
905
927
  };
906
928
  updateBodyPxInfo: () => void;
907
- isPopupOpen: Readonly<import("vue").Ref<boolean>>;
908
- setPopupOpen: (isOpen: boolean) => void;
929
+ containerRef: import("vue").Ref<HTMLElement | undefined>;
909
930
  };
910
- setPopupOpen: (isOpen: boolean) => void;
911
- updateBodyPxInfo: () => void;
912
931
  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
- };
932
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
918
933
  expand: {
919
934
  type: BooleanConstructor;
920
935
  required: false;
921
936
  };
922
- }>> & {
923
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
924
- }, {
937
+ }>>, {
925
938
  expand: boolean;
926
939
  }>;
927
940
  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";