yuyeon 0.0.41 → 0.0.42-rc10

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 (179) hide show
  1. package/dist/style.css +1 -1
  2. package/dist/yuyeon.js +5157 -3010
  3. package/dist/yuyeon.umd.cjs +8 -4
  4. package/lib/components/button/YButton.scss +2 -1
  5. package/lib/components/date-picker/YDateCalendar.mjs +235 -5
  6. package/lib/components/date-picker/YDateCalendar.mjs.map +1 -1
  7. package/lib/components/date-picker/YDateCalendar.scss +82 -0
  8. package/lib/components/date-picker/YDatePicker.mjs.map +1 -1
  9. package/lib/components/date-picker/YDatePickerControl.mjs +29 -0
  10. package/lib/components/date-picker/YDatePickerControl.mjs.map +1 -0
  11. package/lib/components/date-picker/YDatePickerControl.scss +3 -0
  12. package/lib/components/date-picker/index.mjs +1 -1
  13. package/lib/components/date-picker/index.mjs.map +1 -1
  14. package/lib/components/divider/YDivider.mjs +4 -2
  15. package/lib/components/divider/YDivider.mjs.map +1 -1
  16. package/lib/components/dropdown/YDropdown.mjs +11 -5
  17. package/lib/components/dropdown/YDropdown.mjs.map +1 -1
  18. package/lib/components/dropdown/YDropdown.scss +3 -8
  19. package/lib/components/field-input/YFieldInput.mjs +10 -10
  20. package/lib/components/field-input/YFieldInput.mjs.map +1 -1
  21. package/lib/components/icon/YIcon.mjs +62 -0
  22. package/lib/components/icon/YIcon.mjs.map +1 -0
  23. package/lib/components/icon/YIcon.scss +18 -0
  24. package/lib/components/icon/index.mjs +2 -0
  25. package/lib/components/icon/index.mjs.map +1 -0
  26. package/lib/components/icon/poly.mjs +57 -0
  27. package/lib/components/icon/poly.mjs.map +1 -0
  28. package/lib/components/icons/index.mjs +14 -0
  29. package/lib/components/icons/index.mjs.map +1 -1
  30. package/lib/components/index.mjs +3 -0
  31. package/lib/components/index.mjs.map +1 -1
  32. package/lib/components/input/YInput.mjs +1 -0
  33. package/lib/components/input/YInput.mjs.map +1 -1
  34. package/lib/components/input/index.mjs.map +1 -1
  35. package/lib/components/layer/YLayer.mjs +2 -0
  36. package/lib/components/layer/YLayer.mjs.map +1 -1
  37. package/lib/components/layer/active-stack.mjs.map +1 -1
  38. package/lib/components/list/YList.mjs.map +1 -1
  39. package/lib/components/menu/YMenu.mjs +14 -2
  40. package/lib/components/menu/YMenu.mjs.map +1 -1
  41. package/lib/components/select/YSelect.mjs +9 -6
  42. package/lib/components/select/YSelect.mjs.map +1 -1
  43. package/lib/components/select/YSelect.scss +3 -8
  44. package/lib/components/switch/YSwitch.mjs +2 -0
  45. package/lib/components/switch/YSwitch.mjs.map +1 -1
  46. package/lib/components/tab/types.mjs.map +1 -1
  47. package/lib/components/table/composibles/pagination.mjs.map +1 -1
  48. package/lib/components/textarea/YTextarea.mjs +159 -0
  49. package/lib/components/textarea/YTextarea.mjs.map +1 -0
  50. package/lib/components/textarea/YTextarea.scss +25 -0
  51. package/lib/components/textarea/index.mjs +2 -0
  52. package/lib/components/textarea/index.mjs.map +1 -0
  53. package/lib/components/tooltip/YTooltip.mjs +2 -2
  54. package/lib/components/tooltip/YTooltip.mjs.map +1 -1
  55. package/lib/components/tree-view/YTreeView.mjs +5 -0
  56. package/lib/components/tree-view/YTreeView.mjs.map +1 -1
  57. package/lib/components/tree-view/YTreeViewNode.mjs +1 -0
  58. package/lib/components/tree-view/YTreeViewNode.mjs.map +1 -1
  59. package/lib/composables/communication.mjs +9 -0
  60. package/lib/composables/communication.mjs.map +1 -1
  61. package/lib/composables/date/factory.mjs +12 -0
  62. package/lib/composables/date/factory.mjs.map +1 -0
  63. package/lib/composables/date/index.mjs +19 -1
  64. package/lib/composables/date/index.mjs.map +1 -1
  65. package/lib/composables/date/setting.mjs +11 -0
  66. package/lib/composables/date/setting.mjs.map +1 -0
  67. package/lib/composables/date/types.mjs +1 -1
  68. package/lib/composables/date/types.mjs.map +1 -1
  69. package/lib/composables/i18n/index.mjs +30 -0
  70. package/lib/composables/i18n/index.mjs.map +1 -0
  71. package/lib/composables/i18n/locale.mjs +5 -0
  72. package/lib/composables/i18n/locale.mjs.map +1 -0
  73. package/lib/composables/i18n/rtl.mjs +34 -0
  74. package/lib/composables/i18n/rtl.mjs.map +1 -0
  75. package/lib/composables/i18n/share.mjs +2 -0
  76. package/lib/composables/i18n/share.mjs.map +1 -0
  77. package/lib/composables/icon.mjs +141 -0
  78. package/lib/composables/icon.mjs.map +1 -1
  79. package/lib/composables/index.mjs +1 -0
  80. package/lib/composables/index.mjs.map +1 -1
  81. package/lib/composables/theme/index.mjs.map +1 -1
  82. package/lib/composables/transition.mjs.map +1 -1
  83. package/lib/i18n/built-in.mjs +77 -0
  84. package/lib/i18n/built-in.mjs.map +1 -0
  85. package/lib/i18n/config.mjs +82 -0
  86. package/lib/i18n/config.mjs.map +1 -0
  87. package/lib/i18n/types.mjs +2 -0
  88. package/lib/i18n/types.mjs.map +1 -0
  89. package/lib/index.mjs +24 -5
  90. package/lib/index.mjs.map +1 -1
  91. package/lib/locales/en.mjs +4 -0
  92. package/lib/locales/en.mjs.map +1 -0
  93. package/lib/locales/index.mjs +3 -0
  94. package/lib/locales/index.mjs.map +1 -0
  95. package/lib/locales/ko.mjs +4 -0
  96. package/lib/locales/ko.mjs.map +1 -0
  97. package/lib/styles/util/_mixin.scss +34 -0
  98. package/lib/types/index.mjs.map +1 -1
  99. package/lib/util/date/adapters/yuyeon-date-adapter.mjs +99 -0
  100. package/lib/util/date/adapters/yuyeon-date-adapter.mjs.map +1 -0
  101. package/lib/util/date/built-in.mjs +18 -104
  102. package/lib/util/date/built-in.mjs.map +1 -1
  103. package/lib/util/date/index.mjs +1 -0
  104. package/lib/util/date/index.mjs.map +1 -1
  105. package/lib/util/date/types.mjs.map +1 -1
  106. package/lib/util/index.mjs +1 -0
  107. package/lib/util/index.mjs.map +1 -1
  108. package/package.json +7 -5
  109. package/types/abstract/items.d.ts +4 -4
  110. package/types/components/button/YButton.d.ts +10 -10
  111. package/types/components/checkbox/YInputCheckbox.d.ts +2 -2
  112. package/types/components/date-picker/YDateCalendar.d.ts +136 -0
  113. package/types/components/date-picker/index.d.ts +1 -0
  114. package/types/components/dialog/YDialog.d.ts +3 -2
  115. package/types/components/dropdown/YDropdown.d.ts +34 -13
  116. package/types/components/field-input/YFieldInput.d.ts +10 -10
  117. package/types/components/form/YForm.d.ts +1 -1
  118. package/types/components/icon/YIcon.d.ts +81 -0
  119. package/types/components/icon/index.d.ts +1 -0
  120. package/types/components/icons/YIconCheckbox.d.ts +2 -2
  121. package/types/components/icons/YIconSort.d.ts +2 -2
  122. package/types/components/icons/index.d.ts +48 -0
  123. package/types/components/index.d.ts +3 -0
  124. package/types/components/input/YInput.d.ts +28 -11
  125. package/types/components/layer/YLayer.d.ts +23 -22
  126. package/types/components/layer/active-stack.d.ts +1 -2
  127. package/types/components/list/YList.d.ts +3 -3
  128. package/types/components/list/YListItem.d.ts +5 -5
  129. package/types/components/menu/YMenu.d.ts +13 -8
  130. package/types/components/pagination/YPagination.d.ts +5 -5
  131. package/types/components/progress-bar/YProgressBar.d.ts +1 -1
  132. package/types/components/select/YSelect.d.ts +80 -64
  133. package/types/components/switch/YSwitch.d.ts +1 -1
  134. package/types/components/tab/YTab.d.ts +15 -15
  135. package/types/components/tab/YTabs.d.ts +5 -5
  136. package/types/components/tab/types.d.ts +1 -0
  137. package/types/components/table/YDataTable.d.ts +18 -18
  138. package/types/components/table/YDataTableBody.d.ts +5 -5
  139. package/types/components/table/YDataTableControl.d.ts +2 -2
  140. package/types/components/table/YDataTableHead.d.ts +2 -2
  141. package/types/components/table/YDataTableServer.d.ts +21 -21
  142. package/types/components/table/YTable.d.ts +4 -4
  143. package/types/components/table/composibles/header.d.ts +1 -1
  144. package/types/components/table/composibles/items.d.ts +3 -3
  145. package/types/components/table/composibles/pagination.d.ts +2 -2
  146. package/types/components/table/composibles/selection.d.ts +2 -2
  147. package/types/components/table/composibles/sorting.d.ts +1 -1
  148. package/types/components/textarea/YTextarea.d.ts +737 -0
  149. package/types/components/textarea/index.d.ts +1 -0
  150. package/types/components/tooltip/YTooltip.d.ts +13 -12
  151. package/types/components/tree-view/YTreeView.d.ts +7 -4
  152. package/types/components/tree-view/YTreeViewNode.d.ts +17 -9
  153. package/types/composables/choice.d.ts +1 -1
  154. package/types/composables/communication.d.ts +2 -0
  155. package/types/composables/coordinate/index.d.ts +6 -6
  156. package/types/composables/date/factory.d.ts +2 -0
  157. package/types/composables/date/index.d.ts +11 -0
  158. package/types/composables/date/setting.d.ts +4 -0
  159. package/types/composables/date/types.d.ts +12 -0
  160. package/types/composables/i18n/index.d.ts +8 -0
  161. package/types/composables/i18n/locale.d.ts +2 -0
  162. package/types/composables/i18n/rtl.d.ts +20 -0
  163. package/types/composables/i18n/share.d.ts +1 -0
  164. package/types/composables/icon.d.ts +96 -0
  165. package/types/composables/index.d.ts +2 -0
  166. package/types/composables/list-items.d.ts +10 -10
  167. package/types/composables/theme/index.d.ts +5 -5
  168. package/types/globals.d.ts +12 -7
  169. package/types/i18n/built-in.d.ts +2 -0
  170. package/types/i18n/config.d.ts +81 -0
  171. package/types/i18n/types.d.ts +19 -0
  172. package/types/locales/en.d.ts +4 -0
  173. package/types/shims.d.ts +88 -83
  174. package/types/types/index.d.ts +5 -0
  175. package/types/util/date/adapters/yuyeon-date-adapter.d.ts +38 -0
  176. package/types/util/date/built-in.d.ts +35 -0
  177. package/types/util/date/index.d.ts +3 -0
  178. package/types/util/date/types.d.ts +163 -0
  179. package/types/util/index.d.ts +1 -0
