@wavemaker/app-ng-runtime 12.0.0-next.45057 → 12.0.0-next.45061

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. app-ng-runtime/components/dialogs/default/base-dialog.d.ts +2 -0
  2. app-ng-runtime/components/dialogs/default/bundles/index.umd.js +3 -0
  3. app-ng-runtime/components/dialogs/default/esm2022/base-dialog.mjs +5 -2
  4. app-ng-runtime/components/dialogs/default/fesm2022/index.mjs +4 -1
  5. app-ng-runtime/components/dialogs/default/fesm2022/index.mjs.map +1 -1
  6. app-ng-runtime/components/dialogs/design-dialog/bundles/index.umd.js +19 -2
  7. app-ng-runtime/components/dialogs/design-dialog/dialog.component.d.ts +3 -2
  8. app-ng-runtime/components/dialogs/design-dialog/esm2022/dialog.component.mjs +20 -3
  9. app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs +19 -2
  10. app-ng-runtime/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
  11. app-ng-runtime/components/page/left-panel/bundles/index.umd.js +1 -1
  12. app-ng-runtime/components/page/left-panel/esm2022/left-panel.directive.mjs +3 -3
  13. app-ng-runtime/components/page/left-panel/fesm2022/index.mjs +2 -2
  14. app-ng-runtime/components/page/left-panel/fesm2022/index.mjs.map +1 -1
  15. app-ng-runtime/components/page/right-panel/bundles/index.umd.js +1 -1
  16. app-ng-runtime/components/page/right-panel/esm2022/right-panel.directive.mjs +3 -3
  17. app-ng-runtime/components/page/right-panel/fesm2022/index.mjs +2 -2
  18. app-ng-runtime/components/page/right-panel/fesm2022/index.mjs.map +1 -1
  19. app-ng-runtime/core/bundles/index.umd.js +12 -3
  20. app-ng-runtime/core/esm2022/public_api.mjs +2 -2
  21. app-ng-runtime/core/esm2022/utils/utils.mjs +9 -2
  22. app-ng-runtime/core/fesm2022/index.mjs +11 -3
  23. app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
  24. app-ng-runtime/core/public_api.d.ts +1 -1
  25. app-ng-runtime/core/utils/utils.d.ts +2 -1
  26. app-ng-runtime/package.json +1 -1
  27. app-ng-runtime/runtime/base/bundles/index.umd.js +9 -5
  28. app-ng-runtime/runtime/base/components/base-custom-widget.component.d.ts +2 -1
  29. app-ng-runtime/runtime/base/esm2022/components/base-custom-widget.component.mjs +9 -7
  30. app-ng-runtime/runtime/base/esm2022/public_api.mjs +1 -1
  31. app-ng-runtime/runtime/base/esm2022/types/types.mjs +3 -1
  32. app-ng-runtime/runtime/base/fesm2022/index.mjs +9 -6
  33. app-ng-runtime/runtime/base/fesm2022/index.mjs.map +1 -1
  34. app-ng-runtime/runtime/base/types/types.d.ts +3 -0
  35. app-ng-runtime/runtime/dynamic/app/services/customwidget-config-provider.service.d.ts +8 -0
  36. app-ng-runtime/runtime/dynamic/bundles/index.umd.js +22 -4
  37. app-ng-runtime/runtime/dynamic/esm2022/app/app.module.mjs +4 -2
  38. app-ng-runtime/runtime/dynamic/esm2022/app/services/customwidget-config-provider.service.mjs +22 -0
  39. app-ng-runtime/runtime/dynamic/fesm2022/index.mjs +25 -5
  40. app-ng-runtime/runtime/dynamic/fesm2022/index.mjs.map +1 -1
  41. app-ng-runtime/scripts/custom-widgets-m3/src/checkbox_set/checkbox_set.d.ts +0 -0
  42. app-ng-runtime/scripts/custom-widgets-m3/src/checkbox_set/checkbox_set.js +38 -0
  43. app-ng-runtime/scripts/custom-widgets-m3/src/checkbox_set/page.min.d.ts +7 -0
  44. app-ng-runtime/scripts/custom-widgets-m3/src/checkbox_set/page.min.js +7 -0
  45. app-ng-runtime/scripts/custom-widgets-m3/src/discrete_slider/discrete_slider.d.ts +10 -0
  46. app-ng-runtime/scripts/custom-widgets-m3/src/discrete_slider/discrete_slider.js +171 -0
  47. app-ng-runtime/scripts/custom-widgets-m3/src/discrete_slider/page.min.d.ts +7 -0
  48. app-ng-runtime/scripts/custom-widgets-m3/src/discrete_slider/page.min.js +7 -0
  49. app-ng-runtime/scripts/custom-widgets-m3/src/divider/divider.d.ts +0 -0
  50. app-ng-runtime/scripts/custom-widgets-m3/src/divider/divider.js +28 -0
  51. app-ng-runtime/scripts/custom-widgets-m3/src/divider/page.min.d.ts +7 -0
  52. app-ng-runtime/scripts/custom-widgets-m3/src/divider/page.min.js +7 -0
  53. app-ng-runtime/scripts/custom-widgets-m3/src/icon_button/icon_button.d.ts +0 -0
  54. app-ng-runtime/scripts/custom-widgets-m3/src/icon_button/icon_button.js +24 -0
  55. app-ng-runtime/scripts/custom-widgets-m3/src/icon_button/page.min.d.ts +7 -0
  56. app-ng-runtime/scripts/custom-widgets-m3/src/icon_button/page.min.js +7 -0
  57. app-ng-runtime/scripts/custom-widgets-m3/src/input_chip/input_chip.d.ts +0 -0
  58. app-ng-runtime/scripts/custom-widgets-m3/src/input_chip/input_chip.js +34 -0
  59. app-ng-runtime/scripts/custom-widgets-m3/src/input_chip/input_chip.variables.d.ts +0 -0
  60. app-ng-runtime/scripts/custom-widgets-m3/src/input_chip/input_chip.variables.js +1 -0
  61. app-ng-runtime/scripts/custom-widgets-m3/src/input_chip/page.min.d.ts +7 -0
  62. app-ng-runtime/scripts/custom-widgets-m3/src/input_chip/page.min.js +7 -0
  63. app-ng-runtime/scripts/custom-widgets-m3/src/payee_list/page.min.d.ts +7 -0
  64. app-ng-runtime/scripts/custom-widgets-m3/src/payee_list/page.min.js +7 -0
  65. app-ng-runtime/scripts/custom-widgets-m3/src/payee_list/payee_list.d.ts +0 -0
  66. app-ng-runtime/scripts/custom-widgets-m3/src/payee_list/payee_list.js +19 -0
  67. app-ng-runtime/scripts/custom-widgets-m3/src/progressbar/page.min.d.ts +7 -0
  68. app-ng-runtime/scripts/custom-widgets-m3/src/progressbar/page.min.js +7 -0
  69. app-ng-runtime/scripts/custom-widgets-m3/src/progressbar/progressbar.d.ts +0 -0
  70. app-ng-runtime/scripts/custom-widgets-m3/src/progressbar/progressbar.js +52 -0
  71. app-ng-runtime/scripts/custom-widgets-m3/src/radio_set/page.min.d.ts +7 -0
  72. app-ng-runtime/scripts/custom-widgets-m3/src/radio_set/page.min.js +7 -0
  73. app-ng-runtime/scripts/custom-widgets-m3/src/radio_set/radio_set.d.ts +0 -0
  74. app-ng-runtime/scripts/custom-widgets-m3/src/radio_set/radio_set.js +35 -0
  75. app-ng-runtime/scripts/custom-widgets-m3/src/slider/page.min.d.ts +7 -0
  76. app-ng-runtime/scripts/custom-widgets-m3/src/slider/page.min.js +7 -0
  77. app-ng-runtime/scripts/custom-widgets-m3/src/slider/slider.d.ts +11 -0
  78. app-ng-runtime/scripts/custom-widgets-m3/src/slider/slider.js +121 -0
  79. app-ng-runtime/scripts/custom-widgets-m3/src/switch_button/page.min.d.ts +7 -0
  80. app-ng-runtime/scripts/custom-widgets-m3/src/switch_button/page.min.js +7 -0
  81. app-ng-runtime/scripts/custom-widgets-m3/src/switch_button/switch_button.d.ts +0 -0
  82. app-ng-runtime/scripts/custom-widgets-m3/src/switch_button/switch_button.js +33 -0
  83. app-ng-runtime/scripts/custom-widgets-m3/src/textfield/page.min.d.ts +7 -0
  84. app-ng-runtime/scripts/custom-widgets-m3/src/textfield/page.min.js +7 -0
  85. app-ng-runtime/scripts/custom-widgets-m3/src/textfield/textfield.d.ts +4 -0
  86. app-ng-runtime/scripts/custom-widgets-m3/src/textfield/textfield.js +65 -0
  87. app-ng-runtime/scripts/custom-widgets-m3/src/widget-registry.d.ts +6 -0
  88. app-ng-runtime/scripts/custom-widgets-m3/src/widget-registry.js +68 -0
