@zeedhi/teknisa-components-vuetify 3.0.0 → 3.0.1
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/.package.json +10 -7
- package/dist/teknisa-vuetify.css +1 -1
- package/dist/teknisa-vuetify.js +3777 -14
- package/package.json +3 -3
- package/src/components/index.ts +22 -0
- package/src/components/public.ts +14 -18
- package/src/components/tek-grid/TekGrid.ts +318 -0
- package/src/components/tek-grid/TekGrid.vue +235 -0
- package/src/components/tek-grid/column-filter/TekGridColumnFilter.ts +244 -0
- package/src/components/tek-grid/column-filter/TekGridColumnFilter.vue +93 -0
- package/src/components/tek-grid/column-header/TekGridHeaderRow.ts +147 -0
- package/src/components/tek-grid/column-header/TekGridHeaderRow.vue +78 -0
- package/src/components/tek-grid/columns-button/TekGridColumnsButton.ts +96 -0
- package/src/components/tek-grid/columns-button/TekGridColumnsButton.vue +273 -0
- package/src/components/tek-grid/columns-button/TekGridColumnsOptionsController.ts +470 -0
- package/src/components/tek-grid/columns-button/TekGridColumnsOptionsModal.ts +513 -0
- package/src/components/tek-grid/filter-button/TekGridFilterButton.ts +47 -0
- package/src/components/tek-grid/filter-button/TekGridFilterButton.vue +28 -0
- package/src/components/tek-grid/indentation/TekGridIndentation.ts +21 -0
- package/src/components/tek-grid/indentation/TekGridIndentation.vue +33 -0
- package/src/components/tek-grid/layout-options/TekGridLayoutOptions.ts +119 -0
- package/src/components/tek-grid/layout-options/TekGridLayoutOptions.vue +172 -0
- package/src/components/tek-grid/row/TekGridFooterRow.ts +62 -0
- package/src/components/tek-grid/row/TekGridFooterRow.vue +64 -0
- package/src/components/tek-grid/row/TekGridGroupRow.ts +65 -0
- package/src/components/tek-grid/row/TekGridGroupRow.vue +65 -0
- package/src/components/tek-user-info/TekUserInfo.ts +51 -0
- package/src/components/tek-user-info/TekUserInfo.vue +53 -0
- package/src/components/tek-user-info/TekUserInfoList.ts +39 -0
- package/src/components/tek-user-info/TekUserInfoList.vue +12 -0
- package/src/composables/useTableLayout.ts +290 -0
- package/src/utils/isArrayOperation.ts +5 -0
- package/types/components/public.d.ts +8 -1
- package/types/components/tek-grid/TekGrid.d.ts +7211 -0
- package/types/components/tek-grid/TekGrid.ts.d.ts +7211 -0
- package/types/components/tek-grid/column-filter/TekGridColumnFilter.d.ts +130 -0
- package/types/components/tek-grid/column-filter/TekGridColumnFilter.ts.d.ts +130 -0
- package/types/components/tek-grid/column-header/TekGridHeaderRow.d.ts +225 -0
- package/types/components/tek-grid/column-header/TekGridHeaderRow.ts.d.ts +225 -0
- package/types/components/tek-grid/columns-button/TekGridColumnsButton.d.ts +2432 -0
- package/types/components/tek-grid/columns-button/TekGridColumnsButton.ts.d.ts +2432 -0
- package/types/components/tek-grid/columns-button/TekGridColumnsOptionsController.d.ts +66 -0
- package/types/components/tek-grid/columns-button/TekGridColumnsOptionsModal.d.ts +9 -0
- package/types/components/tek-grid/filter-button/TekGridFilterButton.d.ts +2920 -0
- package/types/components/tek-grid/filter-button/TekGridFilterButton.ts.d.ts +2920 -0
- package/types/components/tek-grid/indentation/TekGridIndentation.d.ts +32 -0
- package/types/components/tek-grid/indentation/TekGridIndentation.ts.d.ts +32 -0
- package/types/components/tek-grid/layout-options/TekGridLayoutOptions.d.ts +1893 -0
- package/types/components/tek-grid/layout-options/TekGridLayoutOptions.ts.d.ts +1893 -0
- package/types/components/tek-grid/row/TekGridFooterRow.d.ts +90 -0
- package/types/components/tek-grid/row/TekGridFooterRow.ts.d.ts +90 -0
- package/types/components/tek-grid/row/TekGridGroupRow.d.ts +87 -0
- package/types/components/tek-grid/row/TekGridGroupRow.ts.d.ts +87 -0
- package/types/components/tek-user-info/TekUserInfo.d.ts +1940 -0
- package/types/components/tek-user-info/TekUserInfo.ts.d.ts +1940 -0
- package/types/components/tek-user-info/TekUserInfoList.d.ts +1015 -0
- package/types/components/tek-user-info/TekUserInfoList.ts.d.ts +1015 -0
- package/types/composables/useTableLayout.d.ts +26 -0
- package/types/utils/isArrayOperation.d.ts +2 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { IIterable } from '@zeedhi/common';
|
|
2
|
+
import { IDynamicFilterItem, IGroupedDataManager, ITekGridLayout, ITekGridLayoutColumn, TekGridColumn } from '@zeedhi/teknisa-components-common';
|
|
3
|
+
import { IDictionary } from '@zeedhi/core';
|
|
4
|
+
import { ComputedRef, UnwrapNestedRefs } from 'vue';
|
|
5
|
+
export type DefaultLayout = {
|
|
6
|
+
originalDatasourceOrder: string[];
|
|
7
|
+
originalDatasourceFilter: IDictionary<any>;
|
|
8
|
+
originalColumnProps: ITekGridLayoutColumn[];
|
|
9
|
+
originalDatasourceDynamicFilter: IDictionary<IDynamicFilterItem[]>;
|
|
10
|
+
};
|
|
11
|
+
export type ApplyLayout = (params: {
|
|
12
|
+
layout?: ITekGridLayout;
|
|
13
|
+
defaultLayout: DefaultLayout;
|
|
14
|
+
changeLayoutCallback: (layout: ITekGridLayout) => void;
|
|
15
|
+
}) => void;
|
|
16
|
+
export type GetColumnElements = () => IDictionary<Element>;
|
|
17
|
+
export type GetTableWidth = () => string;
|
|
18
|
+
export declare function useTableLayout(): {
|
|
19
|
+
applyLayout: ApplyLayout;
|
|
20
|
+
getColumnElements: GetColumnElements;
|
|
21
|
+
getTableWidth: GetTableWidth;
|
|
22
|
+
};
|
|
23
|
+
export declare function provideTableLayout<T extends IIterable<TekGridColumn> & IGroupedDataManager>({ instance, rootEl, }: {
|
|
24
|
+
instance: UnwrapNestedRefs<T>;
|
|
25
|
+
rootEl: ComputedRef<HTMLElement | undefined>;
|
|
26
|
+
}): void;
|