@wavemaker/app-ng-runtime 11.14.3-rc.6401 → 11.15.0-2.247
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/build-task/bundles/index.umd.js +13 -2
- package/build-task/esm2022/input/default/checkbox/checkbox.build.mjs +9 -2
- package/build-task/esm2022/input/default/radioset/radioset.build.mjs +6 -2
- package/build-task/fesm2022/index.mjs +13 -2
- package/build-task/fesm2022/index.mjs.map +1 -1
- package/components/base/bundles/index.umd.js +271 -128
- package/components/base/esm2022/public_api.mjs +2 -2
- package/components/base/esm2022/utils/autolayout-utils.mjs +252 -0
- package/components/base/esm2022/utils/live-utils.mjs +10 -7
- package/components/base/esm2022/utils/widget-utils.mjs +8 -1
- package/components/base/esm2022/widgets/common/base/base.component.mjs +7 -8
- package/components/base/esm2022/widgets/common/base/partial-container.directive.mjs +4 -1
- package/components/base/esm2022/widgets/common/container/container.directive.mjs +28 -150
- package/components/base/esm2022/widgets/common/container/container.props.mjs +6 -2
- package/components/base/fesm2022/index.mjs +273 -129
- package/components/base/fesm2022/index.mjs.map +1 -1
- package/components/base/public_api.d.ts +1 -1
- package/components/base/utils/autolayout-utils.d.ts +29 -0
- package/components/base/utils/widget-utils.d.ts +1 -0
- package/components/base/widgets/common/container/container.directive.d.ts +7 -9
- package/components/basic/label/bundles/index.umd.js +4 -0
- package/components/basic/label/esm2022/label.directive.mjs +5 -1
- package/components/basic/label/fesm2022/index.mjs +4 -0
- package/components/basic/label/fesm2022/index.mjs.map +1 -1
- package/components/basic/search/bundles/index.umd.js +13 -11
- package/components/basic/search/esm2022/search.component.mjs +14 -12
- package/components/basic/search/fesm2022/index.mjs +13 -11
- package/components/basic/search/fesm2022/index.mjs.map +1 -1
- package/components/chart/bundles/index.umd.js +2 -2
- package/components/chart/esm2022/chart.utils.mjs +3 -3
- package/components/chart/fesm2022/index.mjs +2 -2
- package/components/chart/fesm2022/index.mjs.map +1 -1
- package/components/containers/accordion/accordion-pane/accordion-pane.component.d.ts +2 -0
- package/components/containers/accordion/accordion.directive.d.ts +4 -0
- package/components/containers/accordion/bundles/index.umd.js +34 -0
- package/components/containers/accordion/esm2022/accordion-pane/accordion-pane.component.mjs +6 -2
- package/components/containers/accordion/esm2022/accordion.directive.mjs +32 -2
- package/components/containers/accordion/fesm2022/index.mjs +36 -2
- package/components/containers/accordion/fesm2022/index.mjs.map +1 -1
- package/components/containers/tabs/bundles/index.umd.js +34 -0
- package/components/containers/tabs/esm2022/tab-pane/tab-pane.component.mjs +6 -2
- package/components/containers/tabs/esm2022/tabs.component.mjs +33 -4
- package/components/containers/tabs/fesm2022/index.mjs +36 -2
- package/components/containers/tabs/fesm2022/index.mjs.map +1 -1
- package/components/containers/tabs/tab-pane/tab-pane.component.d.ts +2 -0
- package/components/containers/tabs/tabs.component.d.ts +5 -1
- package/components/containers/wizard/bundles/index.umd.js +46 -2
- package/components/containers/wizard/esm2022/wizard-step/wizard-step.component.mjs +8 -2
- package/components/containers/wizard/esm2022/wizard.component.mjs +42 -4
- package/components/containers/wizard/fesm2022/index.mjs +48 -4
- package/components/containers/wizard/fesm2022/index.mjs.map +1 -1
- package/components/containers/wizard/wizard-step/wizard-step.component.d.ts +4 -0
- package/components/containers/wizard/wizard.component.d.ts +1 -0
- package/components/data/form/bundles/index.umd.js +28 -1
- package/components/data/form/esm2022/form-field/form-field.directive.mjs +4 -1
- package/components/data/form/esm2022/form.component.mjs +24 -2
- package/components/data/form/esm2022/form.props.mjs +3 -2
- package/components/data/form/esm2022/live-filter/live-filter.directive.mjs +2 -1
- package/components/data/form/fesm2022/index.mjs +29 -2
- package/components/data/form/fesm2022/index.mjs.map +1 -1
- package/components/data/form/form.component.d.ts +3 -0
- package/components/data/list/bundles/index.umd.js +0 -9
- package/components/data/list/esm2022/list-item.directive.mjs +1 -10
- package/components/data/list/fesm2022/index.mjs +0 -9
- package/components/data/list/fesm2022/index.mjs.map +1 -1
- package/components/data/pagination/bundles/index.umd.js +6 -2
- package/components/data/pagination/esm2022/pagination.component.mjs +7 -3
- package/components/data/pagination/fesm2022/index.mjs +6 -2
- package/components/data/pagination/fesm2022/index.mjs.map +1 -1
- package/components/data/table/bundles/index.umd.js +22 -5
- package/components/data/table/esm2022/table.component.mjs +23 -6
- package/components/data/table/fesm2022/index.mjs +22 -5
- package/components/data/table/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/alert-dialog/alert-dialog.component.d.ts +6 -2
- package/components/dialogs/alert-dialog/bundles/index.umd.js +18 -8
- package/components/dialogs/alert-dialog/esm2022/alert-dialog.component.mjs +17 -7
- package/components/dialogs/alert-dialog/fesm2022/index.mjs +15 -5
- package/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -1
- package/components/input/checkbox/bundles/index.umd.js +12 -3
- package/components/input/checkbox/checkbox.component.d.ts +2 -0
- package/components/input/checkbox/esm2022/checkbox.component.mjs +9 -3
- package/components/input/checkbox/esm2022/checkbox.props.mjs +5 -2
- package/components/input/checkbox/fesm2022/index.mjs +12 -3
- package/components/input/checkbox/fesm2022/index.mjs.map +1 -1
- package/components/input/checkboxset/bundles/index.umd.js +12 -1
- package/components/input/checkboxset/checkboxset.component.d.ts +1 -0
- package/components/input/checkboxset/esm2022/checkboxset.component.mjs +11 -1
- package/components/input/checkboxset/esm2022/checkboxset.props.mjs +3 -2
- package/components/input/checkboxset/fesm2022/index.mjs +12 -1
- package/components/input/checkboxset/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/base-date-time/base-date-time.component.d.ts +0 -1
- package/components/input/epoch/base-date-time/bundles/index.umd.js +29 -27
- package/components/input/epoch/base-date-time/esm2022/base-date-time.component.mjs +30 -28
- package/components/input/epoch/base-date-time/fesm2022/index.mjs +29 -27
- package/components/input/epoch/base-date-time/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/date/bundles/index.umd.js +4 -3
- package/components/input/epoch/date/esm2022/date.component.mjs +5 -4
- package/components/input/epoch/date/fesm2022/index.mjs +4 -3
- package/components/input/epoch/date/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/date-time/bundles/index.umd.js +5 -4
- package/components/input/epoch/date-time/esm2022/date-time.component.mjs +7 -6
- package/components/input/epoch/date-time/fesm2022/index.mjs +6 -5
- package/components/input/epoch/date-time/fesm2022/index.mjs.map +1 -1
- package/components/input/file-upload/bundles/index.umd.js +1 -1
- package/components/input/file-upload/esm2022/file-upload.props.mjs +2 -2
- package/components/input/file-upload/fesm2022/index.mjs +1 -1
- package/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- package/components/input/radioset/bundles/index.umd.js +13 -1
- package/components/input/radioset/esm2022/radioset.component.mjs +11 -1
- package/components/input/radioset/esm2022/radioset.props.mjs +4 -2
- package/components/input/radioset/fesm2022/index.mjs +13 -1
- package/components/input/radioset/fesm2022/index.mjs.map +1 -1
- package/components/input/radioset/radioset.component.d.ts +1 -0
- package/components/input/slider/bundles/index.umd.js +86 -16
- package/components/input/slider/esm2022/slider.component.mjs +76 -9
- package/components/input/slider/esm2022/slider.props.mjs +5 -1
- package/components/input/slider/fesm2022/index.mjs +79 -8
- package/components/input/slider/fesm2022/index.mjs.map +1 -1
- package/components/input/slider/slider.component.d.ts +12 -3
- package/components/input/text/bundles/index.umd.js +28 -3
- package/components/input/text/esm2022/input-text/input-text.component.mjs +10 -3
- package/components/input/text/esm2022/input-text/input-text.props.mjs +5 -2
- package/components/input/text/esm2022/number-locale/number-locale.mjs +16 -1
- package/components/input/text/fesm2022/index.mjs +28 -3
- package/components/input/text/fesm2022/index.mjs.map +1 -1
- package/components/input/text/input-text/input-text.component.d.ts +5 -0
- package/components/input/text/number-locale/number-locale.d.ts +12 -0
- package/components/navigation/breadcrumb/bundles/index.umd.js +2 -2
- package/components/navigation/breadcrumb/esm2022/breadcrumb.component.mjs +3 -3
- package/components/navigation/breadcrumb/fesm2022/index.mjs +2 -2
- package/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
- package/components/navigation/popover/bundles/index.umd.js +12 -0
- package/components/navigation/popover/esm2022/popover.component.mjs +13 -1
- package/components/navigation/popover/fesm2022/index.mjs +12 -0
- package/components/navigation/popover/fesm2022/index.mjs.map +1 -1
- package/components/navigation/popover/popover.component.d.ts +2 -0
- package/components/page/default/bundles/index.umd.js +0 -4
- package/components/page/default/esm2022/router-outlet.directive.mjs +1 -5
- package/components/page/default/fesm2022/index.mjs +0 -4
- package/components/page/default/fesm2022/index.mjs.map +1 -1
- package/components/page/header/bundles/index.umd.js +4 -3
- package/components/page/header/esm2022/header.component.mjs +5 -4
- package/components/page/header/fesm2022/index.mjs +4 -3
- package/components/page/header/fesm2022/index.mjs.map +1 -1
- package/components/page/header/header.component.d.ts +2 -1
- package/core/bundles/index.umd.js +90 -6
- package/core/enums/enums.d.ts +1 -0
- package/core/esm2022/enums/enums.mjs +2 -1
- package/core/esm2022/utils/build-utils.mjs +5 -1
- package/core/esm2022/utils/utils.mjs +5 -2
- package/core/esm2022/utils/watcher.mjs +83 -4
- package/core/fesm2022/index.mjs +91 -4
- package/core/fesm2022/index.mjs.map +1 -1
- package/core/utils/watcher.d.ts +2 -0
- package/npm-shrinkwrap.json +2 -2
- package/oAuth/esm2022/oAuth.service.mjs +1 -1
- package/oAuth/fesm2022/index.mjs.map +1 -1
- package/oAuth/oAuth.service.d.ts +1 -1
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/runtime/base/bundles/index.umd.js +33 -31
- package/runtime/base/components/base-prefab.component.d.ts +6 -4
- package/runtime/base/esm2022/components/app-component/app.component.mjs +1 -1
- package/runtime/base/esm2022/components/base-page.component.mjs +2 -5
- package/runtime/base/esm2022/components/base-partial.component.mjs +2 -2
- package/runtime/base/esm2022/components/base-prefab.component.mjs +20 -12
- package/runtime/base/esm2022/components/base-spa-page.component.mjs +1 -4
- package/runtime/base/esm2022/services/http-interceptor.services.mjs +14 -13
- package/runtime/base/fesm2022/index.mjs +34 -31
- package/runtime/base/fesm2022/index.mjs.map +1 -1
- package/runtime/base/runtime-base.module.d.ts +2 -1
- package/runtime/dynamic/app/app.config.d.ts +1 -1
- package/runtime/dynamic/bundles/index.umd.js +1 -1
- package/runtime/dynamic/esm2022/app/app.config.mjs +7 -7
- package/runtime/dynamic/fesm2022/index.mjs +2 -2
- package/runtime/dynamic/fesm2022/index.mjs.map +1 -1
- package/scripts/datatable/datatable.js +17 -15
|
@@ -1463,7 +1463,14 @@
|
|
|
1463
1463
|
const tagName$Q = 'div';
|
|
1464
1464
|
transpiler.register('wm-checkbox', () => {
|
|
1465
1465
|
return {
|
|
1466
|
-
pre: attrs =>
|
|
1466
|
+
pre: attrs => {
|
|
1467
|
+
if (attrs.get('type') === 'button') {
|
|
1468
|
+
return `<${tagName$Q} wmCheckbox ${transpiler.getFormMarkupAttr(attrs)} ${transpiler.getChildAttrs(attrs)} ${core.getNgModelAttr(attrs)}>`;
|
|
1469
|
+
}
|
|
1470
|
+
else {
|
|
1471
|
+
return `<${tagName$Q} wmCheckbox ${transpiler.getFormMarkupAttr(attrs)} ${transpiler.getChildAttrs(attrs)} ${core.getNgModelAttr(attrs)} style="height:100%">`;
|
|
1472
|
+
}
|
|
1473
|
+
},
|
|
1467
1474
|
post: () => `</${tagName$Q}>`
|
|
1468
1475
|
};
|
|
1469
1476
|
});
|
|
@@ -1519,7 +1526,11 @@
|
|
|
1519
1526
|
const tagName$M = 'ul';
|
|
1520
1527
|
transpiler.register('wm-radioset', () => {
|
|
1521
1528
|
return {
|
|
1522
|
-
pre:
|
|
1529
|
+
pre: (attrs) => {
|
|
1530
|
+
const hintAttr = attrs.get("hint") ? ` title="${attrs.get("hint")}" ` : '';
|
|
1531
|
+
return `<${tagName$M} role="radiogroup" wmRadioset ${hintAttr} ${transpiler.getFormMarkupAttr(attrs)} ${transpiler.getChildAttrs(attrs)}
|
|
1532
|
+
${core.getNgModelAttr(attrs)}>`;
|
|
1533
|
+
},
|
|
1523
1534
|
post: () => `</${tagName$M}>`
|
|
1524
1535
|
};
|
|
1525
1536
|
});
|
|
@@ -3,9 +3,16 @@ import { getNgModelAttr } from '@wm/core';
|
|
|
3
3
|
const tagName = 'div';
|
|
4
4
|
register('wm-checkbox', () => {
|
|
5
5
|
return {
|
|
6
|
-
pre: attrs =>
|
|
6
|
+
pre: attrs => {
|
|
7
|
+
if (attrs.get('type') === 'button') {
|
|
8
|
+
return `<${tagName} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`;
|
|
9
|
+
}
|
|
10
|
+
else {
|
|
11
|
+
return `<${tagName} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)} style="height:100%">`;
|
|
12
|
+
}
|
|
13
|
+
},
|
|
7
14
|
post: () => `</${tagName}>`
|
|
8
15
|
};
|
|
9
16
|
});
|
|
10
17
|
export default () => { };
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3guYnVpbGQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb21wb25lbnRzL3RyYW5zcGlsZS9zcmMvaW5wdXQvZGVmYXVsdC9jaGVja2JveC9jaGVja2JveC5idWlsZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsYUFBYSxFQUFFLGlCQUFpQixFQUFpQixRQUFRLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUN6RixPQUFPLEVBQUMsY0FBYyxFQUFDLE1BQU0sVUFBVSxDQUFDO0FBRXhDLE1BQU0sT0FBTyxHQUFHLEtBQUssQ0FBQztBQUV0QixRQUFRLENBQUMsYUFBYSxFQUFFLEdBQWtCLEVBQUU7SUFDeEMsT0FBTztRQUNILEdBQUcsRUFBRSxLQUFLLENBQUMsRUFBRTtZQUNULElBQUksS0FBSyxDQUFDLEdB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9ICR7Z2V0Q2hpbGRBdHRycyhhdHRycyl9ICR7Z2V0TmdNb2RlbEF0dHIoYXR0cnMpfT5gXG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIHJldHVybiBgPCR7dGFnTmFtZX0gd21DaGVja2JveCAke2dldEZvcm1NYXJrdXBBdHRyKGF0dHJzKX0gJHtnZXRDaGlsZEF0dHJzKGF0dHJzKX0gJHtnZXROZ01vZGVsQXR0cihhdHRycyl9IHN0eWxlPVwiaGVpZ2h0OjEwMCVcIj5gXG4gICAgICAgICAgICB9XG5cbiAgICAgICAgfSxcbiAgICAgICAgcG9zdDogKCkgPT4gYDwvJHt0YWdOYW1lfT5gXG4gICAgfTtcbn0pO1xuXG5leHBvcnQgZGVmYXVsdCAoKSA9PiB7fTtcbiJdfQ==
|
|
@@ -3,9 +3,13 @@ import { getFormMarkupAttr, register, getChildAttrs } from '@wm/transpiler';
|
|
|
3
3
|
const tagName = 'ul';
|
|
4
4
|
register('wm-radioset', () => {
|
|
5
5
|
return {
|
|
6
|
-
pre:
|
|
6
|
+
pre: (attrs) => {
|
|
7
|
+
const hintAttr = attrs.get("hint") ? ` title="${attrs.get("hint")}" ` : '';
|
|
8
|
+
return `<${tagName} role="radiogroup" wmRadioset ${hintAttr} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)}
|
|
9
|
+
${getNgModelAttr(attrs)}>`;
|
|
10
|
+
},
|
|
7
11
|
post: () => `</${tagName}>`
|
|
8
12
|
};
|
|
9
13
|
});
|
|
10
14
|
export default () => { };
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW9zZXQuYnVpbGQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb21wb25lbnRzL3RyYW5zcGlsZS9zcmMvaW5wdXQvZG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GZyb20gJ0B3bS90cmFuc3BpbGVyJztcblxuY29uc3QgdGFnTmFtZSA9ICd1bCc7XG5cbnJlZ2lzdGVyKCd3bS1yYWRpb3NldCcsICgpOiBJQnVpbGRUYXNrRGVmID0+IHtcbiAgICByZXR1cm4ge1xuICAgICAgICBwcmU6IChhdHRycykgPT4ge1xuICAgICAgICAgICAgY29uc3QgaGludEF0dHIgPWF0dHJzLmdldChcImhpbnRcIikgPyBgIHRpdGxlPVwiJHthdHRycy5nZXQoXCJoaW50XCIpIH1cIiBgIDogJyc7XG4gICAgICAgICAgICByZXR1cm4gYDwke3RhZ05hbWV9IHJvbGU9XCJyYWRpb2dyb3VwXCIgd21SYWRpb3NldCAke2hpbnRBdHRyfSAgJHtnZXRGb3JtTWFya3VwQXR0cihhdHRycyl9ICR7Z2V0Q2hpbGRBdHRycyhhdHRycyl9XG4gICAgICAgICAgICAgICAke2dldE5nTW9kZWxBdHRyKGF0dHJzKX0+YDtcbiAgICAgICAgfSxcbiAgICAgICAgcG9zdDogKCkgPT4gYDwvJHt0YWdOYW1lfT5gXG4gICAgfTtcbn0pO1xuXG5leHBvcnQgZGVmYXVsdCAoKSA9PiB7fTtcbiJdfQ==
|
|
@@ -1464,7 +1464,14 @@ var button_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
1464
1464
|
const tagName$Q = 'div';
|
|
1465
1465
|
register('wm-checkbox', () => {
|
|
1466
1466
|
return {
|
|
1467
|
-
pre: attrs =>
|
|
1467
|
+
pre: attrs => {
|
|
1468
|
+
if (attrs.get('type') === 'button') {
|
|
1469
|
+
return `<${tagName$Q} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`;
|
|
1470
|
+
}
|
|
1471
|
+
else {
|
|
1472
|
+
return `<${tagName$Q} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)} style="height:100%">`;
|
|
1473
|
+
}
|
|
1474
|
+
},
|
|
1468
1475
|
post: () => `</${tagName$Q}>`
|
|
1469
1476
|
};
|
|
1470
1477
|
});
|
|
@@ -1520,7 +1527,11 @@ var number_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
1520
1527
|
const tagName$M = 'ul';
|
|
1521
1528
|
register('wm-radioset', () => {
|
|
1522
1529
|
return {
|
|
1523
|
-
pre:
|
|
1530
|
+
pre: (attrs) => {
|
|
1531
|
+
const hintAttr = attrs.get("hint") ? ` title="${attrs.get("hint")}" ` : '';
|
|
1532
|
+
return `<${tagName$M} role="radiogroup" wmRadioset ${hintAttr} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)}
|
|
1533
|
+
${getNgModelAttr(attrs)}>`;
|
|
1534
|
+
},
|
|
1524
1535
|
post: () => `</${tagName$M}>`
|
|
1525
1536
|
};
|
|
1526
1537
|
});
|