@wavemaker/app-ng-runtime 12.0.0-next.45055 → 12.0.0-next.45058

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) 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 +6 -2
  12. app-ng-runtime/components/page/left-panel/esm2022/left-panel.directive.mjs +9 -5
  13. app-ng-runtime/components/page/left-panel/fesm2022/index.mjs +8 -4
  14. app-ng-runtime/components/page/left-panel/fesm2022/index.mjs.map +1 -1
  15. app-ng-runtime/components/page/left-panel/left-panel.directive.d.ts +2 -2
  16. app-ng-runtime/components/page/right-panel/bundles/index.umd.js +6 -2
  17. app-ng-runtime/components/page/right-panel/esm2022/right-panel.directive.mjs +9 -5
  18. app-ng-runtime/components/page/right-panel/fesm2022/index.mjs +8 -4
  19. app-ng-runtime/components/page/right-panel/fesm2022/index.mjs.map +1 -1
  20. app-ng-runtime/components/page/right-panel/right-panel.directive.d.ts +2 -2
  21. app-ng-runtime/core/bundles/index.umd.js +12 -0
  22. app-ng-runtime/core/esm2022/public_api.mjs +2 -2
  23. app-ng-runtime/core/esm2022/utils/utils.mjs +9 -1
  24. app-ng-runtime/core/fesm2022/index.mjs +11 -1
  25. app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
  26. app-ng-runtime/core/public_api.d.ts +1 -1
  27. app-ng-runtime/core/utils/utils.d.ts +2 -0
  28. app-ng-runtime/package.json +1 -1
  29. app-ng-runtime/runtime/base/bundles/index.umd.js +9 -5
  30. app-ng-runtime/runtime/base/components/base-custom-widget.component.d.ts +2 -1
  31. app-ng-runtime/runtime/base/esm2022/components/base-custom-widget.component.mjs +9 -7
  32. app-ng-runtime/runtime/base/esm2022/public_api.mjs +1 -1
  33. app-ng-runtime/runtime/base/esm2022/types/types.mjs +3 -1
  34. app-ng-runtime/runtime/base/fesm2022/index.mjs +9 -6
  35. app-ng-runtime/runtime/base/fesm2022/index.mjs.map +1 -1
  36. app-ng-runtime/runtime/base/types/types.d.ts +3 -0
  37. app-ng-runtime/runtime/dynamic/app/services/customwidget-config-provider.service.d.ts +8 -0
  38. app-ng-runtime/runtime/dynamic/bundles/index.umd.js +22 -4
  39. app-ng-runtime/runtime/dynamic/esm2022/app/app.module.mjs +4 -2
  40. app-ng-runtime/runtime/dynamic/esm2022/app/services/customwidget-config-provider.service.mjs +22 -0
  41. app-ng-runtime/runtime/dynamic/fesm2022/index.mjs +25 -5
  42. app-ng-runtime/runtime/dynamic/fesm2022/index.mjs.map +1 -1
  43. app-ng-runtime/scripts/custom-widgets-m3/src/checkbox_set/checkbox_set.d.ts +0 -0
  44. app-ng-runtime/scripts/custom-widgets-m3/src/checkbox_set/checkbox_set.js +38 -0
  45. app-ng-runtime/scripts/custom-widgets-m3/src/checkbox_set/page.min.d.ts +7 -0
  46. app-ng-runtime/scripts/custom-widgets-m3/src/checkbox_set/page.min.js +7 -0
  47. app-ng-runtime/scripts/custom-widgets-m3/src/discrete_slider/discrete_slider.d.ts +10 -0
  48. app-ng-runtime/scripts/custom-widgets-m3/src/discrete_slider/discrete_slider.js +171 -0
  49. app-ng-runtime/scripts/custom-widgets-m3/src/discrete_slider/page.min.d.ts +7 -0
  50. app-ng-runtime/scripts/custom-widgets-m3/src/discrete_slider/page.min.js +7 -0
  51. app-ng-runtime/scripts/custom-widgets-m3/src/divider/divider.d.ts +0 -0
  52. app-ng-runtime/scripts/custom-widgets-m3/src/divider/divider.js +28 -0
  53. app-ng-runtime/scripts/custom-widgets-m3/src/divider/page.min.d.ts +7 -0
  54. app-ng-runtime/scripts/custom-widgets-m3/src/divider/page.min.js +7 -0
  55. app-ng-runtime/scripts/custom-widgets-m3/src/icon_button/icon_button.d.ts +0 -0
  56. app-ng-runtime/scripts/custom-widgets-m3/src/icon_button/icon_button.js +24 -0
  57. app-ng-runtime/scripts/custom-widgets-m3/src/icon_button/page.min.d.ts +7 -0
  58. app-ng-runtime/scripts/custom-widgets-m3/src/icon_button/page.min.js +7 -0
  59. app-ng-runtime/scripts/custom-widgets-m3/src/input_chip/input_chip.d.ts +0 -0
  60. app-ng-runtime/scripts/custom-widgets-m3/src/input_chip/input_chip.js +34 -0
  61. app-ng-runtime/scripts/custom-widgets-m3/src/input_chip/input_chip.variables.d.ts +0 -0
  62. app-ng-runtime/scripts/custom-widgets-m3/src/input_chip/input_chip.variables.js +1 -0
  63. app-ng-runtime/scripts/custom-widgets-m3/src/input_chip/page.min.d.ts +7 -0
  64. app-ng-runtime/scripts/custom-widgets-m3/src/input_chip/page.min.js +7 -0
  65. app-ng-runtime/scripts/custom-widgets-m3/src/payee_list/page.min.d.ts +7 -0
  66. app-ng-runtime/scripts/custom-widgets-m3/src/payee_list/page.min.js +7 -0
  67. app-ng-runtime/scripts/custom-widgets-m3/src/payee_list/payee_list.d.ts +0 -0
  68. app-ng-runtime/scripts/custom-widgets-m3/src/payee_list/payee_list.js +19 -0
  69. app-ng-runtime/scripts/custom-widgets-m3/src/progressbar/page.min.d.ts +7 -0
  70. app-ng-runtime/scripts/custom-widgets-m3/src/progressbar/page.min.js +7 -0
  71. app-ng-runtime/scripts/custom-widgets-m3/src/progressbar/progressbar.d.ts +0 -0
  72. app-ng-runtime/scripts/custom-widgets-m3/src/progressbar/progressbar.js +52 -0
  73. app-ng-runtime/scripts/custom-widgets-m3/src/radio_set/page.min.d.ts +7 -0
  74. app-ng-runtime/scripts/custom-widgets-m3/src/radio_set/page.min.js +7 -0
  75. app-ng-runtime/scripts/custom-widgets-m3/src/radio_set/radio_set.d.ts +0 -0
  76. app-ng-runtime/scripts/custom-widgets-m3/src/radio_set/radio_set.js +35 -0
  77. app-ng-runtime/scripts/custom-widgets-m3/src/slider/page.min.d.ts +7 -0
  78. app-ng-runtime/scripts/custom-widgets-m3/src/slider/page.min.js +7 -0
  79. app-ng-runtime/scripts/custom-widgets-m3/src/slider/slider.d.ts +11 -0
  80. app-ng-runtime/scripts/custom-widgets-m3/src/slider/slider.js +121 -0
  81. app-ng-runtime/scripts/custom-widgets-m3/src/switch_button/page.min.d.ts +7 -0
  82. app-ng-runtime/scripts/custom-widgets-m3/src/switch_button/page.min.js +7 -0
  83. app-ng-runtime/scripts/custom-widgets-m3/src/switch_button/switch_button.d.ts +0 -0
  84. app-ng-runtime/scripts/custom-widgets-m3/src/switch_button/switch_button.js +33 -0
  85. app-ng-runtime/scripts/custom-widgets-m3/src/textfield/page.min.d.ts +7 -0
  86. app-ng-runtime/scripts/custom-widgets-m3/src/textfield/page.min.js +7 -0
  87. app-ng-runtime/scripts/custom-widgets-m3/src/textfield/textfield.d.ts +4 -0
  88. app-ng-runtime/scripts/custom-widgets-m3/src/textfield/textfield.js +65 -0
  89. app-ng-runtime/scripts/custom-widgets-m3/src/widget-registry.d.ts +6 -0
  90. app-ng-runtime/scripts/custom-widgets-m3/src/widget-registry.js +68 -0
