@zipify/wysiwyg 4.6.0-0 → 4.7.0-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/.husky/pre-commit +0 -3
  2. package/dist/cli.js +47 -49
  3. package/dist/node.js +29 -31
  4. package/dist/types/Wysiwyg.vue.d.ts +14 -16
  5. package/dist/types/components/base/Button.vue.d.ts +15 -8
  6. package/dist/types/components/base/ButtonToggle.vue.d.ts +19 -12
  7. package/dist/types/components/base/Checkbox.vue.d.ts +1 -1
  8. package/dist/types/components/base/FieldLabel.vue.d.ts +15 -8
  9. package/dist/types/components/base/Icon.vue.d.ts +1 -1
  10. package/dist/types/components/base/Modal.vue.d.ts +17 -8
  11. package/dist/types/components/base/ModalFloating.vue.d.ts +17 -8
  12. package/dist/types/components/base/NumberField.vue.d.ts +1 -1
  13. package/dist/types/components/base/Range.vue.d.ts +1 -1
  14. package/dist/types/components/base/ScrollView.vue.d.ts +12 -3
  15. package/dist/types/components/base/TextField.vue.d.ts +1 -1
  16. package/dist/types/components/base/colorPicker/ColorPicker.vue.d.ts +22 -13
  17. package/dist/types/components/base/composables/useModalToggler.d.ts +1 -4
  18. package/dist/types/components/base/composables/useNumberValue.d.ts +1 -1
  19. package/dist/types/components/base/composables/useScrollView.d.ts +1 -3
  20. package/dist/types/components/base/composables/useTempValue.d.ts +1 -1
  21. package/dist/types/components/base/composables/useValidator.d.ts +1 -1
  22. package/dist/types/components/base/dropdown/Dropdown.vue.d.ts +18 -9
  23. package/dist/types/components/base/dropdown/DropdownActivator.vue.d.ts +18 -11
  24. package/dist/types/components/base/dropdown/DropdownDivider.vue.d.ts +1 -1
  25. package/dist/types/components/base/dropdown/DropdownGroup.vue.d.ts +17 -10
  26. package/dist/types/components/base/dropdown/DropdownMenu.vue.d.ts +18 -10
  27. package/dist/types/components/base/dropdown/DropdownOption.vue.d.ts +17 -8
  28. package/dist/types/components/base/dropdown/composables/useActiveOptionManager.d.ts +2 -4
  29. package/dist/types/components/toolbar/Toolbar.vue.d.ts +1 -1
  30. package/dist/types/components/toolbar/ToolbarFloating.vue.d.ts +19 -20
  31. package/dist/types/components/toolbar/base/ToolbarDivider.vue.d.ts +5 -5
  32. package/dist/types/components/toolbar/base/ToolbarGroup.vue.d.ts +1 -1
  33. package/dist/types/components/toolbar/base/ToolbarRow.vue.d.ts +1 -1
  34. package/dist/types/components/toolbar/controls/AlignmentControl.vue.d.ts +1 -1
  35. package/dist/types/components/toolbar/controls/BackgroundColorControl.vue.d.ts +1 -1
  36. package/dist/types/components/toolbar/controls/CaseStyleControl.vue.d.ts +1 -1
  37. package/dist/types/components/toolbar/controls/FontColorControl.vue.d.ts +1 -1
  38. package/dist/types/components/toolbar/controls/FontFamilyControl.vue.d.ts +1 -1
  39. package/dist/types/components/toolbar/controls/FontSizeControl.vue.d.ts +1 -1
  40. package/dist/types/components/toolbar/controls/FontWeightControl.vue.d.ts +1 -1
  41. package/dist/types/components/toolbar/controls/ItalicControl.vue.d.ts +1 -1
  42. package/dist/types/components/toolbar/controls/LineHeightControl.vue.d.ts +1 -1
  43. package/dist/types/components/toolbar/controls/ListControl.vue.d.ts +1 -1
  44. package/dist/types/components/toolbar/controls/RemoveFormatControl.vue.d.ts +1 -1
  45. package/dist/types/components/toolbar/controls/StrikeThroughControl.vue.d.ts +1 -1
  46. package/dist/types/components/toolbar/controls/SuperscriptControl.vue.d.ts +1 -1
  47. package/dist/types/components/toolbar/controls/UnderlineControl.vue.d.ts +1 -1
  48. package/dist/types/components/toolbar/controls/composables/useRecentFonts.d.ts +1 -1
  49. package/dist/types/components/toolbar/controls/link/LinkControl.vue.d.ts +1 -1
  50. package/dist/types/components/toolbar/controls/link/LinkControlHeader.vue.d.ts +1 -1
  51. package/dist/types/components/toolbar/controls/link/composables/useLink.d.ts +18 -0
  52. package/dist/types/components/toolbar/controls/link/destination/LinkControlDestination.vue.d.ts +1 -1
  53. package/dist/types/components/toolbar/controls/link/destination/LinkControlPageBlock.vue.d.ts +1 -1
  54. package/dist/types/components/toolbar/controls/link/destination/LinkControlUrl.vue.d.ts +1 -1
  55. package/dist/types/components/toolbar/controls/stylePreset/StylePresetControl.vue.d.ts +1 -1
  56. package/dist/types/components/toolbar/controls/stylePreset/StylePresetOption.vue.d.ts +6 -4
  57. package/dist/types/components/toolbar/layouts/ToolbarDesktop.vue.d.ts +1 -1
  58. package/dist/types/components/toolbar/layouts/ToolbarMobile.vue.d.ts +1 -1
  59. package/dist/types/components/toolbar/layouts/ToolbarPopup.vue.d.ts +1 -1
  60. package/dist/types/extensions/core/index.d.ts +1 -1
  61. package/dist/types/services/NodeFactory.d.ts +3 -3
  62. package/dist/wysiwyg.mjs +117 -87
  63. package/lib/components/toolbar/ToolbarFloating.vue +16 -21
  64. package/package.json +36 -36
