@zeedhi/teknisa-components-vuetify 3.1.0 → 3.3.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.
- package/dist/teknisa-components-vuetify.es.js +3235 -0
- package/dist/teknisa-components-vuetify.es.js.map +1 -0
- package/dist/teknisa-vuetify.css +1 -1
- package/dist/types/components/index.d.ts +6 -0
- package/dist/types/components/public.d.ts +11 -0
- package/dist/types/components/tek-breadcrumb-header/TekBreadcrumbHeader.d.ts +3 -0
- package/dist/types/components/tek-grid/TekGrid.d.ts +3 -0
- package/dist/types/components/tek-grid/column-filter/TekGridColumnFilter.d.ts +36 -0
- package/dist/types/components/tek-grid/column-header/TekGridHeaderRow.d.ts +2 -0
- package/dist/types/components/tek-grid/columns-button/TekGridColumnsButton.d.ts +3 -0
- package/{types → dist/types}/components/tek-grid/columns-button/TekGridColumnsOptionsController.d.ts +1 -0
- package/{types → dist/types}/components/tek-grid/columns-button/TekGridColumnsOptionsModal.d.ts +1 -0
- package/dist/types/components/tek-grid/filter-button/TekGridFilterButton.d.ts +3 -0
- package/dist/types/components/tek-grid/indentation/TekGridIndentation.d.ts +2 -0
- package/dist/types/components/tek-grid/layout-options/TekGridLayoutOptions.d.ts +3 -0
- package/dist/types/components/tek-grid/row/TekGridFooterRow.d.ts +2 -0
- package/dist/types/components/tek-grid/row/TekGridGroupRow.d.ts +2 -0
- package/dist/types/components/tek-loading/TekLoading.d.ts +3 -0
- package/dist/types/components/tek-user-info/TekUserInfo.d.ts +3 -0
- package/dist/types/components/tek-user-info/TekUserInfoList.d.ts +2 -0
- package/{types → dist/types}/composables/useTableLayout.d.ts +3 -3
- package/{types → dist/types}/index.d.ts +0 -1
- package/package.json +40 -20
- package/src/index.ts +5 -0
- package/dist/teknisa-vuetify.js +0 -4117
- package/environments.json +0 -16
- package/jest.config.cjs +0 -31
- package/rollup.scss.config.js +0 -13
- package/src/components/index.ts +0 -41
- package/src/components/public.ts +0 -45
- package/src/components/tek-breadcrumb-header/TekBreadcrumbHeader.ts +0 -41
- package/src/components/tek-breadcrumb-header/TekBreadcrumbHeader.vue +0 -76
- package/src/components/tek-grid/TekGrid.ts +0 -332
- package/src/components/tek-grid/TekGrid.vue +0 -235
- package/src/components/tek-grid/column-filter/TekGridColumnFilter.ts +0 -244
- package/src/components/tek-grid/column-filter/TekGridColumnFilter.vue +0 -93
- package/src/components/tek-grid/column-header/TekGridHeaderRow.ts +0 -147
- package/src/components/tek-grid/column-header/TekGridHeaderRow.vue +0 -78
- package/src/components/tek-grid/columns-button/TekGridColumnsButton.ts +0 -97
- package/src/components/tek-grid/columns-button/TekGridColumnsButton.vue +0 -273
- package/src/components/tek-grid/columns-button/TekGridColumnsOptionsController.ts +0 -470
- package/src/components/tek-grid/columns-button/TekGridColumnsOptionsModal.ts +0 -513
- package/src/components/tek-grid/filter-button/TekGridFilterButton.ts +0 -48
- package/src/components/tek-grid/filter-button/TekGridFilterButton.vue +0 -28
- package/src/components/tek-grid/indentation/TekGridIndentation.ts +0 -21
- package/src/components/tek-grid/indentation/TekGridIndentation.vue +0 -33
- package/src/components/tek-grid/layout-options/TekGridLayoutOptions.ts +0 -124
- package/src/components/tek-grid/layout-options/TekGridLayoutOptions.vue +0 -172
- package/src/components/tek-grid/row/TekGridFooterRow.ts +0 -62
- package/src/components/tek-grid/row/TekGridFooterRow.vue +0 -64
- package/src/components/tek-grid/row/TekGridGroupRow.ts +0 -65
- package/src/components/tek-grid/row/TekGridGroupRow.vue +0 -65
- package/src/components/tek-loading/TekLoading.ts +0 -30
- package/src/components/tek-loading/TekLoading.vue +0 -18
- package/src/components/tek-user-info/TekUserInfo.ts +0 -52
- package/src/components/tek-user-info/TekUserInfo.vue +0 -53
- package/src/components/tek-user-info/TekUserInfoList.ts +0 -44
- package/src/components/tek-user-info/TekUserInfoList.vue +0 -12
- package/src/composables/useTableLayout.ts +0 -290
- package/src/shims-vue.d.ts +0 -6
- package/src/styles/index.scss +0 -0
- package/src/utils/isArrayOperation.ts +0 -5
- package/tsconfig.eslint.json +0 -9
- package/types/components/index.d.ts +0 -6
- package/types/components/public.d.ts +0 -11
- package/types/components/tek-breadcrumb-header/TekBreadcrumbHeader.d.ts +0 -1168
- package/types/components/tek-breadcrumb-header/TekBreadcrumbHeader.ts.d.ts +0 -1168
- package/types/components/tek-grid/TekGrid.d.ts +0 -6443
- package/types/components/tek-grid/TekGrid.ts.d.ts +0 -6443
- package/types/components/tek-grid/column-filter/TekGridColumnFilter.d.ts +0 -130
- package/types/components/tek-grid/column-filter/TekGridColumnFilter.ts.d.ts +0 -130
- package/types/components/tek-grid/column-header/TekGridHeaderRow.d.ts +0 -225
- package/types/components/tek-grid/column-header/TekGridHeaderRow.ts.d.ts +0 -225
- package/types/components/tek-grid/columns-button/TekGridColumnsButton.d.ts +0 -2933
- package/types/components/tek-grid/columns-button/TekGridColumnsButton.ts.d.ts +0 -2933
- package/types/components/tek-grid/filter-button/TekGridFilterButton.d.ts +0 -3580
- package/types/components/tek-grid/filter-button/TekGridFilterButton.ts.d.ts +0 -3580
- package/types/components/tek-grid/indentation/TekGridIndentation.d.ts +0 -32
- package/types/components/tek-grid/indentation/TekGridIndentation.ts.d.ts +0 -32
- package/types/components/tek-grid/layout-options/TekGridLayoutOptions.d.ts +0 -2394
- package/types/components/tek-grid/layout-options/TekGridLayoutOptions.ts.d.ts +0 -2394
- package/types/components/tek-grid/row/TekGridFooterRow.d.ts +0 -90
- package/types/components/tek-grid/row/TekGridFooterRow.ts.d.ts +0 -90
- package/types/components/tek-grid/row/TekGridGroupRow.d.ts +0 -87
- package/types/components/tek-grid/row/TekGridGroupRow.ts.d.ts +0 -87
- package/types/components/tek-loading/TekLoading.d.ts +0 -663
- package/types/components/tek-loading/TekLoading.ts.d.ts +0 -663
- package/types/components/tek-user-info/TekUserInfo.d.ts +0 -2459
- package/types/components/tek-user-info/TekUserInfo.ts.d.ts +0 -2459
- package/types/components/tek-user-info/TekUserInfoList.d.ts +0 -1245
- package/types/components/tek-user-info/TekUserInfoList.ts.d.ts +0 -1245
- /package/{types → dist/types}/utils/isArrayOperation.d.ts +0 -0
package/dist/teknisa-vuetify.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
/* CSS is injected via JS at runtime, see vite-plugin-css-injected-by-js */
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
import { IDictionary } from '@zeedhi/core';
|
|
3
|
+
export * from './tek-breadcrumb-header/TekBreadcrumbHeader';
|
|
4
|
+
export * from './tek-loading/TekLoading';
|
|
5
|
+
export declare const components: IDictionary<any>;
|
|
6
|
+
export declare function RegisterComponents(app: App): void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as TekBreadcrumbHeader } from './tek-breadcrumb-header/TekBreadcrumbHeader';
|
|
2
|
+
import { default as TekGrid } from './tek-grid/TekGrid';
|
|
3
|
+
import { default as TekGridColumnFilter } from './tek-grid/column-filter/TekGridColumnFilter';
|
|
4
|
+
import { default as TekGridColumnsButton } from './tek-grid/columns-button/TekGridColumnsButton';
|
|
5
|
+
import { default as TekGridFilterButton } from './tek-grid/filter-button/TekGridFilterButton';
|
|
6
|
+
import { default as TekGridLayoutOptions } from './tek-grid/layout-options/TekGridLayoutOptions';
|
|
7
|
+
import { default as TekLoading } from './tek-loading/TekLoading.vue';
|
|
8
|
+
import { default as TekUserInfo } from './tek-user-info/TekUserInfo';
|
|
9
|
+
import { default as TekUserInfoList } from './tek-user-info/TekUserInfoList';
|
|
10
|
+
export { TekBreadcrumbHeader, TekGrid, TekGridColumnFilter, TekGridColumnsButton, TekGridFilterButton, TekGridLayoutOptions, TekLoading, TekUserInfo, TekUserInfoList, };
|
|
11
|
+
export { TekLoadingProps } from './tek-loading/TekLoading';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export declare const TekGridColumnFilterProps: {
|
|
2
|
+
readonly hasFilterData: {
|
|
3
|
+
readonly type: BooleanConstructor;
|
|
4
|
+
readonly default: false;
|
|
5
|
+
};
|
|
6
|
+
readonly column: {
|
|
7
|
+
readonly type: ObjectConstructor;
|
|
8
|
+
readonly required: true;
|
|
9
|
+
};
|
|
10
|
+
readonly modelValue: {
|
|
11
|
+
readonly type: PropType<IDynamicFilterItem[]>;
|
|
12
|
+
readonly default: readonly [];
|
|
13
|
+
};
|
|
14
|
+
readonly instanceName: {
|
|
15
|
+
readonly type: StringConstructor;
|
|
16
|
+
readonly required: true;
|
|
17
|
+
};
|
|
18
|
+
readonly filterRelationsDatasource: {
|
|
19
|
+
readonly type: PropType<boolean | null>;
|
|
20
|
+
readonly required: false;
|
|
21
|
+
};
|
|
22
|
+
readonly filterOperationsDatasource: {
|
|
23
|
+
readonly type: PropType<boolean | null>;
|
|
24
|
+
readonly required: false;
|
|
25
|
+
};
|
|
26
|
+
readonly isHovering: {
|
|
27
|
+
readonly type: BooleanConstructor;
|
|
28
|
+
readonly default: false;
|
|
29
|
+
};
|
|
30
|
+
readonly multiple: {
|
|
31
|
+
readonly type: BooleanConstructor;
|
|
32
|
+
readonly required: true;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
declare const tekGridColumnFilter: any;
|
|
36
|
+
export default tekGridColumnFilter;
|
package/{types → dist/types}/components/tek-grid/columns-button/TekGridColumnsOptionsController.d.ts
RENAMED
|
@@ -45,6 +45,7 @@ export default class TekGridColumnsOptionsController {
|
|
|
45
45
|
get notGroupInSelection(): boolean;
|
|
46
46
|
get selectedColumnGroupOpened(): any;
|
|
47
47
|
set selectedColumnGroupOpened(value: any);
|
|
48
|
+
onShowModal(): void;
|
|
48
49
|
selectMounted({ component }: IEventParam<Select>): void;
|
|
49
50
|
private updatingSelect;
|
|
50
51
|
selectChange({ component }: IEventParam<Select>): void;
|
|
@@ -16,9 +16,9 @@ export type ApplyLayout = (params: {
|
|
|
16
16
|
export type GetColumnElements = () => IDictionary<Element>;
|
|
17
17
|
export type GetTableWidth = () => string;
|
|
18
18
|
export declare function useTableLayout(): {
|
|
19
|
-
applyLayout:
|
|
20
|
-
getColumnElements:
|
|
21
|
-
getTableWidth:
|
|
19
|
+
applyLayout: any;
|
|
20
|
+
getColumnElements: any;
|
|
21
|
+
getTableWidth: any;
|
|
22
22
|
};
|
|
23
23
|
export declare function provideTableLayout<T extends IIterable<TekGridColumn> & IGroupedDataManager>({ instance, rootEl, }: {
|
|
24
24
|
instance: UnwrapNestedRefs<T>;
|
package/package.json
CHANGED
|
@@ -1,48 +1,68 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeedhi/teknisa-components-vuetify",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"description": "Teknisa Components based on Vuetify",
|
|
5
5
|
"author": "Zeedhi <zeedhi@teknisa.com>",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"main": "src/index.ts",
|
|
8
|
-
"module": "dist/teknisa-vuetify.js",
|
|
9
|
-
"
|
|
8
|
+
"module": "./dist/teknisa-components-vuetify.es.js",
|
|
9
|
+
"types": "./dist/types/index.d.ts",
|
|
10
10
|
"type": "module",
|
|
11
|
+
"files": [
|
|
12
|
+
"dist"
|
|
13
|
+
],
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"import": "./dist/teknisa-components-vuetify.es.js",
|
|
17
|
+
"types": "./dist/types/index.d.ts"
|
|
18
|
+
},
|
|
19
|
+
"./dist/teknisa-vuetify.css": "./dist/teknisa-vuetify.css"
|
|
20
|
+
},
|
|
11
21
|
"publishConfig": {
|
|
12
22
|
"access": "public"
|
|
13
23
|
},
|
|
14
24
|
"scripts": {
|
|
15
|
-
"
|
|
16
|
-
"build
|
|
17
|
-
"
|
|
18
|
-
"lint": "eslint . --ext .ts --fix",
|
|
19
|
-
"watch": "rollup -cw"
|
|
25
|
+
"dev": "vite",
|
|
26
|
+
"build": "vue-tsc -b && vite build",
|
|
27
|
+
"preview": "vite preview"
|
|
20
28
|
},
|
|
21
|
-
"
|
|
22
|
-
"@zeedhi/
|
|
29
|
+
"peerDependencies": {
|
|
30
|
+
"@zeedhi/common": "^3.0.0",
|
|
31
|
+
"@zeedhi/core": "^3.0.0",
|
|
32
|
+
"@zeedhi/teknisa-components-common": "^3.0.0",
|
|
23
33
|
"@zeedhi/vuetify": "^3.0.0",
|
|
34
|
+
"vue": "^3.5.13"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
24
37
|
"@zeedhi/zd-user-info-common": "^3.0.0",
|
|
25
38
|
"@zeedhi/zd-user-info-vue": "^3.0.0",
|
|
39
|
+
"i18next-vue": "^2.1.1",
|
|
26
40
|
"lodash.clonedeep": "4.5.*",
|
|
27
41
|
"lodash.debounce": "4.0.*",
|
|
28
42
|
"lodash.merge": "4.6.*",
|
|
29
|
-
"sortablejs": "1.15.*"
|
|
30
|
-
"vue": "^3.0.0",
|
|
31
|
-
"vuetify": "~3.11.0"
|
|
43
|
+
"sortablejs": "1.15.*"
|
|
32
44
|
},
|
|
33
45
|
"devDependencies": {
|
|
34
|
-
"@rollup/plugin-commonjs": "^24.0.1",
|
|
35
|
-
"@rollup/plugin-json": "^6.0.0",
|
|
36
|
-
"@rollup/plugin-typescript": "^11.1.1",
|
|
37
|
-
"@types/jest": "26.0.*",
|
|
38
46
|
"@types/lodash.clonedeep": "4.5.*",
|
|
39
47
|
"@types/lodash.debounce": "4.0.*",
|
|
40
48
|
"@types/lodash.merge": "4.6.*",
|
|
49
|
+
"@types/node": "^22.10.2",
|
|
41
50
|
"@types/sortablejs": "1.15.*",
|
|
42
|
-
"
|
|
43
|
-
"
|
|
51
|
+
"@vitejs/plugin-vue": "^6.0.7",
|
|
52
|
+
"@vue/tsconfig": "^0.7.0",
|
|
53
|
+
"@zeedhi/common": "^3.0.0",
|
|
54
|
+
"@zeedhi/core": "^3.0.0",
|
|
55
|
+
"@zeedhi/teknisa-components-common": "^3.3.0",
|
|
56
|
+
"@zeedhi/vuetify": "^3.0.0",
|
|
57
|
+
"sass": "^1.83.0",
|
|
58
|
+
"typescript": "~5.6.2",
|
|
59
|
+
"vite": "^6.0.1",
|
|
60
|
+
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
61
|
+
"vite-plugin-dts": "^4.3.0",
|
|
62
|
+
"vue": "^3.5.13",
|
|
63
|
+
"vue-tsc": "^2.1.10"
|
|
44
64
|
},
|
|
45
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "ee16bba18da34043f62f3aa45fe5f3d148e71dfd",
|
|
46
66
|
"env": {
|
|
47
67
|
"NODE_ENV": "production"
|
|
48
68
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/* eslint-disable max-len */
|
|
2
2
|
import type { App } from 'vue';
|
|
3
|
+
import I18NextVue from 'i18next-vue';
|
|
3
4
|
import { Icons } from '@zeedhi/common';
|
|
4
5
|
import { components } from './components';
|
|
6
|
+
import { I18n } from '@zeedhi/core';
|
|
5
7
|
|
|
6
8
|
Icons.addIcons({
|
|
7
9
|
add: 'mdi-plus-box',
|
|
@@ -16,6 +18,9 @@ Icons.addIcons({
|
|
|
16
18
|
|
|
17
19
|
const TeknisaComponents = {
|
|
18
20
|
install(app: App): void {
|
|
21
|
+
if (!app._context.components.i18next) {
|
|
22
|
+
app.use(I18NextVue, { i18next: I18n.instance });
|
|
23
|
+
}
|
|
19
24
|
Object.keys(components).forEach((id) => {
|
|
20
25
|
app.component(id, components[id]);
|
|
21
26
|
});
|