@@ -13,4 +13,5 @@ export * from "./frame-scheduler.mjs";
13
13
  export * from "./vue-component.mjs";
14
14
  export * from "./reactivity.mjs";
15
15
  export * from "./color/index.mjs";
16
+ export * from "./date/index.mjs";
16
17
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../../src/util/index.ts"],"sourcesContent":["export * from './common';\r\nexport * from './collection';\r\nexport * from './array';\r\nexport * from './string';\r\nexport * from './validation';\r\nexport * from './debounce';\r\nexport * from './dom';\r\nexport * from './ui';\r\nexport * from './rect';\r\nexport * from './anchor';\r\nexport * from './scroll';\r\nexport * from './frame-scheduler';\r\nexport * from './vue-component';\r\nexport * from './reactivity';\r\nexport * from './color';\r\n"],"mappings":""}
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../../src/util/index.ts"],"sourcesContent":["export * from './common';\r\nexport * from './collection';\r\nexport * from './array';\r\nexport * from './string';\r\nexport * from './validation';\r\nexport * from './debounce';\r\nexport * from './dom';\r\nexport * from './ui';\r\nexport * from './rect';\r\nexport * from './anchor';\r\nexport * from './scroll';\r\nexport * from './frame-scheduler';\r\nexport * from './vue-component';\r\nexport * from './reactivity';\r\nexport * from './color';\r\nexport * from './date';\r\n"],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yuyeon",
3
- "version": "0.0.41",
3
+ "version": "0.0.42-rc10",
4
4
  "keywords": [
5
5
  "UI Library",
6
6
  "Vue"
@@ -24,6 +24,7 @@
24
24
  "default": "./lib/index.mjs"
25
25
  },
