@luna-park/design 1.1.0 → 1.1.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 (202) hide show
  1. package/dist/app.d.ts +4 -0
  2. package/dist/components/breadcrumb/LBreadLink.vue.d.ts +7 -0
  3. package/dist/components/breadcrumb/LBreadcrumb.vue.d.ts +21 -0
  4. package/{src/components/breadcrumb/type.ts → dist/components/breadcrumb/type.d.ts} +5 -6
  5. package/dist/components/context/LContextMenu.vue.d.ts +7 -0
  6. package/dist/components/context/LContextMenuElement.vue.d.ts +6 -0
  7. package/dist/components/context/LContextMenuWrapper.vue.d.ts +22 -0
  8. package/dist/components/context/LContextOption.vue.d.ts +34 -0
  9. package/dist/components/context/LContextWrapper.vue.d.ts +20 -0
  10. package/dist/components/context/store.d.ts +40 -0
  11. package/{src/components/context/type.ts → dist/components/context/type.d.ts} +23 -27
  12. package/dist/components/dialog/LDialogAlert.vue.d.ts +5 -0
  13. package/dist/components/dialog/LDialogConfirm.vue.d.ts +5 -0
  14. package/dist/components/dialog/LDialogInjector.vue.d.ts +2 -0
  15. package/dist/components/dialog/LDialogPrompt.vue.d.ts +7 -0
  16. package/dist/components/dialog/LDialogWrapper.vue.d.ts +21 -0
  17. package/dist/components/dialog/lib.d.ts +3 -0
  18. package/dist/components/dialog/store.d.ts +22 -0
  19. package/dist/components/floating/LFloating.vue.d.ts +74 -0
  20. package/dist/components/form/LAutoInput.vue.d.ts +228 -0
  21. package/dist/components/form/LButton.vue.d.ts +43 -0
  22. package/dist/components/form/LCheckbox.vue.d.ts +12 -0
  23. package/dist/components/form/LColorInput.vue.d.ts +11 -0
  24. package/dist/components/form/LImageInput.vue.d.ts +11 -0
  25. package/dist/components/form/LInfo.vue.d.ts +23 -0
  26. package/dist/components/form/LInput.vue.d.ts +65 -0
  27. package/dist/components/form/LInputDateFloating.vue.d.ts +9 -0
  28. package/dist/components/form/LProgress.vue.d.ts +24 -0
  29. package/dist/components/form/LSelect.vue.d.ts +35 -0
  30. package/dist/components/form/LSwitch.vue.d.ts +10 -0
  31. package/dist/components/form/LTextarea.vue.d.ts +19 -0
  32. package/dist/components/form/color-picker/LColorAlpha.vue.d.ts +15 -0
  33. package/dist/components/form/color-picker/LColorHue.vue.d.ts +17 -0
  34. package/dist/components/form/color-picker/LColorModels.vue.d.ts +9 -0
  35. package/dist/components/form/color-picker/LColorPicker.vue.d.ts +10 -0
  36. package/dist/components/form/color-picker/LColorShade.vue.d.ts +21 -0
  37. package/dist/components/form/color-picker/LImagePicker.vue.d.ts +11 -0
  38. package/dist/components/form/dropdown/LDropdown.vue.d.ts +355 -0
  39. package/dist/components/form/dropdown/LDropdownOption.vue.d.ts +21 -0
  40. package/dist/components/form/dropdown/LDropdownSelection.vue.d.ts +20 -0
  41. package/{src/components/form/dropdown/types.ts → dist/components/form/dropdown/types.d.ts} +13 -15
  42. package/dist/components/form/emoji-picker/LEmojiList.vue.d.ts +10 -0
  43. package/dist/components/form/emoji-picker/LEmojiListCategory.vue.d.ts +11 -0
  44. package/dist/components/form/emoji-picker/LEmojiPicker.vue.d.ts +10 -0
  45. package/dist/components/form/emoji-picker/LEmojiSelect.vue.d.ts +9 -0
  46. package/dist/components/form/icon-picker/LIconList.vue.d.ts +12 -0
  47. package/dist/components/form/icon-picker/LIconMaterial.vue.d.ts +6 -0
  48. package/dist/components/form/icon-picker/LIconPicker.vue.d.ts +15 -0
  49. package/dist/components/form/icon-picker/LIconSelect.vue.d.ts +10 -0
  50. package/dist/components/icons/LKeyIcon.vue.d.ts +7 -0
  51. package/dist/components/icons/LMouseIcon.vue.d.ts +10 -0
  52. package/dist/components/icons/LShortcut.vue.d.ts +5 -0
  53. package/dist/components/layout/LResizer.vue.d.ts +35 -0
  54. package/dist/components/misc/LIcon.vue.d.ts +8 -0
  55. package/dist/components/misc/LLineLoader.vue.d.ts +6 -0
  56. package/dist/components/misc/LLoading.vue.d.ts +2 -0
  57. package/dist/components/misc/LStarsBackground.vue.d.ts +10 -0
  58. package/dist/components/navigation/LElementsPagination.vue.d.ts +18 -0
  59. package/dist/components/navigation/LPagination.vue.d.ts +15 -0
  60. package/dist/components/table/LCell.vue.d.ts +20 -0
  61. package/dist/components/table/LLine.vue.d.ts +17 -0
  62. package/dist/components/table/LTable.vue.d.ts +17 -0
  63. package/dist/components/toasts/LContainer.vue.d.ts +25 -0
  64. package/dist/components/toasts/LToast.vue.d.ts +25 -0
  65. package/dist/components/toasts/LToastInjector.vue.d.ts +2 -0
  66. package/dist/components/toasts/requests.d.ts +9 -0
  67. package/dist/components/toasts/store.d.ts +35 -0
  68. package/dist/components/utils/LVirtualElement.vue.d.ts +25 -0
  69. package/dist/components/utils/LVirtualScroller.vue.d.ts +21 -0
  70. package/{src/components/utils/virtual.ts → dist/components/utils/virtual.d.ts} +6 -6
  71. package/dist/histoire.setup.d.ts +1 -0
  72. package/dist/icons.d.ts +2 -0
  73. package/dist/index.css +2 -0
  74. package/dist/index.d.ts +56 -0
  75. package/dist/index.js +2823 -0
  76. package/dist/index.umd.cjs +4 -0
  77. package/package.json +4 -1
  78. package/eslint.config.js +0 -9
  79. package/histoire.config.ts +0 -60
  80. package/src/app.ts +0 -9
  81. package/src/assets/logo_rc_color.svg +0 -54
  82. package/src/assets/logo_rc_square_blue.svg +0 -16
  83. package/src/components/breadcrumb/LBreadLink.vue +0 -40
  84. package/src/components/breadcrumb/LBreadcrumb.story.vue +0 -29
  85. package/src/components/breadcrumb/LBreadcrumb.vue +0 -54
  86. package/src/components/context/LContextMenu.story.vue +0 -73
  87. package/src/components/context/LContextMenu.vue +0 -24
  88. package/src/components/context/LContextMenuElement.vue +0 -54
  89. package/src/components/context/LContextMenuWrapper.vue +0 -55
  90. package/src/components/context/LContextOption.story.vue +0 -18
  91. package/src/components/context/LContextOption.vue +0 -160
  92. package/src/components/context/LContextWrapper.story.vue +0 -11
  93. package/src/components/context/LContextWrapper.vue +0 -60
  94. package/src/components/context/store.ts +0 -62
  95. package/src/components/dialog/LDialogAlert.vue +0 -38
  96. package/src/components/dialog/LDialogConfirm.vue +0 -45
  97. package/src/components/dialog/LDialogInjector.story.vue +0 -41
  98. package/src/components/dialog/LDialogInjector.vue +0 -40
  99. package/src/components/dialog/LDialogPrompt.vue +0 -67
  100. package/src/components/dialog/LDialogWrapper.vue +0 -66
  101. package/src/components/dialog/lib.ts +0 -50
  102. package/src/components/dialog/store.ts +0 -32
  103. package/src/components/floating/LFloating.story.vue +0 -35
  104. package/src/components/floating/LFloating.vue +0 -362
  105. package/src/components/form/LAutoComplete.vue +0 -13
  106. package/src/components/form/LAutoInput.story.vue +0 -43
  107. package/src/components/form/LAutoInput.vue +0 -101
  108. package/src/components/form/LButton.story.vue +0 -147
  109. package/src/components/form/LButton.vue +0 -233
  110. package/src/components/form/LCheckbox.story.vue +0 -13
  111. package/src/components/form/LCheckbox.vue +0 -70
  112. package/src/components/form/LColorInput.story.vue +0 -28
  113. package/src/components/form/LColorInput.vue +0 -101
  114. package/src/components/form/LImageInput.story.vue +0 -28
  115. package/src/components/form/LImageInput.vue +0 -75
  116. package/src/components/form/LInfo.story.vue +0 -22
  117. package/src/components/form/LInfo.vue +0 -44
  118. package/src/components/form/LInput.story.vue +0 -150
  119. package/src/components/form/LInput.vue +0 -494
  120. package/src/components/form/LInputDateFloating.vue +0 -61
  121. package/src/components/form/LInputNumber.story.vue +0 -58
  122. package/src/components/form/LProgress.story.vue +0 -49
  123. package/src/components/form/LProgress.vue +0 -77
  124. package/src/components/form/LSelect.story.vue +0 -67
  125. package/src/components/form/LSelect.vue +0 -142
  126. package/src/components/form/LSwitch.story.vue +0 -15
  127. package/src/components/form/LSwitch.vue +0 -79
  128. package/src/components/form/LTextarea.story.vue +0 -29
  129. package/src/components/form/LTextarea.vue +0 -151
  130. package/src/components/form/color-picker/LColorAlpha.vue +0 -129
  131. package/src/components/form/color-picker/LColorHue.vue +0 -109
  132. package/src/components/form/color-picker/LColorModels.vue +0 -223
  133. package/src/components/form/color-picker/LColorPicker.story.vue +0 -44
  134. package/src/components/form/color-picker/LColorPicker.vue +0 -105
  135. package/src/components/form/color-picker/LColorShade.vue +0 -114
  136. package/src/components/form/color-picker/LImagePicker.vue +0 -477
  137. package/src/components/form/dropdown/LDropdown.story.vue +0 -123
  138. package/src/components/form/dropdown/LDropdown.vue +0 -484
  139. package/src/components/form/dropdown/LDropdownOption.vue +0 -224
  140. package/src/components/form/dropdown/LDropdownSelection.vue +0 -76
  141. package/src/components/form/emoji-picker/LEmojiList.vue +0 -54
  142. package/src/components/form/emoji-picker/LEmojiListCategory.vue +0 -92
  143. package/src/components/form/emoji-picker/LEmojiPicker.story.vue +0 -32
  144. package/src/components/form/emoji-picker/LEmojiPicker.vue +0 -55
  145. package/src/components/form/emoji-picker/LEmojiSelect.story.vue +0 -22
  146. package/src/components/form/emoji-picker/LEmojiSelect.vue +0 -51
  147. package/src/components/form/icon-picker/LIconList.vue +0 -100
  148. package/src/components/form/icon-picker/LIconMaterial.vue +0 -43
  149. package/src/components/form/icon-picker/LIconPicker.story.vue +0 -39
  150. package/src/components/form/icon-picker/LIconPicker.vue +0 -92
  151. package/src/components/form/icon-picker/LIconSelect.story.vue +0 -25
  152. package/src/components/form/icon-picker/LIconSelect.vue +0 -91
  153. package/src/components/icons/LControls.story.vue +0 -92
  154. package/src/components/icons/LKeyIcon.vue +0 -66
  155. package/src/components/icons/LMouseIcon.vue +0 -85
  156. package/src/components/icons/LShortcut.story.vue +0 -12
  157. package/src/components/icons/LShortcut.vue +0 -45
  158. package/src/components/layout/LResizer.story.vue +0 -89
  159. package/src/components/layout/LResizer.vue +0 -138
  160. package/src/components/misc/LIcon.vue +0 -34
  161. package/src/components/misc/LLineLoader.story.vue +0 -18
  162. package/src/components/misc/LLineLoader.vue +0 -52
  163. package/src/components/misc/LLoading.story.vue +0 -14
  164. package/src/components/misc/LLoading.vue +0 -28
  165. package/src/components/misc/LStarsBackground.story.vue +0 -16
  166. package/src/components/misc/LStarsBackground.vue +0 -121
  167. package/src/components/navigation/LElementsPagination.vue +0 -75
  168. package/src/components/navigation/LPagination.story.vue +0 -57
  169. package/src/components/navigation/LPagination.vue +0 -125
  170. package/src/components/table/LCell.vue +0 -37
  171. package/src/components/table/LLine.vue +0 -24
  172. package/src/components/table/LTable.story.vue +0 -35
  173. package/src/components/table/LTable.vue +0 -21
  174. package/src/components/toasts/LContainer.story.vue +0 -47
  175. package/src/components/toasts/LContainer.vue +0 -140
  176. package/src/components/toasts/LToast.story.vue +0 -47
  177. package/src/components/toasts/LToast.vue +0 -30
  178. package/src/components/toasts/LToastInjector.vue +0 -54
  179. package/src/components/toasts/requests.ts +0 -46
  180. package/src/components/toasts/store.ts +0 -45
  181. package/src/components/utils/LVirtualElement.vue +0 -36
  182. package/src/components/utils/LVirtualScroller.story.vue +0 -62
  183. package/src/components/utils/LVirtualScroller.vue +0 -105
  184. package/src/env.d.ts +0 -9
  185. package/src/histoire.setup.ts +0 -8
  186. package/src/icons.ts +0 -8
  187. package/src/index.ts +0 -58
  188. package/src/style/colors.scss +0 -152
  189. package/src/style/fonts.scss +0 -45
  190. package/src/style/index.scss +0 -64
  191. package/src/style/layout.scss +0 -3
  192. package/src/style/lengths.scss +0 -21
  193. package/src/style/scrollbar.scss +0 -27
  194. package/tsconfig.json +0 -34
  195. package/vite.config.ts +0 -68
  196. /package/{src/assets/logo_square_blue.svg → dist/assets/0eb50bd5d83a2e9c.svg} +0 -0
  197. /package/{src/assets/logo_text_white.svg → dist/assets/2b749537b698d6a9.svg} +0 -0
  198. /package/{src/assets/logo_square_white.svg → dist/assets/465c42c215c8d3db.svg} +0 -0
  199. /package/{src/assets/controls/mouse.svg → dist/assets/79137dd243c0c2fa.svg} +0 -0
  200. /package/{src/assets/stars.svg → dist/assets/9b68fd329ffd4197.svg} +0 -0
  201. /package/{src/assets/logo_neon.svg → dist/assets/fb5bbd883587d787.svg} +0 -0
  202. /package/{public → dist}/favicon_rc.png +0 -0
