@wavemaker/app-ng-runtime 11.4.0-next.28701 → 11.4.0-rc.121

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 (127) hide show
  1. app-ng-runtime/build-task/basic/tree/tree.build.d.ts +1 -2
  2. app-ng-runtime/build-task/bundles/index.umd.js +7 -9
  3. app-ng-runtime/build-task/bundles/index.umd.js.map +1 -1
  4. app-ng-runtime/build-task/esm2015/basic/tree/tree.build.js +3 -4
  5. app-ng-runtime/build-task/esm2015/navigation/popover/popover.build.js +3 -3
  6. app-ng-runtime/build-task/fesm2015/index.js +7 -9
  7. app-ng-runtime/build-task/fesm2015/index.js.map +1 -1
  8. app-ng-runtime/components/base/bundles/index.umd.js +22 -8
  9. app-ng-runtime/components/base/bundles/index.umd.js.map +1 -1
  10. app-ng-runtime/components/base/esm2015/directives/show-in-device.directive.js +16 -5
  11. app-ng-runtime/components/base/esm2015/utils/widget-utils.js +7 -4
  12. app-ng-runtime/components/base/esm2015/widgets/common/dialog/dialog.service.js +3 -3
  13. app-ng-runtime/components/base/fesm2015/index.js +23 -9
  14. app-ng-runtime/components/base/fesm2015/index.js.map +1 -1
  15. app-ng-runtime/components/base/utils/widget-utils.d.ts +1 -1
  16. app-ng-runtime/components/basic/tree/bundles/index.umd.js +369 -245
  17. app-ng-runtime/components/basic/tree/bundles/index.umd.js.map +1 -1
  18. app-ng-runtime/components/basic/tree/esm2015/public_api.js +2 -2
  19. app-ng-runtime/components/basic/tree/esm2015/tree.component.js +403 -0
  20. app-ng-runtime/components/basic/tree/esm2015/tree.module.js +3 -3
  21. app-ng-runtime/components/basic/tree/fesm2015/index.js +333 -240
  22. app-ng-runtime/components/basic/tree/fesm2015/index.js.map +1 -1
  23. app-ng-runtime/components/basic/tree/index.metadata.json +1 -1
  24. app-ng-runtime/components/basic/tree/public_api.d.ts +1 -1
  25. app-ng-runtime/components/basic/tree/tree.component.d.ts +43 -0
  26. app-ng-runtime/components/chart/bundles/index.umd.js +1 -1
  27. app-ng-runtime/components/chart/bundles/index.umd.js.map +1 -1
  28. app-ng-runtime/components/chart/esm2015/chart.component.js +2 -2
  29. app-ng-runtime/components/chart/fesm2015/index.js +1 -1
  30. app-ng-runtime/components/chart/fesm2015/index.js.map +1 -1
  31. app-ng-runtime/components/containers/tabs/bundles/index.umd.js +39 -23
  32. app-ng-runtime/components/containers/tabs/bundles/index.umd.js.map +1 -1
  33. app-ng-runtime/components/containers/tabs/esm2015/tab-pane/tab-pane.component.js +8 -1
  34. app-ng-runtime/components/containers/tabs/esm2015/tabs.animator.js +33 -13
  35. app-ng-runtime/components/containers/tabs/fesm2015/index.js +40 -13
  36. app-ng-runtime/components/containers/tabs/fesm2015/index.js.map +1 -1
  37. app-ng-runtime/components/containers/tabs/tabs.animator.d.ts +5 -1
  38. app-ng-runtime/components/containers/wizard/bundles/index.umd.js +43 -2
  39. app-ng-runtime/components/containers/wizard/bundles/index.umd.js.map +1 -1
  40. app-ng-runtime/components/containers/wizard/esm2015/wizard-step/wizard-step.props.js +3 -2
  41. app-ng-runtime/components/containers/wizard/esm2015/wizard.component.js +42 -2
  42. app-ng-runtime/components/containers/wizard/fesm2015/index.js +43 -2
  43. app-ng-runtime/components/containers/wizard/fesm2015/index.js.map +1 -1
  44. app-ng-runtime/components/containers/wizard/index.metadata.json +1 -1
  45. app-ng-runtime/components/containers/wizard/wizard.component.d.ts +2 -0
  46. app-ng-runtime/components/data/list/bundles/index.umd.js +51 -42
  47. app-ng-runtime/components/data/list/bundles/index.umd.js.map +1 -1
  48. app-ng-runtime/components/data/list/esm2015/list.component.js +51 -42
  49. app-ng-runtime/components/data/list/fesm2015/index.js +50 -41
  50. app-ng-runtime/components/data/list/fesm2015/index.js.map +1 -1
  51. app-ng-runtime/components/data/list/index.metadata.json +1 -1
  52. app-ng-runtime/components/data/pagination/bundles/index.umd.js +21 -4
  53. app-ng-runtime/components/data/pagination/bundles/index.umd.js.map +1 -1
  54. app-ng-runtime/components/data/pagination/esm2015/pagination.component.js +22 -5
  55. app-ng-runtime/components/data/pagination/fesm2015/index.js +21 -4
  56. app-ng-runtime/components/data/pagination/fesm2015/index.js.map +1 -1
  57. app-ng-runtime/components/data/pagination/index.metadata.json +1 -1
  58. app-ng-runtime/components/data/pagination/pagination.component.d.ts +1 -0
  59. app-ng-runtime/components/data/table/bundles/index.umd.js +7 -0
  60. app-ng-runtime/components/data/table/bundles/index.umd.js.map +1 -1
  61. app-ng-runtime/components/data/table/esm2015/table.component.js +8 -1
  62. app-ng-runtime/components/data/table/fesm2015/index.js +7 -0
  63. app-ng-runtime/components/data/table/fesm2015/index.js.map +1 -1
  64. app-ng-runtime/components/data/table/index.metadata.json +1 -1
  65. app-ng-runtime/components/dialogs/default/base-dialog.d.ts +1 -0
  66. app-ng-runtime/components/dialogs/default/bundles/index.umd.js +13 -4
  67. app-ng-runtime/components/dialogs/default/bundles/index.umd.js.map +1 -1
  68. app-ng-runtime/components/dialogs/default/esm2015/base-dialog.js +14 -6
  69. app-ng-runtime/components/dialogs/default/fesm2015/index.js +13 -5
  70. app-ng-runtime/components/dialogs/default/fesm2015/index.js.map +1 -1
  71. app-ng-runtime/components/dialogs/default/index.metadata.json +1 -1
  72. app-ng-runtime/components/input/epoch/bundles/index.umd.js +66 -29
  73. app-ng-runtime/components/input/epoch/bundles/index.umd.js.map +1 -1
  74. app-ng-runtime/components/input/epoch/date-time/date-time-picker.component.d.ts +1 -0
  75. app-ng-runtime/components/input/epoch/esm2015/base-date-time.component.js +43 -25
  76. app-ng-runtime/components/input/epoch/esm2015/date/date.component.js +3 -3
  77. app-ng-runtime/components/input/epoch/esm2015/date-time/date-time-picker.component.js +31 -11
  78. app-ng-runtime/components/input/epoch/esm2015/date-time/date-time.component.js +2 -2
  79. app-ng-runtime/components/input/epoch/fesm2015/index.js +75 -37
  80. app-ng-runtime/components/input/epoch/fesm2015/index.js.map +1 -1
  81. app-ng-runtime/components/input/epoch/index.metadata.json +1 -1
  82. app-ng-runtime/components/navigation/popover/bundles/index.umd.js +3 -4
  83. app-ng-runtime/components/navigation/popover/bundles/index.umd.js.map +1 -1
  84. app-ng-runtime/components/navigation/popover/esm2015/popover.component.js +5 -6
  85. app-ng-runtime/components/navigation/popover/fesm2015/index.js +4 -5
  86. app-ng-runtime/components/navigation/popover/fesm2015/index.js.map +1 -1
  87. app-ng-runtime/core/bundles/index.umd.js +12 -2
  88. app-ng-runtime/core/bundles/index.umd.js.map +1 -1
  89. app-ng-runtime/core/esm2015/services/viewport.service.js +6 -4
  90. app-ng-runtime/core/esm2015/utils/utils.js +11 -3
  91. app-ng-runtime/core/fesm2015/index.js +15 -5
  92. app-ng-runtime/core/fesm2015/index.js.map +1 -1
  93. app-ng-runtime/core/index.metadata.json +1 -1
  94. app-ng-runtime/core/utils/utils.d.ts +2 -2
  95. app-ng-runtime/mobile/components/page/default/bundles/index.umd.js +24 -6
  96. app-ng-runtime/mobile/components/page/default/bundles/index.umd.js.map +1 -1
  97. app-ng-runtime/mobile/components/page/default/esm2015/page.directive.js +20 -3
  98. app-ng-runtime/mobile/components/page/default/fesm2015/index.js +19 -2
  99. app-ng-runtime/mobile/components/page/default/fesm2015/index.js.map +1 -1
  100. app-ng-runtime/mobile/components/page/default/index.metadata.json +1 -1
  101. app-ng-runtime/mobile/components/page/default/page.directive.d.ts +4 -1
  102. app-ng-runtime/package.json +1 -1
  103. app-ng-runtime/runtime/base/bundles/index.umd.js +164 -133
  104. app-ng-runtime/runtime/base/bundles/index.umd.js.map +1 -1
  105. app-ng-runtime/runtime/base/esm2015/components/app-component/app.component.js +2 -2
  106. app-ng-runtime/runtime/base/esm2015/public_api.js +2 -1
  107. app-ng-runtime/runtime/base/esm2015/runtime-base.module.js +3 -1
  108. app-ng-runtime/runtime/base/esm2015/services/app.service.js +3 -1
  109. app-ng-runtime/runtime/base/esm2015/services/pipe.service.js +33 -0
  110. app-ng-runtime/runtime/base/fesm2015/index.js +149 -120
  111. app-ng-runtime/runtime/base/fesm2015/index.js.map +1 -1
  112. app-ng-runtime/runtime/base/index.metadata.json +1 -1
  113. app-ng-runtime/runtime/base/public_api.d.ts +1 -0
  114. app-ng-runtime/runtime/base/services/pipe.service.d.ts +9 -0
  115. app-ng-runtime/scripts/datatable/datatable.js +23 -23
  116. app-ng-runtime/scripts/tree-keyboard-navigation/keyboard-navigation.js +251 -0
  117. app-ng-runtime/variables/bundles/index.umd.js +37 -22
  118. app-ng-runtime/variables/bundles/index.umd.js.map +1 -1
  119. app-ng-runtime/variables/esm2015/manager/action/notification-action.manager.js +29 -24
  120. app-ng-runtime/variables/esm2015/service/variables.service.js +8 -1
  121. app-ng-runtime/variables/fesm2015/index.js +35 -24
  122. app-ng-runtime/variables/fesm2015/index.js.map +1 -1
  123. app-ng-runtime/variables/index.metadata.json +1 -1
  124. app-ng-runtime/variables/manager/action/notification-action.manager.d.ts +1 -0
  125. app-ng-runtime/variables/service/variables.service.d.ts +4 -0
  126. app-ng-runtime/components/basic/tree/esm2015/tree.directive.js +0 -310
  127. app-ng-runtime/components/basic/tree/tree.directive.d.ts +0 -35
