@wavemaker/app-ng-runtime 11.9.0-next.24940 → 11.9.0-next.24946
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.
- app-ng-runtime/build-task/bundles/index.umd.js +19 -19
- app-ng-runtime/build-task/esm2022/basic/default/anchor/anchor.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/html/html.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/icon/icon.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/label/label.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/picture/picture.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/default/spinner/spinner.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/basic/rich-text-editor/rich-text-editor.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/device/barcode-scanner/barcode-scanner.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/device/camera/camera.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/input/default/button/button.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/input/default/button-group/button-group.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/input/default/switch/switch.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/footer/footer.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/header/header.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/layout.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/left-panel/left-panel.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/page.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/right-panel/right-panel.build.mjs +2 -2
- app-ng-runtime/build-task/esm2022/page/top-nav/top-nav.build.mjs +2 -2
- app-ng-runtime/build-task/fesm2022/index.mjs +19 -19
- app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/default/audio/audio.component.d.ts +1 -0
- app-ng-runtime/components/basic/default/bundles/index.umd.js +15 -9
- app-ng-runtime/components/basic/default/esm2022/anchor/anchor.props.mjs +2 -1
- app-ng-runtime/components/basic/default/esm2022/audio/audio.component.mjs +3 -3
- app-ng-runtime/components/basic/default/esm2022/audio/audio.props.mjs +2 -1
- app-ng-runtime/components/basic/default/esm2022/html/html.props.mjs +2 -1
- app-ng-runtime/components/basic/default/esm2022/icon/icon.component.mjs +3 -4
- app-ng-runtime/components/basic/default/esm2022/iframe/iframe.component.mjs +3 -3
- app-ng-runtime/components/basic/default/esm2022/iframe/iframe.props.mjs +3 -2
- app-ng-runtime/components/basic/default/esm2022/label/label.props.mjs +2 -1
- app-ng-runtime/components/basic/default/esm2022/picture/picture.props.mjs +2 -1
- app-ng-runtime/components/basic/default/esm2022/spinner/spinner.props.mjs +3 -2
- app-ng-runtime/components/basic/default/fesm2022/index.mjs +15 -9
- app-ng-runtime/components/basic/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/default/iframe/iframe.component.d.ts +1 -0
- app-ng-runtime/components/basic/progress/bundles/index.umd.js +6 -4
- app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +3 -3
- app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.props.mjs +2 -1
- app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.component.mjs +3 -3
- app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.props.mjs +2 -1
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs +6 -4
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/progress/progress-bar/progress-bar.component.d.ts +1 -0
- app-ng-runtime/components/basic/progress/progress-circle/progress-circle.component.d.ts +1 -0
- app-ng-runtime/components/basic/rich-text-editor/bundles/index.umd.js +1 -0
- app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.props.mjs +2 -1
- app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs +1 -0
- app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/search/bundles/index.umd.js +5 -4
- app-ng-runtime/components/basic/search/esm2022/search.component.mjs +8 -8
- app-ng-runtime/components/basic/search/esm2022/search.props.mjs +2 -1
- app-ng-runtime/components/basic/search/fesm2022/index.mjs +5 -4
- app-ng-runtime/components/basic/search/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/search/search.component.d.ts +1 -0
- app-ng-runtime/components/data/live-table/bundles/index.umd.js +2 -2
- app-ng-runtime/components/data/live-table/esm2022/live-table.component.mjs +3 -3
- app-ng-runtime/components/data/live-table/fesm2022/index.mjs +2 -2
- app-ng-runtime/components/data/live-table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/color-picker/bundles/index.umd.js +3 -2
- app-ng-runtime/components/input/color-picker/color-picker.component.d.ts +1 -0
- app-ng-runtime/components/input/color-picker/esm2022/color-picker.component.mjs +4 -4
- app-ng-runtime/components/input/color-picker/esm2022/color-picker.props.mjs +2 -1
- app-ng-runtime/components/input/color-picker/fesm2022/index.mjs +3 -2
- app-ng-runtime/components/input/color-picker/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/currency/bundles/index.umd.js +4 -3
- app-ng-runtime/components/input/currency/currency.component.d.ts +1 -0
- app-ng-runtime/components/input/currency/esm2022/currency.component.mjs +6 -6
- app-ng-runtime/components/input/currency/esm2022/currency.props.mjs +2 -1
- app-ng-runtime/components/input/currency/fesm2022/index.mjs +4 -3
- app-ng-runtime/components/input/currency/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/bundles/index.umd.js +36 -25
- app-ng-runtime/components/input/default/button/button.component.d.ts +1 -0
- app-ng-runtime/components/input/default/checkbox/checkbox.component.d.ts +1 -0
- app-ng-runtime/components/input/default/esm2022/button/button.component.mjs +1 -1
- app-ng-runtime/components/input/default/esm2022/button/button.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/checkbox/checkbox.component.mjs +4 -4
- app-ng-runtime/components/input/default/esm2022/checkbox/checkbox.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/number/number.component.mjs +4 -4
- app-ng-runtime/components/input/default/esm2022/number/number.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/select/select.component.mjs +4 -4
- app-ng-runtime/components/input/default/esm2022/select/select.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/switch/switch.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/text/calendar/input-calendar.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2022/text/calendar/input-calendar.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/text/color/input-color.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2022/text/color/input-color.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/text/email/input-email.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2022/text/email/input-email.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/text/number/input-number.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2022/text/number/input-number.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/text/text/input-text.component.mjs +5 -5
- app-ng-runtime/components/input/default/esm2022/text/text/input-text.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/textarea/textarea.component.mjs +6 -6
- app-ng-runtime/components/input/default/esm2022/textarea/textarea.props.mjs +2 -1
- app-ng-runtime/components/input/default/fesm2022/index.mjs +36 -25
- app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/number/number.component.d.ts +1 -0
- app-ng-runtime/components/input/default/select/select.component.d.ts +1 -0
- app-ng-runtime/components/input/default/text/calendar/input-calendar.component.d.ts +1 -0
- app-ng-runtime/components/input/default/text/color/input-color.component.d.ts +1 -0
- app-ng-runtime/components/input/default/text/email/input-email.component.d.ts +1 -0
- app-ng-runtime/components/input/default/text/number/input-number.component.d.ts +1 -0
- app-ng-runtime/components/input/default/text/text/input-text.component.d.ts +1 -0
- app-ng-runtime/components/input/default/textarea/textarea.component.d.ts +1 -0
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +12 -9
- app-ng-runtime/components/input/epoch/date/date.component.d.ts +1 -0
- app-ng-runtime/components/input/epoch/date-time/date-time.component.d.ts +2 -1
- app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +6 -6
- app-ng-runtime/components/input/epoch/esm2022/date/date.props.mjs +2 -1
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +7 -7
- app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.props.mjs +2 -1
- app-ng-runtime/components/input/epoch/esm2022/time/time.component.mjs +7 -7
- app-ng-runtime/components/input/epoch/esm2022/time/time.props.mjs +2 -1
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs +12 -9
- app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/epoch/time/time.component.d.ts +1 -0
- app-ng-runtime/components/input/file-upload/bundles/index.umd.js +13 -11
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +12 -12
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.props.mjs +3 -1
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +13 -11
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/file-upload/file-upload.component.d.ts +1 -0
- app-ng-runtime/components/input/slider/bundles/index.umd.js +3 -2
- app-ng-runtime/components/input/slider/esm2022/slider.component.mjs +4 -4
- app-ng-runtime/components/input/slider/esm2022/slider.props.mjs +2 -1
- app-ng-runtime/components/input/slider/fesm2022/index.mjs +3 -2
- app-ng-runtime/components/input/slider/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/slider/slider.component.d.ts +1 -0
- app-ng-runtime/components/navigation/menu/bundles/index.umd.js +4 -3
- app-ng-runtime/components/navigation/menu/esm2022/menu.component.mjs +4 -4
- app-ng-runtime/components/navigation/menu/esm2022/menu.props.mjs +2 -1
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +4 -3
- app-ng-runtime/components/navigation/menu/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/menu.component.d.ts +1 -0
- app-ng-runtime/components/navigation/popover/bundles/index.umd.js +4 -3
- app-ng-runtime/components/navigation/popover/esm2022/popover.component.mjs +4 -4
- app-ng-runtime/components/navigation/popover/esm2022/popover.props.mjs +2 -1
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs +4 -3
- app-ng-runtime/components/navigation/popover/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/popover/popover.component.d.ts +1 -0
- app-ng-runtime/components/page/default/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/default/esm2022/page.props.mjs +4 -3
- app-ng-runtime/components/page/default/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/footer/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/footer/esm2022/footer.props.mjs +3 -2
- app-ng-runtime/components/page/footer/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/footer/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/header/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/header/esm2022/header.props.mjs +3 -2
- app-ng-runtime/components/page/header/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/header/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/left-panel/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/left-panel/esm2022/left-panel.props.mjs +3 -2
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/left-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/right-panel/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/right-panel/esm2022/right-panel.props.mjs +3 -2
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/right-panel/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/page/top-nav/bundles/index.umd.js +2 -1
- app-ng-runtime/components/page/top-nav/esm2022/top-nav.props.mjs +3 -2
- app-ng-runtime/components/page/top-nav/fesm2022/index.mjs +2 -1
- app-ng-runtime/components/page/top-nav/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/bundles/index.umd.js +1 -1
- app-ng-runtime/core/esm2022/utils/build-utils.mjs +2 -2
- app-ng-runtime/core/fesm2022/index.mjs +1 -1
- app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/device/barcode-scanner/bundles/index.umd.js +2 -1
- app-ng-runtime/mobile/components/device/barcode-scanner/esm2022/barcode-scanner.props.mjs +3 -2
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs +2 -1
- app-ng-runtime/mobile/components/device/barcode-scanner/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/device/camera/bundles/index.umd.js +2 -1
- app-ng-runtime/mobile/components/device/camera/esm2022/camera.props.mjs +3 -2
- app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs +2 -1
- app-ng-runtime/mobile/components/device/camera/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
|
@@ -6,10 +6,10 @@ register('wm-top-nav', () => {
|
|
|
6
6
|
return {
|
|
7
7
|
pre: (attrs) => {
|
|
8
8
|
const counter = idGen.nextUid();
|
|
9
|
-
return `<${tagName} wmTopNav #${counter}="wmTopNav" partialContainer data-role="page-topnav" role="navigation" [attr.aria-label]="${counter}.
|
|
9
|
+
return `<${tagName} wmTopNav #${counter}="wmTopNav" partialContainer data-role="page-topnav" role="navigation" [attr.aria-label]="${counter}.arialabel || 'Second level navigation'" ${getAttrMarkup(attrs)}>`;
|
|
10
10
|
},
|
|
11
11
|
post: () => `</${tagName}>`
|
|
12
12
|
};
|
|
13
13
|
});
|
|
14
14
|
export default () => { };
|
|
15
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9wLW5hdi5idWlsZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvdHJhbnNwaWxlL3NyYy9wYWdlL3RvcC1uYXYvdG9wLW5hdi5idWlsZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsYUFBYSxFQUFpQixRQUFRLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUN0RSxPQUFPLEVBQUMsV0FBVyxFQUFDLE1BQU0sVUFBVSxDQUFDO0FBRXJDLE1BQU0sT0FBTyxHQUFHLFNBQVMsQ0FBQztBQUMxQixNQUFNLEtBQUssR0FBRyxJQUFJLFdBQVcsQ0FBQyxZQUFZLENBQUMsQ0FBQztBQUU1QyxRQUFRLENBQUMsWUFBWSxFQUFFLEdBQWtCLEVBQUU7SUFDdkMsT0FBTztRQUNILEdBQUcsRUFBRSxDQUFDLEtBQUssRUFBRSxFQUFFO1lBQ1gsTUFBTSxPQUFPLEdBQUcsS0FBSyxDQUFDLE9BQU8sRUFBRSxDQUFBO1lBQy9CLE9BQU8sSUFBSSxPQUFPLGNBQWMsT0FBTyw2RkFBNkYsT0FBTyw0Q0FBNEMsYUFBYSxDQUFDLEtBQUssQ0FBQyxHQUFHLENBQUM7UUFDbk4sQ0FBQztRQUNELElBQUksRUFBRSxHQUFHLEVBQUUsQ0FBQyxLQUFLLE9BQU8sR0FBRztLQUM5QixDQUFDO0FBQ04sQ0FBQyxDQUFDLENBQUM7QUFFSCxlQUFlLEdBQUcsRUFBRSxHQUFFLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7Z2V0QXR0ck1hcmt1cCwgSUJ1aWxkVGFza0RlZiwgcmVnaXN0ZXJ9IGZyb20gJ0B3bS90cmFuc3BpbGVyJztcbmltcG9ydCB7SURHZW5lcmF0b3J9IGZyb20gXCJAd20vY29yZVwiO1xuXG5jb25zdCB0YWdOYW1lID0gJ3NlY3Rpb24nO1xuY29uc3QgaWRHZW4gPSBuZXcgSURHZW5lcmF0b3IoJ3dtX3RvcF9uYXYnKTtcblxucmVnaXN0ZXIoJ3dtLXRvcC1uYXYnLCAoKTogSUJ1aWxkVGFza0RlZiA9PiB7XG4gICAgcmV0dXJuIHtcbiAgICAgICAgcHJlOiAoYXR0cnMpID0+IHtcbiAgICAgICAgICAgIGNvbnN0IGNvdW50ZXIgPSBpZEdlbi5uZXh0VWlkKClcbiAgICAgICAgICAgIHJldHVybiBgPCR7dGFnTmFtZX0gd21Ub3BOYXYgIyR7Y291bnRlcn09XCJ3bVRvcE5hdlwiIHBhcnRpYWxDb250YWluZXIgZGF0YS1yb2xlPVwicGFnZS10b3BuYXZcIiByb2xlPVwibmF2aWdhdGlvblwiIFthdHRyLmFyaWEtbGFiZWxdPVwiJHtjb3VudGVyfS5hcmlhbGFiZWwgfHwgJ1NlY29uZCBsZXZlbCBuYXZpZ2F0aW9uJ1wiICR7Z2V0QXR0ck1hcmt1cChhdHRycyl9PmA7XG4gICAgICAgIH0sXG4gICAgICAgIHBvc3Q6ICgpID0+IGA8LyR7dGFnTmFtZX0+YFxuICAgIH07XG59KTtcblxuZXhwb3J0IGRlZmF1bHQgKCkgPT4ge307XG4iXX0=
|
|
@@ -119,7 +119,7 @@ register('wm-anchor', () => {
|
|
|
119
119
|
return {
|
|
120
120
|
pre: (attrs) => {
|
|
121
121
|
const counter = idGen$r.nextUid();
|
|
122
|
-
return `<${tagName$1A} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.
|
|
122
|
+
return `<${tagName$1A} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.arialabel || ${counter}.caption" ${getAttrMarkup(attrs)}>`;
|
|
123
123
|
},
|
|
124
124
|
post: () => `</${tagName$1A}>`
|
|
125
125
|
};
|
|
@@ -151,7 +151,7 @@ register('wm-html', () => {
|
|
|
151
151
|
return {
|
|
152
152
|
pre: (attrs) => {
|
|
153
153
|
const counter = idGen$q.nextUid();
|
|
154
|
-
return `<${tagName$1y} wmHtml #${counter}="wmHtml" [attr.aria-label]="${counter}.
|
|
154
|
+
return `<${tagName$1y} wmHtml #${counter}="wmHtml" [attr.aria-label]="${counter}.arialabel || 'HTML content'" ${getAttrMarkup(attrs)}>`;
|
|
155
155
|
},
|
|
156
156
|
post: () => `</${tagName$1y}>`
|
|
157
157
|
};
|
|
@@ -166,7 +166,7 @@ var html_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
166
166
|
const tagName$1x = 'span';
|
|
167
167
|
register('wm-icon', () => {
|
|
168
168
|
return {
|
|
169
|
-
pre: attrs => `<${tagName$1x} wmIcon
|
|
169
|
+
pre: attrs => `<${tagName$1x} wmIcon ${getAttrMarkup(attrs)}>`,
|
|
170
170
|
post: () => `</${tagName$1x}>`
|
|
171
171
|
};
|
|
172
172
|
});
|
|
@@ -207,7 +207,7 @@ register('wm-label', () => {
|
|
|
207
207
|
tagName$1v = 'label';
|
|
208
208
|
}
|
|
209
209
|
const counter = idGen$p.nextUid();
|
|
210
|
-
return `<${tagName$1v} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.
|
|
210
|
+
return `<${tagName$1v} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.arialabel" ${getAttrMarkup(attrs)}>`;
|
|
211
211
|
},
|
|
212
212
|
post: () => `</${tagName$1v}>`
|
|
213
213
|
};
|
|
@@ -225,7 +225,7 @@ register('wm-picture', () => {
|
|
|
225
225
|
return {
|
|
226
226
|
pre: (attrs) => {
|
|
227
227
|
const counter = idGen$o.nextUid();
|
|
228
|
-
return `<${tagName$1u} wmPicture #${counter}="wmPicture" alt="image" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.
|
|
228
|
+
return `<${tagName$1u} wmPicture #${counter}="wmPicture" alt="image" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.arialabel || 'Image'" ${getAttrMarkup(attrs)}>`;
|
|
229
229
|
}
|
|
230
230
|
};
|
|
231
231
|
});
|
|
@@ -242,7 +242,7 @@ register('wm-spinner', () => {
|
|
|
242
242
|
return {
|
|
243
243
|
pre: (attrs) => {
|
|
244
244
|
const counter = idGen$n.nextUid();
|
|
245
|
-
return `<${tagName$1t} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.
|
|
245
|
+
return `<${tagName$1t} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.arialabel || 'Loading...'" aria-live="assertive" aria-busy="true" ${getAttrMarkup(attrs)}>`;
|
|
246
246
|
},
|
|
247
247
|
post: () => `</${tagName$1t}>`
|
|
248
248
|
};
|
|
@@ -313,7 +313,7 @@ register('wm-richtexteditor', () => {
|
|
|
313
313
|
return {
|
|
314
314
|
pre: (attrs) => {
|
|
315
315
|
const counter = idGen$m.nextUid();
|
|
316
|
-
return `<${tagName$1q} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.
|
|
316
|
+
return `<${tagName$1q} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.arialabel || 'Richtext editor'" ${getFormMarkupAttr(attrs)}>`;
|
|
317
317
|
},
|
|
318
318
|
post: () => `</${tagName$1q}>`
|
|
319
319
|
};
|
|
@@ -728,7 +728,7 @@ register('wm-barcodescanner', () => {
|
|
|
728
728
|
return {
|
|
729
729
|
pre: (attrs) => {
|
|
730
730
|
const counter = idGen$g.nextUid();
|
|
731
|
-
return `<${tagName$14} wmBarcodescanner #${counter}="wmBarcodescanner" [attr.aria-label]="${counter}.
|
|
731
|
+
return `<${tagName$14} wmBarcodescanner #${counter}="wmBarcodescanner" [attr.aria-label]="${counter}.arialabel || 'Barcode scanner'" ${getAttrMarkup(attrs)}>`;
|
|
732
732
|
},
|
|
733
733
|
post: () => `</${tagName$14}>`
|
|
734
734
|
};
|
|
@@ -746,7 +746,7 @@ register('wm-camera', () => {
|
|
|
746
746
|
return {
|
|
747
747
|
pre: (attrs) => {
|
|
748
748
|
const counter = idGen$f.nextUid();
|
|
749
|
-
return `<${tagName$13} type='button' wmCamera #${counter}="wmCamera" [attr.aria-label]="${counter}.
|
|
749
|
+
return `<${tagName$13} type='button' wmCamera #${counter}="wmCamera" [attr.aria-label]="${counter}.arialabel || 'Camera'" ${getAttrMarkup(attrs)}>`;
|
|
750
750
|
},
|
|
751
751
|
post: () => `</${tagName$13}>`
|
|
752
752
|
};
|
|
@@ -1355,7 +1355,7 @@ var currency_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
1355
1355
|
const tagName$Q = 'div';
|
|
1356
1356
|
register('wm-buttongroup', () => {
|
|
1357
1357
|
return {
|
|
1358
|
-
pre: attrs => `<${tagName$Q} wmButtonGroup role="group"
|
|
1358
|
+
pre: attrs => `<${tagName$Q} wmButtonGroup role="group" ${getAttrMarkup(attrs)}>`,
|
|
1359
1359
|
post: () => `</${tagName$Q}>`
|
|
1360
1360
|
};
|
|
1361
1361
|
});
|
|
@@ -1372,7 +1372,7 @@ register('wm-button', () => {
|
|
|
1372
1372
|
return {
|
|
1373
1373
|
pre: (attrs) => {
|
|
1374
1374
|
const counter = idGen$c.nextUid();
|
|
1375
|
-
return `<${tagName$P} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.
|
|
1375
|
+
return `<${tagName$P} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null" ${getAttrMarkup(attrs)}>`;
|
|
1376
1376
|
},
|
|
1377
1377
|
post: () => `</${tagName$P}>`
|
|
1378
1378
|
};
|
|
@@ -1474,7 +1474,7 @@ register('wm-switch', () => {
|
|
|
1474
1474
|
return {
|
|
1475
1475
|
pre: (attrs) => {
|
|
1476
1476
|
const counter = idGen$b.nextUid();
|
|
1477
|
-
return `<${tagName$I} wmSwitch #${counter}="wmSwitch" [attr.aria-label]="${counter}.
|
|
1477
|
+
return `<${tagName$I} wmSwitch #${counter}="wmSwitch" [attr.aria-label]="${counter}.arialabel || 'Switch button'" ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`;
|
|
1478
1478
|
},
|
|
1479
1479
|
post: () => `</${tagName$I}>`
|
|
1480
1480
|
};
|
|
@@ -1981,7 +1981,7 @@ register('wm-page', () => {
|
|
|
1981
1981
|
},
|
|
1982
1982
|
pre: (attrs) => {
|
|
1983
1983
|
const counter = idGen$8.nextUid();
|
|
1984
|
-
return `<${tagName$p} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.
|
|
1984
|
+
return `<${tagName$p} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.arialabel" ${getAttrMarkup(attrs)}>`;
|
|
1985
1985
|
},
|
|
1986
1986
|
post: () => `</${tagName$p}>`
|
|
1987
1987
|
};
|
|
@@ -1999,7 +1999,7 @@ register('wm-layout', () => {
|
|
|
1999
1999
|
return {
|
|
2000
2000
|
pre: (attrs) => {
|
|
2001
2001
|
const counter = idGen$7.nextUid();
|
|
2002
|
-
return `<${tagName$o} wmLayout #${counter}="wmLayout" data-role="pageContainer" [attr.aria-label]="${counter}.
|
|
2002
|
+
return `<${tagName$o} wmLayout #${counter}="wmLayout" data-role="pageContainer" [attr.aria-label]="${counter}.arialabel" ${getAttrMarkup(attrs)}>`;
|
|
2003
2003
|
},
|
|
2004
2004
|
post: () => `</${tagName$o}>`
|
|
2005
2005
|
};
|
|
@@ -2059,7 +2059,7 @@ register('wm-footer', () => {
|
|
|
2059
2059
|
return {
|
|
2060
2060
|
pre: (attrs) => {
|
|
2061
2061
|
const counter = idGen$6.nextUid();
|
|
2062
|
-
return `<${tagName$k} wmFooter #${counter}="wmFooter" partialContainer data-role="page-footer" role="contentinfo" [attr.aria-label]="${counter}.
|
|
2062
|
+
return `<${tagName$k} wmFooter #${counter}="wmFooter" partialContainer data-role="page-footer" role="contentinfo" [attr.aria-label]="${counter}.arialabel || 'Page footer'" ${getAttrMarkup(attrs)}>`;
|
|
2063
2063
|
},
|
|
2064
2064
|
post: () => `</${tagName$k}>`
|
|
2065
2065
|
};
|
|
@@ -2077,7 +2077,7 @@ register('wm-header', () => {
|
|
|
2077
2077
|
return {
|
|
2078
2078
|
pre: (attrs) => {
|
|
2079
2079
|
const counter = idGen$5.nextUid();
|
|
2080
|
-
return `<${tagName$j} wmHeader #${counter}="wmHeader" partialContainer data-role="page-header" role="banner" [attr.aria-label]="${counter}.
|
|
2080
|
+
return `<${tagName$j} wmHeader #${counter}="wmHeader" partialContainer data-role="page-header" role="banner" [attr.aria-label]="${counter}.arialabel || 'Page header'" ${getAttrMarkup(attrs)}>`;
|
|
2081
2081
|
},
|
|
2082
2082
|
post: () => `</${tagName$j}>`
|
|
2083
2083
|
};
|
|
@@ -2095,7 +2095,7 @@ register('wm-left-panel', () => {
|
|
|
2095
2095
|
return {
|
|
2096
2096
|
pre: (attrs) => {
|
|
2097
2097
|
const counter = idGen$4.nextUid();
|
|
2098
|
-
return `<${tagName$i} wmLeftPanel #${counter}="wmLeftPanel" partialContainer data-role="page-left-panel" [attr.aria-label]="${counter}.
|
|
2098
|
+
return `<${tagName$i} wmLeftPanel #${counter}="wmLeftPanel" partialContainer data-role="page-left-panel" [attr.aria-label]="${counter}.arialabel || 'Left navigation panel'" wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`;
|
|
2099
2099
|
},
|
|
2100
2100
|
post: () => `</${tagName$i}>`
|
|
2101
2101
|
};
|
|
@@ -2127,7 +2127,7 @@ register('wm-right-panel', () => {
|
|
|
2127
2127
|
return {
|
|
2128
2128
|
pre: (attrs) => {
|
|
2129
2129
|
const counter = idGen$3.nextUid();
|
|
2130
|
-
return `<${tagName$g} wmRightPanel #${counter}="wmRightPanel" partialContainer data-role="page-right-panel" role="complementary" [attr.aria-label]="${counter}.
|
|
2130
|
+
return `<${tagName$g} wmRightPanel #${counter}="wmRightPanel" partialContainer data-role="page-right-panel" role="complementary" [attr.aria-label]="${counter}.arialabel || 'Right navigation panel'" ${getAttrMarkup(attrs)}>`;
|
|
2131
2131
|
},
|
|
2132
2132
|
post: () => `</${tagName$g}>`
|
|
2133
2133
|
};
|
|
@@ -2193,7 +2193,7 @@ register('wm-top-nav', () => {
|
|
|
2193
2193
|
return {
|
|
2194
2194
|
pre: (attrs) => {
|
|
2195
2195
|
const counter = idGen$2.nextUid();
|
|
2196
|
-
return `<${tagName$d} wmTopNav #${counter}="wmTopNav" partialContainer data-role="page-topnav" role="navigation" [attr.aria-label]="${counter}.
|
|
2196
|
+
return `<${tagName$d} wmTopNav #${counter}="wmTopNav" partialContainer data-role="page-topnav" role="navigation" [attr.aria-label]="${counter}.arialabel || 'Second level navigation'" ${getAttrMarkup(attrs)}>`;
|
|
2197
2197
|
},
|
|
2198
2198
|
post: () => `</${tagName$d}>`
|
|
2199
2199
|
};
|