package/dist/app.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ import { App } from 'vue';
2
+ export declare function initApp(app: App): {
3
+ pinia: import('pinia').Pinia;
4
+ };
@@ -0,0 +1,7 @@
1
+ import { TBreadLink } from './type';
2
+ type __VLS_Props = {
3
+ isLast?: boolean;
4
+ link: TBreadLink;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
7
+ export default _default;
@@ -0,0 +1,21 @@
1
+ import { TBreadcrumb } from './type';
2
+ type __VLS_Props = {
3
+ links: TBreadcrumb;
4
+ };
5
+ declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
7
+ slots: {
8
+ default?(_: {}): any;
9
+ };
10
+ refs: {};
11
+ rootEl: HTMLDivElement;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
+ export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -1,6 +1,5 @@
1
- export type TBreadLink = {
2
- name: string;
3
- navigate?: (() => void);
4
- };
5
-
6
- export type TBreadcrumb = Array<TBreadLink>
1
+ export type TBreadLink = {
2
+ name: string;
3
+ navigate?: (() => void);
4
+ };
5
+ export type TBreadcrumb = Array<TBreadLink>;
@@ -0,0 +1,7 @@
1
+ import { TMenuElement } from './type';
2
+ type __VLS_Props = {
3
+ elements: Array<TMenuElement>;
4
+ small?: boolean;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
7
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { TMenuElement } from './type';
2
+ type __VLS_Props = {
3
+ element: TMenuElement;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
6
+ export default _default;
@@ -0,0 +1,22 @@
1
+ import { TMenuElement } from './type';
2
+ type __VLS_Props = {
3
+ elements: Array<TMenuElement>;
4
+ small?: boolean;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
7
+ contextMenu: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
8
+ elements: Array<TMenuElement>;
9
+ small?: boolean;
10
+ }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
11
+ P: {};
12
+ B: {};
13
+ D: {};
14
+ C: {};
15
+ M: {};
16
+ Defaults: {};
17
+ }, Readonly<{
18
+ elements: Array<TMenuElement>;
19
+ small?: boolean;
20
+ }> & Readonly<{}>, {}, {}, {}, {}, {}> | null;
21
+ }, HTMLDivElement>;
22
+ export default _default;
@@ -0,0 +1,34 @@
1
+ type __VLS_Props = {
2
+ name: string;
3
+ children?: number;
4
+ disabled?: boolean;
5
+ shortcut?: string;
6
+ };
7
+ declare function __VLS_template(): {
8
+ attrs: Partial<{}>;
9
+ slots: {
10
+ icon?(_: {}): any;
11
+ category?(_: {}): any;
12
+ };
13
+ refs: {
14
+ option: HTMLDivElement;
15
+ content: HTMLDivElement;
16
+ };
17
+ rootEl: HTMLDivElement;
18
+ };
19
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
21
+ children: number;
22
+ disabled: boolean;
23
+ shortcut: string;
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
25
+ option: HTMLDivElement;
26
+ content: HTMLDivElement;
27
+ }, HTMLDivElement>;
28
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
29
+ export default _default;
30
+ type __VLS_WithTemplateSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
@@ -0,0 +1,20 @@
1
+ type __VLS_Props = {
2
+ small?: boolean;
3
+ };
4
+ declare function __VLS_template(): {
5
+ attrs: Partial<{}>;
6
+ slots: {
7
+ default?(_: {}): any;
8
+ };
9
+ refs: {};
10
+ rootEl: HTMLDivElement;
11
+ };
12
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
14
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
15
+ export default _default;
16
+ type __VLS_WithTemplateSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
@@ -0,0 +1,40 @@
1
+ export declare const useContextStore: import('pinia').StoreDefinition<"context", Pick<{
2
+ close: () => void;
3
+ focusData: import('vue').Ref<unknown, unknown>;
4
+ focusId: import('vue').Ref<string, string>;
5
+ isOpen: (contextId: string) => boolean;
6
+ loadData: (data: unknown) => void;
7
+ location: {
8
+ x: number;
9
+ y: number;
10
+ };
11
+ open: (contextId: string) => void;
12
+ updateFocus: (event: FocusEvent | MouseEvent) => void;
13
+ updateLocation: (event: MouseEvent) => void;
14
+ }, "location" | "focusData" | "focusId">, Pick<{
15
+ close: () => void;
16
+ focusData: import('vue').Ref<unknown, unknown>;
17
+ focusId: import('vue').Ref<string, string>;
18
+ isOpen: (contextId: string) => boolean;
19
+ loadData: (data: unknown) => void;
20
+ location: {
21
+ x: number;
22
+ y: number;
23
+ };
24
+ open: (contextId: string) => void;
25
+ updateFocus: (event: FocusEvent | MouseEvent) => void;
26
+ updateLocation: (event: MouseEvent) => void;
27
+ }, never>, Pick<{
28
+ close: () => void;
29
+ focusData: import('vue').Ref<unknown, unknown>;
30
+ focusId: import('vue').Ref<string, string>;
31
+ isOpen: (contextId: string) => boolean;
32
+ loadData: (data: unknown) => void;
33
+ location: {
34
+ x: number;
35
+ y: number;
36
+ };
37
+ open: (contextId: string) => void;
38
+ updateFocus: (event: FocusEvent | MouseEvent) => void;
39
+ updateLocation: (event: MouseEvent) => void;
40
+ }, "close" | "open" | "isOpen" | "loadData" | "updateFocus" | "updateLocation">>;
@@ -1,27 +1,23 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
2
-
3
- export enum EMenuElementType {
4
- item = "item",
5
- category = "category",
6
- separator = "separator"
7
- }
8
-
9
- export type TMenuElement = (TMenuItem | TMenuCategory) & {
10
- name: string;
11
- color?: string;
12
- disabled?: boolean;
13
- hide?: boolean;
14
- icon?: IconDefinition;
15
- separator?: boolean;
16
- }
17
-
18
- export type TMenuItem = {
19
- type: EMenuElementType.item;
20
- onClick?: () => void;
21
- shortcut?: string;
22
- }
23
-
24
- export type TMenuCategory = {
25
- type: EMenuElementType.category;
26
- children: Array<TMenuElement>;
27
- }
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare enum EMenuElementType {
3
+ item = "item",
4
+ category = "category",
5
+ separator = "separator"
6
+ }
7
+ export type TMenuElement = (TMenuItem | TMenuCategory) & {
8
+ name: string;
9
+ color?: string;
10
+ disabled?: boolean;
11
+ hide?: boolean;
12
+ icon?: IconDefinition;
13
+ separator?: boolean;
14
+ };
15
+ export type TMenuItem = {
16
+ type: EMenuElementType.item;
17
+ onClick?: () => void;
18
+ shortcut?: string;
19
+ };
20
+ export type TMenuCategory = {
21
+ type: EMenuElementType.category;
22
+ children: Array<TMenuElement>;
23
+ };
@@ -0,0 +1,5 @@
1
+ type __VLS_Props = {
2
+ message: string;
3
+ };
4
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
5
+ export default _default;
@@ -0,0 +1,5 @@
1
+ type __VLS_Props = {
2
+ message: string;
3
+ };
4
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
5
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,7 @@
1
+ type __VLS_Props = {
2
+ message: string;
3
+ };
4
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
5
+ content: HTMLDivElement;
6
+ }, HTMLDivElement>;
7
+ export default _default;
@@ -0,0 +1,21 @@
1
+ type __VLS_Props = {
2
+ title?: string;
3
+ };
4
+ declare function __VLS_template(): {
5
+ attrs: Partial<{}>;
6
+ slots: {
7
+ default?(_: {}): any;
8
+ buttons?(_: {}): any;
9
+ };
10
+ refs: {};
11
+ rootEl: HTMLDivElement;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
+ export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,3 @@
1
+ export declare function alert(message: string): Promise<void>;
2
+ export declare function confirm(message: string): Promise<boolean>;
3
+ export declare function prompt(message: string): Promise<string | null>;
@@ -0,0 +1,22 @@
1
+ import { Component } from 'vue';
2
+ export type TDialog = {
3
+ component: Component;
4
+ props: Record<string, unknown>;
5
+ resolve: (value?: unknown) => void;
6
+ };
7
+ export declare const useDialogStore: () => import('pinia').Store<"dialog", Pick<{
8
+ close: () => void;
9
+ dialog: import('vue').ShallowRef<TDialog | undefined, TDialog | undefined>;
10
+ resolve: (value?: unknown) => void;
11
+ set: (value: TDialog) => void;
12
+ }, "dialog">, Pick<{
13
+ close: () => void;
14
+ dialog: import('vue').ShallowRef<TDialog | undefined, TDialog | undefined>;
15
+ resolve: (value?: unknown) => void;
16
+ set: (value: TDialog) => void;
17
+ }, never>, Pick<{
18
+ close: () => void;
19
+ dialog: import('vue').ShallowRef<TDialog | undefined, TDialog | undefined>;
20
+ resolve: (value?: unknown) => void;
21
+ set: (value: TDialog) => void;
22
+ }, "set" | "close" | "resolve">>;
@@ -0,0 +1,74 @@
1
+ import { Placement } from '@floating-ui/vue';
2
+ type __VLS_Props = {
3
+ container?: string | HTMLElement;
4
+ deep?: boolean;
5
+ depth?: number;
6
+ disabled?: boolean;
7
+ display?: boolean;
8
+ fixedSize?: boolean;
9
+ ghost?: boolean;
10
+ maxWidth?: number;
11
+ minWidth?: number;
12
+ mode?: "click" | "hover";
13
+ offset?: number;
14
+ parent?: HTMLElement;
15
+ placement?: Placement;
16
+ popperClass?: string;
17
+ raw?: boolean;
18
+ shrink?: boolean;
19
+ small?: boolean;
20
+ target?: string;
21
+ withArrow?: boolean;
22
+ };
23
+ declare function hide(): void;
24
+ declare function __VLS_template(): {
25
+ attrs: Partial<{}>;
26
+ slots: {
27
+ default?(_: {
28
+ opened: boolean;
29
+ }): any;
30
+ popper?(_: {
31
+ hide: typeof hide;
32
+ }): any;
33
+ popper?(_: {
34
+ hide: typeof hide;
35
+ }): any;
36
+ content?(_: {}): any;
37
+ };
38
+ refs: {
39
+ wrapper: HTMLDivElement;
40
+ floating: HTMLDivElement;
41
+ arrowRef: HTMLDivElement;
42
+ };
43
+ rootEl: HTMLDivElement;
44
+ };
45
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
46
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
47
+ hide: typeof hide;
48
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
49
+ close: () => any;
50
+ hide: () => any;
51
+ show: () => any;
52
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
53
+ onClose?: (() => any) | undefined;
54
+ onHide?: (() => any) | undefined;
55
+ onShow?: (() => any) | undefined;
56
+ }>, {
57
+ maxWidth: number;
58
+ minWidth: number;
59
+ offset: number;
60
+ mode: "click" | "hover";
61
+ depth: number;
62
+ placement: Placement;
63
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
64
+ wrapper: HTMLDivElement;
65
+ floating: HTMLDivElement;
66
+ arrowRef: HTMLDivElement;
67
+ }, HTMLDivElement>;
68
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
69
+ export default _default;
70
+ type __VLS_WithTemplateSlots<T, S> = T & {
71
+ new (): {
72
+ $slots: S;
73
+ };
74
+ };
@@ -0,0 +1,228 @@
1
+ import { nextTick } from 'vue';
2
+ type __VLS_Props = {
3
+ cast?: "text" | "number";
4
+ forceInput?: boolean;
5
+ modelValue: string | number;
6
+ type?: "text" | "number" | "color" | "auto";
7
+ };
8
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
9
+ "update:modelValue": (value: string | number) => any;
10
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
12
+ }>, {
13
+ type: "text" | "number" | "color" | "auto";
14
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
15
+ input: ({
16
+ $: import('vue').ComponentInternalInstance;
17
+ $data: {};
18
+ $props: {
19
+ readonly modelValue?: string | number | undefined;
20
+ readonly big?: boolean | undefined;
21
+ readonly borderless?: boolean | undefined;
22
+ readonly cell?: boolean | undefined;
23
+ readonly disabled?: boolean | undefined;
24
+ readonly error?: string | undefined;
25
+ readonly filter?: ((value: string) => string | number) | undefined;
26
+ readonly focus?: boolean | undefined;
27
+ readonly inputId?: string | undefined;
28
+ readonly label?: string | undefined;
29
+ readonly mask?: string | undefined;
30
+ readonly options?: {
31
+ clamp?: boolean;
32
+ fixed?: number;
33
+ max?: number;
34
+ min?: number;
35
+ multiplier?: number;
36
+ prefix?: string;
37
+ step?: number;
38
+ suffix?: string;
39
+ } | undefined;
40
+ readonly placeholder?: string | undefined;
41
+ readonly primary?: boolean | undefined;
42
+ readonly resource?: boolean | undefined;
43
+ readonly small?: boolean | undefined;
44
+ readonly transparent?: boolean | undefined;
45
+ readonly type?: "text" | "number" | "auto" | string | undefined;
46
+ readonly updated?: boolean | undefined;
47
+ readonly "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
48
+ readonly onEnter?: (() => any) | undefined;
49
+ readonly onEscape?: (() => any) | undefined;
50
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
51
+ $attrs: {
52
+ [x: string]: unknown;
53
+ };
54
+ $refs: {
55
+ [x: string]: unknown;
56
+ } & {
57
+ input: HTMLInputElement;
58
+ };
59
+ $slots: Readonly<{
60
+ [name: string]: import('vue').Slot<any> | undefined;
61
+ }>;
62
+ $root: import('vue').ComponentPublicInstance | null;
63
+ $parent: import('vue').ComponentPublicInstance | null;
64
+ $host: Element | null;
65
+ $emit: ((event: "update:modelValue", value: string | number) => void) & ((event: "enter") => void) & ((event: "escape") => void);
66
+ $el: HTMLLabelElement;
67
+ $options: import('vue').ComponentOptionsBase<Readonly<{
68
+ modelValue?: string | number;
69
+ } & {
70
+ big?: boolean;
71
+ borderless?: boolean;
72
+ cell?: boolean;
73
+ disabled?: boolean;
74
+ error?: string;
75
+ filter?: (value: string) => string | number;
76
+ focus?: boolean;
77
+ inputId?: string;
78
+ label?: string;
79
+ mask?: string;
80
+ options?: {
81
+ clamp?: boolean;
82
+ fixed?: number;
83
+ max?: number;
84
+ min?: number;
85
+ multiplier?: number;
86
+ prefix?: string;
87
+ step?: number;
88
+ suffix?: string;
89
+ };
90
+ placeholder?: string;
91
+ primary?: boolean;
92
+ resource?: boolean;
93
+ small?: boolean;
94
+ transparent?: boolean;
95
+ type?: "text" | "number" | "auto" | string;
96
+ updated?: boolean;
97
+ }> & Readonly<{
98
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
99
+ onEnter?: (() => any) | undefined;
100
+ onEscape?: (() => any) | undefined;
101
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
102
+ "update:modelValue": (value: string | number) => any;
103
+ } & {
104
+ enter: () => any;
105
+ escape: () => any;
106
+ }, string, {
107
+ type: "text" | "number" | "auto" | string;
108
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
109
+ beforeCreate?: (() => void) | (() => void)[];
110
+ created?: (() => void) | (() => void)[];
111
+ beforeMount?: (() => void) | (() => void)[];
112
+ mounted?: (() => void) | (() => void)[];
113
+ beforeUpdate?: (() => void) | (() => void)[];
114
+ updated?: (() => void) | (() => void)[];
115
+ activated?: (() => void) | (() => void)[];
116
+ deactivated?: (() => void) | (() => void)[];
117
+ beforeDestroy?: (() => void) | (() => void)[];
118
+ beforeUnmount?: (() => void) | (() => void)[];
119
+ destroyed?: (() => void) | (() => void)[];
120
+ unmounted?: (() => void) | (() => void)[];
121
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
122
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
123
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
124
+ };
125
+ $forceUpdate: () => void;
126
+ $nextTick: typeof nextTick;
127
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
128
+ } & Readonly<{
129
+ type: "text" | "number" | "auto" | string;
130
+ }> & Omit<Readonly<{
131
+ modelValue?: string | number;
132
+ } & {
133
+ big?: boolean;
134
+ borderless?: boolean;
135
+ cell?: boolean;
136
+ disabled?: boolean;
137
+ error?: string;
138
+ filter?: (value: string) => string | number;
139
+ focus?: boolean;
140
+ inputId?: string;
141
+ label?: string;
142
+ mask?: string;
143
+ options?: {
144
+ clamp?: boolean;
145
+ fixed?: number;
146
+ max?: number;
147
+ min?: number;
148
+ multiplier?: number;
149
+ prefix?: string;
150
+ step?: number;
151
+ suffix?: string;
152
+ };
153
+ placeholder?: string;
154
+ primary?: boolean;
155
+ resource?: boolean;
156
+ small?: boolean;
157
+ transparent?: boolean;
158
+ type?: "text" | "number" | "auto" | string;
159
+ updated?: boolean;
160
+ }> & Readonly<{
161
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
162
+ onEnter?: (() => any) | undefined;
163
+ onEscape?: (() => any) | undefined;
164
+ }>, "type"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
165
+ $slots: {
166
+ prefix?(_: {}): any;
167
+ suffix?(_: {}): any;
168
+ };
169
+ }) | import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
170
+ big?: boolean;
171
+ modelValue: string;
172
+ small?: boolean;
173
+ }> & Readonly<{
174
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
175
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
176
+ "update:modelValue": (value: string) => any;
177
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLLabelElement, import('vue').ComponentProvideOptions, {
178
+ P: {};
179
+ B: {};
180
+ D: {};
181
+ C: {};
182
+ M: {};
183
+ Defaults: {};
184
+ }, Readonly<{
185
+ big?: boolean;
186
+ modelValue: string;
187
+ small?: boolean;
188
+ }> & Readonly<{
189
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
190
+ }>, {}, {}, {}, {}, {}> | import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
191
+ big?: boolean;
192
+ borderless?: boolean;
193
+ label?: string;
194
+ mask?: string;
195
+ modelValue: string;
196
+ placeholder?: string;
197
+ primary?: boolean;
198
+ small?: boolean;
199
+ transparent?: boolean;
200
+ }> & Readonly<{
201
+ "onUpdate:modelValue"?: ((id: string) => any) | undefined;
202
+ onEnter?: (() => any) | undefined;
203
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
204
+ "update:modelValue": (id: string) => any;
205
+ enter: () => any;
206
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLLabelElement, import('vue').ComponentProvideOptions, {
207
+ P: {};
208
+ B: {};
209
+ D: {};
210
+ C: {};
211
+ M: {};
212
+ Defaults: {};
213
+ }, Readonly<{
214
+ big?: boolean;
215
+ borderless?: boolean;
216
+ label?: string;
217
+ mask?: string;
218
+ modelValue: string;
219
+ placeholder?: string;
220
+ primary?: boolean;
221
+ small?: boolean;
222
+ transparent?: boolean;
223
+ }> & Readonly<{
224
+ "onUpdate:modelValue"?: ((id: string) => any) | undefined;
225
+ onEnter?: (() => any) | undefined;
226
+ }>, {}, {}, {}, {}, {}> | null;
227
+ }, HTMLLabelElement>;
228
+ export default _default;
@@ -0,0 +1,43 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ type __VLS_Props = {
3
+ big?: boolean;
4
+ borderless?: boolean;
5
+ cell?: boolean;
6
+ disabled?: boolean;
7
+ error?: boolean;
8
+ focus?: boolean;
9
+ href?: string;
10
+ icon?: IconDefinition;
11
+ info?: boolean;
12
+ inline?: boolean;
13
+ lite?: boolean;
14
+ loading?: boolean;
15
+ primary?: boolean;
16
+ small?: boolean;
17
+ square?: boolean;
18
+ success?: boolean;
19
+ target?: string;
20
+ transparent?: boolean;
21
+ warning?: boolean;
22
+ };
23
+ declare function __VLS_template(): {
24
+ attrs: Partial<{}>;
25
+ slots: {
26
+ default?(_: {}): any;
27
+ };
28
+ refs: {
29
+ button: unknown;
30
+ };
31
+ rootEl: any;
32
+ };
33
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
34
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
35
+ button: unknown;
36
+ }, any>;
37
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
38
+ export default _default;
39
+ type __VLS_WithTemplateSlots<T, S> = T & {
40
+ new (): {
41
+ $slots: S;
42
+ };
43
+ };