@wavemaker/app-ng-runtime 11.9.0-next.24960 → 11.9.0-next.27456

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.
Files changed (36) hide show
  1. app-ng-runtime/build-task/bundles/index.umd.js +17 -13
  2. app-ng-runtime/build-task/esm2022/basic/progress/progress-circle/progress-circle.build.mjs +7 -2
  3. app-ng-runtime/build-task/fesm2022/index.mjs +17 -13
  4. app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
  5. app-ng-runtime/components/basic/progress/bundles/index.umd.js +7 -5
  6. app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.component.mjs +8 -6
  7. app-ng-runtime/components/basic/progress/fesm2022/index.mjs +7 -5
  8. app-ng-runtime/components/basic/progress/fesm2022/index.mjs.map +1 -1
  9. app-ng-runtime/components/basic/progress/progress-circle/progress-circle.component.d.ts +2 -1
  10. app-ng-runtime/components/containers/panel/bundles/index.umd.js +14 -14
  11. app-ng-runtime/components/containers/panel/esm2022/panel.component.mjs +15 -15
  12. app-ng-runtime/components/containers/panel/fesm2022/index.mjs +14 -14
  13. app-ng-runtime/components/containers/panel/fesm2022/index.mjs.map +1 -1
  14. app-ng-runtime/components/containers/tabs/bundles/index.umd.js +2 -2
  15. app-ng-runtime/components/containers/tabs/esm2022/tabs.component.mjs +3 -3
  16. app-ng-runtime/components/containers/tabs/fesm2022/index.mjs +2 -2
  17. app-ng-runtime/components/containers/tabs/fesm2022/index.mjs.map +1 -1
  18. app-ng-runtime/components/data/table/bundles/index.umd.js +13 -4
  19. app-ng-runtime/components/data/table/esm2022/table-column/table-column.directive.mjs +14 -5
  20. app-ng-runtime/components/data/table/fesm2022/index.mjs +13 -4
  21. app-ng-runtime/components/data/table/fesm2022/index.mjs.map +1 -1
  22. app-ng-runtime/components/input/chips/bundles/index.umd.js +3 -2
  23. app-ng-runtime/components/input/chips/esm2022/chips.component.mjs +3 -3
  24. app-ng-runtime/components/input/chips/esm2022/chips.props.mjs +2 -1
  25. app-ng-runtime/components/input/chips/fesm2022/index.mjs +3 -2
  26. app-ng-runtime/components/input/chips/fesm2022/index.mjs.map +1 -1
  27. app-ng-runtime/components/input/default/bundles/index.umd.js +15 -11
  28. app-ng-runtime/components/input/default/esm2022/radioset/radioset.component.mjs +16 -12
  29. app-ng-runtime/components/input/default/fesm2022/index.mjs +15 -11
  30. app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
  31. app-ng-runtime/package.json +1 -1
  32. app-ng-runtime/runtime/base/bundles/index.umd.js +2 -1
  33. app-ng-runtime/runtime/base/components/app-component/app.component.d.ts +2 -3
  34. app-ng-runtime/runtime/base/esm2022/components/app-component/app.component.mjs +5 -5
  35. app-ng-runtime/runtime/base/fesm2022/index.mjs +2 -1
  36. app-ng-runtime/runtime/base/fesm2022/index.mjs.map +1 -1
@@ -6,13 +6,13 @@
6
6
 
7
7
  const carouselTagName = 'carousel';
8
8
  const dataSetKey$5 = 'dataset';
9
- const idGen$s = new core.IDGenerator('wm_carousel_ref_');
9
+ const idGen$t = new core.IDGenerator('wm_carousel_ref_');
10
10
  const isDynamicCarousel = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