@@ -1,11 +1,7 @@
1
1
  import type { Content, JSONContent } from '@tiptap/core';
2
2
  import type { PropType } from 'vue';
3
3
  import { type IFontJson } from './models';
4
- declare const _default: import("vue").DefineComponent<{
5
- modelValue: {
6
- required: true;
7
- type: PropType<Content>;
8
- };
4
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
9
5
  presets: {
10
6
  type: ArrayConstructor;
11
7
  required: true;
@@ -82,18 +78,17 @@ declare const _default: import("vue").DefineComponent<{
82
78
  required: false;
83
79
  default: null;
84
80
  };
85
- }, {
81
+ modelValue: {
82
+ type: PropType<Content>;
83
+ required: true;
84
+ };
85
+ }>, {
86
86
  getContentCustomization: () => any;
87
87
  getContent: () => JSONContent;
88
88
  editor: import("@tiptap/vue-3").Editor;
89
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
90
- "update:modelValue": (modelValue: Content) => void;
89
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
91
90
  "update-favorite-colors": (...args: any[]) => void;
92
91
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
93
- modelValue: {
94
- required: true;
95
- type: PropType<Content>;
96
- };
97
92
  presets: {
98
93
  type: ArrayConstructor;
99
94
  required: true;
@@ -170,10 +165,13 @@ declare const _default: import("vue").DefineComponent<{
170
165
  required: false;
171
166
  default: null;
172
167
  };
173
- }>> & {
168
+ modelValue: {
169
+ type: PropType<Content>;
170
+ required: true;
171
+ };
172
+ }>> & Readonly<{
174
173
  "onUpdate-favorite-colors"?: ((...args: any[]) => any) | undefined;
175
- "onUpdate:modelValue"?: ((modelValue: Content) => any) | undefined;
176
- }, {
174
+ }>, {
177
175
  defaultFont: IFontJson;
178
176
  device: string;
179
177
  favoriteColors: unknown[];
@@ -183,5 +181,5 @@ declare const _default: import("vue").DefineComponent<{
183
181
  popupMode: boolean;
184
182
  window: Window & typeof globalThis;
185
183
  aiComponent: Record<string, any>;
186
- }, {}>;
184
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
187
185
  export default _default;
@@ -1,4 +1,9 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {
1
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2
+ export default _default;
3
+ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
4
+ $slots: S;
5
+ });
6
+ declare const __VLS_component: import("vue").DefineComponent<{}, {
2
7
  $emit: (event: "click", ...args: any[]) => void;
3
8
  active: boolean;
4
9
  skin: string;
@@ -10,10 +15,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}
10
15
  readonly disabled?: boolean | undefined;
11
16
  readonly icon?: boolean | undefined;
12
17
  };
13
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
14
- default?(_: {}): any;
15
- }>;
16
- export default _default;
17
- type __VLS_WithTemplateSlots<T, S> = T & (new () => {
18
- $slots: S;
19
- });
18
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
19
+ type __VLS_TemplateResult = {
20
+ slots: {
21
+ default?(_: {}): any;
22
+ };
23
+ refs: {};
24
+ attrs: Partial<typeof __VLS_inheritedAttrs>;
25
+ };
26
+ declare var __VLS_inheritedAttrs: {};
@@ -1,4 +1,9 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {
1
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2
+ export default _default;
3
+ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
4
+ $slots: S;
5
+ });
6
+ declare const __VLS_component: import("vue").DefineComponent<{}, {
2
7
  $emit: (event: "change", ...args: any[]) => void;
3
8
  value: string;
4
9
  options: unknown[];
@@ -6,14 +11,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}
6
11
  readonly value?: string | undefined;
