@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,66 @@
|
|
|
1
|
+
import { Modal, Select } from '@zeedhi/common';
|
|
2
|
+
import { TekGridColumnsButton } from '@zeedhi/teknisa-components-common';
|
|
3
|
+
import { IDictionary, IEventParam } from '@zeedhi/core';
|
|
4
|
+
export default class TekGridColumnsOptionsController {
|
|
5
|
+
modal: Modal;
|
|
6
|
+
columnData: IDictionary<any>;
|
|
7
|
+
fixedColumns: IDictionary<any>[];
|
|
8
|
+
visibleColumns: IDictionary<any>[];
|
|
9
|
+
groupedColumns: IDictionary<any>[];
|
|
10
|
+
otherColumns: IDictionary<any>[];
|
|
11
|
+
aggregationData: IDictionary<any>[];
|
|
12
|
+
selectedColumnNames: string[];
|
|
13
|
+
searchValue: string;
|
|
14
|
+
showGroups: boolean;
|
|
15
|
+
private selectedColumnsAlignment?;
|
|
16
|
+
private selectedColumnsAggregation?;
|
|
17
|
+
private iterableComponent;
|
|
18
|
+
private instanceValue;
|
|
19
|
+
constructor(modal: Modal);
|
|
20
|
+
private updateArrays;
|
|
21
|
+
set instance(instance: TekGridColumnsButton);
|
|
22
|
+
private getAggregationText;
|
|
23
|
+
private columnInSearch;
|
|
24
|
+
get fixedColumnData(): any;
|
|
25
|
+
set fixedColumnData(_data: any);
|
|
26
|
+
get visibleColumnData(): any;
|
|
27
|
+
set visibleColumnData(_data: any);
|
|
28
|
+
get groupedColumnData(): any;
|
|
29
|
+
set groupedColumnData(_data: any);
|
|
30
|
+
get otherColumnData(): any;
|
|
31
|
+
set otherColumnData(_data: any);
|
|
32
|
+
get hasSelectedColumn(): boolean;
|
|
33
|
+
get hasNoSelectedColumn(): boolean;
|
|
34
|
+
get detailColumnName(): string;
|
|
35
|
+
get hasNoFixedColumns(): boolean;
|
|
36
|
+
get hasNoVisibleColumns(): boolean;
|
|
37
|
+
get hasNoGroupedColumns(): boolean;
|
|
38
|
+
get hasNoOtherColumns(): boolean;
|
|
39
|
+
get hasNoSingleSelection(): boolean;
|
|
40
|
+
get selectedColumnLabel(): string;
|
|
41
|
+
set selectedColumnLabel(value: string);
|
|
42
|
+
private getSameValue;
|
|
43
|
+
private setSameValue;
|
|
44
|
+
get groupInSelection(): boolean;
|
|
45
|
+
get notGroupInSelection(): boolean;
|
|
46
|
+
get selectedColumnGroupOpened(): any;
|
|
47
|
+
set selectedColumnGroupOpened(value: any);
|
|
48
|
+
selectMounted({ component }: IEventParam<Select>): void;
|
|
49
|
+
private updatingSelect;
|
|
50
|
+
selectChange({ component }: IEventParam<Select>): void;
|
|
51
|
+
private updateSelects;
|
|
52
|
+
private updateSelect;
|
|
53
|
+
private columnRemoveClick;
|
|
54
|
+
columnFixedRemoveClick({ element }: IEventParam<any>): void;
|
|
55
|
+
columnVisibleRemoveClick({ element }: IEventParam<any>): void;
|
|
56
|
+
columnGroupedRemoveClick({ element }: IEventParam<any>): void;
|
|
57
|
+
private isMacPlatform;
|
|
58
|
+
private isMobilePlatform;
|
|
59
|
+
columnClick({ element, event }: IEventParam<any>): void;
|
|
60
|
+
private removeFromSourceList;
|
|
61
|
+
private onDragEnd;
|
|
62
|
+
columnContainerMounted({ element }: IEventParam<Modal>): void;
|
|
63
|
+
selectAll({ component }: IEventParam<any>): void;
|
|
64
|
+
cancelChanges(): void;
|
|
65
|
+
applyChanges({ event, element }: IEventParam<any>): void;
|
|
66
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TekGridColumnsButton } from '@zeedhi/teknisa-components-common';
|
|
2
|
+
import { UnwrapNestedRefs } from 'vue';
|
|
3
|
+
export default class TekGridColumnsOptionsModal {
|
|
4
|
+
private static controllerName;
|
|
5
|
+
private static modalDef;
|
|
6
|
+
private static modal;
|
|
7
|
+
static show(instance: UnwrapNestedRefs<TekGridColumnsButton>): void;
|
|
8
|
+
static hide(): void;
|
|
9
|
+
}
|