@zeedhi/vuetify 3.0.11 → 3.1.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 +60 -58
- package/dist/zd-vuetify.min.css +1 -1
- package/dist/zd-vuetify.min.js +14 -14
- package/dist/zd-vuetify.mjs +1061 -792
- package/environments.json +16 -0
- package/package.json +3 -3
- package/src/components/index.ts +3 -1
- package/src/components/zd-alert/ZdAlert.ts +1 -1
- package/src/components/zd-badge/ZdBadge.ts +1 -1
- package/src/components/zd-breadcrumbs/ZdBreadcrumbs.ts +2 -1
- package/src/components/zd-button/ZdButton.ts +1 -1
- package/src/components/zd-button-group/ZdButtonGroup.ts +1 -1
- package/src/components/zd-card/ZdCard.ts +1 -1
- package/src/components/zd-card/ZdCard.vue +2 -2
- package/src/components/zd-carousel/ZdCarousel.ts +3 -1
- package/src/components/zd-checkbox/ZdCheckbox.ts +1 -1
- package/src/components/zd-checkbox-multiple/ZdCheckboxMultiple.ts +3 -1
- package/src/components/zd-chip/ZdChip.ts +1 -1
- package/src/components/zd-code-viewer/ZdCodeViewer.ts +1 -1
- package/src/components/zd-col/ZdCol.ts +1 -1
- package/src/components/zd-collapse-card/ZdCollapseCard.ts +3 -1
- package/src/components/zd-component/ZdComponent.ts +23 -1
- package/src/components/zd-component/ZdComponentRender.ts +2 -0
- package/src/components/zd-container/ZdContainer.ts +1 -1
- package/src/components/zd-currency/ZdCurrency.ts +1 -1
- package/src/components/zd-date-input/ZdDateInput.ts +1 -1
- package/src/components/zd-date-range/ZdDateRange.ts +1 -1
- package/src/components/zd-divider/ZdDivider.ts +1 -1
- package/src/components/zd-dropdown/ZdDropdown.ts +2 -1
- package/src/components/zd-dropdown/ZdDropdown.vue +1 -1
- package/src/components/zd-footer/ZdFooter.ts +1 -1
- package/src/components/zd-form/ZdForm.ts +2 -1
- package/src/components/zd-frame/ZdFrame.ts +3 -1
- package/src/components/zd-frame-page/ZdFramePage.ts +1 -1
- package/src/components/zd-frame-page/ZdFramePage.vue +1 -1
- package/src/components/zd-grid/ZdGrid.ts +10 -2
- package/src/components/zd-grid/ZdGrid.vue +1 -1
- package/src/components/zd-grid/cell/ZdGridCellContent.vue +5 -7
- package/src/components/zd-grid/column-header/ZdGridColumnHeader.vue +4 -7
- package/src/components/zd-grid-editable/ZdGridEditable.ts +9 -2
- package/src/components/zd-grid-editable/cell/ZdGridEditableCell.vue +1 -0
- package/src/components/zd-header/ZdHeader.ts +4 -1
- package/src/components/zd-icon/ZdIcon.ts +1 -1
- package/src/components/zd-image/ZdImage.ts +1 -1
- package/src/components/zd-increment/ZdIncrement.ts +1 -1
- package/src/components/zd-input/ZdInput.ts +10 -3
- package/src/components/zd-iterable/ZdIterable.ts +2 -0
- package/src/components/zd-iterable/zd-iterable-columns-button/ZdIterableColumnsButton.ts +6 -1
- package/src/components/zd-iterable/zd-iterable-page-info/ZdIterablePageInfo.ts +1 -1
- package/src/components/zd-iterable/zd-iterable-page-size/ZdIterablePageSize.ts +2 -1
- package/src/components/zd-iterable/zd-iterable-pagination/ZdIterablePagination.ts +8 -3
- package/src/components/zd-iterable/zd-search/ZdSearch.ts +1 -1
- package/src/components/zd-iterable-component-render/ZdIterableComponentRender.ts +12 -1
- package/src/components/zd-layout/ZdLayout.ts +1 -1
- package/src/components/zd-list/ZdList.scss +3 -0
- package/src/components/zd-list/ZdList.ts +2 -1
- package/src/components/zd-list/ZdListGroup.ts +2 -1
- package/src/components/zd-list/ZdListGroup.vue +14 -16
- package/src/components/zd-list/ZdListItem.ts +1 -1
- package/src/components/zd-loading/ZdLoading.ts +1 -1
- package/src/components/zd-loading/ZdLoading.vue +30 -53
- package/src/components/zd-login/ZdLogin.ts +3 -1
- package/src/components/zd-login/ZdLoginButton.ts +1 -1
- package/src/components/zd-main/ZdMain.ts +1 -1
- package/src/components/zd-master-detail/ZdMasterDetail.ts +1 -1
- package/src/components/zd-menu/ZdMenu.ts +9 -4
- package/src/components/zd-menu/ZdMenu.vue +6 -5
- package/src/components/zd-menu/ZdMenuButton.ts +1 -1
- package/src/components/zd-menu/ZdMenuGroup.ts +2 -1
- package/src/components/zd-menu/ZdMenuLink.ts +1 -1
- package/src/components/zd-menu/ZdMenuSeparator.ts +1 -1
- package/src/components/zd-modal/ZdModal.ts +1 -21
- package/src/components/zd-modal/ZdModal.vue +18 -77
- package/src/components/zd-modal/ZdModalCard.ts +100 -0
- package/src/components/zd-modal/ZdModalCard.vue +47 -0
- package/src/components/zd-modal/ZdModalCloseButton.ts +1 -1
- package/src/components/zd-month/ZdMonth.ts +1 -1
- package/src/components/zd-number-input/ZdNumberInput.ts +1 -1
- package/src/components/zd-password/ZdPassword.ts +1 -1
- package/src/components/zd-progress/ZdProgress.ts +2 -1
- package/src/components/zd-radio/ZdRadio.ts +2 -1
- package/src/components/zd-row/ZdRow.ts +1 -1
- package/src/components/zd-select/ZdSelect.ts +10 -2
- package/src/components/zd-select/ZdSelect.vue +2 -6
- package/src/components/zd-select-multiple/ZdSelectMultiple.ts +6 -1
- package/src/components/zd-select-multiple/ZdSelectMultiple.vue +1 -1
- package/src/components/zd-svg-map/ZdSvgMap.ts +1 -1
- package/src/components/zd-switch/ZdSwitch.ts +1 -1
- package/src/components/zd-table/ZdTable.ts +1 -1
- package/src/components/zd-tabs/ZdTab.ts +1 -1
- package/src/components/zd-tabs/ZdTabItem.vue +1 -0
- package/src/components/zd-tabs/ZdTabs.ts +4 -3
- package/src/components/zd-tabs/ZdTabs.vue +14 -5
- package/src/components/zd-tag/ZdTag.ts +1 -1
- package/src/components/zd-text/ZdText.ts +1 -1
- package/src/components/zd-text-input/ZdTextInput.ts +1 -1
- package/src/components/zd-text-input/ZdTextInput.vue +2 -2
- package/src/components/zd-textarea/ZdTextarea.ts +5 -1
- package/src/components/zd-textarea/ZdTextarea.vue +5 -2
- package/src/components/zd-time/ZdTime.ts +1 -1
- package/src/components/zd-tooltip/ZdTooltip.ts +1 -1
- package/src/components/zd-tooltip-overflow/ZdTooltipOverflow.vue +45 -0
- package/src/components/zd-tree/ZdTree.ts +5 -1
- package/src/components/zd-tree-grid/ZdTreeGrid.ts +2 -1
- package/src/composables/columnDrag.ts +9 -11
- package/src/composables/tableNavigation.ts +5 -1
- package/src/composables/useTooltipManager.ts +24 -0
- package/src/directives/index.ts +1 -0
- package/src/directives/v-tooltip-overflow.ts +97 -0
- package/src/index.ts +11 -0
- package/src/styles/_zd-input.scss +3 -2
- package/src/utils/fillHeight.ts +3 -2
- package/src/utils/index.ts +1 -0
- package/src/utils/plugins/getIconPlugin.ts +4 -3
- package/src/utils/tooltip-overflow/index.ts +2 -0
- package/src/utils/tooltip-overflow/install.ts +27 -0
- package/src/utils/tooltip-overflow/uninstall.ts +32 -0
- package/types/components/zd-alert/ZdAlert.d.ts +429 -351
- package/types/components/zd-badge/ZdBadge.d.ts +235 -211
- package/types/components/zd-breadcrumbs/ZdBreadcrumbs.d.ts +249 -222
- package/types/components/zd-button/ZdButton.d.ts +251 -227
- package/types/components/zd-button-group/ZdButtonGroup.d.ts +227 -212
- package/types/components/zd-card/ZdCard.d.ts +246 -222
- package/types/components/zd-carousel/ZdCarousel.d.ts +705 -701
- package/types/components/zd-checkbox/ZdCheckbox.d.ts +41 -14
- package/types/components/zd-checkbox-multiple/ZdCheckboxMultiple.d.ts +779 -746
- package/types/components/zd-chip/ZdChip.d.ts +246 -222
- package/types/components/zd-code-viewer/ZdCodeViewer.d.ts +264 -234
- package/types/components/zd-col/ZdCol.d.ts +244 -220
- package/types/components/zd-collapse-card/ZdCollapseCard.d.ts +541 -457
- package/types/components/zd-component/ZdComponent.d.ts +12 -5
- package/types/components/zd-component/ZdComponentRender.d.ts +12 -4
- package/types/components/zd-container/ZdContainer.d.ts +247 -223
- package/types/components/zd-currency/ZdCurrency.d.ts +765 -738
- package/types/components/zd-date-input/ZdDateInput.d.ts +62 -29
- package/types/components/zd-date-range/ZdDateRange.d.ts +776 -749
- package/types/components/zd-dialog/ZdDialog.d.ts +36 -12
- package/types/components/zd-divider/ZdDivider.d.ts +244 -220
- package/types/components/zd-dropdown/ZdDropdown.d.ts +342 -324
- package/types/components/zd-footer/ZdFooter.d.ts +624 -562
- package/types/components/zd-form/ZdForm.d.ts +12 -4
- package/types/components/zd-frame/ZdFrame.d.ts +13 -4
- package/types/components/zd-frame-page/ZdFramePage.d.ts +242 -215
- package/types/components/zd-grid/ZdGrid.d.ts +4500 -4527
- package/types/components/zd-grid/cell/ZdGridAction.d.ts +2 -2
- package/types/components/zd-grid/cell/ZdGridCell.d.ts +4 -4
- package/types/components/zd-grid/cell/ZdGridCellContent.d.ts +4 -4
- package/types/components/zd-grid/column-header/ZdGridColumnHeader.d.ts +2 -2
- package/types/components/zd-grid/composables/grid-instance.d.ts +1927 -1238
- package/types/components/zd-grid/footer/ZdGridFooter.d.ts +1927 -1238
- package/types/components/zd-grid/row/ZdGridRow.d.ts +6 -6
- package/types/components/zd-grid/toolbar/ZdGridToolbar.d.ts +1927 -1238
- package/types/components/zd-grid-editable/ZdGridEditable.d.ts +5102 -6303
- package/types/components/zd-grid-editable/cell/ZdGridEditableCell.d.ts +341 -341
- package/types/components/zd-grid-editable/row/ZdGridEditableRow.d.ts +6 -6
- package/types/components/zd-header/ZdHeader.d.ts +640 -582
- package/types/components/zd-icon/ZdIcon.d.ts +39 -15
- package/types/components/zd-image/ZdImage.d.ts +241 -220
- package/types/components/zd-increment/ZdIncrement.d.ts +765 -738
- package/types/components/zd-input/ZdInput.d.ts +15 -6
- package/types/components/zd-iterable/ZdIterable.d.ts +26 -12
- package/types/components/zd-iterable/ZdIterableNoData.d.ts +1927 -1238
- package/types/components/zd-iterable/zd-iterable-columns-button/ZdIterableColumnsButton.d.ts +753 -470
- package/types/components/zd-iterable/zd-iterable-page-info/ZdIterablePageInfo.d.ts +750 -461
- package/types/components/zd-iterable/zd-iterable-page-size/ZdIterablePageSize.d.ts +1659 -987
- package/types/components/zd-iterable/zd-iterable-pagination/ZdIterablePagination.d.ts +762 -470
- package/types/components/zd-iterable/zd-search/ZdSearch.d.ts +50 -23
- package/types/components/zd-iterable-component-render/ZdIterableComponentRender.d.ts +1224 -1080
- package/types/components/zd-layout/ZdLayout.d.ts +243 -222
- package/types/components/zd-list/ZdList.d.ts +671 -432
- package/types/components/zd-list/ZdListGroup.d.ts +809 -570
- package/types/components/zd-list/ZdListItem.d.ts +424 -294
- package/types/components/zd-loading/ZdLoading.d.ts +35 -14
- package/types/components/zd-login/ZdLogin.d.ts +455 -425
- package/types/components/zd-login/ZdLoginButton.d.ts +678 -654
- package/types/components/zd-main/ZdMain.d.ts +241 -220
- package/types/components/zd-master-detail/ZdMasterDetail.d.ts +261 -237
- package/types/components/zd-menu/ZdMenu.d.ts +1257 -3206
- package/types/components/zd-menu/ZdMenuButton.d.ts +244 -220
- package/types/components/zd-menu/ZdMenuGroup.d.ts +1219 -5391
- package/types/components/zd-menu/ZdMenuLink.d.ts +2042 -9432
- package/types/components/zd-menu/ZdMenuSeparator.d.ts +244 -220
- package/types/components/zd-modal/ZdModal.d.ts +0 -2
- package/types/components/zd-modal/ZdModalCard.d.ts +125 -0
- package/types/components/zd-modal/ZdModalCloseButton.d.ts +244 -220
- package/types/components/zd-month/ZdMonth.d.ts +774 -747
- package/types/components/zd-number-input/ZdNumberInput.d.ts +766 -739
- package/types/components/zd-password/ZdPassword.d.ts +765 -738
- package/types/components/zd-progress/ZdProgress.d.ts +363 -336
- package/types/components/zd-radio/ZdRadio.d.ts +44 -14
- package/types/components/zd-row/ZdRow.d.ts +244 -220
- package/types/components/zd-select/ZdSelect.d.ts +17 -5
- package/types/components/zd-select-multiple/ZdSelectMultiple.d.ts +17 -5
- package/types/components/zd-svg-map/ZdSvgMap.d.ts +37 -13
- package/types/components/zd-switch/ZdSwitch.d.ts +764 -737
- package/types/components/zd-table/ZdTable.d.ts +547 -346
- package/types/components/zd-tabs/ZdTab.d.ts +233 -156
- package/types/components/zd-tabs/ZdTabItem.d.ts +36 -12
- package/types/components/zd-tabs/ZdTabs.d.ts +492 -306
- package/types/components/zd-tag/ZdTag.d.ts +244 -220
- package/types/components/zd-text/ZdText.d.ts +264 -234
- package/types/components/zd-text-input/ZdTextInput.d.ts +41 -14
- package/types/components/zd-textarea/ZdTextarea.d.ts +55 -15
- package/types/components/zd-time/ZdTime.d.ts +774 -747
- package/types/components/zd-toggleable/ZdToggleable.d.ts +13 -4
- package/types/components/zd-tooltip/ZdTooltip.d.ts +250 -226
- package/types/components/zd-tree/ZdTree.d.ts +799 -763
- package/types/components/zd-tree/ZdTreeAfterTitle.d.ts +3 -3
- package/types/components/zd-tree/ZdTreeCheckbox.d.ts +5 -5
- package/types/components/zd-tree-grid/ZdTreeGrid.d.ts +2230 -2214
- package/types/components/zd-tree-grid/cell/ZdTreeGridCell.d.ts +4 -4
- package/types/components/zd-tree-grid/row/ZdTreeGridRow.d.ts +6 -6
- package/types/composables/cellSelection.d.ts +2 -264
- package/types/composables/gridColumns.d.ts +200 -147
- package/types/composables/gridSorting.d.ts +1 -1
- package/types/composables/tableNavigation.d.ts +3 -2
- package/types/composables/useTooltipManager.d.ts +13 -0
- package/types/directives/index.d.ts +1 -0
- package/types/directives/v-tooltip-overflow.d.ts +12 -0
- package/types/index.d.ts +1 -0
- package/types/utils/fillHeight.d.ts +1 -1
- package/types/utils/index.d.ts +1 -0
- package/types/utils/tooltip-overflow/index.d.ts +2 -0
- package/types/utils/tooltip-overflow/install.d.ts +13 -0
- package/types/utils/tooltip-overflow/uninstall.d.ts +14 -0
- package/src/components/tooltip-overflow/ZdTooltipOverflow.ts +0 -63
- package/src/components/tooltip-overflow/ZdTooltipOverflow.vue +0 -63
package/environments.json
CHANGED
|
@@ -3,12 +3,28 @@
|
|
|
3
3
|
"dependencies": {
|
|
4
4
|
"@zeedhi/common": "file:../../../zeedhi-client-core/packages/common",
|
|
5
5
|
"@zeedhi/core": "file:../../../zeedhi-client-core/packages/core"
|
|
6
|
+
},
|
|
7
|
+
"devDependencies": {
|
|
8
|
+
"@zeedhi/common": "file:../../../zeedhi-client-core/packages/common",
|
|
9
|
+
"@zeedhi/core": "file:../../../zeedhi-client-core/packages/core"
|
|
10
|
+
},
|
|
11
|
+
"peerDependencies": {
|
|
12
|
+
"@zeedhi/common": "file:../../../zeedhi-client-core/packages/common",
|
|
13
|
+
"@zeedhi/core": "file:../../../zeedhi-client-core/packages/core"
|
|
6
14
|
}
|
|
7
15
|
},
|
|
8
16
|
"production": {
|
|
9
17
|
"dependencies": {
|
|
10
18
|
"@zeedhi/common": "^3.0.0",
|
|
11
19
|
"@zeedhi/core": "^3.0.0"
|
|
20
|
+
},
|
|
21
|
+
"devDependencies": {
|
|
22
|
+
"@zeedhi/common": "^3.0.0",
|
|
23
|
+
"@zeedhi/core": "^3.0.0"
|
|
24
|
+
},
|
|
25
|
+
"peerDependencies": {
|
|
26
|
+
"@zeedhi/common": "^3.0.0",
|
|
27
|
+
"@zeedhi/core": "^3.0.0"
|
|
12
28
|
}
|
|
13
29
|
}
|
|
14
30
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeedhi/vuetify",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Zeedhi Components based on Vuetify",
|
|
5
5
|
"author": "Zeedhi <zeedhi@teknisa.com>",
|
|
6
6
|
"license": "ISC",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@vitest/coverage-v8": "^2.1.3",
|
|
43
43
|
"@zeedhi/common": "^3.0.0",
|
|
44
44
|
"@zeedhi/core": "^3.0.0",
|
|
45
|
-
"@zeedhi/vue": "^3.0
|
|
45
|
+
"@zeedhi/vue": "^3.1.0",
|
|
46
46
|
"vue": "^3.0.0",
|
|
47
47
|
"vue-router": "^4.2.2",
|
|
48
48
|
"vuetify": "^3.11.0"
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"env": {
|
|
59
59
|
"NODE_ENV": "production"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "adbb8c173143730e93a0c76804ffb53e608a9fdb"
|
|
62
62
|
}
|
package/src/components/index.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IDictionary } from '@zeedhi/core';
|
|
2
2
|
import { App, DefineComponent } from 'vue';
|
|
3
3
|
|
|
4
|
-
import ZdTooltipOverflow from './tooltip-overflow/ZdTooltipOverflow.vue';
|
|
4
|
+
import ZdTooltipOverflow from './zd-tooltip-overflow/ZdTooltipOverflow.vue';
|
|
5
5
|
import ZdActivatorWrapper from './zd-activator-wrapper/ZdActivatorWrapper.vue';
|
|
6
6
|
import ZdAlert from './zd-alert/ZdAlert.vue';
|
|
7
7
|
import ZdBadge from './zd-badge/ZdBadge.vue';
|
|
@@ -70,6 +70,7 @@ import ZdMenuGroup from './zd-menu/ZdMenuGroup.vue';
|
|
|
70
70
|
import ZdMenuLink from './zd-menu/ZdMenuLink.vue';
|
|
71
71
|
import ZdMenuSeparator from './zd-menu/ZdMenuSeparator.vue';
|
|
72
72
|
import ZdModal from './zd-modal/ZdModal.vue';
|
|
73
|
+
import ZdModalCard from './zd-modal/ZdModalCard.vue';
|
|
73
74
|
import ZdModalCloseButton from './zd-modal/ZdModalCloseButton.vue';
|
|
74
75
|
import ZdMonth from './zd-month/ZdMonth.vue';
|
|
75
76
|
import ZdNumberInput from './zd-number-input/ZdNumberInput.vue';
|
|
@@ -227,6 +228,7 @@ export const components: IDictionary<DefineComponent<object, object, any>> = {
|
|
|
227
228
|
ZdSelectMultiple,
|
|
228
229
|
ZdPassword,
|
|
229
230
|
ZdModal,
|
|
231
|
+
ZdModalCard,
|
|
230
232
|
ZdNumberInput,
|
|
231
233
|
ZdModalCloseButton,
|
|
232
234
|
ZdList,
|
|
@@ -16,7 +16,7 @@ const alertComponent = defineComponent({
|
|
|
16
16
|
props: ZdAlertProps,
|
|
17
17
|
inheritAttrs: false,
|
|
18
18
|
setup(props, ctx) {
|
|
19
|
-
const { instance, root } = useCreateInstance<Alert>(props, ctx, Alert);
|
|
19
|
+
const { instance, root } = useCreateInstance<Alert>(props, ctx, Alert, ZdAlertProps);
|
|
20
20
|
|
|
21
21
|
const manager = AlertService.instantiateManager(props.multiple);
|
|
22
22
|
const managerProxy = reactive(manager) as IAlertsManager;
|
|
@@ -20,7 +20,7 @@ const badgeComponent = defineComponent({
|
|
|
20
20
|
props: ZdBadgeProps,
|
|
21
21
|
inheritAttrs: false,
|
|
22
22
|
setup(props, ctx) {
|
|
23
|
-
const { instance, root } = useCreateInstance<Badge>(props, ctx, Badge);
|
|
23
|
+
const { instance, root } = useCreateInstance<Badge>(props, ctx, Badge, ZdBadgeProps);
|
|
24
24
|
|
|
25
25
|
return {
|
|
26
26
|
instance,
|
|
@@ -21,6 +21,7 @@ export const ZdBreadcrumbsProps = buildProps({
|
|
|
21
21
|
items: {
|
|
22
22
|
type: [Array, String],
|
|
23
23
|
default: () => [],
|
|
24
|
+
watch: false,
|
|
24
25
|
},
|
|
25
26
|
large: {
|
|
26
27
|
type: [Boolean, String],
|
|
@@ -36,7 +37,7 @@ const breadcrumbsComponent = defineComponent({
|
|
|
36
37
|
props: ZdBreadcrumbsProps,
|
|
37
38
|
inheritAttrs: false,
|
|
38
39
|
setup(props, ctx) {
|
|
39
|
-
const { instance, root } = useCreateInstance<Breadcrumbs>(props, ctx, Breadcrumbs);
|
|
40
|
+
const { instance, root } = useCreateInstance<Breadcrumbs>(props, ctx, Breadcrumbs, ZdBreadcrumbsProps);
|
|
40
41
|
const { t } = useTranslation();
|
|
41
42
|
|
|
42
43
|
const getTranslatedItems = () => {
|
|
@@ -235,7 +235,7 @@ const buttonComponent = defineComponent({
|
|
|
235
235
|
props: ZdButtonProps,
|
|
236
236
|
inheritAttrs: false,
|
|
237
237
|
setup(props, ctx) {
|
|
238
|
-
const { instance, root } = useCreateInstance<Button>(props, ctx, Button);
|
|
238
|
+
const { instance, root } = useCreateInstance<Button>(props, ctx, Button, ZdButtonProps);
|
|
239
239
|
const buttonScope = useButtonInstance({ instance, root });
|
|
240
240
|
|
|
241
241
|
return {
|
|
@@ -83,7 +83,7 @@ export default defineComponent({
|
|
|
83
83
|
inheritAttrs: false,
|
|
84
84
|
|
|
85
85
|
setup(props, ctx: SetupContext) {
|
|
86
|
-
const { instance, root } = useCreateInstance<ButtonGroup>(props, ctx, ButtonGroup);
|
|
86
|
+
const { instance, root } = useCreateInstance<ButtonGroup>(props, ctx, ButtonGroup, ZdButtonGroupProps);
|
|
87
87
|
const { density } = useDensity({ instance });
|
|
88
88
|
const { click, mouseenter, mouseleave } = useGetMethods(instance, root);
|
|
89
89
|
|
|
@@ -114,7 +114,7 @@ const cardComponent = defineComponent({
|
|
|
114
114
|
props: ZdCardProps,
|
|
115
115
|
inheritAttrs: false,
|
|
116
116
|
setup(props, ctx) {
|
|
117
|
-
const { instance, root } = useCreateInstance<Card>(props, ctx, Card);
|
|
117
|
+
const { instance, root } = useCreateInstance<Card>(props, ctx, Card, ZdCardProps);
|
|
118
118
|
|
|
119
119
|
const { click, focus, blur, mouseenter, mouseleave, mouseout, mouseover } = useGetMethods(instance, root);
|
|
120
120
|
|
|
@@ -121,6 +121,7 @@ export const ZdCarouselProps = buildProps({
|
|
|
121
121
|
icon: true,
|
|
122
122
|
large: true,
|
|
123
123
|
}),
|
|
124
|
+
watch: false,
|
|
124
125
|
},
|
|
125
126
|
prevButton: {
|
|
126
127
|
type: Object,
|
|
@@ -131,6 +132,7 @@ export const ZdCarouselProps = buildProps({
|
|
|
131
132
|
icon: true,
|
|
132
133
|
large: true,
|
|
133
134
|
}),
|
|
135
|
+
watch: false,
|
|
134
136
|
},
|
|
135
137
|
});
|
|
136
138
|
|
|
@@ -144,7 +146,7 @@ const carouselComponent = defineComponent({
|
|
|
144
146
|
Navigation,
|
|
145
147
|
},
|
|
146
148
|
setup(props, ctx) {
|
|
147
|
-
const { instance, root } = useCreateInstance<CarouselClass>(props, ctx, CarouselClass);
|
|
149
|
+
const { instance, root } = useCreateInstance<CarouselClass>(props, ctx, CarouselClass, ZdCarouselProps);
|
|
148
150
|
const carouselRef = ref<any>(null);
|
|
149
151
|
const resizeObserver = ref<ResizeObserver | null>(null);
|
|
150
152
|
const lastEvent = ref<Event | undefined>(undefined);
|
|
@@ -13,7 +13,7 @@ const checkboxComponent = defineComponent({
|
|
|
13
13
|
props: ZdCheckboxProps,
|
|
14
14
|
inheritAttrs: false,
|
|
15
15
|
setup(props, ctx) {
|
|
16
|
-
const { instance, root } = useCreateInstance<Checkbox>(props, ctx, Checkbox);
|
|
16
|
+
const { instance, root } = useCreateInstance<Checkbox>(props, ctx, Checkbox, ZdCheckboxProps);
|
|
17
17
|
|
|
18
18
|
const checkboxScope = useCheckbox(instance, ctx, root);
|
|
19
19
|
|
|
@@ -22,6 +22,7 @@ export const CheckboxMultipleProps = buildProps({
|
|
|
22
22
|
datasource: {
|
|
23
23
|
type: Object as PropType<IDatasource>,
|
|
24
24
|
default: {},
|
|
25
|
+
watch: false,
|
|
25
26
|
},
|
|
26
27
|
returnObject: {
|
|
27
28
|
type: [Boolean, String],
|
|
@@ -30,6 +31,7 @@ export const CheckboxMultipleProps = buildProps({
|
|
|
30
31
|
value: {
|
|
31
32
|
type: [Array, String] as any[],
|
|
32
33
|
default: () => [],
|
|
34
|
+
watch: false,
|
|
33
35
|
},
|
|
34
36
|
vertical: {
|
|
35
37
|
type: [Boolean, String],
|
|
@@ -43,7 +45,7 @@ export default defineComponent({
|
|
|
43
45
|
inheritAttrs: false,
|
|
44
46
|
|
|
45
47
|
setup(props, ctx) {
|
|
46
|
-
const { instance, root } = useCreateInstance<CheckboxMultiple>(props, ctx, CheckboxMultiple);
|
|
48
|
+
const { instance, root } = useCreateInstance<CheckboxMultiple>(props, ctx, CheckboxMultiple, CheckboxMultipleProps);
|
|
47
49
|
const { click, mouseenter, mouseleave } = useGetMethods(instance, root);
|
|
48
50
|
|
|
49
51
|
const checkboxHorizontalColumns = computed(() => {
|
|
@@ -62,7 +62,7 @@ const chipComponent = defineComponent({
|
|
|
62
62
|
inheritAttrs: false,
|
|
63
63
|
|
|
64
64
|
setup(props, ctx: SetupContext) {
|
|
65
|
-
const { instance, root } = useCreateInstance<Chip>(props, ctx, Chip);
|
|
65
|
+
const { instance, root } = useCreateInstance<Chip>(props, ctx, Chip, ZdChipProps);
|
|
66
66
|
const { blur, focus, click, mouseenter, mouseleave } = useGetMethods(instance, root);
|
|
67
67
|
|
|
68
68
|
const variant = computed(() => {
|
|
@@ -33,7 +33,7 @@ const codeViewerComponent = defineComponent({
|
|
|
33
33
|
props: ZdCodeViewerProps,
|
|
34
34
|
inheritAttrs: false,
|
|
35
35
|
setup(props, ctx) {
|
|
36
|
-
const { instance, root } = useCreateInstance<CodeViewer>(props, ctx, CodeViewer);
|
|
36
|
+
const { instance, root } = useCreateInstance<CodeViewer>(props, ctx, CodeViewer, ZdCodeViewerProps);
|
|
37
37
|
|
|
38
38
|
const { click, focus, blur, mouseenter, mouseleave } = useGetMethods(instance, root);
|
|
39
39
|
|
|
@@ -31,7 +31,7 @@ const colComponent = defineComponent({
|
|
|
31
31
|
props: ZdColProps,
|
|
32
32
|
inheritAttrs: false,
|
|
33
33
|
setup(props, ctx) {
|
|
34
|
-
const { instance, root } = useCreateInstance<Col>(props, ctx, Col);
|
|
34
|
+
const { instance, root } = useCreateInstance<Col>(props, ctx, Col, ZdColProps);
|
|
35
35
|
|
|
36
36
|
const { click, focus, blur, mouseenter, mouseleave } = useGetMethods(instance, root);
|
|
37
37
|
|
|
@@ -12,6 +12,7 @@ export const ZdCollapseCardProps = {
|
|
|
12
12
|
expandButton: {
|
|
13
13
|
type: [Object, String],
|
|
14
14
|
default: () => undefined,
|
|
15
|
+
watch: false,
|
|
15
16
|
},
|
|
16
17
|
expanded: {
|
|
17
18
|
type: [Boolean, String],
|
|
@@ -20,6 +21,7 @@ export const ZdCollapseCardProps = {
|
|
|
20
21
|
header: {
|
|
21
22
|
type: [Array, String],
|
|
22
23
|
default: () => [],
|
|
24
|
+
watch: false,
|
|
23
25
|
},
|
|
24
26
|
hideAction: {
|
|
25
27
|
type: [Boolean, String],
|
|
@@ -49,7 +51,7 @@ const collapseCardComponent = defineComponent({
|
|
|
49
51
|
inheritAttrs: false,
|
|
50
52
|
|
|
51
53
|
setup(props, ctx: SetupContext) {
|
|
52
|
-
const { instance, root } = useCreateInstance<CollapseCard>(props, ctx, CollapseCard);
|
|
54
|
+
const { instance, root } = useCreateInstance<CollapseCard>(props, ctx, CollapseCard, ZdCollapseCardProps);
|
|
53
55
|
const { click, mouseenter, mouseleave } = useGetMethods(instance, root);
|
|
54
56
|
|
|
55
57
|
const background = computed(() => ({
|
|
@@ -17,6 +17,7 @@ import { mergeDictionaries } from '../../utils';
|
|
|
17
17
|
import { buildProps } from '../../utils';
|
|
18
18
|
import { setFillHeight } from '../../utils/fillHeight';
|
|
19
19
|
import { Logger } from '../../utils/logger/logger';
|
|
20
|
+
import { watch } from 'vue';
|
|
20
21
|
|
|
21
22
|
type RootRef = ComponentPublicInstance | HTMLElement | null;
|
|
22
23
|
|
|
@@ -34,6 +35,7 @@ export const ZdComponentProps = buildProps({
|
|
|
34
35
|
default() {
|
|
35
36
|
return [];
|
|
36
37
|
},
|
|
38
|
+
watch: false,
|
|
37
39
|
},
|
|
38
40
|
cssClass: {
|
|
39
41
|
type: String,
|
|
@@ -53,12 +55,14 @@ export const ZdComponentProps = buildProps({
|
|
|
53
55
|
default() {
|
|
54
56
|
return {};
|
|
55
57
|
},
|
|
58
|
+
watch: false,
|
|
56
59
|
},
|
|
57
60
|
events: {
|
|
58
61
|
type: Object,
|
|
59
62
|
default() {
|
|
60
63
|
return {};
|
|
61
64
|
},
|
|
65
|
+
watch: false,
|
|
62
66
|
},
|
|
63
67
|
instanceObject: {
|
|
64
68
|
type: Object,
|
|
@@ -72,6 +76,7 @@ export const ZdComponentProps = buildProps({
|
|
|
72
76
|
default() {
|
|
73
77
|
return {};
|
|
74
78
|
},
|
|
79
|
+
watch: false,
|
|
75
80
|
},
|
|
76
81
|
light: {
|
|
77
82
|
// deprecated
|
|
@@ -84,6 +89,7 @@ export const ZdComponentProps = buildProps({
|
|
|
84
89
|
},
|
|
85
90
|
parent: {
|
|
86
91
|
type: Object,
|
|
92
|
+
watch: false,
|
|
87
93
|
},
|
|
88
94
|
tabStop: {
|
|
89
95
|
type: [String, Boolean],
|
|
@@ -147,7 +153,7 @@ function useComponentLifeCycles<T extends Component, G extends RootRef>(
|
|
|
147
153
|
Logger.warn('root element not found');
|
|
148
154
|
}
|
|
149
155
|
|
|
150
|
-
if (instance.fillHeight && rootElement.value) setFillHeight(rootElement.value);
|
|
156
|
+
if (instance.fillHeight && rootElement.value) setFillHeight(rootElement.value, instance.fillHeight);
|
|
151
157
|
|
|
152
158
|
if (rootElement.value) assignViewFocusFn(rootElement.value, instance);
|
|
153
159
|
|
|
@@ -183,6 +189,7 @@ export function useCreateInstance<T extends Component, G extends RootRef = RootR
|
|
|
183
189
|
props: Record<string, any>,
|
|
184
190
|
ctx: SetupContext,
|
|
185
191
|
ObjectClass: new (args: any) => T,
|
|
192
|
+
propsDefs: Record<string, any> = {},
|
|
186
193
|
checkParentTypeFn?: (parentInstance?: Component) => boolean,
|
|
187
194
|
): { instance: UnwrapNestedRefs<T>; root: Readonly<ShallowRef<G | null>> } {
|
|
188
195
|
const { parents, addChild } = useVueParentComponent();
|
|
@@ -258,6 +265,21 @@ export function useCreateInstance<T extends Component, G extends RootRef = RootR
|
|
|
258
265
|
}
|
|
259
266
|
|
|
260
267
|
const instance = reactive(instanceObj);
|
|
268
|
+
|
|
269
|
+
// criar reatividades nas propriedades. (PropWatch)
|
|
270
|
+
Object.keys(props).forEach((key: string) => {
|
|
271
|
+
if (!(key in instance)) return;
|
|
272
|
+
if (typeof props[key] === 'function') return;
|
|
273
|
+
if (propsDefs[key] && !propsDefs[key].watch) return;
|
|
274
|
+
|
|
275
|
+
watch(
|
|
276
|
+
() => props[key],
|
|
277
|
+
(value) => {
|
|
278
|
+
(instance as any)[key] = value;
|
|
279
|
+
}
|
|
280
|
+
);
|
|
281
|
+
});
|
|
282
|
+
|
|
261
283
|
addChild({ instance, props });
|
|
262
284
|
|
|
263
285
|
if (!createdFromObject) instance.onCreated();
|
|
@@ -28,7 +28,7 @@ const containerComponent = defineComponent({
|
|
|
28
28
|
props: ZdContainerProps,
|
|
29
29
|
inheritAttrs: false,
|
|
30
30
|
setup(props, ctx) {
|
|
31
|
-
const { instance, root } = useCreateInstance<Container>(props, ctx, Container);
|
|
31
|
+
const { instance, root } = useCreateInstance<Container>(props, ctx, Container, ZdContainerProps);
|
|
32
32
|
|
|
33
33
|
const { click, focus, blur, mouseenter, mouseleave } = useGetMethods(instance, root);
|
|
34
34
|
|
|
@@ -16,7 +16,7 @@ export const ZdCurrencyProps = buildProps({
|
|
|
16
16
|
const currencyComponent = defineComponent({
|
|
17
17
|
props: ZdCurrencyProps,
|
|
18
18
|
setup(props, ctx) {
|
|
19
|
-
const { instance, root } = useCreateInstance<Currency>(props, ctx, Currency);
|
|
19
|
+
const { instance, root } = useCreateInstance<Currency>(props, ctx, Currency, ZdCurrencyProps);
|
|
20
20
|
|
|
21
21
|
return {
|
|
22
22
|
instance,
|
|
@@ -101,7 +101,7 @@ const dateInputComponent = defineComponent({
|
|
|
101
101
|
props: ZdDateInputProps,
|
|
102
102
|
inheritAttrs: false,
|
|
103
103
|
setup(props, ctx) {
|
|
104
|
-
const { instance, root } = useCreateInputInstance<DateInput>(props, ctx, DateInput);
|
|
104
|
+
const { instance, root } = useCreateInputInstance<DateInput>(props, ctx, DateInput, ZdDateInputProps);
|
|
105
105
|
const textInputScope = useTextInput(instance, ctx, root);
|
|
106
106
|
const picker = ref<HTMLElement | null>(null);
|
|
107
107
|
const { isMobile } = useIsMobile();
|
|
@@ -118,7 +118,7 @@ export default defineComponent({
|
|
|
118
118
|
props: ZdDateRangeProps,
|
|
119
119
|
inheritAttrs: false,
|
|
120
120
|
setup(props, ctx) {
|
|
121
|
-
const { instance, root } = useCreateInputInstance<DateRange>(props, ctx, DateRange);
|
|
121
|
+
const { instance, root } = useCreateInputInstance<DateRange>(props, ctx, DateRange, ZdDateRangeProps);
|
|
122
122
|
const picker = ref<HTMLElement | null>(null);
|
|
123
123
|
const { isMobile } = useIsMobile();
|
|
124
124
|
const { pickerValue } = usePickerValue(instance);
|
|
@@ -20,7 +20,7 @@ const dividerComponent = defineComponent({
|
|
|
20
20
|
props: ZdDividerProps,
|
|
21
21
|
inheritAttrs: false,
|
|
22
22
|
setup(props, ctx) {
|
|
23
|
-
const { instance, root } = useCreateInstance<Divider>(props, ctx, Divider);
|
|
23
|
+
const { instance, root } = useCreateInstance<Divider>(props, ctx, Divider, ZdDividerProps);
|
|
24
24
|
|
|
25
25
|
return {
|
|
26
26
|
instance,
|
|
@@ -13,6 +13,7 @@ const ZdDropdownProps = buildProps({
|
|
|
13
13
|
},
|
|
14
14
|
activator: {
|
|
15
15
|
type: [Object, String],
|
|
16
|
+
watch: false,
|
|
16
17
|
},
|
|
17
18
|
closeOnContentClick: {
|
|
18
19
|
type: [Boolean, String],
|
|
@@ -78,7 +79,7 @@ const dropdown = defineComponent({
|
|
|
78
79
|
ZdActivatorWrapper,
|
|
79
80
|
},
|
|
80
81
|
setup(props, ctx) {
|
|
81
|
-
const { instance, root } = useCreateInstance<Dropdown>(props, ctx, Dropdown);
|
|
82
|
+
const { instance, root } = useCreateInstance<Dropdown>(props, ctx, Dropdown, ZdDropdownProps);
|
|
82
83
|
|
|
83
84
|
const cssVars = computed(() => {
|
|
84
85
|
return {
|
|
@@ -51,7 +51,7 @@ const FooterComponent = defineComponent({
|
|
|
51
51
|
props: ZdFooterProps,
|
|
52
52
|
inheritAttrs: false,
|
|
53
53
|
setup(props, ctx) {
|
|
54
|
-
const { instance, root } = useCreateInstance<Footer>(props, ctx, Footer);
|
|
54
|
+
const { instance, root } = useCreateInstance<Footer>(props, ctx, Footer, ZdFooterProps);
|
|
55
55
|
|
|
56
56
|
const { click, mouseenter, mouseleave, mouseout, mouseover } = useGetMethods(instance, root);
|
|
57
57
|
|
|
@@ -28,6 +28,7 @@ export const ZdFormProps = buildProps({
|
|
|
28
28
|
default() {
|
|
29
29
|
return {};
|
|
30
30
|
},
|
|
31
|
+
watch: false,
|
|
31
32
|
},
|
|
32
33
|
});
|
|
33
34
|
|
|
@@ -35,7 +36,7 @@ const formComponent: any = defineComponent({
|
|
|
35
36
|
props: ZdFormProps,
|
|
36
37
|
inheritAttrs: false,
|
|
37
38
|
setup(props, ctx) {
|
|
38
|
-
const { instance, root } = useCreateInstance<Form>(props, ctx, Form);
|
|
39
|
+
const { instance, root } = useCreateInstance<Form>(props, ctx, Form, ZdFormProps);
|
|
39
40
|
|
|
40
41
|
const { click, focus, blur, mouseenter, mouseleave } = useGetMethods(instance, root);
|
|
41
42
|
|
|
@@ -24,10 +24,12 @@ export const ZdFrameProps = buildProps({
|
|
|
24
24
|
override: {
|
|
25
25
|
type: Object,
|
|
26
26
|
default: () => ({}),
|
|
27
|
+
watch: false,
|
|
27
28
|
},
|
|
28
29
|
overrideNamedProps: {
|
|
29
30
|
type: Object,
|
|
30
31
|
default: () => ({}),
|
|
32
|
+
watch: false,
|
|
31
33
|
},
|
|
32
34
|
cache: {
|
|
33
35
|
type: [Boolean, String],
|
|
@@ -71,7 +73,7 @@ const frameComponent: any = defineComponent({
|
|
|
71
73
|
props: ZdFrameProps,
|
|
72
74
|
inheritAttrs: false,
|
|
73
75
|
setup(props, ctx) {
|
|
74
|
-
const { instance, root } = useCreateInstance<Frame>(props, ctx, Frame);
|
|
76
|
+
const { instance, root } = useCreateInstance<Frame>(props, ctx, Frame, ZdFrameProps);
|
|
75
77
|
|
|
76
78
|
return { instance, root };
|
|
77
79
|
},
|
|
@@ -16,7 +16,7 @@ const framePageComponent = defineComponent({
|
|
|
16
16
|
props: ZdFramePageProps,
|
|
17
17
|
inheritAttrs: false,
|
|
18
18
|
setup(props, ctx) {
|
|
19
|
-
const { instance, root } = useCreateInstance<FramePage>(props, ctx, FramePage);
|
|
19
|
+
const { instance, root } = useCreateInstance<FramePage>(props, ctx, FramePage, ZdFramePageProps);
|
|
20
20
|
|
|
21
21
|
return { instance, root };
|
|
22
22
|
},
|
|
@@ -46,6 +46,7 @@ export const ZdGridProps = buildProps({
|
|
|
46
46
|
disableSelection: {
|
|
47
47
|
type: [String, Function],
|
|
48
48
|
default: undefined,
|
|
49
|
+
watch: false,
|
|
49
50
|
},
|
|
50
51
|
dragColumns: {
|
|
51
52
|
type: [Boolean, String],
|
|
@@ -54,6 +55,7 @@ export const ZdGridProps = buildProps({
|
|
|
54
55
|
errorSlot: {
|
|
55
56
|
type: Array,
|
|
56
57
|
default: () => [],
|
|
58
|
+
watch: false,
|
|
57
59
|
},
|
|
58
60
|
fillHeight: {
|
|
59
61
|
type: [Boolean, String],
|
|
@@ -82,6 +84,7 @@ export const ZdGridProps = buildProps({
|
|
|
82
84
|
],
|
|
83
85
|
},
|
|
84
86
|
],
|
|
87
|
+
watch: false,
|
|
85
88
|
},
|
|
86
89
|
headerBackground: {
|
|
87
90
|
type: String,
|
|
@@ -124,6 +127,7 @@ export const ZdGridProps = buildProps({
|
|
|
124
127
|
text: 'NO_DATA',
|
|
125
128
|
},
|
|
126
129
|
],
|
|
130
|
+
watch: false,
|
|
127
131
|
},
|
|
128
132
|
noDataText: {
|
|
129
133
|
type: String,
|
|
@@ -139,6 +143,7 @@ export const ZdGridProps = buildProps({
|
|
|
139
143
|
text: 'NO_RESULT',
|
|
140
144
|
},
|
|
141
145
|
],
|
|
146
|
+
watch: false,
|
|
142
147
|
},
|
|
143
148
|
noResultsText: {
|
|
144
149
|
type: String,
|
|
@@ -181,6 +186,7 @@ export const ZdGridProps = buildProps({
|
|
|
181
186
|
cssClass: 'zd-grid-search',
|
|
182
187
|
},
|
|
183
188
|
],
|
|
189
|
+
watch: false,
|
|
184
190
|
},
|
|
185
191
|
width: {
|
|
186
192
|
type: [Number, String],
|
|
@@ -196,7 +202,7 @@ const gridComponent = defineComponent({
|
|
|
196
202
|
props: ZdGridProps,
|
|
197
203
|
inheritAttrs: false,
|
|
198
204
|
setup(props, ctx) {
|
|
199
|
-
const { instance, root } = useCreateInstance<Grid, ComponentPublicInstance>(props, ctx, Grid);
|
|
205
|
+
const { instance, root } = useCreateInstance<Grid, ComponentPublicInstance>(props, ctx, Grid, ZdGridProps);
|
|
200
206
|
|
|
201
207
|
const gridScope = useGridInstance({ instance, root });
|
|
202
208
|
|
|
@@ -222,16 +228,18 @@ export function useGridInstance({
|
|
|
222
228
|
instance,
|
|
223
229
|
root,
|
|
224
230
|
renderedData,
|
|
231
|
+
isNavigableRow,
|
|
225
232
|
}: {
|
|
226
233
|
instance: UnwrapNestedRefs<IGrid>;
|
|
227
234
|
root: Readonly<ShallowRef<ComponentPublicInstance | null>>;
|
|
228
235
|
renderedData?: ComputedRef<IDictionary<any>[]>;
|
|
236
|
+
isNavigableRow?: (element: Element) => boolean;
|
|
229
237
|
}) {
|
|
230
238
|
useWatchUrl(instance);
|
|
231
239
|
|
|
232
240
|
const rootEl = getRootElement(root);
|
|
233
241
|
useColumnDrag({ instance, rootEl });
|
|
234
|
-
useTableNavigation({ instance, rootEl });
|
|
242
|
+
useTableNavigation({ instance, rootEl, isNavigableRow });
|
|
235
243
|
|
|
236
244
|
const { updateFixedColumns, fixedLeft, fixedRight } = useFixedColumns({ instance, rootEl });
|
|
237
245
|
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
:
|
|
4
|
-
:value="value"
|
|
5
|
-
:classes="[
|
|
2
|
+
<span
|
|
3
|
+
:class="[
|
|
6
4
|
'zd-grid__cell-content',
|
|
7
5
|
...cssClass,
|
|
8
6
|
]"
|
|
9
|
-
:
|
|
10
|
-
...cssStyle,
|
|
7
|
+
:style="[{
|
|
11
8
|
width,
|
|
12
9
|
}]"
|
|
10
|
+
v-tooltip-overflow="value"
|
|
13
11
|
>
|
|
14
12
|
<slot :value="value" :formattedValue="formattedValue">{{ value }}</slot>
|
|
15
|
-
</
|
|
13
|
+
</span>
|
|
16
14
|
</template>
|
|
17
15
|
|
|
18
16
|
<script lang="ts" src="./ZdGridCellContent.ts"></script>
|
|
@@ -25,17 +25,14 @@
|
|
|
25
25
|
></zd-grid-sort>
|
|
26
26
|
</template>
|
|
27
27
|
|
|
28
|
-
<
|
|
29
|
-
|
|
30
|
-
:value="label"
|
|
31
|
-
:classes="[
|
|
32
|
-
'zd-grid__header-name',
|
|
33
|
-
]"
|
|
28
|
+
<span
|
|
29
|
+
class="zd-grid__header-name"
|
|
34
30
|
@click="click($event)"
|
|
31
|
+
v-tooltip-overflow.ellipsis="label"
|
|
35
32
|
>
|
|
36
33
|
{{ $t(label)}}
|
|
37
34
|
<slot name="label"></slot>
|
|
38
|
-
</
|
|
35
|
+
</span>
|
|
39
36
|
|
|
40
37
|
<zd-grid-helper v-if="helperText" :helper-text="helperText"></zd-grid-helper>
|
|
41
38
|
|