@@ -2415,6 +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 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
+ };
2418
2426
  const isDefined = v => 'undefined' !== typeof v;
2419
2427
  const isObject = v => null !== v && 'object' === typeof v;
2420
2428
  const toBoolean = (val, identity) => ((val && val !== 'false') ? true : (identity ? val === identity : false));
@@ -3874,9 +3882,11 @@ var Utils = /*#__PURE__*/Object.freeze({
3874
3882
  getFormattedDate: getFormattedDate,
3875
3883
  getMomentLocaleObject: getMomentLocaleObject,
3876
3884
  getNativeDateObject: getNativeDateObject,
3885
+ getNavClass: getNavClass,
3877
3886
  getResourceURL: getResourceURL,
3878
3887
  getRouteNameFromLink: getRouteNameFromLink,
3879
3888
  getSessionStorageItem: getSessionStorageItem,
3889
+ getSheetPositionClass: getSheetPositionClass,
3880
3890
  getUrlParams: getUrlParams,
3881
3891
  getValidDateObject: getValidDateObject,
3882
3892
  getValidJSON: getValidJSON,
@@ -5187,5 +5197,5 @@ class LRUCache {
5187
5197
  * Generated bundle index. Do not edit.
5188
5198
  */
5189
5199
 
5190
- 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, 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 };
5191
5201
  //# sourceMappingURL=index.mjs.map