26
26
  "./styles/*": "./lib/styles/*",
27
+ "./locales": "./lib/locales/index.mjs",
27
28
  "./lib": {
28
29
  "types": "./types/index.d.ts"
29
30
  },
@@ -31,9 +32,10 @@
31
32
  "types": "./types/components/index.d.ts",
32
33
  "module": "./lib/components/index.mjs"
33
34
  },
34
- "./composibles": {
35
- "types": "./types/composibles/index.d.ts",
36
- "module": "./lib/composibles/index.mjs"
35
+ "./composables": {
36
+ "types": "./types/composables/index.d.ts",
37
+ "module": "./lib/composables/index.mjs",
38
+ "default": "./lib/composables/index.mjs"
37
39
  },
38
40
  "./util": {
39
41
  "types": "./types/util/index.d.ts",
@@ -103,7 +105,7 @@
103
105
  "vite-plugin-dts": "^2.2.0",
104
106
  "vue": "^3.3.4",
105
107
  "vue-router": "^4.2.5",
106
- "vue-tsc": "^1.2.0"
108
+ "vue-tsc": "^1.8.25"
107
109
  },
108
110
  "peerDependencies": {
109
111
  "motion": "^10.15.5",
@@ -11,7 +11,7 @@ export declare const pressItemsPropsOptions: <Defaults extends {
11
11
  } : Omit<{
12
12
  type: PropType<any[]>;
13
13
  default: () => never[];
14
- }, "default" | "type"> & {
14
+ }, "type" | "default"> & {
15
15
  type: PropType<unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"]>;
16
16
  default: unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"];
17
17
  };
@@ -21,7 +21,7 @@ export declare const pressItemsPropsOptions: <Defaults extends {
21
21
  } : Omit<{
22
22
  type: PropType<string>;
23
23
  default: string;
24
- }, "default" | "type"> & {
24
+ }, "type" | "default"> & {
25
25
  type: PropType<unknown extends Defaults["itemKey"] ? string : string | Defaults["itemKey"]>;
26
26
  default: unknown extends Defaults["itemKey"] ? string : string | Defaults["itemKey"];
27
27
  };
@@ -31,7 +31,7 @@ export declare const pressItemsPropsOptions: <Defaults extends {
31
31
  } : Omit<{
32
32
  type: PropType<string>;
33
33
  default: string;
34
- }, "default" | "type"> & {
34
+ }, "type" | "default"> & {
35
35
  type: PropType<unknown extends Defaults["itemText"] ? string : string | Defaults["itemText"]>;
36
36
  default: unknown extends Defaults["itemText"] ? string : string | Defaults["itemText"];
37
37
  };
@@ -41,7 +41,7 @@ export declare const pressItemsPropsOptions: <Defaults extends {
41
41
  } : Omit<{
42
42
  type: PropType<string | boolean>;
43
43
  default: string;
44
- }, "default" | "type"> & {
44
+ }, "type" | "default"> & {
45
45
  type: PropType<unknown extends Defaults["itemChildren"] ? string | boolean : NonNullable<string | boolean> | Defaults["itemChildren"]>;
46
46
  default: unknown extends Defaults["itemChildren"] ? string | boolean : NonNullable<string | boolean> | Defaults["itemChildren"];
47
47
  };
@@ -60,7 +60,7 @@ export declare const pressYButtonProps: <Defaults extends {
60
60
  } : Omit<{
61
61
  type: BooleanConstructor;
62
62
  default: undefined;
63
- }, "default" | "type"> & {
63
+ }, "type" | "default"> & {
64
64
  type: PropType<unknown extends Defaults["active"] ? boolean : boolean | Defaults["active"]>;
65
65
  default: unknown extends Defaults["active"] ? boolean : boolean | Defaults["active"];
66
66
  };
@@ -70,7 +70,7 @@ export declare const pressYButtonProps: <Defaults extends {
70
70
  } : Omit<{
71
71
  type: null;
72
72
  default: import("vue").InjectionKey<import("../../composables/choice").ChoiceProvide>;
73
- }, "default" | "type"> & {
73
+ }, "type" | "default"> & {
74
74
  type: PropType<unknown extends Defaults["injectSymbol"] ? any : any>;
75
75
  default: unknown extends Defaults["injectSymbol"] ? any : any;
76
76
  };
@@ -78,7 +78,7 @@ export declare const pressYButtonProps: <Defaults extends {
78
78
  type: PropType<string>;
79
79
  } : Omit<{
80
80
  type: PropType<string>;
81
- }, "default" | "type"> & {
81
+ }, "type" | "default"> & {
82
82
  type: PropType<unknown extends Defaults["variation"] ? string : string | Defaults["variation"]>;
83
83
  default: unknown extends Defaults["variation"] ? string : string | Defaults["variation"];
84
84
  };
@@ -96,7 +96,7 @@ export declare const pressYButtonProps: <Defaults extends {
96
96
  } : Omit<{
97
97
  type: BooleanConstructor;
98
98
  default: boolean;
99
- }, "default" | "type"> & {
99
+ }, "type" | "default"> & {
100
100
  type: PropType<unknown extends Defaults["outlined"] ? boolean : boolean | Defaults["outlined"]>;
101
101
  default: unknown extends Defaults["outlined"] ? boolean : boolean | Defaults["outlined"];
102
102
  };
@@ -106,7 +106,7 @@ export declare const pressYButtonProps: <Defaults extends {
106
106
  } : Omit<{
107
107
  type: BooleanConstructor;
108
108
  default: boolean;
109
- }, "default" | "type"> & {
109
+ }, "type" | "default"> & {
110
110
  type: PropType<unknown extends Defaults["rounded"] ? boolean : boolean | Defaults["rounded"]>;
111
111
  default: unknown extends Defaults["rounded"] ? boolean : boolean | Defaults["rounded"];
112
112
  };
@@ -116,7 +116,7 @@ export declare const pressYButtonProps: <Defaults extends {
116
116
  } : Omit<{
117
117
  type: BooleanConstructor;
118
118
  default: boolean;
119
- }, "default" | "type"> & {
119
+ }, "type" | "default"> & {
120
120
  type: PropType<unknown extends Defaults["filled"] ? boolean : boolean | Defaults["filled"]>;
121
121
  default: unknown extends Defaults["filled"] ? boolean : boolean | Defaults["filled"];
122
122
  };
@@ -124,7 +124,7 @@ export declare const pressYButtonProps: <Defaults extends {
124
124
  type: StringConstructor;
125
125
  } : Omit<{
126
126
  type: StringConstructor;
127
- }, "default" | "type"> & {
127
+ }, "type" | "default"> & {
128
128
  type: PropType<unknown extends Defaults["color"] ? string : string | Defaults["color"]>;
129
129
  default: unknown extends Defaults["color"] ? string : string | Defaults["color"];
130
130
  };
@@ -134,7 +134,7 @@ export declare const pressYButtonProps: <Defaults extends {
134
134
  } : Omit<{
135
135
  type: BooleanConstructor;
136
136
  default: boolean;
137
- }, "default" | "type"> & {
137
+ }, "type" | "default"> & {
138
138
  type: PropType<unknown extends Defaults["noWave"] ? boolean : boolean | Defaults["noWave"]>;
139
139
  default: unknown extends Defaults["noWave"] ? boolean : boolean | Defaults["noWave"];
140
140
  };
@@ -232,17 +232,17 @@ export declare const YButton: import("vue").DefineComponent<{
232
232
  value: boolean;
233
233
  }) => any) | undefined;