7
12
  readonly options?: unknown[] | undefined;
8
13
  };
9
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
10
- option?(_: {
11
- option: unknown;
12
- isActive: boolean;
13
- activate: () => void;
14
- }): any;
15
- }>;
16
- export default _default;
17
- type __VLS_WithTemplateSlots<T, S> = T & (new () => {
18
- $slots: S;
19
- });
14
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
+ type __VLS_TemplateResult = {
16
+ slots: {
17
+ option?(_: {
18
+ option: unknown;
19
+ isActive: boolean;
20
+ activate: () => void;
21
+ }): any;
22
+ };
23
+ refs: {};
24
+ attrs: Partial<typeof __VLS_inheritedAttrs>;
25
+ };
26
+ declare var __VLS_inheritedAttrs: {};
@@ -6,5 +6,5 @@ declare const _default: import("vue").DefineComponent<{}, {
6
6
  readonly value?: boolean | undefined;
7
7
  readonly label?: string | undefined;
8
8
  };
9
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
9
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
10
10
  export default _default;
@@ -1,12 +1,19 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {
2
- fieldId: string;
3
- $props: {
4
- readonly fieldId?: string | undefined;
5
- };
6
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
7
- default?(_: {}): any;
8
- }>;
1
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
9
2
  export default _default;
10
3
  type __VLS_WithTemplateSlots<T, S> = T & (new () => {
11
4
  $slots: S;
12
5
  });
6
+ declare const __VLS_component: import("vue").DefineComponent<{}, {
7
+ fieldId: string;
8
+ $props: {
9
+ readonly fieldId?: string | undefined;
10
+ };
11
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ type __VLS_TemplateResult = {
13
+ slots: {
14
+ default?(_: {}): any;
15
+ };
16
+ refs: {};
17
+ attrs: Partial<typeof __VLS_inheritedAttrs>;
18
+ };
19
+ declare var __VLS_inheritedAttrs: {};
@@ -7,5 +7,5 @@ declare const _default: import("vue").DefineComponent<{}, {
7
7
  readonly size?: string | number | undefined;
8
8
  readonly autoColor?: boolean | undefined;
9
9
  };
10
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
10
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
11
  export default _default;
@@ -1,4 +1,9 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {
1
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2
+ export default _default;
3
+ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
4
+ $slots: S;
5
+ });
6
+ declare const __VLS_component: import("vue").DefineComponent<{}, {
2
7
  referenceRef: Record<string, any>;
3
8
  toggler: Record<string, any>;
4
9
  maxHeight: string | number;
@@ -19,10 +24,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}
19
24
  readonly placementFlip?: boolean | unknown[] | undefined;
20
25
  readonly offsets?: Function | unknown[] | undefined;
21
26
  };
22
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
23
- default?(_: {}): any;
24
- }>;
25
- export default _default;
26
- type __VLS_WithTemplateSlots<T, S> = T & (new () => {
27
- $slots: S;
28
- });
27
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
28
+ type __VLS_TemplateResult = {
29
+ slots: {
30
+ default?(_: {}): any;
31
+ };
32
+ refs: {
33
+ hostRef: any;
34
+ };
35
+ attrs: Partial<typeof __VLS_inheritedAttrs>;
36
+ };
37
+ declare var __VLS_inheritedAttrs: {};
@@ -1,4 +1,9 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {
1
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2
+ export default _default;
3
+ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
4
+ $slots: S;
5
+ });
6
+ declare const __VLS_component: import("vue").DefineComponent<{}, {
2
7
  referenceRef: Record<string, any>;
3
8
  placement: string;
4
9
  placementStrategy: string;
@@ -11,10 +16,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}
11
16
  readonly placementFlip?: boolean | unknown[] | undefined;
