@point-hub/papp 0.0.54 → 0.0.56

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.
@@ -1,7 +1,7 @@
1
1
  import { type BaseFormLayoutType } from './base-form.vue';
2
2
  export type BaseAutocompleteBorderType = 'none' | 'simple' | 'full';
3
3
  export interface BaseAutocompleteOptionInterface {
4
- label: string;
4
+ label?: string;
5
5
  [key: string]: any;
6
6
  }
7
7
  export interface Props {
@@ -19,7 +19,7 @@ export interface Props {
19
19
  errors?: string[];
20
20
  }
21
21
  declare const _default: import("vue").DefineComponent<{
22
- modelValue: import("vue").PropType<any>;
22
+ modelValue: import("vue").PropType<BaseAutocompleteOptionInterface>;
23
23
  isLoading: import("vue").PropType<boolean>;
24
24
  query: import("vue").PropType<string>;
25
25
  required: {
@@ -67,7 +67,7 @@ declare const _default: import("vue").DefineComponent<{
67
67
  }, {
68
68
  inputRef: import("vue").Ref<any>;
69
69
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
70
- modelValue: import("vue").PropType<any>;
70
+ modelValue: import("vue").PropType<BaseAutocompleteOptionInterface>;
71
71
  isLoading: import("vue").PropType<boolean>;
72
72
  query: import("vue").PropType<string>;
73
73
  required: {
@@ -0,0 +1,141 @@
1
+ interface IOption {
2
+ [key: string]: unknown;
3
+ label: string;
4
+ }
5
+ import { type BaseFormLayoutType } from './base-form.vue';
6
+ export type BaseChoosenBorderType = 'none' | 'simple' | 'full';
7
+ export interface Props {
8
+ id?: string;
9
+ mode?: 'input' | 'text';
10
+ title?: string;
11
+ label?: string;
12
+ description?: string;
13
+ placeholder?: string;
14
+ border?: BaseChoosenBorderType;
15
+ layout?: BaseFormLayoutType;
16
+ autofocus?: boolean;
17
+ required?: boolean;
18
+ disabled?: boolean;
19
+ helpers?: string[];
20
+ errors?: string[];
21
+ }
22
+ declare function __VLS_template(): {
23
+ default?(_: {
24
+ option: any;
25
+ }): any;
26
+ };
27
+ declare const __VLS_component: import("vue").DefineComponent<{
28
+ modelValue: import("vue").PropType<any>;
29
+ isLoading: import("vue").PropType<boolean>;
30
+ selected: import("vue").PropType<IOption>;
31
+ options: import("vue").PropType<IOption[]>;
32
+ required: {
33
+ type: import("vue").PropType<boolean>;
34
+ default: boolean;
35
+ };
36
+ label: {
37
+ type: import("vue").PropType<string>;
38
+ };
39
+ title: {
40
+ type: import("vue").PropType<string>;
41
+ };
42
+ disabled: {
43
+ type: import("vue").PropType<boolean>;
44
+ default: boolean;
45
+ };
46
+ id: {
47
+ type: import("vue").PropType<string>;
48
+ };
49
+ mode: {
50
+ type: import("vue").PropType<"input" | "text">;
51
+ default: string;
52
+ };
53
+ description: {
54
+ type: import("vue").PropType<string>;
55
+ };
56
+ layout: {
57
+ type: import("vue").PropType<BaseFormLayoutType>;
58
+ default: string;
59
+ };
60
+ helpers: {
61
+ type: import("vue").PropType<string[]>;
62
+ };
63
+ errors: {
64
+ type: import("vue").PropType<string[]>;
65
+ };
66
+ placeholder: {
67
+ type: import("vue").PropType<string>;
68
+ };
69
+ border: {
70
+ type: import("vue").PropType<BaseChoosenBorderType>;
71
+ default: string;
72
+ };
73
+ autofocus: {
74
+ type: import("vue").PropType<boolean>;
75
+ default: boolean;
76
+ };
77
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
78
+ modelValue: import("vue").PropType<any>;
79
+ isLoading: import("vue").PropType<boolean>;
80
+ selected: import("vue").PropType<IOption>;
81
+ options: import("vue").PropType<IOption[]>;
82
+ required: {
83
+ type: import("vue").PropType<boolean>;
84
+ default: boolean;
85
+ };
86
+ label: {
87
+ type: import("vue").PropType<string>;
88
+ };
89
+ title: {
90
+ type: import("vue").PropType<string>;
91
+ };
92
+ disabled: {
93
+ type: import("vue").PropType<boolean>;
94
+ default: boolean;
95
+ };
96
+ id: {
97
+ type: import("vue").PropType<string>;
98
+ };
99
+ mode: {
100
+ type: import("vue").PropType<"input" | "text">;
101
+ default: string;
102
+ };
103
+ description: {
104
+ type: import("vue").PropType<string>;
105
+ };
106
+ layout: {
107
+ type: import("vue").PropType<BaseFormLayoutType>;
108
+ default: string;
109
+ };
110
+ helpers: {
111
+ type: import("vue").PropType<string[]>;
112
+ };
113
+ errors: {
114
+ type: import("vue").PropType<string[]>;
115
+ };
116
+ placeholder: {
117
+ type: import("vue").PropType<string>;
118
+ };
119
+ border: {
120
+ type: import("vue").PropType<BaseChoosenBorderType>;
121
+ default: string;
122
+ };
123
+ autofocus: {
124
+ type: import("vue").PropType<boolean>;
125
+ default: boolean;
126
+ };
127
+ }>>, {
128
+ required: boolean;
129
+ disabled: boolean;
130
+ mode: "input" | "text";
131
+ layout: BaseFormLayoutType;
132
+ border: BaseChoosenBorderType;
133
+ autofocus: boolean;
134
+ }, {}>;
135
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
136
+ export default _default;
137
+ type __VLS_WithTemplateSlots<T, S> = T & {
138
+ new (): {
139
+ $slots: S;
140
+ };
141
+ };
@@ -4,6 +4,7 @@ export interface Props {
4
4
  modelValue: number | null;
5
5
  id?: string;
6
6
  label?: string;
7
+ align?: 'left' | 'right';
7
8
  description?: string;
8
9
  placeholder?: string;
9
10
  border?: BaseInputNumberBorderType;
@@ -17,6 +18,7 @@ export interface Props {
17
18
  }
18
19
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
19
20
  decimalLength: number;
21
+ align: string;
20
22
  border: string;
21
23
  layout: string;
22
24
  autofocus: boolean;
@@ -28,6 +30,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
28
30
  "update:modelValue": (value: number) => void;
29
31
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
30
32
  decimalLength: number;
33
+ align: string;
31
34
  border: string;
32
35
  layout: string;
33
36
  autofocus: boolean;
@@ -41,6 +44,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
41
44
  layout: BaseFormLayoutType;
42
45
  border: BaseInputNumberBorderType;
43
46
  autofocus: boolean;
47
+ align: "left" | "right";
44
48
  decimalLength: number;
45
49
  }, {}>;
46
50
  export default _default;
@@ -13,6 +13,7 @@ export interface Props {
13
13
  maxlength?: number;
14
14
  autofocus?: boolean;
15
15
  required?: boolean;
16
+ readonly?: boolean;
16
17
  disabled?: boolean;
17
18
  helpers?: string[];
18
19
  errors?: string[];
@@ -27,6 +28,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
27
28
  type: string;
28
29
  autofocus: boolean;
29
30
  required: boolean;
31
+ readonly: boolean;
30
32
  disabled: boolean;
31
33
  }>, {
32
34
  inputRef: import("vue").Ref<any>;
@@ -38,6 +40,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
38
40
  type: string;
39
41
  autofocus: boolean;
40
42
  required: boolean;
43
+ readonly: boolean;
41
44
  disabled: boolean;
42
45
  }>>> & {
43
46
  "onUpdate:modelValue"?: (value: string) => any;
@@ -48,6 +51,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
48
51
  layout: BaseFormLayoutType;
49
52
  border: BaseInputBorderType;
50
53
  autofocus: boolean;
54
+ readonly: boolean;
51
55
  }, {}>;
52
56
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
53
57
  export default _default;
@@ -7,7 +7,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
7
7
  size?: BaseModalSizeType;
8
8
  }>, {
9
9
  size: string;
10
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ }>, {
11
+ isOpen: import("vue").Ref<boolean>;
12
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
13
  onClose: (...args: any[]) => void;
12
14
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
13
15
  isOpen: boolean;
package/dist/index.d.ts CHANGED
@@ -34,6 +34,7 @@ export { default as BaseTooltip } from './components/base-tooltip.vue';
34
34
  export { default as BaseTreeview } from './components/base-treeview.vue';
35
35
  export { default as BaseAutocomplete, type BaseAutocompleteBorderType, type BaseAutocompleteOptionInterface } from './components/base-autocomplete.vue';
36
36
  export { default as BaseCheckbox, type BaseCheckboxThemeType } from './components/base-checkbox.vue';
37
+ export { default as BaseChoosen } from './components/base-choosen.vue';
37
38
  export { default as BaseDatepicker, type BaseDatepickerBorderType } from './components/base-datepicker.vue';
38
39
  export { default as BaseFileUpload, type BaseFileUploadBorderType } from './components/base-file-upload.vue';
39
40
  export { default as BaseForm, type BaseFormLayoutType } from './components/base-form.vue';