11
11
  transpiler.register('wm-carousel', () => {
12
12
  return {
13
13
  pre: (attrs, shared) => {
14
14
  // generating unique Id for the carousel
15
- const counter = idGen$s.nextUid();
15
+ const counter = idGen$t.nextUid();
16
16
  shared.set('carousel_ref', counter);
17
17
  return `<div class="app-carousel carousel"><${carouselTagName} wmCarousel #${counter}="wmCarousel" ${transpiler.getAttrMarkup(attrs)} interval="0" [ngClass]="${counter}.navigationClass">`;
18
18
  },
@@ -114,11 +114,11 @@
114
114
  });
115
115
 
116
116
  const tagName$1A = 'a';
117
- const idGen$r = new core.IDGenerator('wm_anchor');
117
+ const idGen$s = new core.IDGenerator('wm_anchor');
118
118
  transpiler.register('wm-anchor', () => {
119
119
  return {
120
120
  pre: (attrs) => {
121
- const counter = idGen$r.nextUid();
121
+ const counter = idGen$s.nextUid();
122
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}>`
@@ -146,11 +146,11 @@
146
146
  });
147
147
 
148
148
  const tagName$1y = 'div';
149
- const idGen$q = new core.IDGenerator('wm_html');
149
+ const idGen$r = new core.IDGenerator('wm_html');
150
150
  transpiler.register('wm-html', () => {
151
151
  return {
152
152
  pre: (attrs) => {
153
- const counter = idGen$q.nextUid();
153
+ const counter = idGen$r.nextUid();
154
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}>`
@@ -192,7 +192,7 @@
192
192
  });
193
193
 
194
194
  let tagName$1v = 'p';
195
- const idGen$p = new core.IDGenerator('wm_label');
195
+ const idGen$q = new core.IDGenerator('wm_label');
196
196
  transpiler.register('wm-label', () => {
197
197
  return {
198
198
  pre: (attrs) => {
@@ -206,7 +206,7 @@
206
206
  else {
207
207
  tagName$1v = 'label';
208
208
  }
209
- const counter = idGen$p.nextUid();
209
+ const counter = idGen$q.nextUid();
210
210
  return `<${tagName$1v} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.arialabel" ${transpiler.getAttrMarkup(attrs)}>`;
211
211
  },
212
212
  post: () => `</${tagName$1v}>`
@@ -220,11 +220,11 @@
220
220
  });
221
221
 
222
222
  const tagName$1u = 'img';
223
- const idGen$o = new core.IDGenerator('wm_picture');
223
+ const idGen$p = new core.IDGenerator('wm_picture');
224
224
  transpiler.register('wm-picture', () => {
225
225
  return {
226
226
  pre: (attrs) => {
227
- const counter = idGen$o.nextUid();
227
+ const counter = idGen$p.nextUid();
228
228
  return `<${tagName$1u} wmPicture #${counter}="wmPicture" alt="image" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.arialabel || 'Image'" ${transpiler.getAttrMarkup(attrs)}>`;
229
229
  }
230
230
  };
@@ -237,11 +237,11 @@
237
237
  });
238
238
 
239
239
  const tagName$1t = 'div';
240
- const idGen$n = new core.IDGenerator('wm_spinner');
240
+ const idGen$o = new core.IDGenerator('wm_spinner');
241
241
  transpiler.register('wm-spinner', () => {
242
242
  return {
243
243
  pre: (attrs) => {
244
- const counter = idGen$n.nextUid();
244
+ const counter = idGen$o.nextUid();
245
245
  return `<${tagName$1t} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.arialabel || 'Loading...'" aria-live="assertive" aria-busy="true" ${transpiler.getAttrMarkup(attrs)}>`;
246
246
  },
247
247
  post: () => `</${tagName$1t}>`
@@ -294,9 +294,13 @@
294
294
  });
295
295
 
296
296
  const tagName$1r = 'div';
297
+ const idGen$n = new core.IDGenerator('wm_progress_circle');
297
298
  transpiler.register('wm-progress-circle', () => {
298
299
  return {
299
- pre: attrs => `<${tagName$1r} wmProgressCircle ${transpiler.getAttrMarkup(attrs)}>`,
300
+ pre: (attrs) => {
301
+ const counter = idGen$n.nextUid();
302
+ return `<${tagName$1r} wmProgressCircle #${counter}="wmProgressCircle" role="progressbar" [attr.aria-label]="${counter}.arialabel || 'circle-progress'" [attr.hint]="${counter}.hint" [attr.aria-valuetext]="${counter}.displayValue" [attr.aria-valuemin]="${counter}.minvalue" [attr.aria-valuemax]="${counter}.maxvalue" ${transpiler.getAttrMarkup(attrs)}>`;
303
+ },
300
304
  post: () => `</${tagName$1r}>`
301
305
  };
302
306
  });
@@ -1,10 +1,15 @@
1
1
  import { getAttrMarkup, register } from '@wm/transpiler';
2
+ import { IDGenerator } from "@wm/core";
2
3
  const tagName = 'div';
4
+ const idGen = new IDGenerator('wm_progress_circle');
3
5
  register('wm-progress-circle', () => {
4
6
  return {
5
- pre: attrs => `<${tagName} wmProgressCircle ${getAttrMarkup(attrs)}>`,
7
+ pre: (attrs) => {
8
+ const counter = idGen.nextUid();
9
+ return `<${tagName} wmProgressCircle #${counter}="wmProgressCircle" role="progressbar" [attr.aria-label]="${counter}.arialabel || 'circle-progress'" [attr.hint]="${counter}.hint" [attr.aria-valuetext]="${counter}.displayValue" [attr.aria-valuemin]="${counter}.minvalue" [attr.aria-valuemax]="${counter}.maxvalue" ${getAttrMarkup(attrs)}>`;
10
+ },
6
11
  post: () => `</${tagName}>`
7
12
  };
8
13
  });
9
14
  export default () => { };
10
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZ3Jlc3MtY2lyY2xlLmJ1aWxkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy90cmFuc3BpbGUvc3JjL2Jhc2ljL3Byb2dyZXNzL3Byb2dyZXNzLWNpcmNsZS9wcm9ncmVzcy1jaXJjbGUuYnVpbGQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGFBQWEsRUFBaUIsUUFBUSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFeEUsTUFBTSxPQUFPLEdBQUcsS0FBSyxDQUFDO0FBRXRCLFFBQVEsQ0FBQyxvQkFBb0IsRUFBRSxHQUFrQixFQUFFO0lBQy9DLE9BQU87UUFDSCxHQUFHLEVBQUUsS0FBSyxDQUFDLEVBQUUsQ0FBQyxJQUFJLE9BQU8scUJBQXFCLGFBQWEsQ0FBQyxLQUFLLENBQUMsR0FBRztRQUNyRSxJQUFJLEVBQUUsR0FBRyxFQUFFLENBQUMsS0FBSyxPQUFPLEdBQUc7S0FDOUIsQ0FBQztBQUNOLENBQUMsQ0FBQyxDQUFDO0FBR0gsZUFBZSxHQUFHLEVBQUUsR0FBRSxDQUFDLENBQUM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2JhclwiIFthdHRyLmFyaWEtbGFiZWxdPVwiJHtjb3VudGVyfS5hcmlhbGFiZWwgfHwgJ2NpcmNsZS1wcm9ncmVzcydcIiBbYXR0ci5oaW50XT1cIiR7Y291bnRlcn0uaGludFwiIFthdHRyLmFyaWEtdmFsdWV0ZXh0XT1cIiR7Y291bnRlcn0uZGlzcGxheVZhbHVlXCIgW2F0dHIuYXJpYS12YWx1ZW1pbl09XCIke2NvdW50ZXJ9Lm1pbnZhbHVlXCIgW2F0dHIuYXJpYS12YWx1ZW1heF09XCIke2NvdW50ZXJ9Lm1heHZhbHVlXCIgJHtnZXRBdHRyTWFya3VwKGF0dHJzKX0+YDtcbiAgICAgICAgfSxcbiAgICAgICAgcG9zdDogKCkgPT4gYDwvJHt0YWdOYW1lfT5gXG4gICAgfTtcbn0pO1xuXG5cbmV4cG9ydCBkZWZhdWx0ICgpID0+IHt9O1xuIl19
@@ -6,13 +6,13 @@ import { forEach } from 'lodash-es';
6
6
 
7
7
  const carouselTagName = 'carousel';
8
8
  const dataSetKey$5 = 'dataset';
9
- const idGen$s = new IDGenerator('wm_carousel_ref_');
9
+ const idGen$t = new IDGenerator('wm_carousel_ref_');
10
10
  const isDynamicCarousel = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
11
11
  register('wm-carousel', () => {
12
12
  return {
13
13
  pre: (attrs, shared) => {
14
14
  // generating unique Id for the carousel
15
- const counter = idGen$s.nextUid();
15
+ const counter = idGen$t.nextUid();
16
16
  shared.set('carousel_ref', counter);
17
17
  return `<div class="app-carousel carousel"><${carouselTagName} wmCarousel #${counter}="wmCarousel" ${getAttrMarkup(attrs)} interval="0" [ngClass]="${counter}.navigationClass">`;
18
18
  },
@@ -114,11 +114,11 @@ var marquee_build$1 = /*#__PURE__*/Object.freeze({
114
114
  });
115
115
 
116
116
  const tagName$1A = 'a';
117
- const idGen$r = new IDGenerator('wm_anchor');
117
+ const idGen$s = new IDGenerator('wm_anchor');
118
118
  register('wm-anchor', () => {
119
119
  return {
120
120
  pre: (attrs) => {
121
- const counter = idGen$r.nextUid();
121
+ const counter = idGen$s.nextUid();
122
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}>`
@@ -146,11 +146,11 @@ var audio_build$1 = /*#__PURE__*/Object.freeze({
146
146
  });
147
147
 
148
148
  const tagName$1y = 'div';
149
- const idGen$q = new IDGenerator('wm_html');
149
+ const idGen$r = new IDGenerator('wm_html');
150
150
  register('wm-html', () => {
151
151
  return {
152
152
  pre: (attrs) => {
153
- const counter = idGen$q.nextUid();
153
+ const counter = idGen$r.nextUid();
154
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}>`
@@ -192,7 +192,7 @@ var iframe_build$1 = /*#__PURE__*/Object.freeze({
192
192
  });
193
193
 
194
194
  let tagName$1v = 'p';
195
- const idGen$p = new IDGenerator('wm_label');
195
+ const idGen$q = new IDGenerator('wm_label');
196
196
  register('wm-label', () => {
197
197
  return {
198
198
  pre: (attrs) => {
@@ -206,7 +206,7 @@ register('wm-label', () => {
206
206
  else {
207
207
  tagName$1v = 'label';
208
208
  }
209
- const counter = idGen$p.nextUid();
209
+ const counter = idGen$q.nextUid();
210
210
  return `<${tagName$1v} wmLabel #${counter}="wmLabel" [attr.aria-label]="${counter}.arialabel" ${getAttrMarkup(attrs)}>`;
211
211
  },
212
212
  post: () => `</${tagName$1v}>`
@@ -220,11 +220,11 @@ var label_build$1 = /*#__PURE__*/Object.freeze({
220
220
  });
221
221
 
222
222
  const tagName$1u = 'img';
223
- const idGen$o = new IDGenerator('wm_picture');
223
+ const idGen$p = new IDGenerator('wm_picture');
224
224
  register('wm-picture', () => {
225
225
  return {
226
226
  pre: (attrs) => {
227
- const counter = idGen$o.nextUid();
227
+ const counter = idGen$p.nextUid();
228
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
  };
@@ -237,11 +237,11 @@ var picture_build$1 = /*#__PURE__*/Object.freeze({
237
237
  });
238
238
 
239
239
  const tagName$1t = 'div';
240
- const idGen$n = new IDGenerator('wm_spinner');
240
+ const idGen$o = new IDGenerator('wm_spinner');
241
241
  register('wm-spinner', () => {
242
242
  return {
243
243
  pre: (attrs) => {
244
- const counter = idGen$n.nextUid();
244
+ const counter = idGen$o.nextUid();
245
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}>`
@@ -294,9 +294,13 @@ var progressBar_build$1 = /*#__PURE__*/Object.freeze({
294
294
  });
295
295
 
296
296
  const tagName$1r = 'div';
297
+ const idGen$n = new IDGenerator('wm_progress_circle');
297
298
  register('wm-progress-circle', () => {
298
299
  return {
299
- pre: attrs => `<${tagName$1r} wmProgressCircle ${getAttrMarkup(attrs)}>`,
300
+ pre: (attrs) => {
301
+ const counter = idGen$n.nextUid();
302
+ return `<${tagName$1r} wmProgressCircle #${counter}="wmProgressCircle" role="progressbar" [attr.aria-label]="${counter}.arialabel || 'circle-progress'" [attr.hint]="${counter}.hint" [attr.aria-valuetext]="${counter}.displayValue" [attr.aria-valuemin]="${counter}.minvalue" [attr.aria-valuemax]="${counter}.maxvalue" ${getAttrMarkup(attrs)}>`;
303
+ },
300
304
  post: () => `</${tagName$1r}>`
301
305
  };
302
306
  });