12
17
  readonly offsets?: Function | unknown[] | undefined;
13
18
  };
14
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
15
- default?(_: {}): any;
16
- }>;
17
- export default _default;
18
- type __VLS_WithTemplateSlots<T, S> = T & (new () => {
19
- $slots: S;
20
- });
19
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
20
+ type __VLS_TemplateResult = {
21
+ slots: {
22
+ default?(_: {}): any;
23
+ };
24
+ refs: {
25
+ floatingRef: HTMLDivElement;
26
+ };
27
+ attrs: Partial<typeof __VLS_inheritedAttrs>;
28
+ };
29
+ declare var __VLS_inheritedAttrs: {};
@@ -18,5 +18,5 @@ declare const _default: import("vue").DefineComponent<{}, {
18
18
  readonly fieldId?: string | undefined;
19
19
  readonly units?: string | undefined;
20
20
  };
21
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
21
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
22
22
  export default _default;
@@ -12,5 +12,5 @@ declare const _default: import("vue").DefineComponent<{}, {
12
12
  readonly step?: string | number | undefined;
13
13
  readonly fieldId?: string | undefined;
14
14
  };
15
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
15
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
16
16
  export default _default;
@@ -1,7 +1,16 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
2
- default?(_: {}): any;
3
- }>;
1
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
4
2
  export default _default;
5
3
  type __VLS_WithTemplateSlots<T, S> = T & (new () => {
6
4
  $slots: S;
7
5
  });
6
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
+ type __VLS_TemplateResult = {
8
+ slots: {
9
+ default?(_: {}): any;
10
+ };
11
+ refs: {
12
+ hostRef: HTMLDivElement;
13
+ };
14
+ attrs: Partial<typeof __VLS_inheritedAttrs>;
15
+ };
16
+ declare var __VLS_inheritedAttrs: {};
@@ -10,5 +10,5 @@ declare const _default: import("vue").DefineComponent<{}, {
10
10
  readonly label?: string | undefined;
11
11
  readonly placeholder?: string | undefined;
12
12
  };
13
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
13
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
14
14
  export default _default;
@@ -1,18 +1,27 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {
1
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2
+ export default _default;
3
+ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
4
+ $slots: S;
5
+ });
6
+ declare const __VLS_component: import("vue").DefineComponent<{}, {
2
7
  $emit: (event: "change", ...args: any[]) => void;
3
8
  value: string;
4
9
  $props: {
5
10
  readonly value?: string | undefined;
6
11
  };
7
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
8
- activator?(_: {
9
- isOpened: any;
10
- open: () => void;
11
- close: () => void;
12
- toggle: () => void;
13
- }): any;
14
- }>;
15
- export default _default;
16
- type __VLS_WithTemplateSlots<T, S> = T & (new () => {
17
- $slots: S;
18
- });
12
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
13
+ type __VLS_TemplateResult = {
14
+ slots: {
15
+ activator?(_: {
16
+ isOpened: any;
17
+ open: () => void;
18
+ close: () => void;
19
+ toggle: () => void;
20
+ }): any;
21
+ };
22
+ refs: {
23
+ pickerRef: any;
24
+ };
25
+ attrs: Partial<typeof __VLS_inheritedAttrs>;
26
+ };
27
+ declare var __VLS_inheritedAttrs: {};
@@ -1,7 +1,4 @@
1
- export function useModalToggler({ onBeforeOpened, onClosed }?: {
2
- onBeforeOpened: any;
3
- onClosed: any;
4
- }): {
1
+ export function useModalToggler({ onBeforeOpened, onClosed }?: {}): {
5
2
  isOpened: boolean;
6
3
  open: () => Promise<void>;
7
4
  close: () => void;
@@ -5,7 +5,7 @@ export function useNumberValue({ valueRef, digits, min, max, onChange }: {
5
5
  max: any;
6
6
  onChange: any;
7
7
  }): {
8
- temp: import("vue").Ref<any>;
8
+ temp: import("vue").Ref<any, any>;
9
9
  change: (value: any) => void;
10
10
  increment: (step: any) => void;
11
11
  decrement: (step: any) => void;
@@ -1,6 +1,4 @@
1
1
  export function useScrollView(): {
2
- scrollToElement: (element: any, { offset }?: {
3
- offset: any;
4
- }) => void;
2
+ scrollToElement: (element: any, { offset }?: {}) => void;
5
3
  };
6
4
  export const SCROLL_VIEW: unique symbol;
@@ -1,4 +1,4 @@
1
1
  export function useTempValue({ valueRef, format }: {
2
2
  valueRef: any;
3
3
  format?: ((value: any) => any) | undefined;
4
- }): import("vue").Ref<any>;
4
+ }): import("vue").Ref<any, any>;
@@ -1,7 +1,7 @@
1
1
  export function useValidator({ validations }: {
2
2
  validations: any;
3
3
  }): {
4
- error: import("vue").Ref<null>;
4
+ error: import("vue").Ref<null, null>;
5
5
  validate: () => any;
6
6
  reset: () => void;
7
7
  };
@@ -1,4 +1,9 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {
1
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2
+ export default _default;
3
+ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
4
+ $slots: S;
5
+ });
6
+ declare const __VLS_component: import("vue").DefineComponent<{}, {
2
7
  $emit: (event: "change", ...args: any[]) => void;
3
8
  value: string | number;
4
9
  color: string;
@@ -12,11 +17,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}
12
17
  readonly maxWidth?: number | undefined;