@@ -2415,7 +2415,14 @@ const REGEX = {
2415
2415
  const NUMBER_TYPES = ['int', DataType.INTEGER, DataType.FLOAT, DataType.DOUBLE, DataType.LONG, DataType.SHORT, DataType.BYTE, DataType.BIG_INTEGER, DataType.BIG_DECIMAL];
2416
2416
  const now = new Date();
2417
2417
  const CURRENT_DATE = 'CURRENT_DATE';
2418
- const APP_NAV = 'app-nav';
2418
+ const getNavClass = (suffix) => {
2419
+ const APP_NAV_CLASS_PREFIX = 'app-nav-';
2420
+ return APP_NAV_CLASS_PREFIX + suffix;
2421
+ };
2422
+ const getSheetPositionClass = (suffix) => {
2423
+ const SHEET_POSITION_CLASS_PREFIX = 'sheet-position-';
2424
+ return SHEET_POSITION_CLASS_PREFIX + suffix;
2425
+ };
2419
2426
  const isDefined = v => 'undefined' !== typeof v;
2420
2427
  const isObject = v => null !== v && 'object' === typeof v;
2421
2428
  const toBoolean = (val, identity) => ((val && val !== 'false') ? true : (identity ? val === identity : false));
@@ -3836,7 +3843,6 @@ const findViewParent = (lView) => {
3836
3843
 
3837
3844
  var Utils = /*#__PURE__*/Object.freeze({
3838
3845
  __proto__: null,
3839
- APP_NAV: APP_NAV,
3840
3846
  AppConstants: AppConstants,
3841
3847
  VALIDATOR: VALIDATOR,
3842
3848
  _WM_APP_PROJECT: _WM_APP_PROJECT,
@@ -3876,9 +3882,11 @@ var Utils = /*#__PURE__*/Object.freeze({
3876
3882
  getFormattedDate: getFormattedDate,
3877
3883
  getMomentLocaleObject: getMomentLocaleObject,
3878
3884
  getNativeDateObject: getNativeDateObject,
3885
+ getNavClass: getNavClass,
3879
3886
  getResourceURL: getResourceURL,
3880
3887
  getRouteNameFromLink: getRouteNameFromLink,
3881
3888
  getSessionStorageItem: getSessionStorageItem,
3889
+ getSheetPositionClass: getSheetPositionClass,
3882
3890
  getUrlParams: getUrlParams,
3883
3891
  getValidDateObject: getValidDateObject,
3884
3892
  getValidJSON: getValidJSON,
@@ -5189,5 +5197,5 @@ class LRUCache {
5189
5197
  * Generated bundle index. Do not edit.
5190
5198
  */
5191
5199
 
5192
- export { $appDigest, $invokeWatchers, $parseEvent, $parseExpr, $unwatch, $watch, APP_NAV, AbstractDialogService, AbstractHttpService, AbstractI18nService, AbstractNavigationService, AbstractSpinnerService, AbstractToasterService, App, AppConstants, AppDefaults, CURRENCY_INFO, ComponentType, ConstantService, CoreModule, CustomIconsLoaderService, CustomPipeManager, CustomWidgetRefProvider, DEFAULT_FORMATS, DataSource, DataType, DynamicComponentRefProvider, EventNotifier, FIRST_TIME_WATCH, FieldTypeService, FieldWidgetService, FormWidgetType, IDGenerator, IDataSource, LRUCache, MatchMode, PaginationService, PartialRefProvider, ScriptLoaderService, ScriptStore, StatePersistence, UserDefinedExecutionContext, UtilsService, VALIDATOR, Viewport, _WM_APP_PROJECT, addClass, addEventListenerOnElement, addForIdAttributes, adjustContainerPosition, adjustContainerRightEdges, appendNode, appendScriptToHead, checkIsCustomPipeExpression, closePopover, convertToBlob, createCSSRule, createElement, deHyphenate, debounce, defer, detectChanges, encodeUrl, encodeUrlParams, executePromiseChain, extendProto, extractCurrentItemExpr, extractType, fetchContent, findParent, findRootContainer, findValueOf, generateGUId, getAbortableDefer, getAndroidVersion, getAppSetting, getBlob, getClonedObject, getDatasourceFromExpr, getDateObj, getDisplayDateTimeFormat, getEvaluatedExprValue, getFiles, getFnByExpr, getFnForBindExpr, getFnForEventExpr, getFormWidgetTemplate, getFormattedDate, getMomentLocaleObject, getNativeDateObject, getNgModelAttr, getRequiredFormWidget, getResourceURL, getRouteNameFromLink, getRowActionAttrs, getSessionStorageItem, getUrlParams, getValidDateObject, getValidJSON, getWebkitTraslationMatrix, getWmProjectProperties, hasCordova, hasOffsetStr, initCaps, insertAfter, insertBefore, isAndroid, isAndroidTablet, isAppleProduct, isAudioFile, isChangeFromWatch, isDataSourceEqual, isDateTimeType, isDefined, isElementInViewport, isEmptyObject, isEqualWithFields, isFirstTimeChange, isIE, isImageFile, isInsecureContentRequest, isIos, isIpad, isIphone, isIpod, isKitkatDevice, isLargeTabletLandscape, isLargeTabletPortrait, isMobile, isMobileApp, isNumberType, isObject, isPageable, isValidWebURL, isVideoFile, loadScript, loadScripts, loadStyleSheet, loadStyleSheets, muteWatchers, noop, openLink, periodSeparate, prettifyLabel, prettifyLabels, processFilterExpBindNode, registerFnByExpr, removeAttr, removeClass, removeExtraSlashes, removeNode, replace, replaceAt, resetChangeFromWatch, retryIfFails, scrollToElement, setAppRef, setAttr, setCSS, setCSSFromObj, setHtml, setListClass, setNgZone, setPipeProvider, setProperty, setSessionStorageItem, setTranslation3dPosition, setWmProjectProperties, spaceSeparate, stringStartsWith, switchClass, toBoolean, toDimension, toPromise, toggleClass, transformFileURI, triggerFn, triggerItemAction, unMuteWatchers, updateTemplateAttrs, validateAccessRoles, validateDataSourceCtx, xmlToJson };
5200
+ export { $appDigest, $invokeWatchers, $parseEvent, $parseExpr, $unwatch, $watch, AbstractDialogService, AbstractHttpService, AbstractI18nService, AbstractNavigationService, AbstractSpinnerService, AbstractToasterService, App, AppConstants, AppDefaults, CURRENCY_INFO, ComponentType, ConstantService, CoreModule, CustomIconsLoaderService, CustomPipeManager, CustomWidgetRefProvider, DEFAULT_FORMATS, DataSource, DataType, DynamicComponentRefProvider, EventNotifier, FIRST_TIME_WATCH, FieldTypeService, FieldWidgetService, FormWidgetType, IDGenerator, IDataSource, LRUCache, MatchMode, PaginationService, PartialRefProvider, ScriptLoaderService, ScriptStore, StatePersistence, UserDefinedExecutionContext, UtilsService, VALIDATOR, Viewport, _WM_APP_PROJECT, addClass, addEventListenerOnElement, addForIdAttributes, adjustContainerPosition, adjustContainerRightEdges, appendNode, appendScriptToHead, checkIsCustomPipeExpression, closePopover, convertToBlob, createCSSRule, createElement, deHyphenate, debounce, defer, detectChanges, encodeUrl, encodeUrlParams, executePromiseChain, extendProto, extractCurrentItemExpr, extractType, fetchContent, findParent, findRootContainer, findValueOf, generateGUId, getAbortableDefer, getAndroidVersion, getAppSetting, getBlob, getClonedObject, getDatasourceFromExpr, getDateObj, getDisplayDateTimeFormat, getEvaluatedExprValue, getFiles, getFnByExpr, getFnForBindExpr, getFnForEventExpr, getFormWidgetTemplate, getFormattedDate, getMomentLocaleObject, getNativeDateObject, getNavClass, getNgModelAttr, getRequiredFormWidget, getResourceURL, getRouteNameFromLink, getRowActionAttrs, getSessionStorageItem, getSheetPositionClass, getUrlParams, getValidDateObject, getValidJSON, getWebkitTraslationMatrix, getWmProjectProperties, hasCordova, hasOffsetStr, initCaps, insertAfter, insertBefore, isAndroid, isAndroidTablet, isAppleProduct, isAudioFile, isChangeFromWatch, isDataSourceEqual, isDateTimeType, isDefined, isElementInViewport, isEmptyObject, isEqualWithFields, isFirstTimeChange, isIE, isImageFile, isInsecureContentRequest, isIos, isIpad, isIphone, isIpod, isKitkatDevice, isLargeTabletLandscape, isLargeTabletPortrait, isMobile, isMobileApp, isNumberType, isObject, isPageable, isValidWebURL, isVideoFile, loadScript, loadScripts, loadStyleSheet, loadStyleSheets, muteWatchers, noop, openLink, periodSeparate, prettifyLabel, prettifyLabels, processFilterExpBindNode, registerFnByExpr, removeAttr, removeClass, removeExtraSlashes, removeNode, replace, replaceAt, resetChangeFromWatch, retryIfFails, scrollToElement, setAppRef, setAttr, setCSS, setCSSFromObj, setHtml, setListClass, setNgZone, setPipeProvider, setProperty, setSessionStorageItem, setTranslation3dPosition, setWmProjectProperties, spaceSeparate, stringStartsWith, switchClass, toBoolean, toDimension, toPromise, toggleClass, transformFileURI, triggerFn, triggerItemAction, unMuteWatchers, updateTemplateAttrs, validateAccessRoles, validateDataSourceCtx, xmlToJson };
5193
5201
  //# sourceMappingURL=index.mjs.map