@wavemaker/app-ng-runtime 11.11.0-rc.6109 → 11.11.0-rc.6112
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/components/base/bundles/index.umd.js +3 -1
- package/components/base/esm2022/widgets/common/base/base-field-validations.mjs +4 -2
- package/components/base/fesm2022/index.mjs +3 -1
- package/components/base/fesm2022/index.mjs.map +1 -1
- package/components/containers/tabs/bundles/index.umd.js +28 -4
- package/components/containers/tabs/esm2022/tabs.component.mjs +27 -6
- package/components/containers/tabs/esm2022/tabs.props.mjs +2 -1
- package/components/containers/tabs/fesm2022/index.mjs +27 -5
- package/components/containers/tabs/fesm2022/index.mjs.map +1 -1
- package/components/containers/tabs/tabs.component.d.ts +2 -0
- package/components/containers/wizard/bundles/index.umd.js +7 -10
- package/components/containers/wizard/esm2022/wizard.component.mjs +8 -11
- package/components/containers/wizard/fesm2022/index.mjs +7 -10
- package/components/containers/wizard/fesm2022/index.mjs.map +1 -1
- package/components/containers/wizard/wizard.component.d.ts +2 -2
- package/components/data/table/bundles/index.umd.js +8 -7
- package/components/data/table/esm2022/table.component.mjs +6 -4
- package/components/data/table/fesm2022/index.mjs +5 -3
- package/components/data/table/fesm2022/index.mjs.map +1 -1
- package/components/input/calendar/bundles/index.umd.js +3 -0
- package/components/input/calendar/esm2022/calendar.component.mjs +4 -1
- package/components/input/calendar/fesm2022/index.mjs +3 -0
- package/components/input/calendar/fesm2022/index.mjs.map +1 -1
- package/components/input/color-picker/bundles/index.umd.js +5 -3
- package/components/input/color-picker/esm2022/color-picker.component.mjs +7 -5
- package/components/input/color-picker/fesm2022/index.mjs +6 -4
- package/components/input/color-picker/fesm2022/index.mjs.map +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/runtime/base/bundles/index.umd.js +1 -0
- package/runtime/base/esm2022/services/i18n.service.mjs +2 -1
- package/runtime/base/fesm2022/index.mjs +1 -0
- package/runtime/base/fesm2022/index.mjs.map +1 -1
- package/runtime/dynamic/app/app.config.d.ts +5 -0
- package/runtime/dynamic/bundles/index.umd.js +165 -56
- package/runtime/dynamic/esm2022/app/app.config.mjs +136 -0
- package/runtime/dynamic/esm2022/app/services/component-ref-provider.service.mjs +2 -4
- package/runtime/dynamic/esm2022/main.mjs +10 -10
- package/runtime/dynamic/fesm2022/index.mjs +189 -78
- package/runtime/dynamic/fesm2022/index.mjs.map +1 -1
|
@@ -16,6 +16,8 @@ import { PaginationComponent } from '@wm/components/data/pagination';
|
|
|
16
16
|
import * as i3 from '@wm/components/data/list';
|
|
17
17
|
import { debounceTime } from 'rxjs/operators';
|
|
18
18
|
import { isEmpty, floor, debounce, get, set, some, findIndex, pullAllWith, isEqual, remove, extend, isNaN as isNaN$1, isUndefined, forEach, isArray, isObject, indexOf, keys, find, toNumber, includes, split, startsWith, omitBy, values, map, parseInt as parseInt$1, last, toString, isNull, filter, range, endsWith, toLower, head, orderBy, sum, round, mean, min, max, cloneDeep } from 'lodash-es';
|
|
19
|
+
import * as i6 from 'ngx-bootstrap/dropdown';
|
|
20
|
+
import { BsDropdownModule } from 'ngx-bootstrap/dropdown';
|
|
19
21
|
import * as momentLib from 'moment';
|
|
20
22
|
|
|
21
23
|
const registerProps$5 = () => {
|
|
@@ -2219,11 +2221,11 @@ class TableComponent extends StylableComponent {
|
|
|
2219
2221
|
i0.ɵɵproperty("hidden", !(ctx.dataNavigator == null ? null : ctx.dataNavigator.dataSize) && !(ctx.dataNavigator.datasource == null ? null : ctx.dataNavigator.datasource.pagination == null ? null : ctx.dataNavigator.datasource.pagination.next) || !ctx.shownavigation || ctx.onDemandLoad && ctx.dataNavigator.isDisableNext);
|
|
2220
2222
|
i0.ɵɵadvance(2);
|
|
2221
2223
|
i0.ɵɵconditional(ctx._actions.footer.length ? 6 : -1);
|
|
2222
|
-
} }, dependencies: [CommonModule, i5.NgClass, i5.NgTemplateOutlet, WmComponentsModule, AnchorComponent, PaginationComponent, ButtonComponent, MenuComponent], encapsulation: 2 }); }
|
|
2224
|
+
} }, dependencies: [CommonModule, i5.NgClass, i5.NgTemplateOutlet, WmComponentsModule, AnchorComponent, PaginationComponent, ButtonComponent, BsDropdownModule, i6.BsDropdownDirective, MenuComponent], encapsulation: 2 }); }
|
|
2223
2225
|
}
|
|
2224
2226
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableComponent, [{
|
|
2225
2227
|
type: Component,
|
|
2226
|
-
args: [{ standalone: true, imports: [CommonModule, WmComponentsModule, AnchorComponent, PaginationComponent, ButtonComponent, MenuComponent], selector: '[wmTable]', providers: [
|
|
2228
|
+
args: [{ standalone: true, imports: [CommonModule, WmComponentsModule, AnchorComponent, PaginationComponent, ButtonComponent, BsDropdownModule, MenuComponent], selector: '[wmTable]', providers: [
|
|
2227
2229
|
provideAs(TableComponent, NG_VALUE_ACCESSOR, true),
|
|
2228
2230
|
provideAsWidgetRef(TableComponent)
|
|
2229
2231
|
], template: "@if (title || subheading || iconclass || exportOptions.length || _actions.header.length) {\n <div class=\"panel-heading\">\n <h3 class=\"panel-title\">\n <div class=\"pull-left\">\n @if (iconclass) {\n <i class=\"app-icon panel-icon {{iconclass}}\"></i>\n }\n </div>\n <div class=\"pull-left\">\n <div class=\"heading\" [innerHTML]=\"title\"></div>\n <div class=\"description\" [innerHTML]=\"subheading\"></div>\n </div>\n @if (exportOptions.length || _actions.header.length) {\n <div class=\"panel-actions app-datagrid-actions\">\n @for (btn of _actions.header; track btn; let index = $index) {\n <ng-container\n [ngTemplateOutlet]=\"btn.widgetType === 'button' ? buttonRef : anchorRef\"\n [ngTemplateOutletContext]=\"{btn:btn}\"\n [ngTemplateOutletInjector]=\"createCustomInjector('actions_header_' + index, {btn:btn})\">\n </ng-container>\n }\n @if (exportOptions.length) {\n <div wmMenu dropdown caption.bind=\"appLocale.LABEL_EXPORT\" autoclose=\"always\" attr.name=\"{{name}}-export\"\n dataset.bind=\"exportOptions\" select.event=\"export($item)\" menuposition=\"down,left\"></div>\n }\n </div>\n }\n </h3>\n </div>\n}\n<div class=\"app-datagrid\" #datagridElement></div>\n\n<div class=\"panel-footer clearfix\" [hidden]=\"!_actions.footer.length && (!shownavigation || (onDemandLoad && dataNavigator.isDisableNext) || dataNavigator?.dataSize <= pagesize)\">\n <div class=\"app-datagrid-paginator\" [hidden]=\"(!dataNavigator?.dataSize && !dataNavigator.datasource?.pagination?.next) || !shownavigation || (onDemandLoad && dataNavigator.isDisableNext)\">\n <nav wmPagination show.bind=\"shownavigation\" navigationalign.bind=\"navigationalign\"\n navigationsize.bind=\"navigationSize\"\n navigation.bind=\"navControls\" showrecordcount.bind=\"showrecordcount\" maxsize.bind=\"maxsize\"\n boundarylinks.bind=\"boundarylinks\"\n forceellipses.bind=\"forceellipses\" directionlinks.bind=\"directionlinks\"></nav>\n </div>\n @if (_actions.footer.length) {\n <div class=\"app-datagrid-actions\">\n @for (btn of _actions.footer; track btn; let index = $index) {\n <ng-container\n [ngTemplateOutlet]=\"btn.widgetType === 'button' ? buttonRef : anchorRef\"\n [ngTemplateOutletContext]=\"{btn:btn}\"\n [ngTemplateOutletInjector]=\"createCustomInjector('actions_footer_' + index, {btn:btn})\">\n </ng-container>\n }\n </div>\n }\n</div>\n\n<ng-template #buttonRef let-btn=\"btn\">\n <button wmButton caption.bind=\"btn.displayName\" show.bind=\"btn.show\" class.bind=\"btn.class\" iconclass.bind=\"btn.iconclass\" (click)=\"invokeActionEvent($event, btn.action)\"\n [ngClass]=\"{'btn-sm': spacing === 'condensed', 'disabled-new': btn.key === 'addNewRow' && (isGridEditMode || isLoading)}\"\n type=\"button\" shortcutkey.bind=\"btn.shortcutkey\" tabindex.bind=\"btn.tabindex\" hint.bind=\"btn.title\" [attr.aria-label]=\"btn.displayName\" disabled.bind=\"btn.disabled\" conditionalclass.bind=\"btn.conditionalclass\" conditionalstyle.bind=\"btn.conditionalstyle\"></button>\n</ng-template>\n\n<ng-template #anchorRef let-btn=\"btn\">\n <a wmAnchor caption.bind=\"btn.displayName\" show.bind=\"btn.show\" class.bind=\"btn.class\" iconclass.bind=\"btn.iconclass\" (click)=\"invokeActionEvent($event, btn.action)\"\n [ngClass]=\"{'btn-sm': spacing === 'condensed', 'disabled-new': btn.key === 'addNewRow' && (isGridEditMode || isLoading)}\"\n shortcutkey.bind=\"btn.shortcutkey\" tabindex.bind=\"btn.tabindex\" hint.bind=\"btn.title\"\n hyperlink.bind=\"btn.hyperlink\" target.bind=\"btn.target\" conditionalclass.bind=\"btn.conditionalclass\" conditionalstyle.bind=\"btn.conditionalstyle\"></a>\n</ng-template>\n\n<div hidden>\n <ng-container #multiColumnFilterView></ng-container>\n\n <ng-container #inlineEditView></ng-container>\n\n <ng-container #inlineEditNewView></ng-container>\n\n <ng-container #rowActionsView></ng-container>\n\n <ng-container #rowExpansionActionView></ng-container>\n\n <ng-container #customExprView></ng-container>\n\n <ng-container #dynamicTable></ng-container>\n\n <ng-container #rowDetailView></ng-container>\n\n <div class=\"dynamic-table-container\"></div>\n</div>\n" }]
|
|
@@ -2298,7 +2300,7 @@ class TableComponent extends StylableComponent {
|
|
|
2298
2300
|
type: HostListener,
|
|
2299
2301
|
args: ['keypress', ['$event']]
|
|
2300
2302
|
}] }); })();
|
|
2301
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TableComponent, { className: "TableComponent", filePath: "table.component.ts", lineNumber:
|
|
2303
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TableComponent, { className: "TableComponent", filePath: "table.component.ts", lineNumber: 130 }); })();
|
|
2302
2304
|
|
|
2303
2305
|
const OPERATION = {
|
|
2304
2306
|
'NEW': 'new',
|