cleek 2.10.65 → 2.10.66

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.
@@ -5,6 +5,7 @@ import { SelectedRows } from '../index';
5
5
  type Columns = ColumnItem[] | object;
6
6
  type CellPadding = 's' | 'm' | 'l' | 'none';
7
7
  declare function __VLS_template(): {
8
+ headerRight?(_: {}): any;
8
9
  header?(_: {}): any;
9
10
  headerBottom?(_: {}): any;
10
11
  selectedRowsActions?(_: {}): any;
@@ -1,14 +1,9 @@
1
- import { Color } from '../../../cleek-options/cleek-options.types';
2
- import { ColumnItem } from '../../../types/table';
1
+ import { Layout } from '../../../cleek-options/cleek-options.types';
3
2
 
4
3
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
- col: ColumnItem;
6
- textColor?: Color;
7
- backgroundColor?: Color;
4
+ layout?: Layout;
8
5
  }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
- col: ColumnItem;
10
- textColor?: Color;
11
- backgroundColor?: Color;
6
+ layout?: Layout;
12
7
  }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
13
8
  export default _default;
14
9
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,38 +1,21 @@
1
1
  import { Layout, TableVersion } from '../../../cleek-options/cleek-options.types';
2
2
 
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
+ declare function __VLS_template(): {
4
+ headerRight?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
7
  modelValue: {
5
8
  required: true;
6
9
  type: import('vue').PropType<string>;
7
10
  };
8
- hasColumnsManager: {
9
- type: import('vue').PropType<boolean>;
10
- required: true;
11
- };
12
11
  showRefreshBtn: {
13
12
  type: import('vue').PropType<boolean>;
14
13
  required: true;
15
14
  };
16
- hideItemsPerPage: {
17
- type: import('vue').PropType<boolean>;
18
- required: true;
19
- };
20
- currentPage: {
21
- type: import('vue').PropType<number>;
22
- required: true;
23
- };
24
- itemsPerPage: {
25
- type: import('vue').PropType<number>;
26
- required: true;
27
- };
28
15
  hideHeaderActions: {
29
16
  type: import('vue').PropType<boolean>;
30
17
  required: true;
31
18
  };
32
- listLength: {
33
- type: import('vue').PropType<number>;
34
- required: true;
35
- };
36
19
  layout: {
37
20
  type: import('vue').PropType<Layout>;
38
21
  required: true;
@@ -50,40 +33,19 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
50
33
  };
51
34
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
52
35
  refreshList: (pageChange: boolean) => void;
53
- openColumnsManager: () => void;
54
36
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
55
37
  modelValue: {
56
38
  required: true;
57
39
  type: import('vue').PropType<string>;
58
40
  };
59
- hasColumnsManager: {
60
- type: import('vue').PropType<boolean>;
61
- required: true;
62
- };
63
41
  showRefreshBtn: {
64
42
  type: import('vue').PropType<boolean>;
65
43
  required: true;
66
44
  };
67
- hideItemsPerPage: {
68
- type: import('vue').PropType<boolean>;
69
- required: true;
70
- };
71
- currentPage: {
72
- type: import('vue').PropType<number>;
73
- required: true;
74
- };
75
- itemsPerPage: {
76
- type: import('vue').PropType<number>;
77
- required: true;
78
- };
79
45
  hideHeaderActions: {
80
46
  type: import('vue').PropType<boolean>;
81
47
  required: true;
82
48
  };
83
- listLength: {
84
- type: import('vue').PropType<number>;
85
- required: true;
86
- };
87
49
  layout: {
88
50
  type: import('vue').PropType<Layout>;
89
51
  required: true;
@@ -101,6 +63,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
101
63
  };
102
64
  }>> & Readonly<{
103
65
  onRefreshList?: (pageChange: boolean) => any;
104
- onOpenColumnsManager?: () => any;
105
66
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
67
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
106
68
  export default _default;
69
+ type __VLS_WithTemplateSlots<T, S> = T & {
70
+ new (): {
71
+ $slots: S;
72
+ };
73
+ };
@@ -0,0 +1,21 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ currentPage: number;
3
+ itemsPerPage: number;
4
+ hideItemsPerPage: boolean;
5
+ listLength: number;
6
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ currentPage: number;
8
+ itemsPerPage: number;
9
+ hideItemsPerPage: boolean;
10
+ listLength: number;
11
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ export default _default;
13
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
+ type __VLS_TypePropsToRuntimeProps<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
+ } : {
18
+ type: import('vue').PropType<T[K]>;
19
+ required: true;
20
+ };
21
+ };
package/package.json CHANGED
@@ -1,85 +1,85 @@
1
- {
2
- "name": "cleek",
3
- "description": "Complete UX Vue library",
4
- "version": "2.10.65",
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": "^3.0.2",
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.66",
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": "^3.0.2",
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
+ }