@wavemaker/app-ng-runtime 11.9.0-next.24951 → 11.9.0-next.24956
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 +4 -4
- 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/input/color-picker/color-picker.build.mjs +3 -3
- app-ng-runtime/build-task/esm2022/input/currency/currency.build.mjs +3 -3
- app-ng-runtime/build-task/fesm2022/index.mjs +4 -4
- app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/base/bundles/index.umd.js +1 -1
- app-ng-runtime/components/base/esm2022/pipes/custom-pipes.mjs +3 -3
- app-ng-runtime/components/base/fesm2022/index.mjs +1 -1
- app-ng-runtime/components/base/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/base/pipes/custom-pipes.d.ts +1 -1
- app-ng-runtime/components/basic/default/anchor/anchor.component.d.ts +1 -0
- app-ng-runtime/components/basic/default/bundles/index.umd.js +16 -13
- app-ng-runtime/components/basic/default/esm2022/anchor/anchor.component.mjs +4 -4
- app-ng-runtime/components/basic/default/esm2022/audio/audio.component.mjs +5 -5
- app-ng-runtime/components/basic/default/esm2022/icon/icon.component.mjs +6 -6
- app-ng-runtime/components/basic/default/esm2022/icon/icon.props.mjs +2 -1
- app-ng-runtime/components/basic/default/esm2022/video/video.component.mjs +5 -4
- app-ng-runtime/components/basic/default/esm2022/video/video.props.mjs +2 -1
- app-ng-runtime/components/basic/default/fesm2022/index.mjs +16 -13
- app-ng-runtime/components/basic/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/basic/default/icon/icon.component.d.ts +1 -0
- app-ng-runtime/components/basic/default/video/video.component.d.ts +1 -0
- app-ng-runtime/components/basic/progress/bundles/index.umd.js +4 -4
- app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +3 -3
- app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.component.mjs +3 -3
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs +4 -4
- app-ng-runtime/components/basic/progress/fesm2022/index.mjs.map +1 -1
- 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.component.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 +7 -7
- app-ng-runtime/components/basic/search/esm2022/search.component.mjs +8 -8
- app-ng-runtime/components/basic/search/fesm2022/index.mjs +7 -7
- app-ng-runtime/components/basic/search/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/pagination/bundles/index.umd.js +2 -0
- app-ng-runtime/components/data/pagination/esm2022/pagination.component.mjs +3 -1
- app-ng-runtime/components/data/pagination/fesm2022/index.mjs +2 -0
- app-ng-runtime/components/data/pagination/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/bundles/index.umd.js +24 -3
- app-ng-runtime/components/data/table/esm2022/table.component.mjs +24 -4
- app-ng-runtime/components/data/table/esm2022/table.props.mjs +2 -1
- app-ng-runtime/components/data/table/fesm2022/index.mjs +25 -4
- app-ng-runtime/components/data/table/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/table.component.d.ts +5 -0
- app-ng-runtime/components/dialogs/alert-dialog/bundles/index.umd.js +6 -4
- app-ng-runtime/components/dialogs/alert-dialog/esm2022/alert-dialog.component.mjs +7 -5
- app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs +6 -4
- app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/confirm-dialog/bundles/index.umd.js +8 -4
- app-ng-runtime/components/dialogs/confirm-dialog/esm2022/confirm-dialog.component.mjs +9 -5
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs +8 -4
- app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/default/bundles/index.umd.js +8 -3
- app-ng-runtime/components/dialogs/default/dialog-header/dialog-header.component.d.ts +2 -1
- app-ng-runtime/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +9 -4
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs +8 -3
- app-ng-runtime/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js +4 -4
- app-ng-runtime/components/dialogs/design-dialog/esm2022/dialog.component.mjs +5 -5
- app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs +4 -4
- app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/iframe-dialog/bundles/index.umd.js +9 -5
- app-ng-runtime/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +10 -6
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs +9 -5
- app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/dialogs/partial-dialog/bundles/index.umd.js +9 -5
- app-ng-runtime/components/dialogs/partial-dialog/esm2022/partial-dialog.component.mjs +10 -6
- app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs +9 -5
- app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/chips/bundles/index.umd.js +2 -2
- app-ng-runtime/components/input/chips/esm2022/chips.component.mjs +3 -3
- app-ng-runtime/components/input/chips/fesm2022/index.mjs +2 -2
- app-ng-runtime/components/input/chips/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/color-picker/bundles/index.umd.js +2 -2
- app-ng-runtime/components/input/color-picker/esm2022/color-picker.component.mjs +3 -3
- app-ng-runtime/components/input/color-picker/fesm2022/index.mjs +2 -2
- app-ng-runtime/components/input/color-picker/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/bundles/index.umd.js +91 -52
- app-ng-runtime/components/input/default/esm2022/caption-position.directive.mjs +8 -7
- app-ng-runtime/components/input/default/esm2022/checkbox/checkbox.component.mjs +6 -6
- app-ng-runtime/components/input/default/esm2022/checkboxset/checkboxset.component.mjs +10 -10
- app-ng-runtime/components/input/default/esm2022/number/number.props.mjs +2 -1
- app-ng-runtime/components/input/default/esm2022/radioset/radioset.component.mjs +17 -17
- app-ng-runtime/components/input/default/esm2022/select/select.component.mjs +4 -4
- app-ng-runtime/components/input/default/esm2022/text/locale/number-locale.mjs +50 -13
- app-ng-runtime/components/input/default/fesm2022/index.mjs +90 -51
- app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/components/input/default/select/select.component.d.ts +1 -0
- app-ng-runtime/components/input/default/text/locale/number-locale.d.ts +1 -0
- app-ng-runtime/components/input/file-upload/bundles/index.umd.js +127 -95
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.component.mjs +125 -96
- app-ng-runtime/components/input/file-upload/esm2022/file-upload.props.mjs +4 -1
- app-ng-runtime/components/input/file-upload/fesm2022/index.mjs +127 -95
- 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 +3 -7
- app-ng-runtime/components/input/slider/bundles/index.umd.js +4 -6
- app-ng-runtime/components/input/slider/esm2022/slider.component.mjs +5 -7
- app-ng-runtime/components/input/slider/fesm2022/index.mjs +4 -6
- app-ng-runtime/components/input/slider/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/bundles/index.umd.js +5 -5
- app-ng-runtime/core/esm2022/utils/utils.mjs +2 -3
- app-ng-runtime/core/fesm2022/index.mjs +1 -2
- app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
- app-ng-runtime/core/utils/utils.d.ts +0 -1
- app-ng-runtime/package.json +1 -1
|
@@ -119,7 +119,7 @@
|
|
|
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}.arialabel || ${counter}.caption" ${transpiler.getAttrMarkup(attrs)}>`;
|
|
122
|
+
return `<${tagName$1A} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null" ${transpiler.getAttrMarkup(attrs)}>`;
|
|
123
123
|
},
|
|
124
124
|
post: () => `</${tagName$1A}>`
|
|
125
125
|
};
|
|
@@ -151,7 +151,7 @@
|
|
|
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}.arialabel || 'HTML content'" ${transpiler.getAttrMarkup(attrs)}>`;
|
|
154
|
+
return `<${tagName$1y} wmHtml #${counter}="wmHtml" role="application" [attr.aria-label]="${counter}.arialabel || 'HTML content'" ${transpiler.getAttrMarkup(attrs)}>`;
|
|
155
155
|
},
|
|
156
156
|
post: () => `</${tagName$1y}>`
|
|
157
157
|
};
|
|
@@ -1327,7 +1327,7 @@
|
|
|
1327
1327
|
const tagName$S = 'div';
|
|
1328
1328
|
transpiler.register('wm-colorpicker', () => {
|
|
1329
1329
|
return {
|
|
1330
|
-
pre: attrs => `<${tagName$S} wmColorPicker ${transpiler.getAttrMarkup(attrs)}
|
|
1330
|
+
pre: attrs => `<${tagName$S} wmColorPicker ${transpiler.getAttrMarkup(attrs)} ${transpiler.getChildAttrs(attrs)} ${core.getNgModelAttr(attrs)}>`,
|
|
1331
1331
|
post: () => `</${tagName$S}>`
|
|
1332
1332
|
};
|
|
1333
1333
|
});
|
|
@@ -1341,7 +1341,7 @@
|
|
|
1341
1341
|
const tagName$R = 'div';
|
|
1342
1342
|
transpiler.register('wm-currency', () => {
|
|
1343
1343
|
return {
|
|
1344
|
-
pre: attrs => `<${tagName$R} wmCurrency ${transpiler.getAttrMarkup(attrs)}
|
|
1344
|
+
pre: attrs => `<${tagName$R} wmCurrency ${transpiler.getAttrMarkup(attrs)} ${transpiler.getChildAttrs(attrs)} ${core.getNgModelAttr(attrs)}>`,
|
|
1345
1345
|
post: () => `</${tagName$R}>`
|
|
1346
1346
|
};
|
|
1347
1347
|
});
|
|
@@ -6,10 +6,10 @@ register('wm-anchor', () => {
|
|
|
6
6
|
return {
|
|
7
7
|
pre: (attrs) => {
|
|
8
8
|
const counter = idGen.nextUid();
|
|
9
|
-
return `<${tagName} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.arialabel || ${counter}.caption" ${getAttrMarkup(attrs)}>`;
|
|
9
|
+
return `<${tagName} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null" ${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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5jaG9yLmJ1aWxkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy90cmFuc3BpbGUvc3JjL2Jhc2ljL2RlZmF1bHQvYW5jaG9yL2FuY2hvci5idWlsZC50cyJdLCJuYW1lcyI6W10sIm1hcH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ywgKCk6IElCdWlsZFRhc2tEZWYgPT4ge1xuICAgIHJldHVybiB7XG4gICAgICAgIHByZTogKGF0dHJzKSA9PiB7XG4gICAgICAgICAgICBjb25zdCBjb3VudGVyID0gaWRHZW4ubmV4dFVpZCgpO1xuICAgICAgICAgICAgcmV0dXJuIGA8JHt0YWdOYW1lfSB3bUFuY2hvciAjJHtjb3VudGVyfT1cIndtQW5jaG9yXCIgcm9sZT1cImxpbmtcIiBkYXRhLWlkZW50aWZpZXI9XCJhbmNob3JcIiBbYXR0ci5hcmlhLWxhYmVsXT1cIiR7Y291bnRlcn0uYXJpYWxhYmVsIHx8ICgke2NvdW50ZXJ9LmJhZGdldmFsdWUgPyAke2NvdW50ZXJ9LmNhcHRpb24gKyAnICcgKyAke2NvdW50ZXJ9LmJhZGdldmFsdWUgOiAke2NvdW50ZXJ9LmNhcHRpb24pIHx8IG51bGxcIiAke2dldEF0dHJNYXJrdXAoYXR0cnMpfT5gO1xuICAgICAgICB9LFxuICAgICAgICBwb3N0OiAoKSA9PiBgPC8ke3RhZ05hbWV9PmBcbiAgICB9O1xufSk7XG5cbmV4cG9ydCBkZWZhdWx0ICgpID0+IHt9O1xuIl19
|
|
@@ -6,10 +6,10 @@ register('wm-html', () => {
|
|
|
6
6
|
return {
|
|
7
7
|
pre: (attrs) => {
|
|
8
8
|
const counter = idGen.nextUid();
|
|
9
|
-
return `<${tagName} wmHtml #${counter}="wmHtml" [attr.aria-label]="${counter}.arialabel || 'HTML content'" ${getAttrMarkup(attrs)}>`;
|
|
9
|
+
return `<${tagName} wmHtml #${counter}="wmHtml" role="application" [attr.aria-label]="${counter}.arialabel || 'HTML content'" ${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,eyJ2ZXJzaW9u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gXCJAd20vY29yZVwiO1xuXG5jb25zdCB0YWdOYW1lID0gJ2Rpdic7XG5jb25zdCBpZEdlbiA9IG5ldyBJREdlbmVyYXRvcignd21faHRtbCcpO1xuXG5yZWdpc3Rlcignd20taHRtbCcsICgpOiBJQnVpbGRUYXNrRGVmID0+IHtcbiAgICByZXR1cm4ge1xuICAgICAgICBwcmU6IChhdHRycykgPT4ge1xuICAgICAgICAgICAgY29uc3QgY291bnRlciA9IGlkR2VuLm5leHRVaWQoKTtcbiAgICAgICAgICAgIHJldHVybiBgPCR7dGFnTmFtZX0gd21IdG1sICMke2NvdW50ZXJ9PVwid21IdG1sXCIgcm9sZT1cImFwcGxpY2F0aW9uXCIgW2F0dHIuYXJpYS1sYWJlbF09XCIke2NvdW50ZXJ9LmFyaWFsYWJlbCB8fCAnSFRNTCBjb250ZW50J1wiICR7Z2V0QXR0ck1hcmt1cChhdHRycyl9PmA7XG4gICAgICAgIH0sXG4gICAgICAgIHBvc3Q6ICgpID0+IGA8LyR7dGFnTmFtZX0+YFxuICAgIH07XG59KTtcblxuZXhwb3J0IGRlZmF1bHQgKCkgPT4ge307XG4iXX0=
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { getAttrMarkup,
|
|
1
|
+
import { getAttrMarkup, getChildAttrs, register } from '@wm/transpiler';
|
|
2
2
|
import { getNgModelAttr } from '@wm/core';
|
|
3
3
|
const tagName = 'div';
|
|
4
4
|
register('wm-colorpicker', () => {
|
|
5
5
|
return {
|
|
6
|
-
pre: attrs => `<${tagName} wmColorPicker ${getAttrMarkup(attrs)}
|
|
6
|
+
pre: attrs => `<${tagName} wmColorPicker ${getAttrMarkup(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
7
7
|
post: () => `</${tagName}>`
|
|
8
8
|
};
|
|
9
9
|
});
|
|
10
10
|
export default () => { };
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ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dpc3Rlcignd20tY29sb3JwaWNrZXInLCAoKTogSUJ1aWxkVGFza0RlZiA9PiB7XG4gICAgcmV0dXJuIHtcbiAgICAgICAgcHJlOiBhdHRycyA9PiBgPCR7dGFnTmFtZX0gd21Db2xvclBpY2tlciAke2dldEF0dHJNYXJrdXAoYXR0cnMpfSAke2dldENoaWxkQXR0cnMoYXR0cnMpfSAke2dldE5nTW9kZWxBdHRyKGF0dHJzKX0+YCxcbiAgICAgICAgcG9zdDogKCkgPT4gYDwvJHt0YWdOYW1lfT5gXG4gICAgfTtcbn0pO1xuXG5leHBvcnQgZGVmYXVsdCAoKSA9PiB7fTtcbiJdfQ==
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { getAttrMarkup,
|
|
1
|
+
import { getAttrMarkup, getChildAttrs, register } from '@wm/transpiler';
|
|
2
2
|
import { getNgModelAttr } from '@wm/core';
|
|
3
3
|
const tagName = 'div';
|
|
4
4
|
register('wm-currency', () => {
|
|
5
5
|
return {
|
|
6
|
-
pre: attrs => `<${tagName} wmCurrency ${getAttrMarkup(attrs)}
|
|
6
|
+
pre: attrs => `<${tagName} wmCurrency ${getAttrMarkup(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
7
7
|
post: () => `</${tagName}>`
|
|
8
8
|
};
|
|
9
9
|
});
|
|
10
10
|
export default () => { };
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VycmVuY3kuYnVpbGQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb21wb25lbnRzL3RyYW5zcGlsZS9zcmMvaW5wdXQvY3VycmVuY3kvY3VycmVuY3kuYnVpbGQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLGFBQWEsRUFBRSxhQUFh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9PmBcbiAgICB9O1xufSk7XG5cbmV4cG9ydCBkZWZhdWx0ICgpID0+IHt9O1xuIl19
|
|
@@ -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}.arialabel || ${counter}.caption" ${getAttrMarkup(attrs)}>`;
|
|
122
|
+
return `<${tagName$1A} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null" ${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}.arialabel || 'HTML content'" ${getAttrMarkup(attrs)}>`;
|
|
154
|
+
return `<${tagName$1y} wmHtml #${counter}="wmHtml" role="application" [attr.aria-label]="${counter}.arialabel || 'HTML content'" ${getAttrMarkup(attrs)}>`;
|
|
155
155
|
},
|
|
156
156
|
post: () => `</${tagName$1y}>`
|
|
157
157
|
};
|
|
@@ -1327,7 +1327,7 @@ var chips_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
1327
1327
|
const tagName$S = 'div';
|
|
1328
1328
|
register('wm-colorpicker', () => {
|
|
1329
1329
|
return {
|
|
1330
|
-
pre: attrs => `<${tagName$S} wmColorPicker ${getAttrMarkup(attrs)}
|
|
1330
|
+
pre: attrs => `<${tagName$S} wmColorPicker ${getAttrMarkup(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
1331
1331
|
post: () => `</${tagName$S}>`
|
|
1332
1332
|
};
|
|
1333
1333
|
});
|
|
@@ -1341,7 +1341,7 @@ var colorPicker_build$1 = /*#__PURE__*/Object.freeze({
|
|
|
1341
1341
|
const tagName$R = 'div';
|
|
1342
1342
|
register('wm-currency', () => {
|
|
1343
1343
|
return {
|
|
1344
|
-
pre: attrs => `<${tagName$R} wmCurrency ${getAttrMarkup(attrs)}
|
|
1344
|
+
pre: attrs => `<${tagName$R} wmCurrency ${getAttrMarkup(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
1345
1345
|
post: () => `</${tagName$R}>`
|
|
1346
1346
|
};
|
|
1347
1347
|
});
|