@@ -811,9 +811,12 @@
811
811
  * @returns {Array}
812
812
  */
813
813
  var getKeyboardFocusableElements = function (element) {
814
- return [element.querySelectorAll('a, button, input, textarea, select, details, iframe, embed, object, summary dialog, audio[controls], video[controls], [contenteditable], [tabindex]:not([tabindex="-1"])')].filter(function (el) {
815
- return (!el[0].hasAttribute('disabled') && !el[0].hasAttribute('hidden'));
816
- })[0];
814
+ var elementNodeList = element.querySelectorAll('a, button, input, textarea, select, details, iframe, embed, object, summary dialog, audio[controls], video[controls], [contenteditable]');
815
+ var elements = Array.from(elementNodeList);
816
+ return elements.filter(function (el) {
817
+ return (!el.hasAttribute('disabled') && !el.hasAttribute('hidden')
818
+ && (!el.hasAttribute('tabindex') || (el.hasAttribute('tabindex') && !el.getAttribute("tabindex").startsWith('-'))));
819
+ });
817
820
  };
818
821
 
819
822
  exports.APPLY_STYLES_TYPE = void 0;
@@ -2352,10 +2355,21 @@
2352
2355
  5. For all, always render the view.
2353
2356
  */
2354
2357
  ShowInDeviceDirective.prototype.onResize = function ($event) {
2355
- if ((this.devices.indexOf('lg') > -1 && window.matchMedia("(min-width: 1200px)").matches && !core$1.isLargeTabletLandscape())
2356
- || (this.devices.indexOf('md') > -1 && (core$1.isLargeTabletLandscape() || (window.matchMedia("(min-width: 992px) and (max-width: 1199px)").matches && !core$1.isLargeTabletPortrait())))
2357
- || (this.devices.indexOf('sm') > -1 && (window.matchMedia("(min-width: 768px) and (max-width: 991px)").matches || core$1.isLargeTabletPortrait()))
2358
- || (this.devices.indexOf('xs') > -1 && window.matchMedia("(max-width: 767px)").matches)
2358
+ var lgWidth = getComputedStyle(document.documentElement).getPropertyValue('--screen-lg') || '1200px';
2359
+ var mdWidth = getComputedStyle(document.documentElement).getPropertyValue('--screen-md') || '992px';
2360
+ var smWidth = getComputedStyle(document.documentElement).getPropertyValue('--screen-sm') || '768px';
2361
+ var lgTabLandScapeWidth = getComputedStyle(document.documentElement).getPropertyValue('--screen-lg-tab-landscape') || '1366px';
2362
+ var lgTabPortraitWidth = getComputedStyle(document.documentElement).getPropertyValue('--screen-lg-tab-portrait') || '1024px';
2363
+ var lgWidthMin = parseFloat(lgWidth) - 1;
2364
+ var lgUnit = lgWidthMin + "px";
2365
+ var mdWidthMin = parseFloat(mdWidth) - 1;
2366
+ var mdUnit = mdWidthMin + "px";
2367
+ var smWidthMin = parseFloat(smWidth) - 1;
2368
+ var smUnit = smWidthMin + "px";
2369
+ if ((this.devices.indexOf('lg') > -1 && window.matchMedia("(min-width: " + lgWidth + ")").matches && !core$1.isLargeTabletLandscape(lgTabLandScapeWidth, lgTabPortraitWidth))
2370
+ || (this.devices.indexOf('md') > -1 && (core$1.isLargeTabletLandscape(lgTabLandScapeWidth, lgTabPortraitWidth) || (window.matchMedia("(min-width: " + mdWidth + ") and (max-width: " + lgUnit + ")").matches && !core$1.isLargeTabletPortrait(lgTabLandScapeWidth, lgTabPortraitWidth))))
2371
+ || (this.devices.indexOf('sm') > -1 && (window.matchMedia("(min-width: " + smWidth + ") and (max-width: " + mdUnit + ")").matches || core$1.isLargeTabletPortrait(lgTabLandScapeWidth, lgTabPortraitWidth)))
2372
+ || (this.devices.indexOf('xs') > -1 && window.matchMedia("(max-width: " + smUnit + ")").matches)
2359
2373
  || (this.devices.indexOf('all') > -1)) {
2360
2374
  if (!this.embeddedView) {
2361
2375
  this.embeddedView = this.viewContainerRef.createEmbeddedView(this.templateRef, this.context);
@@ -3244,7 +3258,7 @@
3244
3258
  if (openedDialogs.indexOf(ref) !== -1) {
3245
3259
  openedDialogs.splice(openedDialogs.indexOf(ref), 1);
3246
3260
  }
3247
- if (openedDialogs.length === 0 && core$1.isMobileApp()) {
3261
+ if (openedDialogs.length === 0 && (core$1.isMobile() || core$1.isMobileApp())) {
3248
3262
  //Fix for [WMS-23948]: remove aria-hidden attribute only after all dialogs are closed
3249
3263
  var parentSelector = $('body > app-root')[0];
3250
3264
  parentSelector.removeAttribute('aria-hidden');