@zeedhi/vuetify 3.2.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/zd-vuetify.css +25 -2
- package/dist/zd-vuetify.min.css +2 -2
- package/dist/zd-vuetify.min.js +12 -12
- package/dist/zd-vuetify.mjs +346 -123
- package/package.json +3 -3
- package/src/components/zd-component/ZdComponent.ts +15 -13
- package/src/components/zd-tabs/ZdTab.ts +40 -6
- package/src/components/zd-tabs/ZdTab.vue +16 -3
- package/src/components/zd-tabs/ZdTabItem.ts +2 -2
- package/src/components/zd-tabs/ZdTabItem.vue +1 -1
- package/src/components/zd-tabs/ZdTabs.ts +96 -2
- package/src/components/zd-tabs/ZdTabs.vue +46 -17
- package/types/components/tek-grid/TekGrid.d.ts +7258 -0
- package/types/components/tek-grid/TekGrid.ts.d.ts +7258 -0
- package/types/components/tek-grid/column-filter/TekGridColumnFilter.d.ts +129 -0
- package/types/components/tek-grid/column-filter/TekGridColumnFilter.ts.d.ts +129 -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 +65 -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 +1892 -0
- package/types/components/tek-grid/layout-options/TekGridLayoutOptions.ts.d.ts +1892 -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/tooltip-overflow/ZdTooltipOverflow.ts.d.ts +50 -0
- package/types/components/zd-activator-wrapper/ZdActivatorWrapper.ts.d.ts +25 -0
- package/types/components/zd-alert/ZdAlert.ts.d.ts +884 -0
- package/types/components/zd-badge/ZdBadge.ts.d.ts +624 -0
- package/types/components/zd-breadcrumbs/ZdBreadcrumbs.ts.d.ts +697 -0
- package/types/components/zd-button/ZdButton.ts.d.ts +1158 -0
- package/types/components/zd-button-group/ZdButtonGroup.ts.d.ts +785 -0
- package/types/components/zd-card/ZdCard.ts.d.ts +1028 -0
- package/types/components/zd-carousel/ZdCarousel.ts.d.ts +2007 -0
- package/types/components/zd-checkbox/ZdCheckbox.ts.d.ts +642 -0
- package/types/components/zd-checkbox-multiple/ZdCheckboxMultiple.ts.d.ts +2010 -0
- package/types/components/zd-chip/ZdChip.ts.d.ts +1256 -0
- package/types/components/zd-code-viewer/ZdCodeViewer.ts.d.ts +791 -0
- package/types/components/zd-col/ZdCol.ts.d.ts +741 -0
- package/types/components/zd-collapse-card/ZdCollapseCard.ts.d.ts +1583 -0
- package/types/components/zd-container/ZdContainer.ts.d.ts +722 -0
- package/types/components/zd-currency/ZdCurrency.ts.d.ts +2024 -0
- package/types/components/zd-date-input/ZdDateInput.ts.d.ts +960 -0
- package/types/components/zd-dialog/ZdDialog.ts.d.ts +262 -0
- package/types/components/zd-divider/ZdDivider.ts.d.ts +623 -0
- package/types/components/zd-dropdown/ZdDropdown.ts.d.ts +836 -0
- package/types/components/zd-footer/ZdFooter.ts.d.ts +1262 -0
- package/types/components/zd-form/ZdForm.ts.d.ts +118 -0
- package/types/components/zd-frame/ZdFrame.ts.d.ts +138 -0
- package/types/components/zd-frame-page/ZdFramePage.ts.d.ts +805 -0
- package/types/components/zd-grid/ZdGrid.ts.d.ts +7304 -0
- package/types/components/zd-grid/cell/ZdGridAction.ts.d.ts +14 -0
- package/types/components/zd-grid/cell/ZdGridCell.ts.d.ts +68 -0
- package/types/components/zd-grid/cell/ZdGridCellContent.ts.d.ts +58 -0
- package/types/components/zd-grid/cell/ZdGridCheckbox.ts.d.ts +53 -0
- package/types/components/zd-grid/column-header/ZdGridColumnHeader.ts.d.ts +112 -0
- package/types/components/zd-grid/column-header/ZdGridHeaderIcon.ts.d.ts +46 -0
- package/types/components/zd-grid/column-header/ZdGridHeaderRow.ts.d.ts +165 -0
- package/types/components/zd-grid/column-header/ZdGridSort.ts.d.ts +47 -0
- package/types/components/zd-grid/footer/ZdGridFooter.ts.d.ts +2087 -0
- package/types/components/zd-grid/helper/ZdGridHelper.ts.d.ts +16 -0
- package/types/components/zd-grid/row/TableRow.ts.d.ts +34 -0
- package/types/components/zd-grid/row/ZdGridRow.ts.d.ts +105 -0
- package/types/components/zd-grid/toolbar/ZdGridToolbar.ts.d.ts +2086 -0
- package/types/components/zd-grid-editable/ZdGridEditable.ts.d.ts +8663 -0
- package/types/components/zd-grid-editable/cell/ZdGridEditableCell.ts.d.ts +637 -0
- package/types/components/zd-grid-editable/row/ZdGridEditableRow.ts.d.ts +126 -0
- package/types/components/zd-header/ZdHeader.ts.d.ts +1320 -0
- package/types/components/zd-icon/ZdIcon.ts.d.ts +383 -0
- package/types/components/zd-image/ZdImage.ts.d.ts +753 -0
- package/types/components/zd-increment/ZdIncrement.ts.d.ts +2069 -0
- package/types/components/zd-iterable/ZdIterableNoData.ts.d.ts +2089 -0
- package/types/components/zd-iterable/zd-iterable-columns-button/ZdIterableColumnsButton.ts.d.ts +1645 -0
- package/types/components/zd-iterable/zd-iterable-page-info/ZdIterablePageInfo.ts.d.ts +1081 -0
- package/types/components/zd-iterable/zd-iterable-page-size/ZdIterablePageSize.ts.d.ts +2763 -0
- package/types/components/zd-iterable/zd-iterable-pagination/ZdIterablePagination.ts.d.ts +1627 -0
- package/types/components/zd-iterable/zd-search/ZdSearch.ts.d.ts +766 -0
- package/types/components/zd-iterable-component-render/ZdIterableComponentRender.ts.d.ts +2484 -0
- package/types/components/zd-layout/ZdLayout.ts.d.ts +647 -0
- package/types/components/zd-list/ZdList.ts.d.ts +1140 -0
- package/types/components/zd-list/ZdListGroup.ts.d.ts +1332 -0
- package/types/components/zd-list/ZdListItem.ts.d.ts +848 -0
- package/types/components/zd-loading/ZdLoading.ts.d.ts +350 -0
- package/types/components/zd-login/ZdLogin.ts.d.ts +1072 -0
- package/types/components/zd-login/ZdLoginButton.ts.d.ts +1910 -0
- package/types/components/zd-main/ZdMain.ts.d.ts +619 -0
- package/types/components/zd-master-detail/ZdMasterDetail.ts.d.ts +684 -0
- package/types/components/zd-menu/ZdMenu.ts.d.ts +4484 -0
- package/types/components/zd-menu/ZdMenuButton.ts.d.ts +1142 -0
- package/types/components/zd-menu/ZdMenuGroup.ts.d.ts +6286 -0
- package/types/components/zd-menu/ZdMenuLink.ts.d.ts +10437 -0
- package/types/components/zd-menu/ZdMenuSeparator.ts.d.ts +600 -0
- package/types/components/zd-modal/ZdModal.ts.d.ts +10 -0
- package/types/components/zd-modal/ZdModalCloseButton.ts.d.ts +1137 -0
- package/types/components/zd-month/ZdMonth.ts.d.ts +2217 -0
- package/types/components/zd-number-input/ZdNumberInput.ts.d.ts +2021 -0
- package/types/components/zd-password/ZdPassword.ts.d.ts +2014 -0
- package/types/components/zd-progress/ZdProgress.ts.d.ts +859 -0
- package/types/components/zd-radio/ZdRadio.ts.d.ts +682 -0
- package/types/components/zd-row/ZdRow.ts.d.ts +734 -0
- package/types/components/zd-select/ZdSelect.ts.d.ts +313 -0
- package/types/components/zd-select-multiple/ZdSelectMultiple.ts.d.ts +333 -0
- package/types/components/zd-svg-map/ZdSvgMap.ts.d.ts +414 -0
- package/types/components/zd-switch/ZdSwitch.ts.d.ts +1918 -0
- package/types/components/zd-table/ZdTable.ts.d.ts +1092 -0
- package/types/components/zd-tabs/ZdTab.d.ts +4 -10
- package/types/components/zd-tabs/ZdTab.ts.d.ts +674 -0
- package/types/components/zd-tabs/ZdTabItem.d.ts +6 -6
- package/types/components/zd-tabs/ZdTabItem.ts.d.ts +268 -0
- package/types/components/zd-tabs/ZdTabs.d.ts +20 -1
- package/types/components/zd-tabs/ZdTabs.ts.d.ts +929 -0
- package/types/components/zd-tag/ZdTag.ts.d.ts +613 -0
- package/types/components/zd-text/ZdText.ts.d.ts +670 -0
- package/types/components/zd-text-input/ZdTextInput.ts.d.ts +746 -0
- package/types/components/zd-textarea/ZdTextarea.ts.d.ts +877 -0
- package/types/components/zd-time/ZdTime.ts.d.ts +2224 -0
- package/types/components/zd-tooltip/ZdTooltip.ts.d.ts +781 -0
- package/types/components/zd-tree/ZdTree.ts.d.ts +1878 -0
- package/types/components/zd-tree/ZdTreeAfterTitle.ts.d.ts +26 -0
- package/types/components/zd-tree/ZdTreeCheckbox.ts.d.ts +74 -0
- package/types/components/zd-tree-grid/ZdTreeGrid.ts.d.ts +4178 -0
- package/types/components/zd-tree-grid/cell/ZdTreeGridCell.ts.d.ts +92 -0
- package/types/components/zd-tree-grid/row/ZdTreeGridRow.ts.d.ts +124 -0
- package/types/composables/useTableLayout.d.ts +25 -0
- package/types/utils/isArrayOperation.d.ts +2 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ComponentRender } from '@zeedhi/common';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
actions: {
|
|
5
|
+
type: PropType<ComponentRender<import("@zeedhi/common").IComponentRender>[]>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
actions: {
|
|
10
|
+
type: PropType<ComponentRender<import("@zeedhi/common").IComponentRender>[]>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { GridColumn } from '@zeedhi/common';
|
|
2
|
+
import { IDictionary } from '@zeedhi/core';
|
|
3
|
+
import { PropType } from 'vue';
|
|
4
|
+
import { GetActions } from '../ZdGrid';
|
|
5
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
+
row: {
|
|
7
|
+
type: PropType<IDictionary<any>>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
column: {
|
|
11
|
+
type: PropType<GridColumn>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
cssClass: {
|
|
15
|
+
type: PropType<(string | IDictionary<boolean>)[]>;
|
|
16
|
+
default: () => never[];
|
|
17
|
+
};
|
|
18
|
+
cssStyle: {
|
|
19
|
+
type: PropType<IDictionary<any>[]>;
|
|
20
|
+
default: () => never[];
|
|
21
|
+
};
|
|
22
|
+
cellSelection: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
isCurrent: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
};
|
|
29
|
+
}>, {
|
|
30
|
+
tabindex: import("vue").ComputedRef<"" | 0>;
|
|
31
|
+
click: (event: Event) => void;
|
|
32
|
+
focusin: (event: Event) => void;
|
|
33
|
+
conditionalProps: import("vue").ComputedRef<Partial<import("@zeedhi/common").IComponentRender>>;
|
|
34
|
+
getActions: GetActions;
|
|
35
|
+
getMergedConditionals: (propName: keyof GridColumn) => any;
|
|
36
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusin" | "click")[], "focusin" | "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
row: {
|
|
38
|
+
type: PropType<IDictionary<any>>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
column: {
|
|
42
|
+
type: PropType<GridColumn>;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
cssClass: {
|
|
46
|
+
type: PropType<(string | IDictionary<boolean>)[]>;
|
|
47
|
+
default: () => never[];
|
|
48
|
+
};
|
|
49
|
+
cssStyle: {
|
|
50
|
+
type: PropType<IDictionary<any>[]>;
|
|
51
|
+
default: () => never[];
|
|
52
|
+
};
|
|
53
|
+
cellSelection: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
required: true;
|
|
56
|
+
};
|
|
57
|
+
isCurrent: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
};
|
|
60
|
+
}>> & Readonly<{
|
|
61
|
+
onFocusin?: ((...args: any[]) => any) | undefined;
|
|
62
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
63
|
+
}>, {
|
|
64
|
+
cssClass: (string | IDictionary<boolean>)[];
|
|
65
|
+
cssStyle: IDictionary<any>[];
|
|
66
|
+
isCurrent: boolean;
|
|
67
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
68
|
+
export default _default;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { Column } from '@zeedhi/common';
|
|
2
|
+
import { IDictionary } from '@zeedhi/core';
|
|
3
|
+
import { PropType } from 'vue';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
|
+
column: {
|
|
6
|
+
type: PropType<Column>;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
cssClass: {
|
|
10
|
+
type: PropType<(string | IDictionary<boolean>)[]>;
|
|
11
|
+
default: () => never[];
|
|
12
|
+
};
|
|
13
|
+
cssStyle: {
|
|
14
|
+
type: PropType<(string | IDictionary<boolean>)[]>;
|
|
15
|
+
default: () => never[];
|
|
16
|
+
};
|
|
17
|
+
row: {
|
|
18
|
+
type: PropType<IDictionary<any>>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
value: {
|
|
22
|
+
type: (ArrayConstructor | StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
23
|
+
};
|
|
24
|
+
conditionalProps: {
|
|
25
|
+
type: ObjectConstructor[];
|
|
26
|
+
};
|
|
27
|
+
}>, {
|
|
28
|
+
value: import("vue").Ref<string, string>;
|
|
29
|
+
formattedValue: import("vue").ComputedRef<any>;
|
|
30
|
+
width: import("vue").ComputedRef<string | undefined>;
|
|
31
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
32
|
+
column: {
|
|
33
|
+
type: PropType<Column>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
cssClass: {
|
|
37
|
+
type: PropType<(string | IDictionary<boolean>)[]>;
|
|
38
|
+
default: () => never[];
|
|
39
|
+
};
|
|
40
|
+
cssStyle: {
|
|
41
|
+
type: PropType<(string | IDictionary<boolean>)[]>;
|
|
42
|
+
default: () => never[];
|
|
43
|
+
};
|
|
44
|
+
row: {
|
|
45
|
+
type: PropType<IDictionary<any>>;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
value: {
|
|
49
|
+
type: (ArrayConstructor | StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
50
|
+
};
|
|
51
|
+
conditionalProps: {
|
|
52
|
+
type: ObjectConstructor[];
|
|
53
|
+
};
|
|
54
|
+
}>> & Readonly<{}>, {
|
|
55
|
+
cssClass: (string | IDictionary<boolean>)[];
|
|
56
|
+
cssStyle: (string | IDictionary<boolean>)[];
|
|
57
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
58
|
+
export default _default;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
cellSelection: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
disabled: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
isSelected: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
isCurrent: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
indeterminate: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
}>, {
|
|
23
|
+
click: (event: Event) => void;
|
|
24
|
+
focusin: (event: Event) => void;
|
|
25
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusin" | "click")[], "focusin" | "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
cellSelection: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
disabled: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
isSelected: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
isCurrent: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
indeterminate: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
}>> & Readonly<{
|
|
47
|
+
onFocusin?: ((...args: any[]) => any) | undefined;
|
|
48
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
}>, {
|
|
50
|
+
isCurrent: boolean;
|
|
51
|
+
indeterminate: boolean;
|
|
52
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
53
|
+
export default _default;
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { ColumnAlign } from '@zeedhi/common';
|
|
2
|
+
import { IDictionary } from '@zeedhi/core';
|
|
3
|
+
import { PropType } from 'vue';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
|
+
action: {
|
|
6
|
+
type: BooleanConstructor;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
overflow: {
|
|
10
|
+
type: PropType<string | number>;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
helperText: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
};
|
|
16
|
+
label: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
};
|
|
19
|
+
columnAlign: {
|
|
20
|
+
type: PropType<ColumnAlign>;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
orderIndex: {
|
|
24
|
+
type: NumberConstructor;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
isSortable: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
cssStyle: {
|
|
32
|
+
type: PropType<IDictionary<any>>;
|
|
33
|
+
};
|
|
34
|
+
resizeColumns: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
sortIcon: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
isSorted: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
isHovering: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
}>, {
|
|
51
|
+
click: (event: Event) => void;
|
|
52
|
+
resizeMousedown: (event: Event) => void;
|
|
53
|
+
resizeClick: (event: Event) => void;
|
|
54
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "resizeMousedown" | "resizeClick")[], "click" | "resizeMousedown" | "resizeClick", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
55
|
+
action: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
overflow: {
|
|
60
|
+
type: PropType<string | number>;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
helperText: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
};
|
|
66
|
+
label: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
};
|
|
69
|
+
columnAlign: {
|
|
70
|
+
type: PropType<ColumnAlign>;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
orderIndex: {
|
|
74
|
+
type: NumberConstructor;
|
|
75
|
+
required: true;
|
|
76
|
+
};
|
|
77
|
+
isSortable: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
81
|
+
cssStyle: {
|
|
82
|
+
type: PropType<IDictionary<any>>;
|
|
83
|
+
};
|
|
84
|
+
resizeColumns: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
sortIcon: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
required: true;
|
|
91
|
+
};
|
|
92
|
+
isSorted: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
required: true;
|
|
95
|
+
};
|
|
96
|
+
isHovering: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
default: boolean;
|
|
99
|
+
};
|
|
100
|
+
}>> & Readonly<{
|
|
101
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
102
|
+
onResizeMousedown?: ((...args: any[]) => any) | undefined;
|
|
103
|
+
onResizeClick?: ((...args: any[]) => any) | undefined;
|
|
104
|
+
}>, {
|
|
105
|
+
action: boolean;
|
|
106
|
+
overflow: string | number;
|
|
107
|
+
columnAlign: ColumnAlign;
|
|
108
|
+
isSortable: boolean;
|
|
109
|
+
resizeColumns: boolean;
|
|
110
|
+
isHovering: boolean;
|
|
111
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
112
|
+
export default _default;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
icon: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
color: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
left: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
hidden: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
}>, {
|
|
19
|
+
click: (event: Event) => void;
|
|
20
|
+
mousedown: (event: Event) => void;
|
|
21
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "mousedown")[], "click" | "mousedown", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
+
icon: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
color: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
left: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
hidden: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
}>> & Readonly<{
|
|
39
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
40
|
+
onMousedown?: ((...args: any[]) => any) | undefined;
|
|
41
|
+
}>, {
|
|
42
|
+
color: string;
|
|
43
|
+
left: boolean;
|
|
44
|
+
hidden: boolean;
|
|
45
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
46
|
+
export default _default;
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import { Column, GridColumn } from '@zeedhi/common';
|
|
2
|
+
import { PropType, UnwrapRef } from 'vue';
|
|
3
|
+
import { ResizeParams } from '../../../composables/columnResize';
|
|
4
|
+
import { CalcWidth } from '../ZdGrid';
|
|
5
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
+
selectable: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
headerBackground: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
showSelectAll: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
allselectedState: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
|
+
visibleColumns: {
|
|
23
|
+
type: PropType<GridColumn[]>;
|
|
24
|
+
default: () => never[];
|
|
25
|
+
};
|
|
26
|
+
dragColumns: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
headerCellTextColor: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
resizeColumns: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
getSortIcon: {
|
|
39
|
+
type: FunctionConstructor;
|
|
40
|
+
default: () => void;
|
|
41
|
+
};
|
|
42
|
+
isSorted: {
|
|
43
|
+
type: FunctionConstructor;
|
|
44
|
+
default: () => void;
|
|
45
|
+
};
|
|
46
|
+
toggleSort: {
|
|
47
|
+
type: FunctionConstructor;
|
|
48
|
+
default: () => void;
|
|
49
|
+
};
|
|
50
|
+
tableColumns: {
|
|
51
|
+
type: PropType<any[]>;
|
|
52
|
+
default: () => never[];
|
|
53
|
+
};
|
|
54
|
+
sortBy: {
|
|
55
|
+
type: PropType<any[]>;
|
|
56
|
+
default: () => never[];
|
|
57
|
+
};
|
|
58
|
+
disableCheckbox: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
sortable: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
name: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
}>, {
|
|
71
|
+
calcWidth: CalcWidth;
|
|
72
|
+
selectAllClick: (event: Event) => void;
|
|
73
|
+
resizeMousedown: (column: GridColumn, event: ResizeParams) => void;
|
|
74
|
+
resizeClick: (event: Event) => void;
|
|
75
|
+
findOrderIndex: (sortBy: readonly any[], column: UnwrapRef<Column>) => number;
|
|
76
|
+
columnHovering: import("vue").Ref<string | undefined, string | undefined>;
|
|
77
|
+
isHovering: (name: string | undefined) => boolean;
|
|
78
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("selectAllClick" | "resizeMousedown" | "resizeClick")[], "selectAllClick" | "resizeMousedown" | "resizeClick", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
79
|
+
selectable: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
headerBackground: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
default: string;
|
|
86
|
+
};
|
|
87
|
+
showSelectAll: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
default: boolean;
|
|
90
|
+
};
|
|
91
|
+
allselectedState: {
|
|
92
|
+
type: NumberConstructor;
|
|
93
|
+
default: number;
|
|
94
|
+
};
|
|
95
|
+
visibleColumns: {
|
|
96
|
+
type: PropType<GridColumn[]>;
|
|
97
|
+
default: () => never[];
|
|
98
|
+
};
|
|
99
|
+
dragColumns: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: boolean;
|
|
102
|
+
};
|
|
103
|
+
headerCellTextColor: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
default: string;
|
|
106
|
+
};
|
|
107
|
+
resizeColumns: {
|
|
108
|
+
type: BooleanConstructor;
|
|
109
|
+
default: boolean;
|
|
110
|
+
};
|
|
111
|
+
getSortIcon: {
|
|
112
|
+
type: FunctionConstructor;
|
|
113
|
+
default: () => void;
|
|
114
|
+
};
|
|
115
|
+
isSorted: {
|
|
116
|
+
type: FunctionConstructor;
|
|
117
|
+
default: () => void;
|
|
118
|
+
};
|
|
119
|
+
toggleSort: {
|
|
120
|
+
type: FunctionConstructor;
|
|
121
|
+
default: () => void;
|
|
122
|
+
};
|
|
123
|
+
tableColumns: {
|
|
124
|
+
type: PropType<any[]>;
|
|
125
|
+
default: () => never[];
|
|
126
|
+
};
|
|
127
|
+
sortBy: {
|
|
128
|
+
type: PropType<any[]>;
|
|
129
|
+
default: () => never[];
|
|
130
|
+
};
|
|
131
|
+
disableCheckbox: {
|
|
132
|
+
type: BooleanConstructor;
|
|
133
|
+
default: boolean;
|
|
134
|
+
};
|
|
135
|
+
sortable: {
|
|
136
|
+
type: BooleanConstructor;
|
|
137
|
+
default: boolean;
|
|
138
|
+
};
|
|
139
|
+
name: {
|
|
140
|
+
type: StringConstructor;
|
|
141
|
+
default: string;
|
|
142
|
+
};
|
|
143
|
+
}>> & Readonly<{
|
|
144
|
+
onSelectAllClick?: ((...args: any[]) => any) | undefined;
|
|
145
|
+
onResizeMousedown?: ((...args: any[]) => any) | undefined;
|
|
146
|
+
onResizeClick?: ((...args: any[]) => any) | undefined;
|
|
147
|
+
}>, {
|
|
148
|
+
selectable: boolean;
|
|
149
|
+
headerBackground: string;
|
|
150
|
+
showSelectAll: boolean;
|
|
151
|
+
allselectedState: number;
|
|
152
|
+
visibleColumns: GridColumn[];
|
|
153
|
+
dragColumns: boolean;
|
|
154
|
+
headerCellTextColor: string;
|
|
155
|
+
resizeColumns: boolean;
|
|
156
|
+
getSortIcon: Function;
|
|
157
|
+
isSorted: Function;
|
|
158
|
+
toggleSort: Function;
|
|
159
|
+
tableColumns: any[];
|
|
160
|
+
sortBy: any[];
|
|
161
|
+
disableCheckbox: boolean;
|
|
162
|
+
sortable: boolean;
|
|
163
|
+
name: string;
|
|
164
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
165
|
+
export default _default;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
orderIndex: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
icon: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
cssClass: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
};
|
|
13
|
+
left: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
};
|
|
16
|
+
hidden: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
}>, {
|
|
21
|
+
click: () => void;
|
|
22
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
+
orderIndex: {
|
|
24
|
+
type: NumberConstructor;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
icon: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
cssClass: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
};
|
|
34
|
+
left: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
};
|
|
37
|
+
hidden: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
}>> & Readonly<{
|
|
42
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
43
|
+
}>, {
|
|
44
|
+
left: boolean;
|
|
45
|
+
hidden: boolean;
|
|
46
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
47
|
+
export default _default;
|