@point-hub/papp 0.0.88 → 0.0.90

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 (90) hide show
  1. package/dist/app.vue.d.ts +2 -0
  2. package/dist/components/app-footer.vue.d.ts +3 -12
  3. package/dist/components/app-header.vue.d.ts +1 -1
  4. package/dist/components/app-preloader.vue.d.ts +1 -1
  5. package/dist/components/app-sidebar-menu.vue.d.ts +3 -12
  6. package/dist/components/app-sidebar-panel.vue.d.ts +7 -16
  7. package/dist/components/app-sidebar.vue.d.ts +7 -16
  8. package/dist/components/base-accordion-item.vue.d.ts +14 -30
  9. package/dist/components/base-accordion.vue.d.ts +11 -27
  10. package/dist/components/base-alert.vue.d.ts +12 -36
  11. package/dist/components/base-autocomplete.vue.d.ts +21 -92
  12. package/dist/components/base-avatar-group.vue.d.ts +8 -3
  13. package/dist/components/base-avatar.vue.d.ts +4 -35
  14. package/dist/components/base-badge.vue.d.ts +11 -31
  15. package/dist/components/base-breadcrumb.vue.d.ts +14 -30
  16. package/dist/components/base-button.vue.d.ts +11 -39
  17. package/dist/components/base-card.vue.d.ts +27 -29
  18. package/dist/components/base-checkbox.vue.d.ts +15 -90
  19. package/dist/components/base-choosen.vue.d.ts +37 -104
  20. package/dist/components/base-datepicker.vue.d.ts +18 -87
  21. package/dist/components/base-divider.vue.d.ts +3 -12
  22. package/dist/components/base-dropdown-item.vue.d.ts +11 -27
  23. package/dist/components/base-dropdown.vue.d.ts +10 -28
  24. package/dist/components/base-file-upload.vue.d.ts +27 -94
  25. package/dist/components/base-form.vue.d.ts +11 -29
  26. package/dist/components/base-icon.vue.d.ts +4 -25
  27. package/dist/components/base-input-mask.vue.d.ts +15 -96
  28. package/dist/components/base-input-number.vue.d.ts +29 -105
  29. package/dist/components/base-input.vue.d.ts +26 -114
  30. package/dist/components/base-link.vue.d.ts +11 -35
  31. package/dist/components/base-loader.vue.d.ts +11 -29
  32. package/dist/components/base-mask.vue.d.ts +1 -10
  33. package/dist/components/base-modal.vue.d.ts +15 -31
  34. package/dist/components/base-pagination.vue.d.ts +6 -27
  35. package/dist/components/base-popover.vue.d.ts +13 -27
  36. package/dist/components/base-progress.vue.d.ts +12 -32
  37. package/dist/components/base-radio.vue.d.ts +24 -88
  38. package/dist/components/base-range.vue.d.ts +13 -66
  39. package/dist/components/base-select.vue.d.ts +13 -90
  40. package/dist/components/base-sitemap.vue.d.ts +8 -11
  41. package/dist/components/base-spinner.vue.d.ts +4 -27
  42. package/dist/components/base-step.vue.d.ts +7 -32
  43. package/dist/components/base-switch.vue.d.ts +21 -97
  44. package/dist/components/base-tab-group.vue.d.ts +8 -3
  45. package/dist/components/base-tab-list.vue.d.ts +8 -3
  46. package/dist/components/base-tab-panel.vue.d.ts +8 -3
  47. package/dist/components/base-tab-panels.vue.d.ts +8 -3
  48. package/dist/components/base-tab.vue.d.ts +10 -5
  49. package/dist/components/base-table.vue.d.ts +8 -3
  50. package/dist/components/base-textarea.vue.d.ts +15 -108
  51. package/dist/components/base-timeline-content.vue.d.ts +9 -4
  52. package/dist/components/base-timeline.vue.d.ts +8 -3
  53. package/dist/components/base-toast.vue.d.ts +11 -6
  54. package/dist/components/base-tooltip.vue.d.ts +10 -28
  55. package/dist/components/base-treeview.vue.d.ts +16 -32
  56. package/dist/composable/dark-mode.d.ts +6 -0
  57. package/dist/composable/emitter.d.ts +12 -0
  58. package/dist/composable/mobile-breakpoint.d.ts +3 -0
  59. package/dist/composable/mobile-breakpoint.spec.d.ts +1 -0
  60. package/dist/composable/numeric.d.ts +3 -0
  61. package/dist/composable/screen-size.d.ts +1 -0
  62. package/dist/composable/sidebar.d.ts +1 -0
  63. package/dist/config/websocket.d.ts +4 -0
  64. package/dist/index.css +1 -1
  65. package/dist/index.d.ts +0 -2
  66. package/dist/index.js +2361 -2307
  67. package/dist/index.umd.cjs +6 -6
  68. package/dist/layouts/app.vue.d.ts +2 -0
  69. package/dist/main.d.ts +0 -0
  70. package/dist/pages/home.vue.d.ts +2 -0
  71. package/dist/pages/nested/page-1.vue.d.ts +2 -0
  72. package/dist/pages/nested/page-2.vue.d.ts +2 -0
  73. package/dist/pages/nested/page-3.vue.d.ts +2 -0
  74. package/dist/pages/nested/page-4.vue.d.ts +2 -0
  75. package/dist/pages/nested/page-5.vue.d.ts +2 -0
  76. package/dist/pages/page-1.vue.d.ts +2 -0
  77. package/dist/pages/page-2.vue.d.ts +2 -0
  78. package/dist/pages/websocket.vue.d.ts +2 -0
  79. package/dist/plugins/base.d.ts +5 -0
  80. package/dist/plugins/icon.d.ts +5 -0
  81. package/dist/plugins/input-mask.d.ts +5 -0
  82. package/dist/plugins/tooltip.d.ts +5 -0
  83. package/dist/router/index.d.ts +2 -0
  84. package/dist/stores/screen-breakpoint.d.ts +7 -0
  85. package/dist/stores/screen-breakpoint.spec.d.ts +1 -0
  86. package/dist/stores/sidebar-menu.d.ts +55 -0
  87. package/dist/stores/sidebar.d.ts +7 -0
  88. package/dist/stores/sidebar.spec.d.ts +1 -0
  89. package/dist/stores/websocket.d.ts +28 -0
  90. package/package.json +14 -14
