@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
package/dist/zd-common.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessorManager, Event, KeyMap, MethodNotAssignedError, Metadata, Accessor, I18n, FormatterParserProvider, Validation, Mask, DatasourceFactory, Loader, Config, dayjs, Utils, DateHelper, Router, Messages, InstanceNotFoundError, ViewService, URL
|
|
1
|
+
import { AccessorManager, Event, KeyMap, MethodNotAssignedError, Metadata, Accessor, I18n, FormatterParserProvider, Validation, Mask, DatasourceFactory, Loader, Config, dayjs, Utils, DateHelper, Router, Messages, InstanceNotFoundError, ViewService, URL, Http, Cookie, VersionService } from '@zeedhi/core';
|
|
2
2
|
import merge from 'lodash.merge';
|
|
3
3
|
import cloneDeep from 'lodash.clonedeep';
|
|
4
4
|
import debounce from 'lodash.debounce';
|
|
@@ -8124,6 +8124,97 @@ class IterablePageComponent extends ComponentRender {
|
|
|
8124
8124
|
}
|
|
8125
8125
|
}
|
|
8126
8126
|
|
|
8127
|
+
class DataValueOutHelper {
|
|
8128
|
+
static getFormParent(select) {
|
|
8129
|
+
let { formParent } = select;
|
|
8130
|
+
if (select.dataValueOutFormName) {
|
|
8131
|
+
try {
|
|
8132
|
+
formParent = Metadata.getInstance(select.dataValueOutFormName);
|
|
8133
|
+
}
|
|
8134
|
+
catch (error) {
|
|
8135
|
+
// instance not found, use input.formParent
|
|
8136
|
+
}
|
|
8137
|
+
}
|
|
8138
|
+
return formParent;
|
|
8139
|
+
}
|
|
8140
|
+
static setDataValueOut(select, value) {
|
|
8141
|
+
const { dataValueOut } = select;
|
|
8142
|
+
if (dataValueOut && dataValueOut.length && typeof value === 'object') {
|
|
8143
|
+
const formParent = DataValueOutHelper.getFormParent(select);
|
|
8144
|
+
if (formParent) {
|
|
8145
|
+
dataValueOut.forEach((columns) => {
|
|
8146
|
+
const { column, columnOnForm } = columns;
|
|
8147
|
+
if (!column || !columnOnForm)
|
|
8148
|
+
return;
|
|
8149
|
+
const currentValue = value ? value[column] : null;
|
|
8150
|
+
if (!Utils.isEqual(formParent.value[columnOnForm], currentValue)) {
|
|
8151
|
+
formParent.value[columnOnForm] = currentValue;
|
|
8152
|
+
}
|
|
8153
|
+
});
|
|
8154
|
+
}
|
|
8155
|
+
}
|
|
8156
|
+
}
|
|
8157
|
+
}
|
|
8158
|
+
|
|
8159
|
+
class DatasourceSearcher {
|
|
8160
|
+
constructor() {
|
|
8161
|
+
this.dsSearch = {
|
|
8162
|
+
SEARCH: (value, searchIn) => ({
|
|
8163
|
+
searchIn: [searchIn],
|
|
8164
|
+
search: String(value || ''),
|
|
8165
|
+
}),
|
|
8166
|
+
FILTER: (value, searchIn) => ({
|
|
8167
|
+
filter: {
|
|
8168
|
+
[searchIn]: value,
|
|
8169
|
+
},
|
|
8170
|
+
}),
|
|
8171
|
+
FIND: (value, searchIn) => ({
|
|
8172
|
+
find: {
|
|
8173
|
+
[searchIn]: value,
|
|
8174
|
+
},
|
|
8175
|
+
}),
|
|
8176
|
+
DYNAMIC_FILTER: (value, search_in) => {
|
|
8177
|
+
const arrayValue = Array.isArray(value) ? value : Array.of(value);
|
|
8178
|
+
const filter = arrayValue.map((item) => ({ operation: 'EQUALS', relation: 'OR', value: item }));
|
|
8179
|
+
const dynamicFilter = { [search_in]: filter };
|
|
8180
|
+
return { dynamicFilter };
|
|
8181
|
+
},
|
|
8182
|
+
};
|
|
8183
|
+
}
|
|
8184
|
+
search(datasource, searchValue, searchIn, searchParam) {
|
|
8185
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8186
|
+
// using filter/find/dynamicFilter should make only 1 request
|
|
8187
|
+
// using normal search should make one request per search value
|
|
8188
|
+
if (!Array.isArray(searchValue)) {
|
|
8189
|
+
return this.searchRequest(datasource, searchValue, searchIn, searchParam);
|
|
8190
|
+
}
|
|
8191
|
+
if (searchParam !== 'SEARCH') {
|
|
8192
|
+
const items = yield this.searchRequest(datasource, searchValue, searchIn, searchParam);
|
|
8193
|
+
return items;
|
|
8194
|
+
}
|
|
8195
|
+
const searchedItems = [];
|
|
8196
|
+
const promises = searchValue.map((value) => __awaiter(this, void 0, void 0, function* () {
|
|
8197
|
+
const [item] = yield this.searchRequest(datasource, value, searchIn, searchParam);
|
|
8198
|
+
searchedItems.push(item);
|
|
8199
|
+
}));
|
|
8200
|
+
yield Promise.all(promises);
|
|
8201
|
+
return searchedItems;
|
|
8202
|
+
});
|
|
8203
|
+
}
|
|
8204
|
+
searchRequest(datasource, searchValue, searchIn, searchParam) {
|
|
8205
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8206
|
+
const config = Object.assign(Object.assign(Object.assign({}, datasource.clone()), this.dsSearch[searchParam](searchValue, searchIn)), { lazyLoad: true, loadAll: Array.isArray(searchValue) });
|
|
8207
|
+
const cloneDatasource = DatasourceFactory.factory(config);
|
|
8208
|
+
const items = yield cloneDatasource.get();
|
|
8209
|
+
cloneDatasource.destroy();
|
|
8210
|
+
if (Array.isArray(searchValue)) {
|
|
8211
|
+
return items.filter((item) => searchValue.includes(item[searchIn]));
|
|
8212
|
+
}
|
|
8213
|
+
return items.filter((row) => row[searchIn] === searchValue);
|
|
8214
|
+
});
|
|
8215
|
+
}
|
|
8216
|
+
}
|
|
8217
|
+
|
|
8127
8218
|
class Icons {
|
|
8128
8219
|
/**
|
|
8129
8220
|
* Replace all the icons
|
|
@@ -8469,10 +8560,10 @@ class WatchURL {
|
|
|
8469
8560
|
const query = Router.getQuery();
|
|
8470
8561
|
if (!(query[param] == null && value == null) && query[param] !== value) {
|
|
8471
8562
|
if (value || typeof value === 'number') {
|
|
8472
|
-
URL
|
|
8563
|
+
URL.updateQueryString({ [param]: value }, replace);
|
|
8473
8564
|
}
|
|
8474
8565
|
else {
|
|
8475
|
-
URL
|
|
8566
|
+
URL.deleteQueryParam(param, replace);
|
|
8476
8567
|
}
|
|
8477
8568
|
}
|
|
8478
8569
|
}
|
|
@@ -9347,6 +9438,8 @@ class EmptyDataError extends Error {
|
|
|
9347
9438
|
}
|
|
9348
9439
|
}
|
|
9349
9440
|
|
|
9441
|
+
const combineURLs = (baseURL, relativeURL) => (`${baseURL.replace(/\/?$/, '')}/${relativeURL.replace(/^\/+/, '')}`);
|
|
9442
|
+
|
|
9350
9443
|
class Report {
|
|
9351
9444
|
constructor(iterable, title) {
|
|
9352
9445
|
this.endPoint = Config.reportsEndPoint;
|
|
@@ -9467,14 +9560,14 @@ class Report {
|
|
|
9467
9560
|
filter: JSON.stringify(row.filter),
|
|
9468
9561
|
metaData: JSON.stringify(row.metaData),
|
|
9469
9562
|
};
|
|
9470
|
-
const url =
|
|
9563
|
+
const url = combineURLs(this.endPoint, route);
|
|
9471
9564
|
const response = yield Http.post(url, {
|
|
9472
9565
|
origin,
|
|
9473
9566
|
requestType: 'Row',
|
|
9474
9567
|
row,
|
|
9475
9568
|
});
|
|
9476
9569
|
const reportFile = response.data.messages[0].message;
|
|
9477
|
-
return
|
|
9570
|
+
return combineURLs(this.fileEndPoint, reportFile);
|
|
9478
9571
|
});
|
|
9479
9572
|
}
|
|
9480
9573
|
}
|
|
@@ -9906,97 +9999,6 @@ class TreeDataStructure {
|
|
|
9906
9999
|
}
|
|
9907
10000
|
}
|
|
9908
10001
|
|
|
9909
|
-
class DataValueOutHelper {
|
|
9910
|
-
static getFormParent(select) {
|
|
9911
|
-
let { formParent } = select;
|
|
9912
|
-
if (select.dataValueOutFormName) {
|
|
9913
|
-
try {
|
|
9914
|
-
formParent = Metadata.getInstance(select.dataValueOutFormName);
|
|
9915
|
-
}
|
|
9916
|
-
catch (error) {
|
|
9917
|
-
// instance not found, use input.formParent
|
|
9918
|
-
}
|
|
9919
|
-
}
|
|
9920
|
-
return formParent;
|
|
9921
|
-
}
|
|
9922
|
-
static setDataValueOut(select, value) {
|
|
9923
|
-
const { dataValueOut } = select;
|
|
9924
|
-
if (dataValueOut && dataValueOut.length && typeof value === 'object') {
|
|
9925
|
-
const formParent = DataValueOutHelper.getFormParent(select);
|
|
9926
|
-
if (formParent) {
|
|
9927
|
-
dataValueOut.forEach((columns) => {
|
|
9928
|
-
const { column, columnOnForm } = columns;
|
|
9929
|
-
if (!column || !columnOnForm)
|
|
9930
|
-
return;
|
|
9931
|
-
const currentValue = value ? value[column] : null;
|
|
9932
|
-
if (!Utils.isEqual(formParent.value[columnOnForm], currentValue)) {
|
|
9933
|
-
formParent.value[columnOnForm] = currentValue;
|
|
9934
|
-
}
|
|
9935
|
-
});
|
|
9936
|
-
}
|
|
9937
|
-
}
|
|
9938
|
-
}
|
|
9939
|
-
}
|
|
9940
|
-
|
|
9941
|
-
class DatasourceSearcher {
|
|
9942
|
-
constructor() {
|
|
9943
|
-
this.dsSearch = {
|
|
9944
|
-
SEARCH: (value, searchIn) => ({
|
|
9945
|
-
searchIn: [searchIn],
|
|
9946
|
-
search: String(value || ''),
|
|
9947
|
-
}),
|
|
9948
|
-
FILTER: (value, searchIn) => ({
|
|
9949
|
-
filter: {
|
|
9950
|
-
[searchIn]: value,
|
|
9951
|
-
},
|
|
9952
|
-
}),
|
|
9953
|
-
FIND: (value, searchIn) => ({
|
|
9954
|
-
find: {
|
|
9955
|
-
[searchIn]: value,
|
|
9956
|
-
},
|
|
9957
|
-
}),
|
|
9958
|
-
DYNAMIC_FILTER: (value, search_in) => {
|
|
9959
|
-
const arrayValue = Array.isArray(value) ? value : Array.of(value);
|
|
9960
|
-
const filter = arrayValue.map((item) => ({ operation: 'EQUALS', relation: 'OR', value: item }));
|
|
9961
|
-
const dynamicFilter = { [search_in]: filter };
|
|
9962
|
-
return { dynamicFilter };
|
|
9963
|
-
},
|
|
9964
|
-
};
|
|
9965
|
-
}
|
|
9966
|
-
search(datasource, searchValue, searchIn, searchParam) {
|
|
9967
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
9968
|
-
// using filter/find/dynamicFilter should make only 1 request
|
|
9969
|
-
// using normal search should make one request per search value
|
|
9970
|
-
if (!Array.isArray(searchValue)) {
|
|
9971
|
-
return this.searchRequest(datasource, searchValue, searchIn, searchParam);
|
|
9972
|
-
}
|
|
9973
|
-
if (searchParam !== 'SEARCH') {
|
|
9974
|
-
const items = yield this.searchRequest(datasource, searchValue, searchIn, searchParam);
|
|
9975
|
-
return items;
|
|
9976
|
-
}
|
|
9977
|
-
const searchedItems = [];
|
|
9978
|
-
const promises = searchValue.map((value) => __awaiter(this, void 0, void 0, function* () {
|
|
9979
|
-
const [item] = yield this.searchRequest(datasource, value, searchIn, searchParam);
|
|
9980
|
-
searchedItems.push(item);
|
|
9981
|
-
}));
|
|
9982
|
-
yield Promise.all(promises);
|
|
9983
|
-
return searchedItems;
|
|
9984
|
-
});
|
|
9985
|
-
}
|
|
9986
|
-
searchRequest(datasource, searchValue, searchIn, searchParam) {
|
|
9987
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
9988
|
-
const config = Object.assign(Object.assign(Object.assign({}, datasource.clone()), this.dsSearch[searchParam](searchValue, searchIn)), { lazyLoad: true, loadAll: Array.isArray(searchValue) });
|
|
9989
|
-
const cloneDatasource = DatasourceFactory.factory(config);
|
|
9990
|
-
const items = yield cloneDatasource.get();
|
|
9991
|
-
cloneDatasource.destroy();
|
|
9992
|
-
if (Array.isArray(searchValue)) {
|
|
9993
|
-
return items.filter((item) => searchValue.includes(item[searchIn]));
|
|
9994
|
-
}
|
|
9995
|
-
return items.filter((row) => row[searchIn] === searchValue);
|
|
9996
|
-
});
|
|
9997
|
-
}
|
|
9998
|
-
}
|
|
9999
|
-
|
|
10000
10002
|
const uniqueBy = (a, key) => {
|
|
10001
10003
|
const seen = {};
|
|
10002
10004
|
return a.filter((item) => {
|
package/dist/zd-common.umd.js
CHANGED
|
@@ -8131,6 +8131,97 @@
|
|
|
8131
8131
|
}
|
|
8132
8132
|
}
|
|
8133
8133
|
|
|
8134
|
+
class DataValueOutHelper {
|
|
8135
|
+
static getFormParent(select) {
|
|
8136
|
+
let { formParent } = select;
|
|
8137
|
+
if (select.dataValueOutFormName) {
|
|
8138
|
+
try {
|
|
8139
|
+
formParent = core.Metadata.getInstance(select.dataValueOutFormName);
|
|
8140
|
+
}
|
|
8141
|
+
catch (error) {
|
|
8142
|
+
// instance not found, use input.formParent
|
|
8143
|
+
}
|
|
8144
|
+
}
|
|
8145
|
+
return formParent;
|
|
8146
|
+
}
|
|
8147
|
+
static setDataValueOut(select, value) {
|
|
8148
|
+
const { dataValueOut } = select;
|
|
8149
|
+
if (dataValueOut && dataValueOut.length && typeof value === 'object') {
|
|
8150
|
+
const formParent = DataValueOutHelper.getFormParent(select);
|
|
8151
|
+
if (formParent) {
|
|
8152
|
+
dataValueOut.forEach((columns) => {
|
|
8153
|
+
const { column, columnOnForm } = columns;
|
|
8154
|
+
if (!column || !columnOnForm)
|
|
8155
|
+
return;
|
|
8156
|
+
const currentValue = value ? value[column] : null;
|
|
8157
|
+
if (!core.Utils.isEqual(formParent.value[columnOnForm], currentValue)) {
|
|
8158
|
+
formParent.value[columnOnForm] = currentValue;
|
|
8159
|
+
}
|
|
8160
|
+
});
|
|
8161
|
+
}
|
|
8162
|
+
}
|
|
8163
|
+
}
|
|
8164
|
+
}
|
|
8165
|
+
|
|
8166
|
+
class DatasourceSearcher {
|
|
8167
|
+
constructor() {
|
|
8168
|
+
this.dsSearch = {
|
|
8169
|
+
SEARCH: (value, searchIn) => ({
|
|
8170
|
+
searchIn: [searchIn],
|
|
8171
|
+
search: String(value || ''),
|
|
8172
|
+
}),
|
|
8173
|
+
FILTER: (value, searchIn) => ({
|
|
8174
|
+
filter: {
|
|
8175
|
+
[searchIn]: value,
|
|
8176
|
+
},
|
|
8177
|
+
}),
|
|
8178
|
+
FIND: (value, searchIn) => ({
|
|
8179
|
+
find: {
|
|
8180
|
+
[searchIn]: value,
|
|
8181
|
+
},
|
|
8182
|
+
}),
|
|
8183
|
+
DYNAMIC_FILTER: (value, search_in) => {
|
|
8184
|
+
const arrayValue = Array.isArray(value) ? value : Array.of(value);
|
|
8185
|
+
const filter = arrayValue.map((item) => ({ operation: 'EQUALS', relation: 'OR', value: item }));
|
|
8186
|
+
const dynamicFilter = { [search_in]: filter };
|
|
8187
|
+
return { dynamicFilter };
|
|
8188
|
+
},
|
|
8189
|
+
};
|
|
8190
|
+
}
|
|
8191
|
+
search(datasource, searchValue, searchIn, searchParam) {
|
|
8192
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8193
|
+
// using filter/find/dynamicFilter should make only 1 request
|
|
8194
|
+
// using normal search should make one request per search value
|
|
8195
|
+
if (!Array.isArray(searchValue)) {
|
|
8196
|
+
return this.searchRequest(datasource, searchValue, searchIn, searchParam);
|
|
8197
|
+
}
|
|
8198
|
+
if (searchParam !== 'SEARCH') {
|
|
8199
|
+
const items = yield this.searchRequest(datasource, searchValue, searchIn, searchParam);
|
|
8200
|
+
return items;
|
|
8201
|
+
}
|
|
8202
|
+
const searchedItems = [];
|
|
8203
|
+
const promises = searchValue.map((value) => __awaiter(this, void 0, void 0, function* () {
|
|
8204
|
+
const [item] = yield this.searchRequest(datasource, value, searchIn, searchParam);
|
|
8205
|
+
searchedItems.push(item);
|
|
8206
|
+
}));
|
|
8207
|
+
yield Promise.all(promises);
|
|
8208
|
+
return searchedItems;
|
|
8209
|
+
});
|
|
8210
|
+
}
|
|
8211
|
+
searchRequest(datasource, searchValue, searchIn, searchParam) {
|
|
8212
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8213
|
+
const config = Object.assign(Object.assign(Object.assign({}, datasource.clone()), this.dsSearch[searchParam](searchValue, searchIn)), { lazyLoad: true, loadAll: Array.isArray(searchValue) });
|
|
8214
|
+
const cloneDatasource = core.DatasourceFactory.factory(config);
|
|
8215
|
+
const items = yield cloneDatasource.get();
|
|
8216
|
+
cloneDatasource.destroy();
|
|
8217
|
+
if (Array.isArray(searchValue)) {
|
|
8218
|
+
return items.filter((item) => searchValue.includes(item[searchIn]));
|
|
8219
|
+
}
|
|
8220
|
+
return items.filter((row) => row[searchIn] === searchValue);
|
|
8221
|
+
});
|
|
8222
|
+
}
|
|
8223
|
+
}
|
|
8224
|
+
|
|
8134
8225
|
class Icons {
|
|
8135
8226
|
/**
|
|
8136
8227
|
* Replace all the icons
|
|
@@ -9354,6 +9445,8 @@
|
|
|
9354
9445
|
}
|
|
9355
9446
|
}
|
|
9356
9447
|
|
|
9448
|
+
const combineURLs = (baseURL, relativeURL) => (`${baseURL.replace(/\/?$/, '')}/${relativeURL.replace(/^\/+/, '')}`);
|
|
9449
|
+
|
|
9357
9450
|
class Report {
|
|
9358
9451
|
constructor(iterable, title) {
|
|
9359
9452
|
this.endPoint = core.Config.reportsEndPoint;
|
|
@@ -9474,14 +9567,14 @@
|
|
|
9474
9567
|
filter: JSON.stringify(row.filter),
|
|
9475
9568
|
metaData: JSON.stringify(row.metaData),
|
|
9476
9569
|
};
|
|
9477
|
-
const url =
|
|
9570
|
+
const url = combineURLs(this.endPoint, route);
|
|
9478
9571
|
const response = yield core.Http.post(url, {
|
|
9479
9572
|
origin,
|
|
9480
9573
|
requestType: 'Row',
|
|
9481
9574
|
row,
|
|
9482
9575
|
});
|
|
9483
9576
|
const reportFile = response.data.messages[0].message;
|
|
9484
|
-
return
|
|
9577
|
+
return combineURLs(this.fileEndPoint, reportFile);
|
|
9485
9578
|
});
|
|
9486
9579
|
}
|
|
9487
9580
|
}
|
|
@@ -9913,97 +10006,6 @@
|
|
|
9913
10006
|
}
|
|
9914
10007
|
}
|
|
9915
10008
|
|
|
9916
|
-
class DataValueOutHelper {
|
|
9917
|
-
static getFormParent(select) {
|
|
9918
|
-
let { formParent } = select;
|
|
9919
|
-
if (select.dataValueOutFormName) {
|
|
9920
|
-
try {
|
|
9921
|
-
formParent = core.Metadata.getInstance(select.dataValueOutFormName);
|
|
9922
|
-
}
|
|
9923
|
-
catch (error) {
|
|
9924
|
-
// instance not found, use input.formParent
|
|
9925
|
-
}
|
|
9926
|
-
}
|
|
9927
|
-
return formParent;
|
|
9928
|
-
}
|
|
9929
|
-
static setDataValueOut(select, value) {
|
|
9930
|
-
const { dataValueOut } = select;
|
|
9931
|
-
if (dataValueOut && dataValueOut.length && typeof value === 'object') {
|
|
9932
|
-
const formParent = DataValueOutHelper.getFormParent(select);
|
|
9933
|
-
if (formParent) {
|
|
9934
|
-
dataValueOut.forEach((columns) => {
|
|
9935
|
-
const { column, columnOnForm } = columns;
|
|
9936
|
-
if (!column || !columnOnForm)
|
|
9937
|
-
return;
|
|
9938
|
-
const currentValue = value ? value[column] : null;
|
|
9939
|
-
if (!core.Utils.isEqual(formParent.value[columnOnForm], currentValue)) {
|
|
9940
|
-
formParent.value[columnOnForm] = currentValue;
|
|
9941
|
-
}
|
|
9942
|
-
});
|
|
9943
|
-
}
|
|
9944
|
-
}
|
|
9945
|
-
}
|
|
9946
|
-
}
|
|
9947
|
-
|
|
9948
|
-
class DatasourceSearcher {
|
|
9949
|
-
constructor() {
|
|
9950
|
-
this.dsSearch = {
|
|
9951
|
-
SEARCH: (value, searchIn) => ({
|
|
9952
|
-
searchIn: [searchIn],
|
|
9953
|
-
search: String(value || ''),
|
|
9954
|
-
}),
|
|
9955
|
-
FILTER: (value, searchIn) => ({
|
|
9956
|
-
filter: {
|
|
9957
|
-
[searchIn]: value,
|
|
9958
|
-
},
|
|
9959
|
-
}),
|
|
9960
|
-
FIND: (value, searchIn) => ({
|
|
9961
|
-
find: {
|
|
9962
|
-
[searchIn]: value,
|
|
9963
|
-
},
|
|
9964
|
-
}),
|
|
9965
|
-
DYNAMIC_FILTER: (value, search_in) => {
|
|
9966
|
-
const arrayValue = Array.isArray(value) ? value : Array.of(value);
|
|
9967
|
-
const filter = arrayValue.map((item) => ({ operation: 'EQUALS', relation: 'OR', value: item }));
|
|
9968
|
-
const dynamicFilter = { [search_in]: filter };
|
|
9969
|
-
return { dynamicFilter };
|
|
9970
|
-
},
|
|
9971
|
-
};
|
|
9972
|
-
}
|
|
9973
|
-
search(datasource, searchValue, searchIn, searchParam) {
|
|
9974
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
9975
|
-
// using filter/find/dynamicFilter should make only 1 request
|
|
9976
|
-
// using normal search should make one request per search value
|
|
9977
|
-
if (!Array.isArray(searchValue)) {
|
|
9978
|
-
return this.searchRequest(datasource, searchValue, searchIn, searchParam);
|
|
9979
|
-
}
|
|
9980
|
-
if (searchParam !== 'SEARCH') {
|
|
9981
|
-
const items = yield this.searchRequest(datasource, searchValue, searchIn, searchParam);
|
|
9982
|
-
return items;
|
|
9983
|
-
}
|
|
9984
|
-
const searchedItems = [];
|
|
9985
|
-
const promises = searchValue.map((value) => __awaiter(this, void 0, void 0, function* () {
|
|
9986
|
-
const [item] = yield this.searchRequest(datasource, value, searchIn, searchParam);
|
|
9987
|
-
searchedItems.push(item);
|
|
9988
|
-
}));
|
|
9989
|
-
yield Promise.all(promises);
|
|
9990
|
-
return searchedItems;
|
|
9991
|
-
});
|
|
9992
|
-
}
|
|
9993
|
-
searchRequest(datasource, searchValue, searchIn, searchParam) {
|
|
9994
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
9995
|
-
const config = Object.assign(Object.assign(Object.assign({}, datasource.clone()), this.dsSearch[searchParam](searchValue, searchIn)), { lazyLoad: true, loadAll: Array.isArray(searchValue) });
|
|
9996
|
-
const cloneDatasource = core.DatasourceFactory.factory(config);
|
|
9997
|
-
const items = yield cloneDatasource.get();
|
|
9998
|
-
cloneDatasource.destroy();
|
|
9999
|
-
if (Array.isArray(searchValue)) {
|
|
10000
|
-
return items.filter((item) => searchValue.includes(item[searchIn]));
|
|
10001
|
-
}
|
|
10002
|
-
return items.filter((row) => row[searchIn] === searchValue);
|
|
10003
|
-
});
|
|
10004
|
-
}
|
|
10005
|
-
}
|
|
10006
|
-
|
|
10007
10009
|
const uniqueBy = (a, key) => {
|
|
10008
10010
|
const seen = {};
|
|
10009
10011
|
return a.filter((item) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeedhi/common",
|
|
3
|
-
"version": "1.129.
|
|
3
|
+
"version": "1.129.1",
|
|
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": "b4de3a5c269a1db7f656d9e5f3146f4e4091c172"
|
|
47
47
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './combine-urls';
|
package/types/utils/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
export * from './data-value-out';
|
|
2
|
+
export * from './datasource-searcher';
|
|
1
3
|
export * from './icons/icons';
|
|
2
4
|
export * from './themes/themes';
|
|
3
5
|
export * from './watch-url/watch-url';
|
|
4
6
|
export * from './report';
|
|
5
7
|
export * from './tree-data-structure';
|
|
6
|
-
export * from './data-value-out';
|
|
7
|
-
export * from './datasource-searcher';
|
|
8
8
|
export * from './unique-by';
|
|
@@ -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';
|