cleek 2.10.16 → 2.10.17

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,5 +1,6 @@
1
1
  import { Align, Layout } from '../../cleek-options/cleek-options.types';
2
2
 
3
+ declare function close(): void;
3
4
  declare function __VLS_template(): {
4
5
  trigger?(_: {}): any;
5
6
  content?(_: {}): any;
@@ -8,7 +9,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
8
9
  align?: Align;
9
10
  dark?: boolean;
10
11
  layout?: Layout;
11
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
12
+ }>>, {
13
+ close: typeof close;
14
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
12
15
  align?: Align;
13
16
  dark?: boolean;
14
17
  layout?: Layout;
@@ -1,97 +1,226 @@
1
- import { Align, AlignVertical, Color, Icon, IconPack, Layout, WidthBreaks } from '../cleek-options/cleek-options.types';
1
+ import { Align, AlignVertical, Icon, IconPack, Layout, WidthBreaks } from '../cleek-options/cleek-options.types';
2
2
 
3
- type SelectOption = any;
4
- declare function focus(): void;
5
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
- modelValue: any;
7
- prop?: string;
8
- reduceValueProp?: string;
9
- reduceValueMethod?: string;
10
- reduceNameProp?: string;
11
- reduceNameMethod?: string;
12
- autofocus?: boolean;
13
- notReduce?: boolean;
14
- notReduceValue?: boolean;
15
- options?: SelectOption[];
16
- reduceNameFunction?: (option: SelectOption) => string;
17
- reduceValueFunction?: (option: SelectOption) => any;
18
- notClearable?: boolean;
19
- clearValue?: any;
20
- searchable?: boolean | string;
21
- width?: string;
22
- minWidth?: string;
23
- layout?: Layout;
24
- noBorder?: boolean;
25
- borderColor?: Color;
26
- bgTransparent?: boolean;
27
- disabled?: boolean;
28
- group?: Align;
29
- groupVertical?: AlignVertical;
30
- widthBreaks?: WidthBreaks;
31
- icon?: Icon;
32
- iconRight?: Icon;
33
- iconPack?: IconPack;
34
- iconColor?: Color;
35
- label?: string;
36
- labelAlign?: Align;
37
- optional?: boolean;
38
- placeholder?: string;
39
- emptyOptionsMsg?: string;
40
- backgroundColor?: Color;
41
- }>>, {
3
+ type OptionValue = any;
4
+ type Option = any;
5
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
6
+ modelValue: {
7
+ required: true;
8
+ type: import('vue').PropType<OptionValue>;
9
+ };
10
+ label: {
11
+ type: import('vue').PropType<string>;
12
+ };
13
+ layout: {
14
+ type: import('vue').PropType<Layout>;
15
+ };
16
+ borderColor: {
17
+ type: import('vue').PropType<string>;
18
+ };
19
+ backgroundColor: {
20
+ type: import('vue').PropType<string>;
21
+ };
22
+ clearValue: {
23
+ type: import('vue').PropType<any>;
24
+ };
25
+ group: {
26
+ type: import('vue').PropType<Align>;
27
+ };
28
+ groupVertical: {
29
+ type: import('vue').PropType<AlignVertical>;
30
+ };
31
+ widthBreaks: {
32
+ type: import('vue').PropType<WidthBreaks>;
33
+ };
34
+ width: {
35
+ type: import('vue').PropType<string>;
36
+ };
37
+ icon: {
38
+ type: import('vue').PropType<Icon>;
39
+ };
40
+ iconPack: {
41
+ type: import('vue').PropType<IconPack>;
42
+ };
43
+ disabled: {
44
+ type: import('vue').PropType<boolean>;
45
+ };
46
+ iconRight: {
47
+ type: import('vue').PropType<Icon>;
48
+ };
49
+ labelAlign: {
50
+ type: import('vue').PropType<Align>;
51
+ };
52
+ placeholder: {
53
+ type: import('vue').PropType<string>;
54
+ };
55
+ iconColor: {
56
+ type: import('vue').PropType<string>;
57
+ };
58
+ optional: {
59
+ type: import('vue').PropType<boolean>;
60
+ };
61
+ autofocus: {
62
+ type: import('vue').PropType<boolean>;
63
+ };
64
+ options: {
65
+ type: import('vue').PropType<any[]>;
66
+ };
67
+ reduceValueProp: {
68
+ type: import('vue').PropType<string>;
69
+ default: string;
70
+ };
71
+ reduceValueMethod: {
72
+ type: import('vue').PropType<string>;
73
+ };
74
+ reduceValueFunction: {
75
+ type: import('vue').PropType<(option: Option) => OptionValue>;
76
+ };
77
+ reduceNameProp: {
78
+ type: import('vue').PropType<string>;
79
+ default: string;
80
+ };
81
+ reduceNameMethod: {
82
+ type: import('vue').PropType<string>;
83
+ };
84
+ reduceNameFunction: {
85
+ type: import('vue').PropType<(option: Option) => string>;
86
+ };
87
+ notReduce: {
88
+ type: import('vue').PropType<boolean>;
89
+ };
90
+ notReduceValue: {
91
+ type: import('vue').PropType<boolean>;
92
+ };
93
+ notClearable: {
94
+ type: import('vue').PropType<boolean>;
95
+ };
96
+ minWidth: {
97
+ type: import('vue').PropType<string>;
98
+ default: string;
99
+ };
100
+ noBorder: {
101
+ type: import('vue').PropType<boolean>;
102
+ };
103
+ bgTransparent: {
104
+ type: import('vue').PropType<boolean>;
105
+ };
106
+ emptyOptionsMsg: {
107
+ type: import('vue').PropType<string>;
108
+ };
109
+ }>, {
42
110
  focus: typeof focus;
43
111
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
44
- "update:modelValue": (value: any) => void;
45
112
  click: (event: Event) => void;
46
- change: (event?: Event) => void;
47
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
48
- modelValue: any;
49
- prop?: string;
50
- reduceValueProp?: string;
51
- reduceValueMethod?: string;
52
- reduceNameProp?: string;
53
- reduceNameMethod?: string;
54
- autofocus?: boolean;
55
- notReduce?: boolean;
56
- notReduceValue?: boolean;
57
- options?: SelectOption[];
58
- reduceNameFunction?: (option: SelectOption) => string;
59
- reduceValueFunction?: (option: SelectOption) => any;
60
- notClearable?: boolean;
61
- clearValue?: any;
62
- searchable?: boolean | string;
63
- width?: string;
64
- minWidth?: string;
65
- layout?: Layout;
66
- noBorder?: boolean;
67
- borderColor?: Color;
68
- bgTransparent?: boolean;
69
- disabled?: boolean;
70
- group?: Align;
71
- groupVertical?: AlignVertical;
72
- widthBreaks?: WidthBreaks;
73
- icon?: Icon;
74
- iconRight?: Icon;
75
- iconPack?: IconPack;
76
- iconColor?: Color;
77
- label?: string;
78
- labelAlign?: Align;
79
- optional?: boolean;
80
- placeholder?: string;
81
- emptyOptionsMsg?: string;
82
- backgroundColor?: Color;
83
- }>>> & Readonly<{
84
- onClick?: (event: Event) => any;
85
- onChange?: (event?: Event) => any;
86
- "onUpdate:modelValue"?: (value: any) => any;
87
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
88
- export default _default;
89
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
90
- type __VLS_TypePropsToRuntimeProps<T> = {
91
- [K in keyof T]-?: {} extends Pick<T, K> ? {
92
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
93
- } : {
94
- type: import('vue').PropType<T[K]>;
113
+ change: (event: Event) => void;
114
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
115
+ modelValue: {
95
116
  required: true;
117
+ type: import('vue').PropType<OptionValue>;
118
+ };
119
+ label: {
120
+ type: import('vue').PropType<string>;
121
+ };
122
+ layout: {
123
+ type: import('vue').PropType<Layout>;
124
+ };
125
+ borderColor: {
126
+ type: import('vue').PropType<string>;
127
+ };
128
+ backgroundColor: {
129
+ type: import('vue').PropType<string>;
130
+ };
131
+ clearValue: {
132
+ type: import('vue').PropType<any>;
133
+ };
134
+ group: {
135
+ type: import('vue').PropType<Align>;
136
+ };
137
+ groupVertical: {
138
+ type: import('vue').PropType<AlignVertical>;
139
+ };
140
+ widthBreaks: {
141
+ type: import('vue').PropType<WidthBreaks>;
142
+ };
143
+ width: {
144
+ type: import('vue').PropType<string>;
145
+ };
146
+ icon: {
147
+ type: import('vue').PropType<Icon>;
148
+ };
149
+ iconPack: {
150
+ type: import('vue').PropType<IconPack>;
151
+ };
152
+ disabled: {
153
+ type: import('vue').PropType<boolean>;
154
+ };
155
+ iconRight: {
156
+ type: import('vue').PropType<Icon>;
157
+ };
158
+ labelAlign: {
159
+ type: import('vue').PropType<Align>;
160
+ };
161
+ placeholder: {
162
+ type: import('vue').PropType<string>;
163
+ };
164
+ iconColor: {
165
+ type: import('vue').PropType<string>;
166
+ };
167
+ optional: {
168
+ type: import('vue').PropType<boolean>;
96
169
  };
97
- };
170
+ autofocus: {
171
+ type: import('vue').PropType<boolean>;
172
+ };
173
+ options: {
174
+ type: import('vue').PropType<any[]>;
175
+ };
176
+ reduceValueProp: {
177
+ type: import('vue').PropType<string>;
178
+ default: string;
179
+ };
180
+ reduceValueMethod: {
181
+ type: import('vue').PropType<string>;
182
+ };
183
+ reduceValueFunction: {
184
+ type: import('vue').PropType<(option: Option) => OptionValue>;
185
+ };
186
+ reduceNameProp: {
187
+ type: import('vue').PropType<string>;
188
+ default: string;
189
+ };
190
+ reduceNameMethod: {
191
+ type: import('vue').PropType<string>;
192
+ };
193
+ reduceNameFunction: {
194
+ type: import('vue').PropType<(option: Option) => string>;
195
+ };
196
+ notReduce: {
197
+ type: import('vue').PropType<boolean>;
198
+ };
199
+ notReduceValue: {
200
+ type: import('vue').PropType<boolean>;
201
+ };
202
+ notClearable: {
203
+ type: import('vue').PropType<boolean>;
204
+ };
205
+ minWidth: {
206
+ type: import('vue').PropType<string>;
207
+ default: string;
208
+ };
209
+ noBorder: {
210
+ type: import('vue').PropType<boolean>;
211
+ };
212
+ bgTransparent: {
213
+ type: import('vue').PropType<boolean>;
214
+ };
215
+ emptyOptionsMsg: {
216
+ type: import('vue').PropType<string>;
217
+ };
218
+ }>> & Readonly<{
219
+ onClick?: (event: Event) => any;
220
+ onChange?: (event: Event) => any;
221
+ }>, {
222
+ reduceValueProp: string;
223
+ reduceNameProp: string;
224
+ minWidth: string;
225
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
226
+ export default _default;
@@ -24,13 +24,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
24
24
  options: {
25
25
  type: import('vue').PropType<Option[]>;
26
26
  };
27
+ notReduce: {
28
+ type: import('vue').PropType<boolean>;
29
+ };
27
30
  prop: {
28
31
  type: import('vue').PropType<string>;
29
32
  default: string;
30
33
  };
31
- notReduce: {
32
- type: import('vue').PropType<boolean>;
33
- };
34
34
  reduceFunction: {
35
35
  type: import('vue').PropType<(option: Option) => any>;
36
36
  };
@@ -62,13 +62,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
62
62
  options: {
63
63
  type: import('vue').PropType<Option[]>;
64
64
  };
65
+ notReduce: {
66
+ type: import('vue').PropType<boolean>;
67
+ };
65
68
  prop: {
66
69
  type: import('vue').PropType<string>;
67
70
  default: string;
68
71
  };
69
- notReduce: {
70
- type: import('vue').PropType<boolean>;
71
- };
72
72
  reduceFunction: {
73
73
  type: import('vue').PropType<(option: Option) => any>;
74
74
  };
package/package.json CHANGED
@@ -1,85 +1,85 @@
1
- {
2
- "name": "cleek",
3
- "description": "Complete UX Vue library",
4
- "version": "2.10.16",
5
- "author": "Quantic Onion",
6
- "license": "MIT",
7
- "repository": "",
8
- "type": "module",
9
- "files": [
10
- "dist"
11
- ],
12
- "main": "./dist/main.cjs.js",
13
- "module": "./dist/main.es.js",
14
- "exports": {
15
- ".": {
16
- "require": "./dist/main.cjs.js",
17
- "import": "./dist/main.es.js",
18
- "types": "./dist/types/main.d.ts"
19
- },
20
- "./main.css": "./dist/main.css",
21
- "./package.json": "./package.json"
22
- },
23
- "types": "./dist/types/main.d.ts",
24
- "scripts": {
25
- "dev": "vitepress dev docs",
26
- "typecheck": "vue-tsc --noEmit -p tsconfig.json --composite false",
27
- "build": "vite build",
28
- "build:full": "vite build && vue-tsc --declaration --emitDeclarationOnly",
29
- "build:docs": "vitepress build docs",
30
- "serve": "vitepress serve docs",
31
- "analyze": "vite build --config analyze.config.js",
32
- "patch-publish": "npm run build && npm version patch && npm publish",
33
- "lint": "eslint --ext .js,.vue --ignore-path .gitignore --fix src",
34
- "stylelint": "stylelint . --fix --ignore-path .stylelintignore",
35
- "format": "prettier . --write",
36
- "deploy": "node deploy.js"
37
- },
38
- "dependencies": {
39
- "@fortawesome/fontawesome-svg-core": "^6.1.1",
40
- "@fortawesome/free-brands-svg-icons": "^6.1.1",
41
- "@fortawesome/free-regular-svg-icons": "^6.1.1",
42
- "@fortawesome/free-solid-svg-icons": "^6.1.1",
43
- "@fortawesome/vue-fontawesome": "^3.0.0-5",
44
- "@vuepic/vue-datepicker": "^3.5.3",
45
- "click-outside-vue3": "^4.0.1",
46
- "floating-vue": "^5.2.2",
47
- "mitt": "^3.0.0",
48
- "pinia": "^2.1.7",
49
- "pinia-plugin-persistedstate": "^3.2.1",
50
- "quantic-methods": "1.6.70",
51
- "tabbable": "^5.2.0",
52
- "tippy.js": "^6.3.1",
53
- "vue": "^3.5.12",
54
- "vue-perfect-scrollbar": "^0.2.1",
55
- "vue3-datepicker": "^0.4.0"
56
- },
57
- "devDependencies": {
58
- "@prettier/plugin-pug": "^2.5.1",
59
- "@types/node": "^20.14.9",
60
- "@vitejs/plugin-vue": "^4.2.3",
61
- "@vue/compiler-sfc": "^3.1.5",
62
- "@vue/eslint-config-prettier": "^7.1.0",
63
- "@vue/eslint-config-typescript": "^11.0.3",
64
- "@vue/language-plugin-pug": "^1.8.15",
65
- "@vue/tsconfig": "^0.1.3",
66
- "eslint": "^7.31.0",
67
- "eslint-config-prettier": "^8.3.0",
68
- "eslint-plugin-vue": "^7.14.0",
69
- "prettier": "^2.3.2",
70
- "prettier-plugin-stylus": "^0.1.0",
71
- "pug": "^3.0.2",
72
- "pug-plain-loader": "^1.1.0",
73
- "rollup-plugin-visualizer": "^5.5.2",
74
- "stylelint": "^15.9.0",
75
- "stylelint-config-prettier": "^9.0.5",
76
- "stylelint-config-recommended": "^12.0.0",
77
- "stylelint-stylus": "^0.18.0",
78
- "stylus": "^0.59.0",
79
- "typescript": "^5.5.3",
80
- "vite": "^4.3.9",
81
- "vite-plugin-dts": "^3.9.1",
82
- "vitepress": "^0.21.4",
83
- "vue-tsc": "^0.38.2"
84
- }
85
- }
1
+ {
2
+ "name": "cleek",
3
+ "description": "Complete UX Vue library",
4
+ "version": "2.10.17",
5
+ "author": "Quantic Onion",
6
+ "license": "MIT",
7
+ "repository": "",
8
+ "type": "module",
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "main": "./dist/main.cjs.js",
13
+ "module": "./dist/main.es.js",
14
+ "exports": {
15
+ ".": {
16
+ "require": "./dist/main.cjs.js",
17
+ "import": "./dist/main.es.js",
18
+ "types": "./dist/types/main.d.ts"
19
+ },
20
+ "./main.css": "./dist/main.css",
21
+ "./package.json": "./package.json"
22
+ },
23
+ "types": "./dist/types/main.d.ts",
24
+ "scripts": {
25
+ "dev": "vitepress dev docs",
26
+ "typecheck": "vue-tsc --noEmit -p tsconfig.json --composite false",
27
+ "build": "vite build",
28
+ "build:full": "vite build && vue-tsc --declaration --emitDeclarationOnly",
29
+ "build:docs": "vitepress build docs",
30
+ "serve": "vitepress serve docs",
31
+ "analyze": "vite build --config analyze.config.js",
32
+ "patch-publish": "npm run build && npm version patch && npm publish",
33
+ "lint": "eslint --ext .js,.vue --ignore-path .gitignore --fix src",
34
+ "stylelint": "stylelint . --fix --ignore-path .stylelintignore",
35
+ "format": "prettier . --write",
36
+ "deploy": "node deploy.js"
37
+ },
38
+ "dependencies": {
39
+ "@fortawesome/fontawesome-svg-core": "^6.1.1",
40
+ "@fortawesome/free-brands-svg-icons": "^6.1.1",
41
+ "@fortawesome/free-regular-svg-icons": "^6.1.1",
42
+ "@fortawesome/free-solid-svg-icons": "^6.1.1",
43
+ "@fortawesome/vue-fontawesome": "^3.0.0-5",
44
+ "@vuepic/vue-datepicker": "^3.5.3",
45
+ "click-outside-vue3": "^4.0.1",
46
+ "floating-vue": "^5.2.2",
47
+ "mitt": "^3.0.0",
48
+ "pinia": "^2.1.7",
49
+ "pinia-plugin-persistedstate": "^3.2.1",
50
+ "quantic-methods": "1.6.70",
51
+ "tabbable": "^5.2.0",
52
+ "tippy.js": "^6.3.1",
53
+ "vue": "^3.5.12",
54
+ "vue-perfect-scrollbar": "^0.2.1",
55
+ "vue3-datepicker": "^0.4.0"
56
+ },
57
+ "devDependencies": {
58
+ "@prettier/plugin-pug": "^2.5.1",
59
+ "@types/node": "^20.14.9",
60
+ "@vitejs/plugin-vue": "^4.2.3",
61
+ "@vue/compiler-sfc": "^3.1.5",
62
+ "@vue/eslint-config-prettier": "^7.1.0",
63
+ "@vue/eslint-config-typescript": "^11.0.3",
64
+ "@vue/language-plugin-pug": "^1.8.15",
65
+ "@vue/tsconfig": "^0.1.3",
66
+ "eslint": "^7.31.0",
67
+ "eslint-config-prettier": "^8.3.0",
68
+ "eslint-plugin-vue": "^7.14.0",
69
+ "prettier": "^2.3.2",
70
+ "prettier-plugin-stylus": "^0.1.0",
71
+ "pug": "^3.0.2",
72
+ "pug-plain-loader": "^1.1.0",
73
+ "rollup-plugin-visualizer": "^5.5.2",
74
+ "stylelint": "^15.9.0",
75
+ "stylelint-config-prettier": "^9.0.5",
76
+ "stylelint-config-recommended": "^12.0.0",
77
+ "stylelint-stylus": "^0.18.0",
78
+ "stylus": "^0.59.0",
79
+ "typescript": "^5.5.3",
80
+ "vite": "^4.3.9",
81
+ "vite-plugin-dts": "^3.9.1",
82
+ "vitepress": "^0.21.4",
83
+ "vue-tsc": "^0.38.2"
84
+ }
85
+ }