234
234
  }, {
235
+ icon: boolean;
236
+ disabled: boolean;
235
237
  replace: boolean;
236
238
  small: boolean;
237
239
  loading: boolean;
238
240
  active: boolean;
239
241
  injectSymbol: any;
240
- icon: boolean;
241
242
  outlined: boolean;
242
243
  rounded: boolean;
243
244
  filled: boolean;
244
245
  noWave: boolean;
245
246
  exact: boolean;
246
- disabled: boolean;
247
247
  }, {}>;
248
248
  export type YButton = InstanceType<typeof YButton>;
@@ -26,9 +26,9 @@ declare const _default: import("vue").DefineComponent<{
26
26
  indeterminate: BooleanConstructor;
27
27
  disabled: BooleanConstructor;
28
28
  }>>, {
29
- disabled: boolean;
30
- indeterminate: boolean;
31
29
  checked: boolean;
30
+ indeterminate: boolean;
31
+ disabled: boolean;
32
32
  }, {}> | null;
33
33
  }, {
34
34
  onFocus(e: FocusEvent): void;
@@ -0,0 +1,136 @@
1
+ import type { PropType } from 'vue';
2
+ export declare const pressYDateCalendarPropsOptions: <Defaults extends {
3
+ year?: unknown;
4
+ month?: unknown;
5
+ modelValue?: unknown;
6
+ multiple?: unknown;
7
+ range?: unknown;
8
+ allowedDates?: unknown;
9
+ max?: unknown;
10
+ min?: unknown;
11
+ disabled?: unknown;
12
+ color?: unknown;
13
+ hideWeekdays?: unknown;
14
+ showAdjacentMonthDates?: unknown;
15
+ hideHeader?: unknown;
16
+ } = {}>(defaults?: Defaults | undefined) => {
17
+ year: unknown extends Defaults["year"] ? (StringConstructor | NumberConstructor)[] : {
18
+ type: PropType<unknown extends Defaults["year"] ? string | number : NonNullable<string | number> | Defaults["year"]>;
19
+ default: unknown extends Defaults["year"] ? string | number : NonNullable<string | number> | Defaults["year"];
20
+ };
21
+ month: unknown extends Defaults["month"] ? (StringConstructor | NumberConstructor)[] : {
22
+ type: PropType<unknown extends Defaults["month"] ? string | number : NonNullable<string | number> | Defaults["month"]>;
23
+ default: unknown extends Defaults["month"] ? string | number : NonNullable<string | number> | Defaults["month"];
24
+ };
25
+ modelValue: unknown extends Defaults["modelValue"] ? PropType<unknown[]> : {
26
+ type: PropType<unknown extends Defaults["modelValue"] ? unknown[] : unknown[] | Defaults["modelValue"]>;
27
+ default: unknown extends Defaults["modelValue"] ? unknown[] : unknown[] | Defaults["modelValue"];
28
+ };
29
+ multiple: unknown extends Defaults["multiple"] ? BooleanConstructor : {
30
+ type: PropType<unknown extends Defaults["multiple"] ? boolean : boolean | Defaults["multiple"]>;
31
+ default: unknown extends Defaults["multiple"] ? boolean : boolean | Defaults["multiple"];
32
+ };
33
+ range: unknown extends Defaults["range"] ? BooleanConstructor : {
34
+ type: PropType<unknown extends Defaults["range"] ? boolean : boolean | Defaults["range"]>;
35
+ default: unknown extends Defaults["range"] ? boolean : boolean | Defaults["range"];
36
+ };
37
+ allowedDates: unknown extends Defaults["allowedDates"] ? (ArrayConstructor | FunctionConstructor)[] : {
38
+ type: PropType<unknown extends Defaults["allowedDates"] ? Function | unknown[] : Defaults["allowedDates"] | NonNullable<Function | unknown[]>>;
39
+ default: unknown extends Defaults["allowedDates"] ? Function | unknown[] : Defaults["allowedDates"] | NonNullable<Function | unknown[]>;
40
+ };
41
+ max: unknown extends Defaults["max"] ? PropType<unknown> : {
42
+ type: PropType<unknown extends Defaults["max"] ? unknown : {} | Defaults["max"]>;
43
+ default: unknown extends Defaults["max"] ? unknown : {} | Defaults["max"];
44
+ };
45
+ min: unknown extends Defaults["min"] ? PropType<unknown> : {
46
+ type: PropType<unknown extends Defaults["min"] ? unknown : {} | Defaults["min"]>;
47
+ default: unknown extends Defaults["min"] ? unknown : {} | Defaults["min"];
48
+ };
49
+ disabled: unknown extends Defaults["disabled"] ? BooleanConstructor : {
50
+ type: PropType<unknown extends Defaults["disabled"] ? boolean : boolean | Defaults["disabled"]>;
51
+ default: unknown extends Defaults["disabled"] ? boolean : boolean | Defaults["disabled"];
52
+ };
53
+ color: unknown extends Defaults["color"] ? StringConstructor : {
54
+ type: PropType<unknown extends Defaults["color"] ? string : string | Defaults["color"]>;
55
+ default: unknown extends Defaults["color"] ? string : string | Defaults["color"];
56
+ };
57
+ hideWeekdays: unknown extends Defaults["hideWeekdays"] ? BooleanConstructor : {
58
+ type: PropType<unknown extends Defaults["hideWeekdays"] ? boolean : boolean | Defaults["hideWeekdays"]>;
59
+ default: unknown extends Defaults["hideWeekdays"] ? boolean : boolean | Defaults["hideWeekdays"];
60
+ };
61
+ showAdjacentMonthDates: unknown extends Defaults["showAdjacentMonthDates"] ? {
62
+ type: BooleanConstructor;
63
+ default: boolean;
64
+ } : Omit<{
65
+ type: BooleanConstructor;
66
+ default: boolean;
67
+ }, "type" | "default"> & {
68
+ type: PropType<unknown extends Defaults["showAdjacentMonthDates"] ? boolean : boolean | Defaults["showAdjacentMonthDates"]>;
69
+ default: unknown extends Defaults["showAdjacentMonthDates"] ? boolean : boolean | Defaults["showAdjacentMonthDates"];
70
+ };
71
+ hideHeader: unknown extends Defaults["hideHeader"] ? BooleanConstructor : {
72
+ type: PropType<unknown extends Defaults["hideHeader"] ? boolean : boolean | Defaults["hideHeader"]>;
73
+ default: unknown extends Defaults["hideHeader"] ? boolean : boolean | Defaults["hideHeader"];
74
+ };
75
+ };
76
+ export declare const YDateCalendar: import("vue").DefineComponent<{
77
+ year: (StringConstructor | NumberConstructor)[];
78
+ month: (StringConstructor | NumberConstructor)[];
79
+ modelValue: PropType<unknown[]>;
80
+ multiple: BooleanConstructor;
81
+ range: BooleanConstructor;
82
+ allowedDates: (ArrayConstructor | FunctionConstructor)[];
83
+ max: PropType<unknown>;
84
+ min: PropType<unknown>;
85
+ disabled: BooleanConstructor;
86
+ color: StringConstructor;
87
+ hideWeekdays: BooleanConstructor;
88
+ showAdjacentMonthDates: {
89
+ type: BooleanConstructor;
90
+ default: boolean;
91
+ };
92
+ hideHeader: BooleanConstructor;
93
+ }, {
94
+ day$: import("vue").Ref<never[]>;
95
+ container$: import("vue").Ref<any>;
96
+ dateUtil: import("../../composables/date/types").DateInstance<unknown>;
97
+ displayValue: import("vue").ComputedRef<unknown>;
98
+ month: import("vue").WritableComputedRef<any>;
99
+ year: import("vue").WritableComputedRef<any>;
100
+ rangeStart: import("vue").ComputedRef<any>;
101
+ rangeEnd: import("vue").ComputedRef<any>;
102
+ model: import("vue").WritableComputedRef<any>;
103
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
104
+ 'update:modelValue': (date: any) => boolean;
105
+ 'update:year': (date: any) => boolean;
106
+ 'update:month': (date: any) => boolean;
107
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
108
+ year: (StringConstructor | NumberConstructor)[];
109
+ month: (StringConstructor | NumberConstructor)[];
110
+ modelValue: PropType<unknown[]>;
111
+ multiple: BooleanConstructor;
112
+ range: BooleanConstructor;
113
+ allowedDates: (ArrayConstructor | FunctionConstructor)[];
114
+ max: PropType<unknown>;
115
+ min: PropType<unknown>;
116
+ disabled: BooleanConstructor;
117
+ color: StringConstructor;
118
+ hideWeekdays: BooleanConstructor;
119
+ showAdjacentMonthDates: {
120
+ type: BooleanConstructor;
121
+ default: boolean;
122
+ };
123
+ hideHeader: BooleanConstructor;
124
+ }>> & {
125
+ "onUpdate:modelValue"?: ((date: any) => any) | undefined;
126
+ "onUpdate:year"?: ((date: any) => any) | undefined;
127
+ "onUpdate:month"?: ((date: any) => any) | undefined;
128
+ }, {
129
+ disabled: boolean;
130
+ multiple: boolean;
131
+ range: boolean;
132
+ hideWeekdays: boolean;
133
+ showAdjacentMonthDates: boolean;
134
+ hideHeader: boolean;
135
+ }, {}>;
136
+ export type YDateCalendar = InstanceType<typeof YDateCalendar>;
@@ -0,0 +1 @@
1
+ export * from './YDateCalendar';
@@ -60,7 +60,7 @@ export declare const YDialog: import("vue").DefineComponent<{
60
60
  })>;
