@zeedhi/common 1.123.0 → 1.125.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-common.esm.js +6 -6
- package/dist/zd-common.umd.js +6 -6
- package/package.json +2 -2
- package/types/components/zd-date/date-range.d.ts +1 -1
- package/types/components/zd-date/date.d.ts +1 -1
- package/types/components/zd-date/interfaces.d.ts +1 -1
- package/types/components/zd-time/interfaces.d.ts +1 -0
- package/types/components/zd-time/time.d.ts +1 -1
- package/types/services/zd-json-cache/json-cache-service.d.ts +12 -0
- package/dist/types/components/index.d.ts +0 -151
- package/dist/types/components/zd-alert/alert.d.ts +0 -94
- package/dist/types/components/zd-alert/interfaces.d.ts +0 -18
- package/dist/types/components/zd-badge/badge.d.ts +0 -28
- package/dist/types/components/zd-badge/interfaces.d.ts +0 -10
- package/dist/types/components/zd-breadcrumbs/breadcrumbs.d.ts +0 -32
- package/dist/types/components/zd-breadcrumbs/interfaces.d.ts +0 -24
- package/dist/types/components/zd-button/button.d.ts +0 -89
- package/dist/types/components/zd-button/interfaces.d.ts +0 -48
- package/dist/types/components/zd-button-group/button-group.d.ts +0 -67
- package/dist/types/components/zd-button-group/interfaces.d.ts +0 -25
- package/dist/types/components/zd-card/card.d.ts +0 -152
- package/dist/types/components/zd-card/interfaces.d.ts +0 -40
- package/dist/types/components/zd-carousel/carousel.d.ts +0 -163
- package/dist/types/components/zd-carousel/interfaces.d.ts +0 -49
- package/dist/types/components/zd-checkbox/checkbox.d.ts +0 -12
- package/dist/types/components/zd-checkbox/interfaces.d.ts +0 -5
- package/dist/types/components/zd-checkbox-multiple/checkbox-multiple.d.ts +0 -39
- package/dist/types/components/zd-checkbox-multiple/interfaces.d.ts +0 -13
- package/dist/types/components/zd-chip/chip.d.ts +0 -60
- package/dist/types/components/zd-chip/interfaces.d.ts +0 -18
- package/dist/types/components/zd-code-viewer/code-viewer.d.ts +0 -86
- package/dist/types/components/zd-code-viewer/interfaces.d.ts +0 -13
- package/dist/types/components/zd-col/col.d.ts +0 -33
- package/dist/types/components/zd-col/interfaces.d.ts +0 -15
- package/dist/types/components/zd-collapse-card/collapse-card.d.ts +0 -56
- package/dist/types/components/zd-collapse-card/interfaces.d.ts +0 -14
- package/dist/types/components/zd-component/child-not-found.d.ts +0 -6
- package/dist/types/components/zd-component/component-render.d.ts +0 -16
- package/dist/types/components/zd-component/component.d.ts +0 -120
- package/dist/types/components/zd-component/interfaces.d.ts +0 -74
- package/dist/types/components/zd-container/container.d.ts +0 -45
- package/dist/types/components/zd-container/interfaces.d.ts +0 -12
- package/dist/types/components/zd-currency/currency.d.ts +0 -12
- package/dist/types/components/zd-currency/interfaces.d.ts +0 -6
- package/dist/types/components/zd-date-input/date-input.d.ts +0 -152
- package/dist/types/components/zd-date-input/interfaces.d.ts +0 -27
- package/dist/types/components/zd-date-range/date-range.d.ts +0 -158
- package/dist/types/components/zd-date-range/interfaces.d.ts +0 -18
- package/dist/types/components/zd-dialog/dialog.d.ts +0 -76
- package/dist/types/components/zd-dialog/interfaces.d.ts +0 -13
- package/dist/types/components/zd-divider/divider.d.ts +0 -20
- package/dist/types/components/zd-divider/interfaces.d.ts +0 -8
- package/dist/types/components/zd-dropdown/dropdown.d.ts +0 -81
- package/dist/types/components/zd-dropdown/interfaces.d.ts +0 -23
- package/dist/types/components/zd-footer/footer.d.ts +0 -80
- package/dist/types/components/zd-footer/interfaces.d.ts +0 -26
- package/dist/types/components/zd-form/form.d.ts +0 -174
- package/dist/types/components/zd-form/interfaces.d.ts +0 -36
- package/dist/types/components/zd-frame/frame.d.ts +0 -81
- package/dist/types/components/zd-frame/interfaces.d.ts +0 -23
- package/dist/types/components/zd-frame-page/frame-page.d.ts +0 -14
- package/dist/types/components/zd-frame-page/interfaces.d.ts +0 -4
- package/dist/types/components/zd-grid/data-navigator.d.ts +0 -12
- package/dist/types/components/zd-grid/data-selector.d.ts +0 -25
- package/dist/types/components/zd-grid/grid-column.d.ts +0 -47
- package/dist/types/components/zd-grid/grid-events.d.ts +0 -26
- package/dist/types/components/zd-grid/grid.d.ts +0 -85
- package/dist/types/components/zd-grid/index.d.ts +0 -11
- package/dist/types/components/zd-grid/interfaces.d.ts +0 -148
- package/dist/types/components/zd-grid/iterable-table.d.ts +0 -28
- package/dist/types/components/zd-grid/keymap-merger.d.ts +0 -26
- package/dist/types/components/zd-grid/keymap-navigation.d.ts +0 -6
- package/dist/types/components/zd-grid/table-action-builder.d.ts +0 -19
- package/dist/types/components/zd-grid/view-navigator.d.ts +0 -10
- package/dist/types/components/zd-grid-editable/data-editor-with-add.d.ts +0 -35
- package/dist/types/components/zd-grid-editable/data-editor.d.ts +0 -64
- package/dist/types/components/zd-grid-editable/errors/index.d.ts +0 -2
- package/dist/types/components/zd-grid-editable/errors/not-editing.d.ts +0 -6
- package/dist/types/components/zd-grid-editable/errors/row-not-found.d.ts +0 -6
- package/dist/types/components/zd-grid-editable/grid-column-editable.d.ts +0 -9
- package/dist/types/components/zd-grid-editable/grid-editable-controller.d.ts +0 -8
- package/dist/types/components/zd-grid-editable/grid-editable-events.d.ts +0 -32
- package/dist/types/components/zd-grid-editable/grid-editable.d.ts +0 -124
- package/dist/types/components/zd-grid-editable/index.d.ts +0 -8
- package/dist/types/components/zd-grid-editable/interfaces.d.ts +0 -66
- package/dist/types/components/zd-grid-editable/keymap-editing.d.ts +0 -7
- package/dist/types/components/zd-header/header.d.ts +0 -94
- package/dist/types/components/zd-header/interfaces.d.ts +0 -29
- package/dist/types/components/zd-icon/icon.d.ts +0 -55
- package/dist/types/components/zd-icon/interfaces.d.ts +0 -13
- package/dist/types/components/zd-image/image.d.ts +0 -73
- package/dist/types/components/zd-image/interfaces.d.ts +0 -17
- package/dist/types/components/zd-increment/increment.d.ts +0 -56
- package/dist/types/components/zd-increment/interfaces.d.ts +0 -9
- package/dist/types/components/zd-input/input-factory.d.ts +0 -6
- package/dist/types/components/zd-input/input.d.ts +0 -223
- package/dist/types/components/zd-input/interfaces.d.ts +0 -38
- package/dist/types/components/zd-iterable/column-not-found.d.ts +0 -6
- package/dist/types/components/zd-iterable/column.d.ts +0 -78
- package/dist/types/components/zd-iterable/conditions-manager.d.ts +0 -49
- package/dist/types/components/zd-iterable/interfaces.d.ts +0 -103
- package/dist/types/components/zd-iterable/iterable-columns-button-controller.d.ts +0 -9
- package/dist/types/components/zd-iterable/iterable-columns-button.d.ts +0 -35
- package/dist/types/components/zd-iterable/iterable-controller.d.ts +0 -8
- package/dist/types/components/zd-iterable/iterable-page-component.d.ts +0 -27
- package/dist/types/components/zd-iterable/iterable-page-info.d.ts +0 -7
- package/dist/types/components/zd-iterable/iterable-page-size.d.ts +0 -62
- package/dist/types/components/zd-iterable/iterable-pagination.d.ts +0 -28
- package/dist/types/components/zd-iterable/iterable.d.ts +0 -77
- package/dist/types/components/zd-iterable/search.d.ts +0 -31
- package/dist/types/components/zd-iterable-component-render/interfaces.d.ts +0 -34
- package/dist/types/components/zd-iterable-component-render/iterable-component-render.d.ts +0 -84
- package/dist/types/components/zd-layout/interfaces.d.ts +0 -7
- package/dist/types/components/zd-layout/layout.d.ts +0 -9
- package/dist/types/components/zd-list/interfaces.d.ts +0 -44
- package/dist/types/components/zd-list/item-not-found.d.ts +0 -6
- package/dist/types/components/zd-list/list-group.d.ts +0 -30
- package/dist/types/components/zd-list/list-item.d.ts +0 -46
- package/dist/types/components/zd-list/list.d.ts +0 -81
- package/dist/types/components/zd-loading/interfaces.d.ts +0 -7
- package/dist/types/components/zd-loading/loading.d.ts +0 -21
- package/dist/types/components/zd-login/interfaces.d.ts +0 -25
- package/dist/types/components/zd-login/login-button.d.ts +0 -50
- package/dist/types/components/zd-login/login.d.ts +0 -54
- package/dist/types/components/zd-main/interfaces.d.ts +0 -5
- package/dist/types/components/zd-main/main.d.ts +0 -7
- package/dist/types/components/zd-master-detail/detail-not-found.d.ts +0 -7
- package/dist/types/components/zd-master-detail/interfaces.d.ts +0 -10
- package/dist/types/components/zd-master-detail/master-detail.d.ts +0 -18
- package/dist/types/components/zd-master-detail/master-not-found.d.ts +0 -7
- package/dist/types/components/zd-menu/interfaces.d.ts +0 -68
- package/dist/types/components/zd-menu/menu-button.d.ts +0 -29
- package/dist/types/components/zd-menu/menu-group.d.ts +0 -61
- package/dist/types/components/zd-menu/menu-link.d.ts +0 -50
- package/dist/types/components/zd-menu/menu-separator.d.ts +0 -7
- package/dist/types/components/zd-menu/menu.d.ts +0 -199
- package/dist/types/components/zd-modal/interfaces.d.ts +0 -35
- package/dist/types/components/zd-modal/modal-close-button.d.ts +0 -28
- package/dist/types/components/zd-modal/modal.d.ts +0 -53
- package/dist/types/components/zd-month/interfaces.d.ts +0 -6
- package/dist/types/components/zd-month/month.d.ts +0 -33
- package/dist/types/components/zd-number-input/interfaces.d.ts +0 -8
- package/dist/types/components/zd-number-input/number-input.d.ts +0 -43
- package/dist/types/components/zd-password/interfaces.d.ts +0 -6
- package/dist/types/components/zd-password/password.d.ts +0 -17
- package/dist/types/components/zd-progress/interfaces.d.ts +0 -10
- package/dist/types/components/zd-progress/progress.d.ts +0 -41
- package/dist/types/components/zd-radio/interfaces.d.ts +0 -11
- package/dist/types/components/zd-radio/radio.d.ts +0 -35
- package/dist/types/components/zd-row/interfaces.d.ts +0 -13
- package/dist/types/components/zd-row/row.d.ts +0 -39
- package/dist/types/components/zd-select/interfaces.d.ts +0 -24
- package/dist/types/components/zd-select/select.d.ts +0 -238
- package/dist/types/components/zd-select-multiple/interfaces.d.ts +0 -18
- package/dist/types/components/zd-select-multiple/select-multiple.d.ts +0 -113
- package/dist/types/components/zd-svg-map/interfaces.d.ts +0 -26
- package/dist/types/components/zd-svg-map/svg-map.d.ts +0 -35
- package/dist/types/components/zd-switch/interfaces.d.ts +0 -7
- package/dist/types/components/zd-switch/switch.d.ts +0 -16
- package/dist/types/components/zd-table/interfaces.d.ts +0 -25
- package/dist/types/components/zd-table/table.d.ts +0 -42
- package/dist/types/components/zd-tabs/interfaces.d.ts +0 -40
- package/dist/types/components/zd-tabs/tab-not-found.d.ts +0 -11
- package/dist/types/components/zd-tabs/tab.d.ts +0 -57
- package/dist/types/components/zd-tabs/tabs.d.ts +0 -86
- package/dist/types/components/zd-tag/interfaces.d.ts +0 -7
- package/dist/types/components/zd-tag/tag.d.ts +0 -13
- package/dist/types/components/zd-text/interfaces.d.ts +0 -9
- package/dist/types/components/zd-text/text.d.ts +0 -8
- package/dist/types/components/zd-text-input/interfaces.d.ts +0 -23
- package/dist/types/components/zd-text-input/text-input.d.ts +0 -91
- package/dist/types/components/zd-textarea/interfaces.d.ts +0 -21
- package/dist/types/components/zd-textarea/textarea.d.ts +0 -71
- package/dist/types/components/zd-time/interfaces.d.ts +0 -22
- package/dist/types/components/zd-time/time-format-selector.d.ts +0 -8
- package/dist/types/components/zd-time/time.d.ts +0 -149
- package/dist/types/components/zd-toggleable/interfaces.d.ts +0 -6
- package/dist/types/components/zd-toggleable/toggleable.d.ts +0 -21
- package/dist/types/components/zd-tooltip/interfaces.d.ts +0 -18
- package/dist/types/components/zd-tooltip/tooltip.d.ts +0 -57
- package/dist/types/components/zd-tree/interfaces.d.ts +0 -107
- package/dist/types/components/zd-tree/tree.d.ts +0 -161
- package/dist/types/components/zd-tree-grid/index.d.ts +0 -6
- package/dist/types/components/zd-tree-grid/interfaces.d.ts +0 -35
- package/dist/types/components/zd-tree-grid/iterable-tree.d.ts +0 -10
- package/dist/types/components/zd-tree-grid/keymap-tree.d.ts +0 -7
- package/dist/types/components/zd-tree-grid/tree-data-navigator.d.ts +0 -10
- package/dist/types/components/zd-tree-grid/tree-data-selector.d.ts +0 -18
- package/dist/types/components/zd-tree-grid/tree-grid.d.ts +0 -119
- package/dist/types/error/delete-rows.d.ts +0 -7
- package/dist/types/error/index.d.ts +0 -3
- package/dist/types/error/non-initialized.d.ts +0 -7
- package/dist/types/error/zeedhi-error.d.ts +0 -6
- package/dist/types/index.d.ts +0 -6
- package/dist/types/services/index.d.ts +0 -4
- package/dist/types/services/zd-alert/alert-queue.d.ts +0 -13
- package/dist/types/services/zd-alert/alert-replace.d.ts +0 -18
- package/dist/types/services/zd-alert/alert-service.d.ts +0 -45
- package/dist/types/services/zd-alert/alert-stack.d.ts +0 -9
- package/dist/types/services/zd-alert/index.d.ts +0 -5
- package/dist/types/services/zd-alert/interfaces.d.ts +0 -6
- package/dist/types/services/zd-dialog/dialog-service.d.ts +0 -24
- package/dist/types/services/zd-loading/loading-service.d.ts +0 -17
- package/dist/types/services/zd-modal/modal-service.d.ts +0 -39
- package/dist/types/utils/data-value-out/data-value-out.d.ts +0 -5
- package/dist/types/utils/data-value-out/index.d.ts +0 -2
- package/dist/types/utils/data-value-out/interfaces.d.ts +0 -8
- package/dist/types/utils/datasource-searcher/datasource-searcher.d.ts +0 -6
- package/dist/types/utils/datasource-searcher/index.d.ts +0 -2
- package/dist/types/utils/datasource-searcher/interfaces.d.ts +0 -5
- package/dist/types/utils/icons/icons.d.ts +0 -24
- package/dist/types/utils/index.d.ts +0 -7
- package/dist/types/utils/omit/omit.d.ts +0 -11
- package/dist/types/utils/theme/theme.d.ts +0 -34
- package/dist/types/utils/tree-data-structure/index.d.ts +0 -2
- package/dist/types/utils/tree-data-structure/interfaces.d.ts +0 -30
- package/dist/types/utils/tree-data-structure/tree-data-structure.d.ts +0 -155
- package/dist/types/utils/unique-by/unique-by.d.ts +0 -3
- package/dist/zd-common.js +0 -13133
- package/dist/zd-common.min.js +0 -13133
package/dist/zd-common.esm.js
CHANGED
|
@@ -3960,7 +3960,7 @@ class Date$1 extends TextInput {
|
|
|
3960
3960
|
/**
|
|
3961
3961
|
* Width of the picker.
|
|
3962
3962
|
*/
|
|
3963
|
-
this.
|
|
3963
|
+
this.pickerWidth = 248;
|
|
3964
3964
|
this.isoFormat = 'YYYY-MM-DD';
|
|
3965
3965
|
this.dateError = false;
|
|
3966
3966
|
this.formatterFn = FormatterParserProvider.getFormatter('ZdDate');
|
|
@@ -3986,7 +3986,7 @@ class Date$1 extends TextInput {
|
|
|
3986
3986
|
this.helperValue = this.getInitValue('helperValue', props.helperValue, this.helperValue);
|
|
3987
3987
|
this.min = this.getInitValue('min', props.min, this.min);
|
|
3988
3988
|
this.max = this.getInitValue('max', props.max, this.max);
|
|
3989
|
-
this.
|
|
3989
|
+
this.pickerWidth = this.getInitValue('pickerWidth', props.width || props.pickerWidth, this.pickerWidth);
|
|
3990
3990
|
this.mask = this.getInitValue('mask', props.mask, undefined);
|
|
3991
3991
|
this.createAccessors();
|
|
3992
3992
|
this.initialMask = this.getInitialMask();
|
|
@@ -4361,7 +4361,7 @@ class DateRange extends TextInput {
|
|
|
4361
4361
|
/**
|
|
4362
4362
|
* Width of the picker.
|
|
4363
4363
|
*/
|
|
4364
|
-
this.
|
|
4364
|
+
this.pickerWidth = 248;
|
|
4365
4365
|
/**
|
|
4366
4366
|
* Helper options.
|
|
4367
4367
|
*/
|
|
@@ -4398,7 +4398,7 @@ class DateRange extends TextInput {
|
|
|
4398
4398
|
this.showDatePicker = this.getInitValue('showDatePicker', props.showDatePicker, this.showDatePicker);
|
|
4399
4399
|
this.showWeek = this.getInitValue('showWeek', props.showWeek, this.showWeek);
|
|
4400
4400
|
this.splitter = this.getInitValue('splitter', props.splitter, this.internalSplitter);
|
|
4401
|
-
this.
|
|
4401
|
+
this.pickerWidth = this.getInitValue('pickerWidth', props.width || props.pickerWidth, this.pickerWidth);
|
|
4402
4402
|
this.mask = this.getInitValue('mask', props.mask, undefined);
|
|
4403
4403
|
this.helperOptions = this.getInitValue('helperOptions', props.helperOptions, this.helperOptions);
|
|
4404
4404
|
this.helperValue = this.getInitValue('helperValue', props.helperValue, this.helperValue);
|
|
@@ -14561,7 +14561,7 @@ class Time extends TextInput {
|
|
|
14561
14561
|
/**
|
|
14562
14562
|
* Width of the picker.
|
|
14563
14563
|
*/
|
|
14564
|
-
this.
|
|
14564
|
+
this.pickerWidth = 248;
|
|
14565
14565
|
this.formatterFn = FormatterParserProvider.getFormatter('ZdTime');
|
|
14566
14566
|
this.parserFn = FormatterParserProvider.getParser('ZdTime');
|
|
14567
14567
|
this.isoFormatValue = 'HH:mm';
|
|
@@ -14587,7 +14587,7 @@ class Time extends TextInput {
|
|
|
14587
14587
|
this.scrollable = this.getInitValue('scrollable', props.scrollable, this.scrollable);
|
|
14588
14588
|
this.showTimePicker = this.getInitValue('showTimePicker', props.showTimePicker, this.showTimePicker);
|
|
14589
14589
|
this.useSeconds = this.getInitValue('useSeconds', props.useSeconds, this.useSeconds);
|
|
14590
|
-
this.
|
|
14590
|
+
this.pickerWidth = this.getInitValue('pickerWidth', props.pickerWidth, this.pickerWidth);
|
|
14591
14591
|
this.autofill = this.getInitValue('autofill', props.autofill, this.autofill);
|
|
14592
14592
|
this.timeValidation = this.timeValidation.bind(this);
|
|
14593
14593
|
this.valueFormat = this.getInitValue('valueFormat', props.valueFormat, this.valueFormatInternal);
|
package/dist/zd-common.umd.js
CHANGED
|
@@ -3967,7 +3967,7 @@
|
|
|
3967
3967
|
/**
|
|
3968
3968
|
* Width of the picker.
|
|
3969
3969
|
*/
|
|
3970
|
-
this.
|
|
3970
|
+
this.pickerWidth = 248;
|
|
3971
3971
|
this.isoFormat = 'YYYY-MM-DD';
|
|
3972
3972
|
this.dateError = false;
|
|
3973
3973
|
this.formatterFn = core.FormatterParserProvider.getFormatter('ZdDate');
|
|
@@ -3993,7 +3993,7 @@
|
|
|
3993
3993
|
this.helperValue = this.getInitValue('helperValue', props.helperValue, this.helperValue);
|
|
3994
3994
|
this.min = this.getInitValue('min', props.min, this.min);
|
|
3995
3995
|
this.max = this.getInitValue('max', props.max, this.max);
|
|
3996
|
-
this.
|
|
3996
|
+
this.pickerWidth = this.getInitValue('pickerWidth', props.width || props.pickerWidth, this.pickerWidth);
|
|
3997
3997
|
this.mask = this.getInitValue('mask', props.mask, undefined);
|
|
3998
3998
|
this.createAccessors();
|
|
3999
3999
|
this.initialMask = this.getInitialMask();
|
|
@@ -4368,7 +4368,7 @@
|
|
|
4368
4368
|
/**
|
|
4369
4369
|
* Width of the picker.
|
|
4370
4370
|
*/
|
|
4371
|
-
this.
|
|
4371
|
+
this.pickerWidth = 248;
|
|
4372
4372
|
/**
|
|
4373
4373
|
* Helper options.
|
|
4374
4374
|
*/
|
|
@@ -4405,7 +4405,7 @@
|
|
|
4405
4405
|
this.showDatePicker = this.getInitValue('showDatePicker', props.showDatePicker, this.showDatePicker);
|
|
4406
4406
|
this.showWeek = this.getInitValue('showWeek', props.showWeek, this.showWeek);
|
|
4407
4407
|
this.splitter = this.getInitValue('splitter', props.splitter, this.internalSplitter);
|
|
4408
|
-
this.
|
|
4408
|
+
this.pickerWidth = this.getInitValue('pickerWidth', props.width || props.pickerWidth, this.pickerWidth);
|
|
4409
4409
|
this.mask = this.getInitValue('mask', props.mask, undefined);
|
|
4410
4410
|
this.helperOptions = this.getInitValue('helperOptions', props.helperOptions, this.helperOptions);
|
|
4411
4411
|
this.helperValue = this.getInitValue('helperValue', props.helperValue, this.helperValue);
|
|
@@ -14568,7 +14568,7 @@
|
|
|
14568
14568
|
/**
|
|
14569
14569
|
* Width of the picker.
|
|
14570
14570
|
*/
|
|
14571
|
-
this.
|
|
14571
|
+
this.pickerWidth = 248;
|
|
14572
14572
|
this.formatterFn = core.FormatterParserProvider.getFormatter('ZdTime');
|
|
14573
14573
|
this.parserFn = core.FormatterParserProvider.getParser('ZdTime');
|
|
14574
14574
|
this.isoFormatValue = 'HH:mm';
|
|
@@ -14594,7 +14594,7 @@
|
|
|
14594
14594
|
this.scrollable = this.getInitValue('scrollable', props.scrollable, this.scrollable);
|
|
14595
14595
|
this.showTimePicker = this.getInitValue('showTimePicker', props.showTimePicker, this.showTimePicker);
|
|
14596
14596
|
this.useSeconds = this.getInitValue('useSeconds', props.useSeconds, this.useSeconds);
|
|
14597
|
-
this.
|
|
14597
|
+
this.pickerWidth = this.getInitValue('pickerWidth', props.pickerWidth, this.pickerWidth);
|
|
14598
14598
|
this.autofill = this.getInitValue('autofill', props.autofill, this.autofill);
|
|
14599
14599
|
this.timeValidation = this.timeValidation.bind(this);
|
|
14600
14600
|
this.valueFormat = this.getInitValue('valueFormat', props.valueFormat, this.valueFormatInternal);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeedhi/common",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.125.0",
|
|
4
4
|
"description": "Zeedhi Common",
|
|
5
5
|
"author": "Zeedhi <zeedhi@teknisa.com>",
|
|
6
6
|
"license": "ISC",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"lodash.times": "4.3.*",
|
|
44
44
|
"mockdate": "3.0.*"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "f60e2accfe8411d446d5acd8c4f64d224b896263"
|
|
47
47
|
}
|
|
@@ -75,7 +75,7 @@ export declare class Date extends TextInput implements IDate {
|
|
|
75
75
|
/**
|
|
76
76
|
* Width of the picker.
|
|
77
77
|
*/
|
|
78
|
-
|
|
78
|
+
pickerWidth: number | string;
|
|
79
79
|
protected isoFormat: string;
|
|
80
80
|
protected dateError: boolean;
|
|
81
81
|
protected formatterFn: Function;
|
|
@@ -19,7 +19,7 @@ export interface IDate extends ITextInput {
|
|
|
19
19
|
scrollable?: boolean;
|
|
20
20
|
showDatePicker?: boolean;
|
|
21
21
|
showWeek?: boolean;
|
|
22
|
-
|
|
22
|
+
pickerWidth?: number | string;
|
|
23
23
|
orderedDates?: boolean;
|
|
24
24
|
helperOptions?: string[];
|
|
25
25
|
helperValue?: string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface IJSONObject {
|
|
2
|
+
path: string;
|
|
3
|
+
}
|
|
4
|
+
export declare class JsonCacheService {
|
|
5
|
+
/**
|
|
6
|
+
* jsons collection
|
|
7
|
+
*/
|
|
8
|
+
static jsonCollection: IJSONObject[];
|
|
9
|
+
static saveJSONCache(jsonCollection: IJSONObject[]): Promise<void>;
|
|
10
|
+
static getJSONCache(path: string): any;
|
|
11
|
+
static clearJSONCache(jsonCollection: IJSONObject[]): void;
|
|
12
|
+
}
|
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
export * from './zd-alert/alert';
|
|
2
|
-
export * from './zd-alert/interfaces';
|
|
3
|
-
export * from './zd-breadcrumbs/breadcrumbs';
|
|
4
|
-
export * from './zd-breadcrumbs/interfaces';
|
|
5
|
-
export * from './zd-badge/badge';
|
|
6
|
-
export * from './zd-badge/interfaces';
|
|
7
|
-
export * from './zd-button/button';
|
|
8
|
-
export * from './zd-button/interfaces';
|
|
9
|
-
export * from './zd-date-input/date-input';
|
|
10
|
-
export * from './zd-date-input/interfaces';
|
|
11
|
-
export * from './zd-divider/divider';
|
|
12
|
-
export * from './zd-divider/interfaces';
|
|
13
|
-
export * from './zd-main/interfaces';
|
|
14
|
-
export * from './zd-main/main';
|
|
15
|
-
export * from './zd-frame/frame';
|
|
16
|
-
export * from './zd-frame/interfaces';
|
|
17
|
-
export * from './zd-frame-page/frame-page';
|
|
18
|
-
export * from './zd-frame-page/interfaces';
|
|
19
|
-
export * from './zd-image/image';
|
|
20
|
-
export * from './zd-image/interfaces';
|
|
21
|
-
export * from './zd-iterable/column';
|
|
22
|
-
export * from './zd-iterable/column-not-found';
|
|
23
|
-
export * from './zd-iterable/interfaces';
|
|
24
|
-
export * from './zd-iterable/iterable';
|
|
25
|
-
export * from './zd-iterable/iterable-page-component';
|
|
26
|
-
export * from './zd-iterable/iterable-page-info';
|
|
27
|
-
export * from './zd-iterable/iterable-page-size';
|
|
28
|
-
export * from './zd-iterable/iterable-pagination';
|
|
29
|
-
export * from './zd-iterable/search';
|
|
30
|
-
export * from './zd-iterable/conditions-manager';
|
|
31
|
-
export * from './zd-iterable/iterable-columns-button';
|
|
32
|
-
export * from './zd-iterable/iterable-columns-button-controller';
|
|
33
|
-
export * from './zd-iterable-component-render/interfaces';
|
|
34
|
-
export * from './zd-iterable-component-render/iterable-component-render';
|
|
35
|
-
export * from './zd-header/header';
|
|
36
|
-
export * from './zd-header/interfaces';
|
|
37
|
-
export * from './zd-col/col';
|
|
38
|
-
export * from './zd-col/interfaces';
|
|
39
|
-
export * from './zd-layout/interfaces';
|
|
40
|
-
export * from './zd-layout/layout';
|
|
41
|
-
export * from './zd-loading/loading';
|
|
42
|
-
export * from './zd-loading/interfaces';
|
|
43
|
-
export * from './zd-login/login';
|
|
44
|
-
export * from './zd-login/interfaces';
|
|
45
|
-
export * from './zd-login/login-button';
|
|
46
|
-
export * from './zd-menu/interfaces';
|
|
47
|
-
export * from './zd-menu/menu';
|
|
48
|
-
export * from './zd-menu/menu-button';
|
|
49
|
-
export * from './zd-menu/menu-group';
|
|
50
|
-
export * from './zd-menu/menu-link';
|
|
51
|
-
export * from './zd-menu/menu-separator';
|
|
52
|
-
export * from './zd-card/card';
|
|
53
|
-
export * from './zd-card/interfaces';
|
|
54
|
-
export * from './zd-collapse-card/collapse-card';
|
|
55
|
-
export * from './zd-collapse-card/interfaces';
|
|
56
|
-
export * from './zd-carousel/carousel';
|
|
57
|
-
export * from './zd-carousel/interfaces';
|
|
58
|
-
export * from './zd-table/interfaces';
|
|
59
|
-
export * from './zd-table/table';
|
|
60
|
-
export * from './zd-tabs/interfaces';
|
|
61
|
-
export * from './zd-tabs/tab';
|
|
62
|
-
export * from './zd-tabs/tab-not-found';
|
|
63
|
-
export * from './zd-tabs/tabs';
|
|
64
|
-
export * from './zd-tag/interfaces';
|
|
65
|
-
export * from './zd-tag/tag';
|
|
66
|
-
export * from './zd-text/interfaces';
|
|
67
|
-
export * from './zd-text/text';
|
|
68
|
-
export * from './zd-input/input';
|
|
69
|
-
export * from './zd-input/interfaces';
|
|
70
|
-
export * from './zd-input/input-factory';
|
|
71
|
-
export * from './zd-icon/icon';
|
|
72
|
-
export * from './zd-icon/interfaces';
|
|
73
|
-
export * from './zd-text-input/interfaces';
|
|
74
|
-
export * from './zd-text-input/text-input';
|
|
75
|
-
export * from './zd-component/child-not-found';
|
|
76
|
-
export * from './zd-component/component';
|
|
77
|
-
export * from './zd-component/component-render';
|
|
78
|
-
export * from './zd-component/interfaces';
|
|
79
|
-
export * from './zd-container/container';
|
|
80
|
-
export * from './zd-container/interfaces';
|
|
81
|
-
export * from './zd-code-viewer/code-viewer';
|
|
82
|
-
export * from './zd-code-viewer/interfaces';
|
|
83
|
-
export * from './zd-radio/radio';
|
|
84
|
-
export * from './zd-radio/interfaces';
|
|
85
|
-
export * from './zd-row/interfaces';
|
|
86
|
-
export * from './zd-row/row';
|
|
87
|
-
export * from './zd-form/form';
|
|
88
|
-
export * from './zd-form/interfaces';
|
|
89
|
-
export * from './zd-footer/footer';
|
|
90
|
-
export * from './zd-footer/interfaces';
|
|
91
|
-
export * from './zd-textarea/textarea';
|
|
92
|
-
export * from './zd-textarea/interfaces';
|
|
93
|
-
export * from './zd-toggleable/toggleable';
|
|
94
|
-
export * from './zd-toggleable/interfaces';
|
|
95
|
-
export * from './zd-switch/switch';
|
|
96
|
-
export * from './zd-switch/interfaces';
|
|
97
|
-
export * from './zd-checkbox/checkbox';
|
|
98
|
-
export * from './zd-checkbox/interfaces';
|
|
99
|
-
export * from './zd-tooltip/tooltip';
|
|
100
|
-
export * from './zd-tooltip/interfaces';
|
|
101
|
-
export * from './zd-dropdown/dropdown';
|
|
102
|
-
export * from './zd-dropdown/interfaces';
|
|
103
|
-
export * from './zd-select/select';
|
|
104
|
-
export * from './zd-select/interfaces';
|
|
105
|
-
export * from './zd-select-multiple/select-multiple';
|
|
106
|
-
export * from './zd-select-multiple/interfaces';
|
|
107
|
-
export * from './zd-dropdown/dropdown';
|
|
108
|
-
export * from './zd-dropdown/interfaces';
|
|
109
|
-
export * from './zd-dialog/dialog';
|
|
110
|
-
export * from './zd-dialog/interfaces';
|
|
111
|
-
export * from './zd-password/password';
|
|
112
|
-
export * from './zd-password/interfaces';
|
|
113
|
-
export * from './zd-list/list';
|
|
114
|
-
export * from './zd-list/list-item';
|
|
115
|
-
export * from './zd-list/list-group';
|
|
116
|
-
export * from './zd-list/interfaces';
|
|
117
|
-
export * from './zd-modal/modal';
|
|
118
|
-
export * from './zd-modal/modal-close-button';
|
|
119
|
-
export * from './zd-modal/interfaces';
|
|
120
|
-
export * from './zd-number-input/number-input';
|
|
121
|
-
export * from './zd-number-input/interfaces';
|
|
122
|
-
export * from './zd-grid';
|
|
123
|
-
export * from './zd-grid-editable';
|
|
124
|
-
export * from './zd-tree-grid';
|
|
125
|
-
export * from './zd-checkbox-multiple/checkbox-multiple';
|
|
126
|
-
export * from './zd-checkbox-multiple/interfaces';
|
|
127
|
-
export * from './zd-chip/chip';
|
|
128
|
-
export * from './zd-chip/interfaces';
|
|
129
|
-
export * from './zd-progress/interfaces';
|
|
130
|
-
export * from './zd-progress/progress';
|
|
131
|
-
export * from './zd-button-group/button-group';
|
|
132
|
-
export * from './zd-button-group/interfaces';
|
|
133
|
-
export * from './zd-master-detail/detail-not-found';
|
|
134
|
-
export * from './zd-master-detail/interfaces';
|
|
135
|
-
export * from './zd-master-detail/master-detail';
|
|
136
|
-
export * from './zd-master-detail/master-not-found';
|
|
137
|
-
export * from './zd-svg-map/interfaces';
|
|
138
|
-
export * from './zd-svg-map/svg-map';
|
|
139
|
-
export * from './zd-tree/interfaces';
|
|
140
|
-
export * from './zd-tree/tree';
|
|
141
|
-
export * from './zd-increment/increment';
|
|
142
|
-
export * from './zd-increment/interfaces';
|
|
143
|
-
export * from './zd-currency/currency';
|
|
144
|
-
export * from './zd-currency/interfaces';
|
|
145
|
-
export * from './zd-month/interfaces';
|
|
146
|
-
export * from './zd-month/month';
|
|
147
|
-
export * from './zd-time/interfaces';
|
|
148
|
-
export * from './zd-time/time';
|
|
149
|
-
export * from './zd-time/time-format-selector';
|
|
150
|
-
export * from './zd-date-range/interfaces';
|
|
151
|
-
export * from './zd-date-range/date-range';
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { IButton } from '../zd-button/interfaces';
|
|
2
|
-
import { Component } from '../zd-component/component';
|
|
3
|
-
import { IAlert } from './interfaces';
|
|
4
|
-
/**
|
|
5
|
-
* Base class for Alert component.
|
|
6
|
-
*/
|
|
7
|
-
export declare class Alert extends Component implements IAlert {
|
|
8
|
-
/**
|
|
9
|
-
* Align the component towards the bottom
|
|
10
|
-
*/
|
|
11
|
-
bottom: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* Slot to display flat buttons
|
|
14
|
-
*/
|
|
15
|
-
buttonsSlot: IButton[];
|
|
16
|
-
/**
|
|
17
|
-
* Applies specified color to the control.
|
|
18
|
-
* It can be the name of material color or an hexadecimal color
|
|
19
|
-
*/
|
|
20
|
-
color: string;
|
|
21
|
-
/**
|
|
22
|
-
* Applies specified color to the dismiss button.
|
|
23
|
-
* It can be the name of material color or an hexadecimal color
|
|
24
|
-
*/
|
|
25
|
-
dismissColor: string;
|
|
26
|
-
/**
|
|
27
|
-
* Align the component towards the left
|
|
28
|
-
*/
|
|
29
|
-
left: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Creates a better spacing for multiple content lines
|
|
32
|
-
*/
|
|
33
|
-
multiLine: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* Align the component towards the right
|
|
36
|
-
*/
|
|
37
|
-
right: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Controls dismiss button visibility
|
|
40
|
-
*/
|
|
41
|
-
showDismiss: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Time (in milliseconds) to wait until alert is automatically hidden.
|
|
44
|
-
* Use 0 to keep open indefinitely.
|
|
45
|
-
*/
|
|
46
|
-
timeout: number;
|
|
47
|
-
/**
|
|
48
|
-
* Text displayed on alert
|
|
49
|
-
*/
|
|
50
|
-
text: string;
|
|
51
|
-
/**
|
|
52
|
-
* Align the content towards the top
|
|
53
|
-
*/
|
|
54
|
-
top: boolean;
|
|
55
|
-
/**
|
|
56
|
-
* Stacks alert content and actions vertically
|
|
57
|
-
*/
|
|
58
|
-
vertical: boolean;
|
|
59
|
-
id: number;
|
|
60
|
-
protected defaultValues: {
|
|
61
|
-
name: string;
|
|
62
|
-
color: string;
|
|
63
|
-
text: string;
|
|
64
|
-
timeout: number;
|
|
65
|
-
top: boolean;
|
|
66
|
-
right: boolean;
|
|
67
|
-
bottom: boolean;
|
|
68
|
-
left: boolean;
|
|
69
|
-
vertical: boolean;
|
|
70
|
-
multiLine: boolean;
|
|
71
|
-
showDismiss: boolean;
|
|
72
|
-
dismissColor: string;
|
|
73
|
-
buttonsSlot: IButton[];
|
|
74
|
-
id: number;
|
|
75
|
-
};
|
|
76
|
-
/**
|
|
77
|
-
* Creates a new Alert
|
|
78
|
-
* @param props Alert structure
|
|
79
|
-
*/
|
|
80
|
-
constructor(props: IAlert);
|
|
81
|
-
/**
|
|
82
|
-
* Assign all alert properties
|
|
83
|
-
* @param alert Alert structure
|
|
84
|
-
*/
|
|
85
|
-
assignAlertProperties(alert: IAlert): void;
|
|
86
|
-
/**
|
|
87
|
-
* Displays alert
|
|
88
|
-
*/
|
|
89
|
-
show(): void;
|
|
90
|
-
/**
|
|
91
|
-
* Hides alert
|
|
92
|
-
*/
|
|
93
|
-
hide(): void;
|
|
94
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { IButton } from '../zd-button/interfaces';
|
|
2
|
-
import { IComponent } from '../zd-component/interfaces';
|
|
3
|
-
export interface IAlert extends IComponent {
|
|
4
|
-
id?: number;
|
|
5
|
-
color?: string;
|
|
6
|
-
text?: string;
|
|
7
|
-
timeout?: number;
|
|
8
|
-
type?: string;
|
|
9
|
-
top?: boolean;
|
|
10
|
-
right?: boolean;
|
|
11
|
-
bottom?: boolean;
|
|
12
|
-
left?: boolean;
|
|
13
|
-
vertical?: boolean;
|
|
14
|
-
multiLine?: boolean;
|
|
15
|
-
showDismiss?: boolean;
|
|
16
|
-
dismissColor?: string;
|
|
17
|
-
buttonsSlot?: IButton[];
|
|
18
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ComponentRender } from '../zd-component/component-render';
|
|
2
|
-
import { IBadge, IBadgeEvents } from './interfaces';
|
|
3
|
-
/**
|
|
4
|
-
* Base class for Badge component.
|
|
5
|
-
*/
|
|
6
|
-
export declare class Badge extends ComponentRender implements IBadge {
|
|
7
|
-
/**
|
|
8
|
-
* Wrap a number to badge
|
|
9
|
-
*/
|
|
10
|
-
badge: number;
|
|
11
|
-
/**
|
|
12
|
-
* Events registered to the badge
|
|
13
|
-
*/
|
|
14
|
-
events: IBadgeEvents;
|
|
15
|
-
/**
|
|
16
|
-
* Highlight information to a user or to just draw attention
|
|
17
|
-
*/
|
|
18
|
-
showBadgeCounter: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Create a new Badge
|
|
21
|
-
* @param props Badge definition
|
|
22
|
-
*/
|
|
23
|
-
constructor(props: IBadge);
|
|
24
|
-
/**
|
|
25
|
-
* Returns a string with the badge counter
|
|
26
|
-
*/
|
|
27
|
-
getBadgeText(): string;
|
|
28
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { IEventParam } from '@zeedhi/core';
|
|
2
|
-
import { IComponentEvents, IComponentRender } from '../zd-component/interfaces';
|
|
3
|
-
import { Badge } from './badge';
|
|
4
|
-
export type IBadgeEvent = IEventParam<Badge>;
|
|
5
|
-
export type IBadgeEvents = IComponentEvents<IBadgeEvent>;
|
|
6
|
-
export interface IBadge extends IComponentRender {
|
|
7
|
-
badge?: number;
|
|
8
|
-
events?: IBadgeEvents;
|
|
9
|
-
showBadgeCounter?: boolean;
|
|
10
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { ComponentRender } from '../zd-component/component-render';
|
|
2
|
-
import { IBreadcrumbs, IBreadcrumbsItem } from './interfaces';
|
|
3
|
-
/**
|
|
4
|
-
* Base class for Breadcrumbs component.
|
|
5
|
-
*/
|
|
6
|
-
export declare class Breadcrumbs extends ComponentRender implements IBreadcrumbs {
|
|
7
|
-
/**
|
|
8
|
-
* Specifies the dividing string between items.
|
|
9
|
-
*/
|
|
10
|
-
divider: string;
|
|
11
|
-
/**
|
|
12
|
-
* Array of objects for each breadcrumb.
|
|
13
|
-
*/
|
|
14
|
-
items: IBreadcrumbsItem[];
|
|
15
|
-
/**
|
|
16
|
-
* Defines the divider icon name.
|
|
17
|
-
*/
|
|
18
|
-
iconName: string;
|
|
19
|
-
/**
|
|
20
|
-
* Increase the font-size of the breadcrumb item text to 16px.
|
|
21
|
-
*/
|
|
22
|
-
large: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Decrease the font-size of the breadcrumb item text to 12px.
|
|
25
|
-
*/
|
|
26
|
-
small: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Create a new Breadcrumbs
|
|
29
|
-
* @param props Breadcrumbs definition
|
|
30
|
-
*/
|
|
31
|
-
constructor(props: IBreadcrumbs);
|
|
32
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { IComponentRender } from '../zd-component/interfaces';
|
|
2
|
-
export interface IBreadcrumbs extends IComponentRender {
|
|
3
|
-
dark?: boolean;
|
|
4
|
-
divider?: string;
|
|
5
|
-
iconName?: string;
|
|
6
|
-
items?: IBreadcrumbsItem[];
|
|
7
|
-
large?: boolean;
|
|
8
|
-
light?: boolean;
|
|
9
|
-
small?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export interface IBreadcrumbsItem {
|
|
12
|
-
activeClass?: string;
|
|
13
|
-
append?: boolean;
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
exact?: boolean;
|
|
16
|
-
exactActiveClass?: string;
|
|
17
|
-
href?: string | object;
|
|
18
|
-
link?: boolean;
|
|
19
|
-
replace?: boolean;
|
|
20
|
-
ripple?: boolean | object;
|
|
21
|
-
text?: string | number;
|
|
22
|
-
to?: string | object;
|
|
23
|
-
title?: string;
|
|
24
|
-
}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { ComponentRender } from '../zd-component/component-render';
|
|
2
|
-
import { IButton, IButtonEvents } from './interfaces';
|
|
3
|
-
/**
|
|
4
|
-
* Base class for Button component.
|
|
5
|
-
*/
|
|
6
|
-
export declare class Button extends ComponentRender implements IButton {
|
|
7
|
-
absolute: boolean;
|
|
8
|
-
block: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* Aligns the button towards the bottom.
|
|
11
|
-
* This should be used with the absolute or fixed props
|
|
12
|
-
*/
|
|
13
|
-
bottom: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Applies specified color to the control.
|
|
16
|
-
* It can be the name of material or css color in hexa
|
|
17
|
-
*/
|
|
18
|
-
color: string;
|
|
19
|
-
disabled: boolean;
|
|
20
|
-
events: IButtonEvents;
|
|
21
|
-
fab: boolean;
|
|
22
|
-
fixed: boolean;
|
|
23
|
-
flat: boolean;
|
|
24
|
-
href: string;
|
|
25
|
-
icon: boolean;
|
|
26
|
-
iconName: string;
|
|
27
|
-
label: string;
|
|
28
|
-
large: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Aligns the button towards the left.
|
|
31
|
-
* This should be used with the absolute or fixed props
|
|
32
|
-
*/
|
|
33
|
-
left: boolean;
|
|
34
|
-
outline: boolean;
|
|
35
|
-
reverse: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Aligns the button towards the right.
|
|
38
|
-
* This should be used with the absolute or fixed props
|
|
39
|
-
*/
|
|
40
|
-
right: boolean;
|
|
41
|
-
round: string | number | boolean;
|
|
42
|
-
small: boolean;
|
|
43
|
-
target: string;
|
|
44
|
-
tile: boolean;
|
|
45
|
-
to: string;
|
|
46
|
-
/**
|
|
47
|
-
* Aligns the content towards the top.
|
|
48
|
-
* This should be used with the absolute or fixed props
|
|
49
|
-
*/
|
|
50
|
-
top: boolean;
|
|
51
|
-
type: string;
|
|
52
|
-
/**
|
|
53
|
-
* Sets the width for the card.
|
|
54
|
-
* Possible values for width can be 'auto', '100%', '400px' or 400
|
|
55
|
-
*/
|
|
56
|
-
width: number | string;
|
|
57
|
-
active?: boolean;
|
|
58
|
-
appendIcon?: string;
|
|
59
|
-
border: string | number | boolean;
|
|
60
|
-
/**
|
|
61
|
-
* Adjusts the vertical height of the component
|
|
62
|
-
* Possible values: 'default', 'comfortable' and 'compact'
|
|
63
|
-
*/
|
|
64
|
-
density: 'default' | 'comfortable' | 'compact';
|
|
65
|
-
elevation?: string | number;
|
|
66
|
-
loading: string | boolean;
|
|
67
|
-
/**
|
|
68
|
-
* Defines the position of the component.
|
|
69
|
-
* Possible values: 'relative' | 'absolute' | 'static' | 'fixed' | 'sticky'
|
|
70
|
-
*/
|
|
71
|
-
position?: 'relative' | 'absolute' | 'static' | 'fixed' | 'sticky';
|
|
72
|
-
prependIcon?: string;
|
|
73
|
-
replace: boolean;
|
|
74
|
-
ripple: boolean;
|
|
75
|
-
selectedClass?: string;
|
|
76
|
-
/**
|
|
77
|
-
* Defines the height and width of the component
|
|
78
|
-
* Possible values: x-small, small, default, large, and x-large
|
|
79
|
-
*/
|
|
80
|
-
size?: 'x-small' | 'small' | 'default' | 'large' | 'x-large';
|
|
81
|
-
stacked: boolean;
|
|
82
|
-
tag?: string;
|
|
83
|
-
variant?: 'text' | 'flat' | 'elevated' | 'tonal' | 'outlined' | 'plain';
|
|
84
|
-
/**
|
|
85
|
-
* Create a new Button
|
|
86
|
-
* @param props Button definition
|
|
87
|
-
*/
|
|
88
|
-
constructor(props: IButton);
|
|
89
|
-
}
|