@wavemaker/app-ng-runtime 11.7.5-next.NULL → 11.7.5-rc.166

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 (99) hide show
  1. app-ng-runtime/build-task/bundles/index.umd.js +13 -1
  2. app-ng-runtime/build-task/esm2022/navigation/menu/menu.build.mjs +14 -2
  3. app-ng-runtime/build-task/fesm2022/index.mjs +13 -1
  4. app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
  5. app-ng-runtime/components/basic/default/audio/audio.component.d.ts +1 -0
  6. app-ng-runtime/components/basic/default/bundles/index.umd.js +5 -4
  7. app-ng-runtime/components/basic/default/esm2022/audio/audio.component.mjs +6 -5
  8. app-ng-runtime/components/basic/default/fesm2022/index.mjs +5 -4
  9. app-ng-runtime/components/basic/default/fesm2022/index.mjs.map +1 -1
  10. app-ng-runtime/components/basic/progress/bundles/index.umd.js +5 -4
  11. app-ng-runtime/components/basic/progress/esm2022/progress-bar/progress-bar.component.mjs +3 -3
  12. app-ng-runtime/components/basic/progress/esm2022/progress-circle/progress-circle.component.mjs +4 -3
  13. app-ng-runtime/components/basic/progress/fesm2022/index.mjs +5 -4
  14. app-ng-runtime/components/basic/progress/fesm2022/index.mjs.map +1 -1
  15. app-ng-runtime/components/basic/progress/progress-circle/progress-circle.component.d.ts +1 -0
  16. app-ng-runtime/components/basic/rich-text-editor/esm2022/rich-text-editor.component.mjs +1 -1
  17. app-ng-runtime/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
  18. app-ng-runtime/components/basic/search/bundles/index.umd.js +2 -2
  19. app-ng-runtime/components/basic/search/esm2022/search.component.mjs +3 -3
  20. app-ng-runtime/components/basic/search/fesm2022/index.mjs +2 -2
  21. app-ng-runtime/components/basic/search/fesm2022/index.mjs.map +1 -1
  22. app-ng-runtime/components/data/form/bundles/index.umd.js +5 -4
  23. app-ng-runtime/components/data/form/esm2022/form-field/form-field.directive.mjs +1 -2
  24. app-ng-runtime/components/data/form/esm2022/form.component.mjs +2 -2
  25. app-ng-runtime/components/data/form/esm2022/live-form/live-form.directive.mjs +5 -3
  26. app-ng-runtime/components/data/form/fesm2022/index.mjs +5 -4
  27. app-ng-runtime/components/data/form/fesm2022/index.mjs.map +1 -1
  28. app-ng-runtime/components/dialogs/alert-dialog/bundles/index.umd.js +5 -4
  29. app-ng-runtime/components/dialogs/alert-dialog/esm2022/alert-dialog.component.mjs +5 -5
  30. app-ng-runtime/components/dialogs/alert-dialog/esm2022/alert-dialog.props.mjs +2 -1
  31. app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs +5 -4
  32. app-ng-runtime/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -1
  33. app-ng-runtime/components/dialogs/confirm-dialog/bundles/index.umd.js +5 -4
  34. app-ng-runtime/components/dialogs/confirm-dialog/esm2022/confirm-dialog.component.mjs +5 -5
  35. app-ng-runtime/components/dialogs/confirm-dialog/esm2022/confirm-dialog.props.mjs +2 -1
  36. app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs +5 -4
  37. app-ng-runtime/components/dialogs/confirm-dialog/fesm2022/index.mjs.map +1 -1
  38. app-ng-runtime/components/dialogs/default/bundles/index.umd.js +163 -30
  39. app-ng-runtime/components/dialogs/default/dialog-header/dialog-header.component.d.ts +2 -1
  40. app-ng-runtime/components/dialogs/default/esm2022/dialog-header/dialog-header.component.mjs +164 -31
  41. app-ng-runtime/components/dialogs/default/fesm2022/index.mjs +163 -30
  42. app-ng-runtime/components/dialogs/default/fesm2022/index.mjs.map +1 -1
  43. app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js +5 -4
  44. app-ng-runtime/components/dialogs/design-dialog/esm2022/dialog.component.mjs +5 -5
  45. app-ng-runtime/components/dialogs/design-dialog/esm2022/dialog.props.mjs +2 -1
  46. app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs +5 -4
  47. app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
  48. app-ng-runtime/components/dialogs/iframe-dialog/bundles/index.umd.js +5 -4
  49. app-ng-runtime/components/dialogs/iframe-dialog/esm2022/iframe-dialog.component.mjs +5 -5
  50. app-ng-runtime/components/dialogs/iframe-dialog/esm2022/iframe-dialog.props.mjs +2 -1
  51. app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs +5 -4
  52. app-ng-runtime/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
  53. app-ng-runtime/components/dialogs/partial-dialog/bundles/index.umd.js +5 -4
  54. app-ng-runtime/components/dialogs/partial-dialog/esm2022/partial-dialog.component.mjs +5 -5
  55. app-ng-runtime/components/dialogs/partial-dialog/esm2022/partial-dialog.props.mjs +2 -1
  56. app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs +5 -4
  57. app-ng-runtime/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
  58. app-ng-runtime/components/input/default/bundles/index.umd.js +43 -53
  59. app-ng-runtime/components/input/default/esm2022/caption-position.directive.mjs +2 -3
  60. app-ng-runtime/components/input/default/esm2022/select/select.component.mjs +44 -53
  61. app-ng-runtime/components/input/default/fesm2022/index.mjs +44 -54
  62. app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
  63. app-ng-runtime/components/input/default/select/select.component.d.ts +1 -2
  64. app-ng-runtime/components/input/epoch/bundles/index.umd.js +212 -50
  65. app-ng-runtime/components/input/epoch/date/date.component.d.ts +7 -0
  66. app-ng-runtime/components/input/epoch/date/imaskUtil.d.ts +92 -0
  67. app-ng-runtime/components/input/epoch/epoch.module.d.ts +2 -1
  68. app-ng-runtime/components/input/epoch/esm2022/base-date-time.component.mjs +5 -4
  69. app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +76 -28
  70. app-ng-runtime/components/input/epoch/esm2022/date/date.props.mjs +3 -2
  71. app-ng-runtime/components/input/epoch/esm2022/date/imaskUtil.mjs +112 -0
  72. app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +4 -4
  73. app-ng-runtime/components/input/epoch/esm2022/epoch.module.mjs +8 -4
  74. app-ng-runtime/components/input/epoch/esm2022/time/time.component.mjs +3 -3
  75. app-ng-runtime/components/input/epoch/fesm2022/index.mjs +205 -41
  76. app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
  77. app-ng-runtime/components/navigation/menu/bundles/index.umd.js +1 -1
  78. app-ng-runtime/components/navigation/menu/esm2022/menu.component.mjs +2 -2
  79. app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +1 -1
  80. app-ng-runtime/components/navigation/menu/fesm2022/index.mjs.map +1 -1
  81. app-ng-runtime/components/navigation/popover/bundles/index.umd.js +3 -2
  82. app-ng-runtime/components/navigation/popover/esm2022/popover.component.mjs +4 -3
  83. app-ng-runtime/components/navigation/popover/fesm2022/index.mjs +3 -2
  84. app-ng-runtime/components/navigation/popover/fesm2022/index.mjs.map +1 -1
  85. app-ng-runtime/core/bundles/index.umd.js +0 -1
  86. app-ng-runtime/core/esm2022/utils/expression-parser.mjs +1 -2
  87. app-ng-runtime/core/fesm2022/index.mjs +0 -1
  88. app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
  89. app-ng-runtime/mobile/core/bundles/index.umd.js +5 -0
  90. app-ng-runtime/mobile/core/esm2022/native.xhr.mjs +6 -1
  91. app-ng-runtime/mobile/core/fesm2022/index.mjs +5 -0
  92. app-ng-runtime/mobile/core/fesm2022/index.mjs.map +1 -1
  93. app-ng-runtime/mobile/core/native.xhr.d.ts +1 -0
  94. app-ng-runtime/package.json +1 -1
  95. app-ng-runtime/runtime/base/bundles/index.umd.js +1 -0
  96. app-ng-runtime/runtime/base/esm2022/services/i18n.service.mjs +2 -2
  97. app-ng-runtime/runtime/base/fesm2022/index.mjs +1 -1
  98. app-ng-runtime/runtime/base/fesm2022/index.mjs.map +1 -1
  99. app-ng-runtime/scripts/datatable/datatable.js +4 -3
