@zeedhi/common 1.129.0 → 1.129.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/zd-common.esm.js +98 -96
- package/dist/zd-common.umd.js +95 -93
- package/package.json +2 -2
- package/types/index.d.ts +1 -1
- package/types/services/zd-json-cache/json-cache-service.d.ts +12 -0
- package/types/utils/combine-urls/combine-urls.d.ts +2 -0
- package/types/utils/combine-urls/index.d.ts +1 -0
- package/types/utils/index.d.ts +2 -2
- 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
|
@@ -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
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { IEventParam } from '@zeedhi/core';
|
|
2
|
-
import { IComponentEvents, IComponentRender } from '../zd-component/interfaces';
|
|
3
|
-
import { Button } from './button';
|
|
4
|
-
export type IButtonEvent = IEventParam<Button>;
|
|
5
|
-
export type IButtonEvents = IComponentEvents<IButtonEvent>;
|
|
6
|
-
export interface IButton extends IComponentRender {
|
|
7
|
-
absolute?: boolean;
|
|
8
|
-
block?: boolean;
|
|
9
|
-
bottom?: boolean;
|
|
10
|
-
color?: string;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
events?: IButtonEvents;
|
|
13
|
-
fab?: boolean;
|
|
14
|
-
fixed?: boolean;
|
|
15
|
-
flat?: boolean;
|
|
16
|
-
href?: string;
|
|
17
|
-
icon?: boolean;
|
|
18
|
-
iconName?: string;
|
|
19
|
-
label?: string;
|
|
20
|
-
large?: boolean;
|
|
21
|
-
left?: boolean;
|
|
22
|
-
outline?: boolean;
|
|
23
|
-
reverse?: boolean;
|
|
24
|
-
right?: boolean;
|
|
25
|
-
round?: string | number | boolean;
|
|
26
|
-
small?: boolean;
|
|
27
|
-
target?: string;
|
|
28
|
-
tile?: boolean;
|
|
29
|
-
to?: string;
|
|
30
|
-
top?: boolean;
|
|
31
|
-
type?: string;
|
|
32
|
-
width?: number | string;
|
|
33
|
-
active?: boolean;
|
|
34
|
-
appendIcon?: string;
|
|
35
|
-
border?: string | number | boolean;
|
|
36
|
-
density?: 'default' | 'comfortable' | 'compact';
|
|
37
|
-
elevation?: string | number;
|
|
38
|
-
loading?: boolean | string;
|
|
39
|
-
position?: 'relative' | 'absolute' | 'static' | 'fixed' | 'sticky';
|
|
40
|
-
prependIcon?: string;
|
|
41
|
-
replace?: boolean;
|
|
42
|
-
ripple?: boolean;
|
|
43
|
-
selectedClass?: string;
|
|
44
|
-
size?: 'x-small' | 'small' | 'default' | 'large' | 'x-large';
|
|
45
|
-
stacked?: boolean;
|
|
46
|
-
tag?: string;
|
|
47
|
-
variant?: 'text' | 'flat' | 'elevated' | 'tonal' | 'outlined' | 'plain';
|
|
48
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { ComponentRender } from '../zd-component/component-render';
|
|
2
|
-
import { IButtonGroup } from './interfaces';
|
|
3
|
-
/**
|
|
4
|
-
* Base class for Button Group component.
|
|
5
|
-
*/
|
|
6
|
-
export declare class ButtonGroup extends ComponentRender implements IButtonGroup {
|
|
7
|
-
/**
|
|
8
|
-
* Changes the background-color for the component.
|
|
9
|
-
*/
|
|
10
|
-
backgroundColor: string;
|
|
11
|
-
/**
|
|
12
|
-
* Removes the group's border.
|
|
13
|
-
*/
|
|
14
|
-
borderless: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Applies specified color to the control.
|
|
17
|
-
* It can be the name of material or css color in hexa
|
|
18
|
-
*/
|
|
19
|
-
color: string;
|
|
20
|
-
/**
|
|
21
|
-
* Reduces the button size and padding.
|
|
22
|
-
*/
|
|
23
|
-
dense: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Applies mandatory selected button
|
|
26
|
-
*/
|
|
27
|
-
mandatory: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* The multiple prop will allow a user to select multiple
|
|
30
|
-
* return values as an array.
|
|
31
|
-
*/
|
|
32
|
-
multiple: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Round edge buttons
|
|
35
|
-
*/
|
|
36
|
-
rounded: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Applies a large border radius on the top left and
|
|
39
|
-
* bottom right of the card.
|
|
40
|
-
*/
|
|
41
|
-
shaped: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Specify a custom tag used on the root element.
|
|
44
|
-
*/
|
|
45
|
-
tag: string;
|
|
46
|
-
/**
|
|
47
|
-
* Removes the component's border-radius.
|
|
48
|
-
*/
|
|
49
|
-
tile: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* Buttons selected.
|
|
52
|
-
*/
|
|
53
|
-
selectedButtons: number | string | number[] | null;
|
|
54
|
-
large: boolean;
|
|
55
|
-
small: boolean;
|
|
56
|
-
/**
|
|
57
|
-
* Create a new ButtonGroup
|
|
58
|
-
* @param props ButtonGroup definition
|
|
59
|
-
*/
|
|
60
|
-
constructor(props: IButtonGroup);
|
|
61
|
-
/**
|
|
62
|
-
* Triggered when the input value changes.
|
|
63
|
-
* @param event DOM event
|
|
64
|
-
* @param element Element clicked
|
|
65
|
-
*/
|
|
66
|
-
change(event?: Event, element?: any): void;
|
|
67
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { IEventParam } from '@zeedhi/core';
|
|
2
|
-
import { IButton } from '../zd-button/interfaces';
|
|
3
|
-
import { EventDef, IComponentEvents, IComponentRender } from '../zd-component/interfaces';
|
|
4
|
-
import { ButtonGroup } from './button-group';
|
|
5
|
-
export type IButtonGroupEvent = IEventParam<ButtonGroup>;
|
|
6
|
-
export interface IButtonGroupEvents<T = IEventParam<any>> extends IComponentEvents<T> {
|
|
7
|
-
change?: EventDef<T>;
|
|
8
|
-
}
|
|
9
|
-
export interface IButtonGroup extends IComponentRender {
|
|
10
|
-
children?: IButton[];
|
|
11
|
-
backgroundColor?: string;
|
|
12
|
-
borderless?: boolean;
|
|
13
|
-
color?: string;
|
|
14
|
-
dense?: boolean;
|
|
15
|
-
events?: IButtonGroupEvents;
|
|
16
|
-
mandatory?: boolean;
|
|
17
|
-
multiple?: boolean;
|
|
18
|
-
rounded?: boolean;
|
|
19
|
-
shaped?: boolean;
|
|
20
|
-
large?: boolean;
|
|
21
|
-
small?: boolean;
|
|
22
|
-
tag?: string;
|
|
23
|
-
tile?: boolean;
|
|
24
|
-
selectedButtons?: number | string | number[] | null;
|
|
25
|
-
}
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import { ComponentRender } from '../zd-component/component-render';
|
|
2
|
-
import { ICard, ICardEvents } from './interfaces';
|
|
3
|
-
/**
|
|
4
|
-
* Base class for Card component.
|
|
5
|
-
*/
|
|
6
|
-
export declare class Card extends ComponentRender implements ICard {
|
|
7
|
-
/**
|
|
8
|
-
* Configure the active CSS class applied when the link is active
|
|
9
|
-
*/
|
|
10
|
-
activeClass: string;
|
|
11
|
-
/**
|
|
12
|
-
* Setting append prop always appends the relative path to the current path
|
|
13
|
-
*/
|
|
14
|
-
append: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Applies specified color to the control. It can be the name of material color
|
|
17
|
-
*/
|
|
18
|
-
color: string;
|
|
19
|
-
/**
|
|
20
|
-
* Removes the ability to click or target the component
|
|
21
|
-
*/
|
|
22
|
-
disabled: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Designates an elevation applied to the card between 0 and 24
|
|
25
|
-
*/
|
|
26
|
-
elevation?: number | string;
|
|
27
|
-
/**
|
|
28
|
-
* Events registered to the card
|
|
29
|
-
*/
|
|
30
|
-
events: ICardEvents;
|
|
31
|
-
/**
|
|
32
|
-
* Removes the card's elevation
|
|
33
|
-
*/
|
|
34
|
-
flat: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Sets the height for the card.
|
|
37
|
-
* Possible values for height can be 'auto', '100%', '400px' or 400
|
|
38
|
-
*/
|
|
39
|
-
height?: number | string;
|
|
40
|
-
/**
|
|
41
|
-
* Will apply an elevation of 6dp when hovered
|
|
42
|
-
*/
|
|
43
|
-
hover: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* Designates the component as anchor and applies the href attribute
|
|
46
|
-
*/
|
|
47
|
-
href?: string;
|
|
48
|
-
/**
|
|
49
|
-
* Specifies an image background for the card
|
|
50
|
-
*/
|
|
51
|
-
img: string;
|
|
52
|
-
/**
|
|
53
|
-
* Designates that the card is a link
|
|
54
|
-
*/
|
|
55
|
-
link: boolean;
|
|
56
|
-
/**
|
|
57
|
-
* Sets the maximum height for the card.
|
|
58
|
-
* Possible values for width can be 'auto', '100%', '400px' or 400
|
|
59
|
-
*/
|
|
60
|
-
maxHeight: number | string;
|
|
61
|
-
/**
|
|
62
|
-
* Sets the maximum width for the card.
|
|
63
|
-
* Possible values for width can be 'auto', '100%', '400px' or 400
|
|
64
|
-
*/
|
|
65
|
-
maxWidth: number | string;
|
|
66
|
-
/**
|
|
67
|
-
* Sets the minimum height for the card.
|
|
68
|
-
* Possible values for width can be 'auto', '100%', '400px' or 400
|
|
69
|
-
*/
|
|
70
|
-
minHeight: number | string;
|
|
71
|
-
/**
|
|
72
|
-
* Sets the minimum width for the card.
|
|
73
|
-
* Possible values for width can be 'auto', '100%', '400px' or 400
|
|
74
|
-
*/
|
|
75
|
-
minWidth: number | string;
|
|
76
|
-
/**
|
|
77
|
-
* Removes card elevation shadow and adds a thin border
|
|
78
|
-
*/
|
|
79
|
-
outlined: boolean;
|
|
80
|
-
/**
|
|
81
|
-
* Specifies a higher default elevation (16dp)
|
|
82
|
-
*/
|
|
83
|
-
raised: boolean;
|
|
84
|
-
/**
|
|
85
|
-
* Apply the ripple effect to show action from a user
|
|
86
|
-
*/
|
|
87
|
-
ripple: boolean;
|
|
88
|
-
/**
|
|
89
|
-
* Removes the component's border-radius
|
|
90
|
-
*/
|
|
91
|
-
tile: boolean;
|
|
92
|
-
/**
|
|
93
|
-
* Designates the component as anchor and applies the router.to attribute
|
|
94
|
-
*/
|
|
95
|
-
to?: string;
|
|
96
|
-
/**
|
|
97
|
-
* Sets the width for the card.
|
|
98
|
-
* Possible values for width can be 'auto', '100%', '400px' or 400
|
|
99
|
-
*/
|
|
100
|
-
width?: number | string;
|
|
101
|
-
/**
|
|
102
|
-
* Applies border style to component
|
|
103
|
-
*/
|
|
104
|
-
border: string | number | boolean;
|
|
105
|
-
/**
|
|
106
|
-
* Adjusts the vertical height of the component
|
|
107
|
-
* Possible values: 'default', 'comfortable' and 'compact'
|
|
108
|
-
*/
|
|
109
|
-
density: 'default' | 'comfortable' | 'compact';
|
|
110
|
-
/**
|
|
111
|
-
* Displays the loading progress bar
|
|
112
|
-
*/
|
|
113
|
-
loading: string | boolean;
|
|
114
|
-
/**
|
|
115
|
-
* Defines the position of the component.
|
|
116
|
-
* Possible values: 'relative' | 'absolute' | 'static' | 'fixed' | 'sticky'
|
|
117
|
-
*/
|
|
118
|
-
position?: 'relative' | 'absolute' | 'static' | 'fixed' | 'sticky';
|
|
119
|
-
/**
|
|
120
|
-
* Defines if the component will call router.replace() or router.push()
|
|
121
|
-
*/
|
|
122
|
-
replace: boolean;
|
|
123
|
-
/**
|
|
124
|
-
* Applies a large border radius on the button
|
|
125
|
-
*/
|
|
126
|
-
round: string | number | boolean;
|
|
127
|
-
/**
|
|
128
|
-
* Defines card subtitle
|
|
129
|
-
*/
|
|
130
|
-
subtitle?: string;
|
|
131
|
-
/**
|
|
132
|
-
* Root element tag
|
|
133
|
-
*/
|
|
134
|
-
tag?: string;
|
|
135
|
-
/**
|
|
136
|
-
* Defines card text
|
|
137
|
-
*/
|
|
138
|
-
text?: string;
|
|
139
|
-
/**
|
|
140
|
-
* Defines card title
|
|
141
|
-
*/
|
|
142
|
-
title?: string;
|
|
143
|
-
/**
|
|
144
|
-
* Applies style to component
|
|
145
|
-
*/
|
|
146
|
-
variant?: 'text' | 'flat' | 'elevated' | 'tonal' | 'outlined' | 'plain';
|
|
147
|
-
/**
|
|
148
|
-
* Creates a new Card.
|
|
149
|
-
* @param props Card properties
|
|
150
|
-
*/
|
|
151
|
-
constructor(props: ICard);
|
|
152
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { IEventParam } from '@zeedhi/core';
|
|
2
|
-
import { IComponentEvents, IComponentRender } from '../zd-component/interfaces';
|
|
3
|
-
import { Card } from './card';
|
|
4
|
-
export type ICardEvent = IEventParam<Card>;
|
|
5
|
-
export type ICardEvents = IComponentEvents<ICardEvent>;
|
|
6
|
-
export interface ICard extends IComponentRender {
|
|
7
|
-
activeClass?: string;
|
|
8
|
-
append?: boolean;
|
|
9
|
-
color?: string;
|
|
10
|
-
elevation?: number | string;
|
|
11
|
-
events?: ICardEvents;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
flat?: boolean;
|
|
14
|
-
hover?: boolean;
|
|
15
|
-
href?: string;
|
|
16
|
-
img?: string;
|
|
17
|
-
link?: boolean;
|
|
18
|
-
outlined?: boolean;
|
|
19
|
-
raised?: boolean;
|
|
20
|
-
ripple?: boolean;
|
|
21
|
-
tile?: boolean;
|
|
22
|
-
to?: string;
|
|
23
|
-
height?: number | string;
|
|
24
|
-
maxHeight?: number | string;
|
|
25
|
-
minHeight?: number | string;
|
|
26
|
-
width?: number | string;
|
|
27
|
-
maxWidth?: number | string;
|
|
28
|
-
minWidth?: number | string;
|
|
29
|
-
border?: string | number | boolean;
|
|
30
|
-
density?: 'default' | 'comfortable' | 'compact';
|
|
31
|
-
loading?: boolean | string;
|
|
32
|
-
position?: 'relative' | 'absolute' | 'static' | 'fixed' | 'sticky';
|
|
33
|
-
replace?: boolean;
|
|
34
|
-
round?: string | number | boolean;
|
|
35
|
-
subtitle?: string;
|
|
36
|
-
tag?: string;
|
|
37
|
-
text?: string;
|
|
38
|
-
title?: string;
|
|
39
|
-
variant?: 'text' | 'flat' | 'elevated' | 'tonal' | 'outlined' | 'plain';
|
|
40
|
-
}
|