13
18
  readonly isCustomized?: boolean | undefined;
14
19
  };
15
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
16
- activator?(_: any): any;
17
- option?(_: any): any;
18
- }>;
19
- export default _default;
20
- type __VLS_WithTemplateSlots<T, S> = T & (new () => {
21
- $slots: S;
22
- });
20
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
21
+ type __VLS_TemplateResult = {
22
+ slots: {
23
+ activator?(_: any): any;
24
+ option?(_: any): any;
25
+ };
26
+ refs: {
27
+ dropdownRef: HTMLDivElement;
28
+ };
29
+ attrs: Partial<typeof __VLS_inheritedAttrs>;
30
+ };
31
+ declare var __VLS_inheritedAttrs: {};
@@ -1,17 +1,24 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {
1
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2
+ export default _default;
3
+ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
4
+ $slots: S;
5
+ });
6
+ declare const __VLS_component: import("vue").DefineComponent<{}, {
2
7
  color: string;
3
8
  isCustomized: boolean;
4
9
  $props: {
5
10
  readonly color?: string | undefined;
6
11
  readonly isCustomized?: boolean | undefined;
7
12
  };
8
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
9
- default?(_: {
10
- open: any;
11
- isOpened: any;
12
- }): any;
13
- }>;
14
- export default _default;
15
- type __VLS_WithTemplateSlots<T, S> = T & (new () => {
16
- $slots: S;
17
- });
13
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
14
+ type __VLS_TemplateResult = {
15
+ slots: {
16
+ default?(_: {
17
+ open: any;
18
+ isOpened: any;
19
+ }): any;
20
+ };
21
+ refs: {};
22
+ attrs: Partial<typeof __VLS_inheritedAttrs>;
23
+ };
24
+ declare var __VLS_inheritedAttrs: {};
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
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
2
  export default _default;
@@ -1,14 +1,21 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {
2
- group: Record<string, any>;
3
- $props: {
4
- readonly group?: Record<string, any> | undefined;
5
- };
6
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
7
- option?(_: {
8
- option: any;
9
- }): any;
10
- }>;
1
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
11
2
  export default _default;
12
3
  type __VLS_WithTemplateSlots<T, S> = T & (new () => {
13
4
  $slots: S;
14
5
  });