61
61
  default: string;
62
62
  };
63
- theme: StringConstructor;
63
+ theme: PropType<string>;
64
64
  modelValue: {
65
65
  type: PropType<boolean>;
66
66
  };
@@ -111,6 +111,7 @@ export declare const YDialog: import("vue").DefineComponent<{
111
111
  };
112
112
  layerGroup: import("vue").ComputedRef<HTMLElement>;
113
113
  active: import("vue").WritableComputedRef<boolean>;
114
+ finish: import("vue").ShallowRef<boolean>;
114
115
  rendered: import("vue").ComputedRef<boolean>;
115
116
  lazyValue: import("vue").ComputedRef<any>;
116
117
  onAfterUpdate: () => void;
@@ -1725,7 +1726,7 @@ export declare const YDialog: import("vue").DefineComponent<{
1725
1726
  })>;
1726
1727
  default: string;
1727
1728
  };
1728
- theme: StringConstructor;
1729
+ theme: PropType<string>;
1729
1730
  modelValue: {
1730
1731
  type: PropType<boolean>;
1731
1732
  };
@@ -1,9 +1,11 @@
1
1
  import { PropType } from 'vue';
2
+ import { YIconIconProp } from '../icon';
2
3
  export declare const pressYDropdownPropsOptions: <Defaults extends {
3
4
  items?: unknown;
4
5
  itemKey?: unknown;
5
6
  itemText?: unknown;
6
7
  itemChildren?: unknown;
8
+ dropdownIcon?: unknown;
7
9
  position?: unknown;
8
10
  align?: unknown;
9
11
  origin?: unknown;
@@ -19,7 +21,7 @@ export declare const pressYDropdownPropsOptions: <Defaults extends {
19
21
  } : Omit<{
20
22
  type: PropType<any[]>;
21
23
  default: () => never[];
22
- }, "default" | "type"> & {
24
+ }, "type" | "default"> & {
23
25
  type: PropType<unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"]>;
24
26
  default: unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"];
25
27
  };
@@ -29,7 +31,7 @@ export declare const pressYDropdownPropsOptions: <Defaults extends {
29
31
  } : Omit<{
30
32
  type: PropType<string>;
31
33
  default: string;
32
- }, "default" | "type"> & {
34
+ }, "type" | "default"> & {
33
35
  type: PropType<unknown extends Defaults["itemKey"] ? string : string | Defaults["itemKey"]>;
34
36
  default: unknown extends Defaults["itemKey"] ? string : string | Defaults["itemKey"];
35
37
  };
@@ -39,7 +41,7 @@ export declare const pressYDropdownPropsOptions: <Defaults extends {
39
41
  } : Omit<{
40
42
  type: PropType<string>;
41
43
  default: string;
42
- }, "default" | "type"> & {
44
+ }, "type" | "default"> & {
43
45
  type: PropType<unknown extends Defaults["itemText"] ? string : string | Defaults["itemText"]>;
44
46
  default: unknown extends Defaults["itemText"] ? string : string | Defaults["itemText"];
45
47
  };
@@ -49,23 +51,33 @@ export declare const pressYDropdownPropsOptions: <Defaults extends {
49
51
  } : Omit<{
50
52
  type: PropType<string | boolean>;
51
53
  default: string;
52
- }, "default" | "type"> & {
54
+ }, "type" | "default"> & {
53
55
  type: PropType<unknown extends Defaults["itemChildren"] ? string | boolean : NonNullable<string | boolean> | Defaults["itemChildren"]>;
54
56
  default: unknown extends Defaults["itemChildren"] ? string | boolean : NonNullable<string | boolean> | Defaults["itemChildren"];
55
57
  };
58
+ dropdownIcon: unknown extends Defaults["dropdownIcon"] ? {
59
+ type: PropType<YIconIconProp>;
60
+ default: string;
61
+ } : Omit<{
62
+ type: PropType<YIconIconProp>;
63
+ default: string;
64
+ }, "type" | "default"> & {
65
+ type: PropType<unknown extends Defaults["dropdownIcon"] ? YIconIconProp : Defaults["dropdownIcon"] | NonNullable<YIconIconProp>>;
66
+ default: unknown extends Defaults["dropdownIcon"] ? YIconIconProp : Defaults["dropdownIcon"] | NonNullable<YIconIconProp>;
67
+ };
56
68
  position: unknown extends Defaults["position"] ? Omit<{
57
69
  type: PropType<"default" | "top" | "end" | "right" | "bottom" | "left" | "start">;
58
70
  default: string;
59
- }, "default" | "type"> & {
71
+ }, "type" | "default"> & {
60
72
  type: PropType<NonNullable<"default" | "top" | "end" | "right" | "bottom" | "left" | "start">>;
61
73
  default: NonNullable<"default" | "top" | "end" | "right" | "bottom" | "left" | "start">;
62
74
  } : Omit<Omit<{
63
75
  type: PropType<"default" | "top" | "end" | "right" | "bottom" | "left" | "start">;
64
76
  default: string;
65
- }, "default" | "type"> & {
77
+ }, "type" | "default"> & {
66
78
  type: PropType<NonNullable<"default" | "top" | "end" | "right" | "bottom" | "left" | "start">>;
67
79
  default: NonNullable<"default" | "top" | "end" | "right" | "bottom" | "left" | "start">;
68
- }, "default" | "type"> & {
80
+ }, "type" | "default"> & {
69
81
  type: PropType<unknown extends Defaults["position"] ? NonNullable<"default" | "top" | "end" | "right" | "bottom" | "left" | "start"> : Defaults["position"] | NonNullable<NonNullable<"default" | "top" | "end" | "right" | "bottom" | "left" | "start">>>;
70
82
  default: unknown extends Defaults["position"] ? NonNullable<"default" | "top" | "end" | "right" | "bottom" | "left" | "start"> : Defaults["position"] | NonNullable<NonNullable<"default" | "top" | "end" | "right" | "bottom" | "left" | "start">>;
71
83
  };
@@ -75,7 +87,7 @@ export declare const pressYDropdownPropsOptions: <Defaults extends {
75
87
  } : Omit<{
76
88
  type: PropType<"end" | "start" | "center">;
77
89
  default: string;
78
- }, "default" | "type"> & {
90
+ }, "type" | "default"> & {
79
91
  type: PropType<unknown extends Defaults["align"] ? "end" | "start" | "center" : NonNullable<"end" | "start" | "center"> | Defaults["align"]>;
80
92
  default: unknown extends Defaults["align"] ? "end" | "start" | "center" : NonNullable<"end" | "start" | "center"> | Defaults["align"];
81
93
  };
@@ -85,7 +97,7 @@ export declare const pressYDropdownPropsOptions: <Defaults extends {
85
97
  } : Omit<{
86
98
  type: StringConstructor;
87
99
  default: string;
88
- }, "default" | "type"> & {
100
+ }, "type" | "default"> & {
89
101
  type: PropType<unknown extends Defaults["origin"] ? string : string | Defaults["origin"]>;
90
102
  default: unknown extends Defaults["origin"] ? string : string | Defaults["origin"];
91
103
  };
@@ -93,7 +105,7 @@ export declare const pressYDropdownPropsOptions: <Defaults extends {
93
105
  type: (ArrayConstructor | StringConstructor | NumberConstructor)[];
94
106
  } : Omit<{
95
107
  type: (ArrayConstructor | StringConstructor | NumberConstructor)[];
96
- }, "default" | "type"> & {
108
+ }, "type" | "default"> & {
97
109
  type: PropType<unknown extends Defaults["offset"] ? string | number | unknown[] : NonNullable<string | number | unknown[]> | Defaults["offset"]>;
98
110
  default: unknown extends Defaults["offset"] ? string | number | unknown[] : NonNullable<string | number | unknown[]> | Defaults["offset"];
99
111
  };
@@ -103,7 +115,7 @@ export declare const pressYDropdownPropsOptions: <Defaults extends {
103
115
  } : Omit<{
104
116
  type: NumberConstructor;
105
117
  default: number;
106
- }, "default" | "type"> & {
118
+ }, "type" | "default"> & {
107
119
  type: PropType<unknown extends Defaults["viewportMargin"] ? number : number | Defaults["viewportMargin"]>;
108
120
  default: unknown extends Defaults["viewportMargin"] ? number : number | Defaults["viewportMargin"];
109
121
  };
@@ -137,10 +149,14 @@ export declare const YDropdown: import("vue").DefineComponent<{
137
149
  type: PropType<string | boolean>;
138
150
  default: string;
139
151
  };
152
+ dropdownIcon: {
153
+ type: PropType<YIconIconProp>;
154
+ default: string;
155
+ };
140
156
  position: Omit<{
141
157
  type: PropType<"default" | "top" | "end" | "right" | "bottom" | "left" | "start">;
142
158
  default: string;
143
- }, "default" | "type"> & {
159
+ }, "type" | "default"> & {
144
160
  type: PropType<NonNullable<"default" | "top" | "end" | "right" | "bottom" | "left" | "start">>;
145
161
  default: NonNullable<"default" | "top" | "end" | "right" | "bottom" | "left" | "start">;
146
162
  };
@@ -179,10 +195,14 @@ export declare const YDropdown: import("vue").DefineComponent<{
179
195
  type: PropType<string | boolean>;
180
196
  default: string;
181
197
  };
198
+ dropdownIcon: {
199
+ type: PropType<YIconIconProp>;
200
+ default: string;
201
+ };
182
202
  position: Omit<{
183
203
  type: PropType<"default" | "top" | "end" | "right" | "bottom" | "left" | "start">;
184
204
  default: string;
185
- }, "default" | "type"> & {
205
+ }, "type" | "default"> & {
186
206
  type: PropType<NonNullable<"default" | "top" | "end" | "right" | "bottom" | "left" | "start">>;
187
207
  default: NonNullable<"default" | "top" | "end" | "right" | "bottom" | "left" | "start">;
188
208
  };
@@ -216,4 +236,5 @@ export declare const YDropdown: import("vue").DefineComponent<{
216
236
  itemKey: string;
217
237
  itemText: string;
218
238
  itemChildren: string | boolean;
239
+ dropdownIcon: YIconIconProp;
219
240
  }, {}>;
@@ -45,7 +45,7 @@ export declare const pressYFieldInputPropsOptions: <Defaults extends {
45
45
  type: PropType<string | number>;
46
46
  } : Omit<{
47
47
  type: PropType<string | number>;
48
- }, "default" | "type"> & {
48
+ }, "type" | "default"> & {
49
49
  type: PropType<unknown extends Defaults["width"] ? string | number : NonNullable<string | number> | Defaults["width"]>;
50
50
  default: unknown extends Defaults["width"] ? string | number : NonNullable<string | number> | Defaults["width"];
51
51
  };
@@ -59,7 +59,7 @@ export declare const pressYFieldInputPropsOptions: <Defaults extends {
59
59
  } : Omit<{
60
60
  type: PropType<string>;
61
61
  default: string;
62
- }, "default" | "type"> & {
62
+ }, "type" | "default"> & {
63
63
  type: PropType<unknown extends Defaults["displayTag"] ? string : string | Defaults["displayTag"]>;
64
64
  default: unknown extends Defaults["displayTag"] ? string : string | Defaults["displayTag"];
65
65
  };
@@ -71,7 +71,7 @@ export declare const pressYFieldInputPropsOptions: <Defaults extends {
71
71
  type: PropType<any>;
72
72
  } : Omit<{
73
73
  type: PropType<any>;
74
- }, "default" | "type"> & {
74
+ }, "type" | "default"> & {
75
75
  type: PropType<unknown extends Defaults["modelValue"] ? any : any>;
76
76
  default: unknown extends Defaults["modelValue"] ? any : any;
77
77
  };
@@ -81,7 +81,7 @@ export declare const pressYFieldInputPropsOptions: <Defaults extends {
81
81
  } : Omit<{
82
82
  type: PropType<boolean>;
83
83
  default: boolean;
84
- }, "default" | "type"> & {
84
+ }, "type" | "default"> & {
85
85
  type: PropType<unknown extends Defaults["autoSelect"] ? boolean : boolean | Defaults["autoSelect"]>;
86
86
  default: unknown extends Defaults["autoSelect"] ? boolean : boolean | Defaults["autoSelect"];
87
87
  };
@@ -91,7 +91,7 @@ export declare const pressYFieldInputPropsOptions: <Defaults extends {
91
91
  } : Omit<{
92
92
  type: PropType<boolean>;
93
93
  default: boolean;
94
- }, "default" | "type"> & {
94
+ }, "type" | "default"> & {
95
95
  type: PropType<unknown extends Defaults["floating"] ? boolean : boolean | Defaults["floating"]>;
96
96
  default: unknown extends Defaults["floating"] ? boolean : boolean | Defaults["floating"];
97
97
  };
@@ -101,7 +101,7 @@ export declare const pressYFieldInputPropsOptions: <Defaults extends {
101
101
  } : Omit<{
102
102
  type: PropType<boolean>;
103
103
  default: () => false;
104
- }, "default" | "type"> & {
104
+ }, "type" | "default"> & {
105
105
  type: PropType<unknown extends Defaults["floated"] ? boolean : boolean | Defaults["floated"]>;
106
106
  default: unknown extends Defaults["floated"] ? boolean : boolean | Defaults["floated"];
107
107
  };
@@ -123,7 +123,7 @@ export declare const pressYFieldInputPropsOptions: <Defaults extends {
123
123
  } : Omit<{
124
124
  type: PropType<string>;
125
125
  default: string;
126
- }, "default" | "type"> & {
126
+ }, "type" | "default"> & {
127
127
  type: PropType<unknown extends Defaults["variation"] ? string : string | Defaults["variation"]>;
128
128
  default: unknown extends Defaults["variation"] ? string : string | Defaults["variation"];
129
129
  };
@@ -153,7 +153,7 @@ export declare const pressYFieldInputPropsOptions: <Defaults extends {
153
153
  } : Omit<{
154
154
  type: PropType<"success" | "warning" | "error" | undefined>;
155
155
  validator(value: string): boolean;
156
- }, "default" | "type"> & {
156
+ }, "type" | "default"> & {
157
157
  type: PropType<unknown extends Defaults["status"] ? "success" | "warning" | "error" | undefined : Defaults["status"] | NonNullable<"success" | "warning" | "error" | undefined>>;
158
158
  default: unknown extends Defaults["status"] ? "success" | "warning" | "error" | undefined : Defaults["status"] | NonNullable<"success" | "warning" | "error" | undefined>;
159
159
  };
@@ -183,7 +183,7 @@ export declare const pressYFieldInputPropsOptions: <Defaults extends {
183
183
  } : Omit<{
184
184
  type: PropType<string>;
185
185
  default: string;
186
- }, "default" | "type"> & {
186
+ }, "type" | "default"> & {
187
187
  type: PropType<unknown extends Defaults["tabindex"] ? string : string | Defaults["tabindex"]>;
188
188
  default: unknown extends Defaults["tabindex"] ? string : string | Defaults["tabindex"];
189
189
  };
@@ -193,7 +193,7 @@ export declare const pressYFieldInputPropsOptions: <Defaults extends {
193
193
  } : Omit<{
194
194
  type: PropType<string>;
195
195
  default: string;
196
- }, "default" | "type"> & {
196
+ }, "type" | "default"> & {
197
197
  type: PropType<unknown extends Defaults["type"] ? string : string | Defaults["type"]>;
198
198
  default: unknown extends Defaults["type"] ? string : string | Defaults["type"];
199
199
  };
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<{
26
26
  };
27
27
  loading: BooleanConstructor;
28
28
  }>>, {
29
- loading: boolean;
30
29
  tag: string;
30
+ loading: boolean;
31
31
  }, {}>;
32
32
  export default _default;