@@ -1804,7 +1804,19 @@
1804
1804
  const tagName$u = 'div';
1805
1805
  transpiler.register('wm-menu', () => {
1806
1806
  return {
1807
- pre: attrs => `<${tagName$u} wmMenu dropdown ${transpiler.getAttrMarkup(attrs)}>`,
1807
+ pre: attrs => {
1808
+ const menuWidth = attrs.get("width");
1809
+ let styleBinding = '';
1810
+ if (menuWidth) {
1811
+ if (menuWidth.indexOf('%') > -1 || menuWidth.indexOf('px') > -1) {
1812
+ styleBinding = `[ngStyle]="{'width': '${menuWidth}'}"`;
1813
+ return `<${tagName$u} wmMenu dropdown ${transpiler.getAttrMarkup(attrs)} ${styleBinding}>`;
1814
+ }
1815
+ }
1816
+ else {
1817
+ return `<${tagName$u} wmMenu dropdown ${transpiler.getAttrMarkup(attrs)}>`;
1818
+ }
1819
+ },
1808
1820
  post: () => `</${tagName$u}>`
1809
1821
  };
1810
1822
  });
@@ -2,9 +2,21 @@ import { getAttrMarkup, register } from '@wm/transpiler';
2
2
  const tagName = 'div';
3
3
  register('wm-menu', () => {
4
4
  return {
5
- pre: attrs => `<${tagName} wmMenu dropdown ${getAttrMarkup(attrs)}>`,
5
+ pre: attrs => {
6
+ const menuWidth = attrs.get("width");
7
+ let styleBinding = '';
8
+ if (menuWidth) {
9
+ if (menuWidth.indexOf('%') > -1 || menuWidth.indexOf('px') > -1) {
10
+ styleBinding = `[ngStyle]="{'width': '${menuWidth}'}"`;
11
+ return `<${tagName} wmMenu dropdown ${getAttrMarkup(attrs)} ${styleBinding}>`;
12
+ }
13
+ }
14
+ else {
15
+ return `<${tagName} wmMenu dropdown ${getAttrMarkup(attrs)}>`;
16
+ }
17
+ },
6
18
  post: () => `</${tagName}>`
7
19
  };
8
20
  });
9
21
  export default () => { };
10
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS5idWlsZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvdHJhbnNwaWxlL3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7fTtcbiJdfQ==
@@ -1803,7 +1803,19 @@ var breadcrumb_build$1 = /*#__PURE__*/Object.freeze({
1803
1803
  const tagName$u = 'div';
1804
1804
  register('wm-menu', () => {
1805
1805
  return {
1806
- pre: attrs => `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)}>`,
1806
+ pre: attrs => {
1807
+ const menuWidth = attrs.get("width");
1808
+ let styleBinding = '';
1809
+ if (menuWidth) {
1810
+ if (menuWidth.indexOf('%') > -1 || menuWidth.indexOf('px') > -1) {
1811
+ styleBinding = `[ngStyle]="{'width': '${menuWidth}'}"`;
1812
+ return `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)} ${styleBinding}>`;
1813
+ }
1814
+ }
1815
+ else {
1816
+ return `<${tagName$u} wmMenu dropdown ${getAttrMarkup(attrs)}>`;
1817
+ }
1818
+ },
1807
1819
  post: () => `</${tagName$u}>`
1808
1820
  };
1809
1821
  });