6
+ declare const __VLS_component: import("vue").DefineComponent<{}, {
7
+ group: Record<string, any>;
8
+ $props: {
9
+ readonly group?: Record<string, any> | undefined;
10
+ };
11
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ type __VLS_TemplateResult = {
13
+ slots: {
14
+ option?(_: {
15
+ option: any;
16
+ }): any;
17
+ };
18
+ refs: {};
19
+ attrs: Partial<typeof __VLS_inheritedAttrs>;
20
+ };
21
+ declare var __VLS_inheritedAttrs: {};
@@ -1,14 +1,22 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {
2
- options: unknown[];
3
- $props: {
4
- readonly options?: unknown[] | undefined;
5
- };
6
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
7
- option?(_: {
8
- option: unknown;
9
- }): any;
10
- }>;
1
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
11
2
  export default _default;
12
3
  type __VLS_WithTemplateSlots<T, S> = T & (new () => {
13
4
  $slots: S;
14
5
  });
6
+ declare const __VLS_component: import("vue").DefineComponent<{}, {
7
+ options: unknown[];
8
+ $props: {
9
+ readonly options?: unknown[] | undefined;
10
+ };
11
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ type __VLS_TemplateResult = {
13
+ slots: {
14
+ option?(_: any): any;
15
+ option?(_: {
16
+ option: unknown;
17
+ }): any;
18
+ };
19
+ refs: {};
20
+ attrs: Partial<typeof __VLS_inheritedAttrs>;
21
+ };
22
+ declare var __VLS_inheritedAttrs: {};
@@ -1,12 +1,21 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {
2
- option: Record<string, any>;
3
- $props: {
4
- readonly option?: Record<string, any> | undefined;
5
- };
6
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
7
- default?(_: {}): any;
8
- }>;
1
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
9
2
  export default _default;
10
3
  type __VLS_WithTemplateSlots<T, S> = T & (new () => {
11
4
  $slots: S;
12
5
  });
6
+ declare const __VLS_component: import("vue").DefineComponent<{}, {
7
+ option: Record<string, any>;
8
+ $props: {
9
+ readonly option?: Record<string, any> | undefined;
10
+ };
11
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ type __VLS_TemplateResult = {
13
+ slots: {
14
+ default?(_: {}): any;
15
+ };
16
+ refs: {
17
+ optionRef: any;
18
+ };
19
+ attrs: Partial<typeof __VLS_inheritedAttrs>;
20
+ };
21
+ declare var __VLS_inheritedAttrs: {};
@@ -4,8 +4,6 @@ export function useActiveOptionManager({ optionsRef, inputRef, stateless, onChan
4
4
  stateless: any;
5
5
  onChange: any;
6
6
  }): {
7
- activeOption: import("vue").Ref<null>;
8
- activateOption: (option: any, { emitEvent }?: {
9
- emitEvent: any;
10
- }) => void;
7
+ activeOption: import("vue").Ref<null, null>;
8
+ activateOption: (option: any, { emitEvent }?: {}) => void;
11
9
  };
@@ -13,5 +13,5 @@ declare const _default: import("vue").DefineComponent<{}, {
13
13
  readonly referenceRef?: Record<string, any> | undefined;
14
14
  readonly offsets?: unknown[] | undefined;
15
15
  };
16
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
16
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
17
17
  export default _default;
@@ -1,24 +1,23 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
2
- referenceRef: HTMLElement;
3
- offsets: [crossAxis: number, mainAxis: number];
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
5
- referenceRef: HTMLElement;
6
- offsets: [crossAxis: number, mainAxis: number];
7
- }>>>, {}, {}>, {
8
- default?(_: {}): any;
9
- }>;
1
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
10
2
  export default _default;
11
- type __VLS_WithTemplateSlots<T, S> = T & {
12
- new (): {
13
- $slots: S;
3
+ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
4
+ $slots: S;
5
+ });
6
+ declare const __VLS_component: import("vue").DefineComponent<{}, {
7
+ referenceRef: Record<string, any>;
8
+ offsets: unknown[];
9
+ $props: {
10
+ readonly referenceRef?: Record<string, any> | undefined;
11
+ readonly offsets?: unknown[] | undefined;
14
12
  };
15
- };
16
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
- type __VLS_TypePropsToOption<T> = {
18
- [K in keyof T]-?: {} extends Pick<T, K> ? {
19
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
20
- } : {
21
- type: import('vue').PropType<T[K]>;
22
- required: true;
13
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
14
+ type __VLS_TemplateResult = {
15
+ slots: {
16
+ default?(_: {}): any;
17
+ };
18
+ refs: {
19
+ floatingRef: HTMLDivElement;
23
20
  };
21
+ attrs: Partial<typeof __VLS_inheritedAttrs>;
24
22
  };
23
+ declare var __VLS_inheritedAttrs: {};