@@ -1,4 +1,4 @@
1
- import { type BaseFormLayoutType } from './base-form.vue';
1
+ import { BaseFormLayoutType } from './base-form.vue';
2
2
  export type BaseTextareaBorderType = 'simple' | 'full' | 'none';
3
3
  export interface Props {
4
4
  modelValue: string;
@@ -16,117 +16,24 @@ export interface Props {
16
16
  minHeight?: number;
17
17
  maxHeight?: number;
18
18
  }
19
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
20
- errors: import("vue").PropType<string[]>;
21
- required: {
22
- type: import("vue").PropType<boolean>;
23
- default: boolean;
24
- };
25
- label: {
26
- type: import("vue").PropType<string>;
27
- };
28
- disabled: {
29
- type: import("vue").PropType<boolean>;
30
- default: boolean;
31
- };
32
- id: {
33
- type: import("vue").PropType<string>;
34
- };
35
- modelValue: {
36
- type: import("vue").PropType<string>;
37
- required: true;
38
- };
39
- description: {
40
- type: import("vue").PropType<string>;
41
- };
42
- layout: {
43
- type: import("vue").PropType<BaseFormLayoutType>;
44
- default: string;
45
- };
46
- helpers: {
47
- type: import("vue").PropType<string[]>;
48
- };
49
- placeholder: {
50
- type: import("vue").PropType<string>;
51
- };
52
- border: {
53
- type: import("vue").PropType<BaseTextareaBorderType>;
54
- default: string;
55
- };
56
- autofocus: {
57
- type: import("vue").PropType<boolean>;
58
- default: boolean;
59
- };
60
- maxlength: {
61
- type: import("vue").PropType<number>;
62
- };
63
- minHeight: {
64
- type: import("vue").PropType<number>;
65
- };
66
- maxHeight: {
67
- type: import("vue").PropType<number>;
68
- };
69
- }>, {
70
- textareaRef: import("vue").Ref<any, any>;
71
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
72
- "update:modelValue": (value: string) => void;
73
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
74
- errors: import("vue").PropType<string[]>;
75
- required: {
76
- type: import("vue").PropType<boolean>;
77
- default: boolean;
78
- };
79
- label: {
80
- type: import("vue").PropType<string>;
81
- };
82
- disabled: {
83
- type: import("vue").PropType<boolean>;
84
- default: boolean;
85
- };
86
- id: {
87
- type: import("vue").PropType<string>;
88
- };
89
- modelValue: {
90
- type: import("vue").PropType<string>;
91
- required: true;
92
- };
93
- description: {
94
- type: import("vue").PropType<string>;
95
- };
96
- layout: {
97
- type: import("vue").PropType<BaseFormLayoutType>;
98
- default: string;
99
- };
100
- helpers: {
101
- type: import("vue").PropType<string[]>;
102
- };
103
- placeholder: {
104
- type: import("vue").PropType<string>;
105
- };
106
- border: {
107
- type: import("vue").PropType<BaseTextareaBorderType>;
108
- default: string;
109
- };
110
- autofocus: {
111
- type: import("vue").PropType<boolean>;
112
- default: boolean;
113
- };
114
- maxlength: {
115
- type: import("vue").PropType<number>;
116
- };
117
- minHeight: {
118
- type: import("vue").PropType<number>;
119
- };
120
- maxHeight: {
121
- type: import("vue").PropType<number>;
122
- };
123
- }>> & Readonly<{
124
- "onUpdate:modelValue"?: (value: string) => any;
19
+ declare let __VLS_typeProps: Props;
20
+ type __VLS_PublicProps = {
21
+ 'errors'?: string[];
22
+ } & typeof __VLS_typeProps;
23
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
24
+ textareaRef: import('vue').Ref<any, any>;
25
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
26
+ "update:errors": (errors: string[]) => any;
27
+ } & {
28
+ "update:modelValue": (value: string) => any;
29
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
30
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
31
+ "onUpdate:errors"?: ((errors: string[]) => any) | undefined;
125
32
  }>, {
126
33
  required: boolean;
127
34
  disabled: boolean;
128
35
  layout: BaseFormLayoutType;
129
36
  border: BaseTextareaBorderType;
130
37
  autofocus: boolean;
131
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
38
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
132
39
  export default _default;
@@ -1,9 +1,14 @@
1
1
  declare function __VLS_template(): {
2
- point?(_: {}): any;
3
- content?(_: {}): any;
2
+ slots: {
3
+ point?(_: {}): any;
4
+ content?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ attrs: Partial<{}>;
4
8
  };
5
- 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>;
6
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ 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>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
7
12
  export default _default;
8
13
  type __VLS_WithTemplateSlots<T, S> = T & {
9
14
  new (): {
@@ -1,8 +1,13 @@
1
1
  declare function __VLS_template(): {
2
- default?(_: {}): any;
2
+ slots: {
3
+ default?(_: {}): any;
4
+ };
5
+ refs: {};
6
+ attrs: Partial<{}>;
3
7
  };
4
- 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>;
5
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
8
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
+ 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>;
10
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
6
11
  export default _default;
7
12
  type __VLS_WithTemplateSlots<T, S> = T & {
8
13
  new (): {
@@ -6,15 +6,20 @@ export interface IOptions {
6
6
  timer?: number;
7
7
  }
8
8
  declare function __VLS_template(): {
9
- default?(_: {
10
- data: any;
11
- }): any;
9
+ slots: {
10
+ default?(_: {
11
+ data: any;
12
+ }): any;
13
+ };
14
+ refs: {};
15
+ attrs: Partial<{}>;
12
16
  };
13
- declare const __VLS_component: import("vue").DefineComponent<{}, {
17
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
+ declare const __VLS_component: import('vue').DefineComponent<{}, {
14
19
  toast: (message: string, options?: IOptions) => void;
15
20
  remove: (id: string) => void;
16
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
17
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
21
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
22
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
23
  export default _default;
19
24
  type __VLS_WithTemplateSlots<T, S> = T & {
20
25
  new (): {
@@ -4,38 +4,20 @@ export interface Props {
4
4
  zIndex?: number;
5
5
  }
6
6
  declare function __VLS_template(): {
7
- default?(_: {}): any;
8
- content?(_: {}): any;
7
+ slots: {
8
+ default?(_: {}): any;
9
+ content?(_: {}): any;
10
+ };
11
+ refs: {};
12
+ attrs: Partial<{}>;
9
13
  };
10
- declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
11
- interactive: boolean;
12
- zIndex: number;
13
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
14
- interactive: boolean;
15
- zIndex: number;
16
- }>>> & Readonly<{}>, {
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
17
16
  zIndex: number;
18
17
  interactive: boolean;
19
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
20
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
18
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
20
  export default _default;
22
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
23
- type __VLS_TypePropsToRuntimeProps<T> = {
24
- [K in keyof T]-?: {} extends Pick<T, K> ? {
25
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
26
- } : {
27
- type: import('vue').PropType<T[K]>;
28
- required: true;
29
- };
30
- };
31
- type __VLS_WithDefaults<P, D> = {
32
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
33
- default: D[K];
34
- }> : P[K];
35
- };
36
- type __VLS_Prettify<T> = {
37
- [K in keyof T]: T[K];
38
- } & {};
39
21
  type __VLS_WithTemplateSlots<T, S> = T & {
40
22
  new (): {
41
23
  $slots: S;
@@ -1,44 +1,28 @@
1
1
  declare function __VLS_template(): {
2
- header?(_: {
3
- isOpen: boolean;
4
- }): any;
5
- default?(_: {}): any;
2
+ slots: {
3
+ header?(_: {
4
+ isOpen: boolean;
5
+ }): any;
6
+ default?(_: {}): any;
7
+ };
8
+ refs: {
9
+ content: HTMLDivElement;
10
+ };
11
+ attrs: Partial<{}>;
6
12
  };
7
- declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import('vue').DefineComponent<{
8
15
  title?: string;
9
16
  isOpen?: boolean;
10
- }>, {
11
- title: string;
12
- isOpen: boolean;
13
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
17
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
14
18
  title?: string;
15
19
  isOpen?: boolean;
16
- }>, {
20
+ }> & Readonly<{}>, {
17
21
  title: string;
18
22
  isOpen: boolean;
19
- }>>> & Readonly<{}>, {
20
- title: string;
21
- isOpen: boolean;
22
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
23
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
23
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
24
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
25
  export default _default;
25
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
- type __VLS_TypePropsToRuntimeProps<T> = {
27
- [K in keyof T]-?: {} extends Pick<T, K> ? {
28
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
29
- } : {
30
- type: import('vue').PropType<T[K]>;
31
- required: true;
32
- };
33
- };
34
- type __VLS_WithDefaults<P, D> = {
35
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
36
- default: D[K];
37
- }> : P[K];
38
- };
39
- type __VLS_Prettify<T> = {
40
- [K in keyof T]: T[K];
41
- } & {};
42
26
  type __VLS_WithTemplateSlots<T, S> = T & {
43
27
  new (): {
44
28
  $slots: S;
@@ -0,0 +1,6 @@
1
+ export declare function useDarkMode(): {
2
+ isDarkMode: import('vue').Ref<boolean, boolean>;
3
+ toggleDarkMode: () => void;
4
+ setDarkMode: (mode: "dark" | "light") => void;
5
+ loadDarkMode: () => void;
6
+ };
@@ -0,0 +1,12 @@
1
+ export interface IEvent {
2
+ name: string;
3
+ callback: (payload?: any) => void;
4
+ }
5
+ export declare class EventEmitter {
6
+ private events;
7
+ emit(name: string, payload: any): void;
8
+ on(name: string, callback: (payload?: any) => void): void;
9
+ remove(name: string, callback: (payload?: any) => void): void;
10
+ clear(name: string): void;
11
+ }
12
+ export declare const emitter: EventEmitter;
@@ -0,0 +1,3 @@
1
+ export declare function useMobileBreakpoint(): {
2
+ isMobile: () => boolean;
3
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ export declare function useNumeric(): {
2
+ format: (value: string | number) => string;
3
+ };
@@ -0,0 +1 @@
1
+ export declare function useScreenSize(): void;
@@ -0,0 +1 @@
1
+ export declare function useSidebar(): void;
@@ -0,0 +1,4 @@
1
+ declare const websocketConfig: {
2
+ url: any;
3
+ };
4
+ export default websocketConfig;