@mediusinc/mng-commons 0.12.0 → 0.12.1

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. package/esm2020/lib/components/action/action.component.mjs +14 -13
  2. package/esm2020/lib/components/form/autocomplete/autocomplete.component.mjs +6 -2
  3. package/esm2020/lib/components/form/dropdown/dropdown.component.mjs +4 -1
  4. package/esm2020/lib/components/tableview/table/table.component.mjs +2 -2
  5. package/esm2020/lib/descriptors/action.descriptor.mjs +49 -21
  6. package/esm2020/lib/services/configuration.service.mjs +11 -2
  7. package/esm2020/lib/services/internal/commons-init.service.mjs +2 -2
  8. package/esm2020/lib/styles/button-style.builder.mjs +112 -0
  9. package/esm2020/lib/styles/index.mjs +3 -0
  10. package/esm2020/lib/styles/styles.util.mjs +41 -0
  11. package/esm2020/public-api.mjs +3 -1
  12. package/fesm2015/mediusinc-mng-commons.mjs +230 -74
  13. package/fesm2015/mediusinc-mng-commons.mjs.map +1 -1
  14. package/fesm2020/mediusinc-mng-commons.mjs +230 -74
  15. package/fesm2020/mediusinc-mng-commons.mjs.map +1 -1
  16. package/lib/components/action/action.component.d.ts +2 -9
  17. package/lib/descriptors/action.descriptor.d.ts +31 -6
  18. package/lib/services/configuration.service.d.ts +10 -1
  19. package/lib/styles/button-style.builder.d.ts +26 -0
  20. package/lib/styles/index.d.ts +2 -0
  21. package/lib/{utils → styles}/styles.util.d.ts +0 -0
  22. package/package.json +1 -1
  23. package/public-api.d.ts +1 -0
  24. package/scss/common/theme/designer/components/button/_speeddial.scss +6 -4
  25. package/scss/common/theme/designer/components/input/_autocomplete.scss +5 -3
  26. package/scss/common/theme/designer/components/input/_chips.scss +5 -3
  27. package/scss/common/theme/designer/components/input/_inputswitch.scss +3 -1
  28. package/scss/common/theme/designer/components/input/_multiselect.scss +4 -2
  29. package/scss/common/theme/designer/components/input/_slider.scss +6 -4
  30. package/scss/common/theme/designer/components/input/_treeselect.scss +4 -2
  31. package/scss/common/theme/designer/components/menu/_steps.scss +3 -1
  32. package/scss/common/theme/designer/components/misc/_chip.scss +4 -2
  33. package/scss/common/theme/designer/components/misc/_tag.scss +3 -1
  34. package/scss/common/theme/designer/components/overlay/_overlaypanel.scss +4 -2
  35. package/version-info.json +5 -5
  36. package/esm2020/lib/utils/styles.util.mjs +0 -41
@@ -833,6 +833,157 @@ var TableSizeEnum;
833
833
  TableSizeEnum[TableSizeEnum["Large"] = 2] = "Large";
834
834
  })(TableSizeEnum || (TableSizeEnum = {}));
835
835
 
836
+ class StylesUtil {
837
+ static calculateTableColumnActionWidth(table, actions) {
838
+ const buttonsWidth = actions.reduce((acc, action) => acc + StylesUtil.getActionButtonRoundedWidth(action) + 2 * StylesUtil.ACTION_BUTTON_MARGIN_X, 0);
839
+ const tablePadding = StylesUtil.getTableCellPaddingX(table);
840
+ return buttonsWidth + 2 * tablePadding;
841
+ }
842
+ static getTableCellPaddingX(table) {
843
+ switch (table.size) {
844
+ case TableSizeEnum.Small:
845
+ return StylesUtil.TABLE_CELL_PADDING_X_SM;
846
+ case TableSizeEnum.Large:
847
+ return StylesUtil.TABLE_CELL_PADDING_X_LG;
848
+ default:
849
+ return StylesUtil.TABLE_CELL_PADDING_X;
850
+ }
851
+ }
852
+ static getActionButtonRoundedWidth(action) {
853
+ switch (action.size) {
854
+ case ActionSizeEnum.ExtraSmall:
855
+ return StylesUtil.BUTTON_ROUNDED_WIDTH_XS;
856
+ case ActionSizeEnum.Small:
857
+ return StylesUtil.BUTTON_ROUNDED_WIDTH_SM;
858
+ case ActionSizeEnum.Large:
859
+ case ActionSizeEnum.ExtraLarge:
860
+ return StylesUtil.BUTTON_ROUNDED_WIDTH_LG;
861
+ case ActionSizeEnum.Normal:
862
+ default:
863
+ return StylesUtil.BUTTON_ROUNDED_WIDTH;
864
+ }
865
+ }
866
+ }
867
+ StylesUtil.BUTTON_ROUNDED_WIDTH_XS = 26;
868
+ StylesUtil.BUTTON_ROUNDED_WIDTH_SM = 28;
869
+ StylesUtil.BUTTON_ROUNDED_WIDTH = 32;
870
+ StylesUtil.BUTTON_ROUNDED_WIDTH_LG = 45;
871
+ StylesUtil.ACTION_BUTTON_MARGIN_X = 2;
872
+ StylesUtil.TABLE_CELL_PADDING_X = 8; // left and right paddings are same
873
+ StylesUtil.TABLE_CELL_PADDING_X_SM = 4;
874
+ StylesUtil.TABLE_CELL_PADDING_X_LG = 12;
875
+
876
+ class ButtonStyleBuilder {
877
+ constructor(level, customClass) {
878
+ this._size = ActionSizeEnum.Normal;
879
+ this._textButton = false;
880
+ this._outlineButton = false;
881
+ this._raisedButton = false;
882
+ this._actionLevel = level;
883
+ this._customClass = customClass;
884
+ }
885
+ getButtonClass(hasNoTitle = false) {
886
+ const styles = [this.convertActionLevelToStyleClass(), this.convertSizeToStyleClass(), this._customClass];
887
+ if (hasNoTitle) {
888
+ styles.push(`p-button-rounded mng-action-button-icon`);
889
+ }
890
+ if (this._textButton) {
891
+ styles.push(`p-button-text`);
892
+ }
893
+ if (this._outlineButton) {
894
+ styles.push(`p-button-outlined`);
895
+ }
896
+ if (this._raisedButton) {
897
+ styles.push(`p-button-raised`);
898
+ }
899
+ return styles.join(' ');
900
+ }
901
+ create(actionLevel, size, textButton, outlineButton, raisedButton, customClass) {
902
+ this._actionLevel = actionLevel !== null && actionLevel !== void 0 ? actionLevel : this._actionLevel;
903
+ this._size = size !== null && size !== void 0 ? size : this._size;
904
+ this._textButton = textButton !== null && textButton !== void 0 ? textButton : this._textButton;
905
+ this._outlineButton = outlineButton !== null && outlineButton !== void 0 ? outlineButton : this._outlineButton;
906
+ this._raisedButton = raisedButton !== null && raisedButton !== void 0 ? raisedButton : this._raisedButton;
907
+ this._customClass = customClass;
908
+ return this;
909
+ }
910
+ withActionLevel(actionLevel) {
911
+ this._actionLevel = actionLevel;
912
+ return this;
913
+ }
914
+ withSize(size) {
915
+ this._size = size;
916
+ return this;
917
+ }
918
+ withTextButton(withText = true) {
919
+ this._textButton = withText;
920
+ return this;
921
+ }
922
+ withOutlineButton(withOutline = true) {
923
+ this._outlineButton = withOutline;
924
+ return this;
925
+ }
926
+ withRaisedButton(withRaised = true) {
927
+ this._raisedButton = withRaised;
928
+ return this;
929
+ }
930
+ withCustomClass(customClass) {
931
+ this._customClass = customClass;
932
+ return this;
933
+ }
934
+ convertActionLevelToStyleClass() {
935
+ switch (this._actionLevel) {
936
+ case ActionLevelEnum.Default:
937
+ case ActionLevelEnum.Primary:
938
+ return 'p-button-primary';
939
+ case ActionLevelEnum.Secondary:
940
+ return 'p-button-secondary';
941
+ case ActionLevelEnum.Info:
942
+ return 'p-button-info';
943
+ case ActionLevelEnum.Help:
944
+ return 'p-button-help';
945
+ case ActionLevelEnum.Success:
946
+ return 'p-button-success';
947
+ case ActionLevelEnum.Warning:
948
+ return 'p-button-warning';
949
+ case ActionLevelEnum.Danger:
950
+ return 'p-button-danger';
951
+ }
952
+ }
953
+ convertSizeToStyleClass() {
954
+ switch (this._size) {
955
+ case ActionSizeEnum.ExtraSmall:
956
+ return 'mng-button-xs';
957
+ case ActionSizeEnum.Small:
958
+ return 'mng-button-sm';
959
+ case ActionSizeEnum.Normal:
960
+ return '';
961
+ case ActionSizeEnum.Large:
962
+ return 'mng-button-lg';
963
+ case ActionSizeEnum.ExtraLarge:
964
+ return 'mng-button-xl';
965
+ }
966
+ }
967
+ get actionLevel() {
968
+ return this._actionLevel;
969
+ }
970
+ get size() {
971
+ return this._size;
972
+ }
973
+ get textButton() {
974
+ return this._textButton;
975
+ }
976
+ get outlineButton() {
977
+ return this._outlineButton;
978
+ }
979
+ get raisedButton() {
980
+ return this._raisedButton;
981
+ }
982
+ get customClass() {
983
+ return this._customClass;
984
+ }
985
+ }
986
+
836
987
  class ActionDescriptor {
837
988
  constructor(model, actionName, parentType, parentProperty) {
838
989
  this._type = ActionTypeEnum.Direct;
@@ -840,11 +991,7 @@ class ActionDescriptor {
840
991
  this._position = ActionPositionEnum.ToolbarRight;
841
992
  this._level = ActionLevelEnum.Default;
842
993
  this._routeUrl = null;
843
- this._className = '';
844
- this._size = ActionSizeEnum.Normal;
845
- this._isStyleText = false;
846
- this._isStyleOutlined = false;
847
- this._isStyleRaised = false;
994
+ this._buttonStyle = new ButtonStyleBuilder(this._level);
848
995
  this._hasRunConfirmation = false;
849
996
  this._hasRunNotificationSuccess = true;
850
997
  this._hasRunNotificationError = true;
@@ -929,32 +1076,62 @@ class ActionDescriptor {
929
1076
  get actionNameLong() {
930
1077
  return this._actionNameLong;
931
1078
  }
1079
+ get buttonStyle() {
1080
+ return this._buttonStyle;
1081
+ }
1082
+ /**
1083
+ * @deprecated use _buttonStyle instead
1084
+ */
932
1085
  get className() {
933
- return this._className;
1086
+ return this._buttonStyle.customClass;
934
1087
  }
1088
+ /**
1089
+ * @deprecated use _buttonStyle instead
1090
+ */
935
1091
  get isStyleText() {
936
- return this._isStyleText;
1092
+ return this._buttonStyle.textButton;
937
1093
  }
1094
+ /**
1095
+ * @deprecated use _buttonStyle instead
1096
+ */
938
1097
  get isStyleOutlined() {
939
- return this._isStyleOutlined;
1098
+ return this._buttonStyle.outlineButton;
940
1099
  }
1100
+ /**
1101
+ * @deprecated use _buttonStyle instead
1102
+ */
941
1103
  get isStyleRaised() {
942
- return this._isStyleRaised;
1104
+ return this._buttonStyle.raisedButton;
943
1105
  }
1106
+ /**
1107
+ * @deprecated use _buttonStyle instead
1108
+ */
944
1109
  get size() {
945
- return this._size;
1110
+ return this._buttonStyle.size;
946
1111
  }
1112
+ /**
1113
+ * @deprecated use _buttonStyle instead
1114
+ */
947
1115
  get isSizeExtraSmall() {
948
- return this._size === ActionSizeEnum.ExtraSmall;
1116
+ return this._buttonStyle.size === ActionSizeEnum.ExtraSmall;
949
1117
  }
1118
+ /**
1119
+ * @deprecated use _buttonStyle instead
1120
+ */
950
1121
  get isSizeSmall() {
951
- return this._size === ActionSizeEnum.Small;
1122
+ return this._buttonStyle.size === ActionSizeEnum.Small;
952
1123
  }
1124
+ /**
1125
+ * @deprecated use _buttonStyle instead
1126
+ */
953
1127
  get isSizeLarge() {
954
- return this._size === ActionSizeEnum.Large;
1128
+ return this._buttonStyle.size === ActionSizeEnum.Large;
955
1129
  }
1130
+ /**
1131
+ * @deprecated use _buttonStyle instead
1132
+ */
956
1133
  get isSizeExtraLarge() {
957
- return this._size === ActionSizeEnum.ExtraLarge;
1134
+ return this._buttonStyle.size === ActionSizeEnum.ExtraLarge;
958
1135
  }
959
1136
  get hasRunConfirmation() {
960
1137
  return this._hasRunConfirmation;
@@ -1037,6 +1214,7 @@ class ActionDescriptor {
1037
1214
  }
1038
1215
  withLevel(level) {
1039
1216
  this._level = level;
1217
+ this._buttonStyle = this._buttonStyle.withActionLevel(level);
1040
1218
  return this;
1041
1219
  }
1042
1220
  /**
@@ -1063,17 +1241,17 @@ class ActionDescriptor {
1063
1241
  return this;
1064
1242
  }
1065
1243
  withClassName(className) {
1066
- this._className = className;
1244
+ this._buttonStyle = this._buttonStyle.withCustomClass(className);
1067
1245
  return this;
1068
1246
  }
1069
1247
  withSize(size = ActionSizeEnum.Normal) {
1070
- this._size = size;
1248
+ this._buttonStyle = this._buttonStyle.withSize(size);
1071
1249
  return this;
1072
1250
  }
1073
1251
  withStyle(styleText = false, styleOutlined = false, styleRaised = false) {
1074
- this._isStyleText = styleText;
1075
- this._isStyleOutlined = styleOutlined;
1076
- this._isStyleRaised = styleRaised;
1252
+ this._buttonStyle = this._buttonStyle.withOutlineButton(styleOutlined);
1253
+ this._buttonStyle = this._buttonStyle.withRaisedButton(styleRaised);
1254
+ this._buttonStyle = this._buttonStyle.withTextButton(styleText);
1077
1255
  return this;
1078
1256
  }
1079
1257
  withPosition(position) {
@@ -1254,7 +1432,7 @@ class ActionEditorSubmitDescriptor extends ActionDescriptor {
1254
1432
  this._editorAction = editorAction;
1255
1433
  this._submitType = submitType;
1256
1434
  this._position = ActionPositionEnum.FooterRight;
1257
- this._isStyleText = true;
1435
+ this._buttonStyle = this._buttonStyle.withActionLevel(editorAction.level).withTextButton();
1258
1436
  }
1259
1437
  get submitType() {
1260
1438
  return this._submitType;
@@ -4767,6 +4945,15 @@ class MngConfigurationService {
4767
4945
  this.http = http;
4768
4946
  this.jsonSources = [];
4769
4947
  this.configuration = Object.assign({}, this.projectEnvironment);
4948
+ /**
4949
+ * returns true if there is no jsonSources
4950
+ */
4951
+ this.skipJsonConfigsLoading = () => this.jsonSources === null || this.jsonSources.length === 0;
4952
+ /**
4953
+ * loads json sources or skips them returning true in both cases
4954
+ * used for `skipJsonSourceInit` configuration parameter
4955
+ */
4956
+ this.loadJsonConfigurations = () => (this.skipJsonConfigsLoading() ? of(true) : this.loadJsonSources());
4770
4957
  }
4771
4958
  static init(httpClient) {
4772
4959
  if (!this._instance) {
@@ -4805,7 +4992,7 @@ class MngConfigurationService {
4805
4992
  this.jsonSources.push(sourceInfo);
4806
4993
  console.debug(`Added JSON source: ${url}`);
4807
4994
  if (load) {
4808
- return this.loadJsonSources();
4995
+ return this.loadJsonConfigurations();
4809
4996
  }
4810
4997
  else {
4811
4998
  return of(true);
@@ -6084,15 +6271,8 @@ class MngActionComponent {
6084
6271
  this.actionExecutor = actionExecutor;
6085
6272
  this.confirmationService = confirmationService;
6086
6273
  this.viewContainerService = viewContainerService;
6087
- this.levelDefault = ActionLevelEnum.Default;
6088
- this.levelPrimary = ActionLevelEnum.Primary;
6089
- this.levelSecondary = ActionLevelEnum.Secondary;
6090
- this.levelInfo = ActionLevelEnum.Info;
6091
- this.levelHelp = ActionLevelEnum.Help;
6092
- this.levelSuccess = ActionLevelEnum.Success;
6093
- this.levelWarning = ActionLevelEnum.Warning;
6094
- this.levelDanger = ActionLevelEnum.Danger;
6095
6274
  this.hostClass = 'mng-action-button';
6275
+ this.isHostHidden = false;
6096
6276
  this.inputDisabled = of(false);
6097
6277
  this.inputLoading = of(false);
6098
6278
  this.finishEventEmitter = new EventEmitter();
@@ -6111,6 +6291,7 @@ class MngActionComponent {
6111
6291
  this.$tooltip = this.tooltipSubject.asObservable().pipe(distinctUntilChanged());
6112
6292
  this.hasNoTitle = false;
6113
6293
  this.subscriptions = [];
6294
+ this.buttonClass = 'p-button-primary';
6114
6295
  this.loadingSubject.next(false);
6115
6296
  }
6116
6297
  ngOnInit() {
@@ -6135,6 +6316,11 @@ class MngActionComponent {
6135
6316
  if (this.action.className) {
6136
6317
  this.hostClass = this.action.className;
6137
6318
  }
6319
+ const hostVisibilitySubscription = combineLatest([this.$isVisible, this.$isPermitted]).subscribe(([isVisible, isPermitted]) => {
6320
+ this.isHostHidden = !isVisible || !isPermitted;
6321
+ });
6322
+ this.subscriptions.push(hostVisibilitySubscription);
6323
+ this.buttonClass = this.action.buttonStyle.getButtonClass(this.hasNoTitle);
6138
6324
  }
6139
6325
  ngOnChanges(changes) {
6140
6326
  var _a, _b, _c, _d, _e, _f;
@@ -6225,10 +6411,10 @@ class MngActionComponent {
6225
6411
  }
6226
6412
  }
6227
6413
  MngActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: MngActionComponent, deps: [{ token: i1.ActivatedRoute }, { token: i1$2.TranslateService }, { token: MngAuthorizationService }, { token: MngActionExecutorService }, { token: i2.ConfirmationService }, { token: MngViewContainerComponentService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
6228
- MngActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: MngActionComponent, selector: "mng-action", inputs: { action: "action", item: "item", itemId: "itemId", actionData: "actionData", queryParam: "queryParam", dataProvider: "dataProvider", inputDisabled: ["disabled", "inputDisabled"], inputLoading: ["loading", "inputLoading"], viewContainerInit: ["viewContainer", "viewContainerInit"] }, outputs: { finishEventEmitter: "finish" }, host: { properties: { "class": "this.hostClass" } }, providers: [ConfirmationService], usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"($isVisible | async) && ($isPermitted | async)\">\n <a\n *ngIf=\"actionLink && actionLink.url !== ''; else routerLink\"\n pButton\n pRipple\n [icon]=\"$any(action.icon)\"\n [href]=\"($isEnabled | async) === false || ((inputDisabled | async) ?? false) ? null : actionLink.url\"\n [target]=\"actionLink.target\"\n [class.disabled]=\"($isEnabled | async) === false || ((inputDisabled | async) ?? false)\"\n [class.p-button-rounded]=\"hasNoTitle\"\n [class.mng-action-button-icon]=\"hasNoTitle\"\n [class.p-button-text]=\"action.isStyleText\"\n [class.p-button-link]=\"actionLink.isStyleLink\"\n [class.p-button-raised]=\"action.isStyleRaised\"\n [class.p-button-outlined]=\"action.isStyleOutlined\"\n [class.mng-button-xs]=\"action.isSizeExtraSmall\"\n [class.mng-button-sm]=\"action.isSizeSmall\"\n [class.mng-button-lg]=\"action.isSizeLarge\"\n [class.mng-button-xl]=\"action.isSizeExtraLarge\"\n [class.p-button-default]=\"action.level === levelDefault\"\n [class.p-button-primary]=\"action.level === levelPrimary\"\n [class.p-button-secondary]=\"action.level === levelSecondary\"\n [class.p-button-info]=\"action.level === levelInfo\"\n [class.p-button-help]=\"action.level === levelHelp\"\n [class.p-button-success]=\"action.level === levelSuccess\"\n [class.p-button-warning]=\"action.level === levelWarning\"\n [class.p-button-danger]=\"action.level === levelDanger\"\n >{{ ($label | async) ?? '' }}</a\n >\n <ng-template #routerLink>\n <a\n *ngIf=\"actionLink; else button\"\n pButton\n pRipple\n [icon]=\"$any(action.icon)\"\n [target]=\"actionLink.target\"\n [replaceUrl]=\"actionLink.replaceUrl\"\n [routerLink]=\"\n ($isEnabled | async) === false || ((inputDisabled | async) ?? false) ? null : (actionLink.pathSegments | linkFormatter: itemId:item:action.model:actionData)\n \"\n [queryParams]=\"actionLink.queryParams\"\n [queryParamsHandling]=\"actionLink.queryParamsHandling\"\n [class.disabled]=\"($isEnabled | async) === false || ((inputDisabled | async) ?? false)\"\n [class.p-button-rounded]=\"hasNoTitle\"\n [class.mng-action-button-icon]=\"hasNoTitle\"\n [class.p-button-text]=\"action.isStyleText\"\n [class.p-button-link]=\"actionLink.isStyleLink\"\n [class.p-button-raised]=\"action.isStyleRaised\"\n [class.p-button-outlined]=\"action.isStyleOutlined\"\n [class.mng-button-xs]=\"action.isSizeExtraSmall\"\n [class.mng-button-sm]=\"action.isSizeSmall\"\n [class.mng-button-lg]=\"action.isSizeLarge\"\n [class.mng-button-xl]=\"action.isSizeExtraLarge\"\n [class.p-button-default]=\"action.level === levelDefault\"\n [class.p-button-primary]=\"action.level === levelPrimary\"\n [class.p-button-secondary]=\"action.level === levelSecondary\"\n [class.p-button-info]=\"action.level === levelInfo\"\n [class.p-button-help]=\"action.level === levelHelp\"\n [class.p-button-success]=\"action.level === levelSuccess\"\n [class.p-button-warning]=\"action.level === levelWarning\"\n [class.p-button-danger]=\"action.level === levelDanger\"\n >{{ ($label | async) ?? '' }}</a\n >\n </ng-template>\n <ng-template #button>\n <button\n type=\"button\"\n pButton\n pRipple\n [icon]=\"$any(action.icon)\"\n [label]=\"($label | async) ?? ''\"\n [pTooltip]=\"$any($tooltip | async)\"\n [loading]=\"(($loading | async) ?? false) || ((inputLoading | async) ?? false)\"\n [disabled]=\"($isEnabled | async) === false || ((inputDisabled | async) ?? false)\"\n (click)=\"triggerAction($event)\"\n [class.p-button-rounded]=\"hasNoTitle\"\n [class.mng-action-button-icon]=\"hasNoTitle\"\n [class.p-button-text]=\"action.isStyleText\"\n [class.p-button-raised]=\"action.isStyleRaised\"\n [class.p-button-outlined]=\"action.isStyleOutlined\"\n [class.mng-button-xs]=\"action.isSizeExtraSmall\"\n [class.mng-button-sm]=\"action.isSizeSmall\"\n [class.mng-button-lg]=\"action.isSizeLarge\"\n [class.mng-button-xl]=\"action.isSizeExtraLarge\"\n [class.p-button-default]=\"action.level === levelDefault\"\n [class.p-button-primary]=\"action.level === levelPrimary\"\n [class.p-button-secondary]=\"action.level === levelSecondary\"\n [class.p-button-info]=\"action.level === levelInfo\"\n [class.p-button-help]=\"action.level === levelHelp\"\n [class.p-button-success]=\"action.level === levelSuccess\"\n [class.p-button-warning]=\"action.level === levelWarning\"\n [class.p-button-danger]=\"action.level === levelDanger\"></button>\n </ng-template>\n <p-confirmDialog *ngIf=\"action.hasRunConfirmation\" [key]=\"action.actionName + '_' + cmpId\" [baseZIndex]=\"50\" appendTo=\"body\"></p-confirmDialog>\n</ng-container>\n", styles: [":host{display:inline-block}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo", "routerLink"] }, { kind: "directive", type: i7.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "fitContent", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "directive", type: i4$1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "component", type: i9.ConfirmDialog, selector: "p-confirmDialog", inputs: ["header", "icon", "message", "style", "styleClass", "maskStyleClass", "acceptIcon", "acceptLabel", "acceptAriaLabel", "acceptVisible", "rejectIcon", "rejectLabel", "rejectAriaLabel", "rejectVisible", "acceptButtonStyleClass", "rejectButtonStyleClass", "closeOnEscape", "dismissableMask", "blockScroll", "rtl", "closable", "appendTo", "key", "autoZIndex", "baseZIndex", "transitionOptions", "focusTrap", "defaultFocus", "breakpoints", "visible", "position"], outputs: ["onHide"] }, { kind: "directive", type: i6.Ripple, selector: "[pRipple]" }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: MngLinkFormatterPipe, name: "linkFormatter" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
6414
+ MngActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: MngActionComponent, selector: "mng-action", inputs: { action: "action", item: "item", itemId: "itemId", actionData: "actionData", queryParam: "queryParam", dataProvider: "dataProvider", inputDisabled: ["disabled", "inputDisabled"], inputLoading: ["loading", "inputLoading"], viewContainerInit: ["viewContainer", "viewContainerInit"] }, outputs: { finishEventEmitter: "finish" }, host: { properties: { "class": "this.hostClass", "class.m-0": "this.isHostHidden" } }, providers: [ConfirmationService], usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"($isVisible | async) && ($isPermitted | async)\">\n <a\n *ngIf=\"actionLink && actionLink.url !== ''; else routerLink\"\n pButton\n pRipple\n [icon]=\"$any(action.icon)\"\n [href]=\"($isEnabled | async) === false || ((inputDisabled | async) ?? false) ? null : actionLink.url\"\n [target]=\"actionLink.target\"\n [class.disabled]=\"($isEnabled | async) === false || ((inputDisabled | async) ?? false)\"\n [class]=\"buttonClass\"\n >{{ ($label | async) ?? '' }}</a\n >\n <ng-template #routerLink>\n <a\n *ngIf=\"actionLink; else button\"\n pButton\n pRipple\n [icon]=\"$any(action.icon)\"\n [target]=\"actionLink.target\"\n [replaceUrl]=\"actionLink.replaceUrl\"\n [routerLink]=\"\n ($isEnabled | async) === false || ((inputDisabled | async) ?? false) ? null : (actionLink.pathSegments | linkFormatter: itemId:item:action.model:actionData)\n \"\n [queryParams]=\"actionLink.queryParams\"\n [queryParamsHandling]=\"actionLink.queryParamsHandling\"\n [class.disabled]=\"($isEnabled | async) === false || ((inputDisabled | async) ?? false)\"\n [class]=\"buttonClass\"\n >{{ ($label | async) ?? '' }}</a\n >\n </ng-template>\n <ng-template #button>\n <button\n type=\"button\"\n pButton\n pRipple\n [icon]=\"$any(action.icon)\"\n [label]=\"($label | async) ?? ''\"\n [pTooltip]=\"$any($tooltip | async)\"\n [loading]=\"(($loading | async) ?? false) || ((inputLoading | async) ?? false)\"\n [disabled]=\"($isEnabled | async) === false || ((inputDisabled | async) ?? false)\"\n (click)=\"triggerAction($event)\"\n [class]=\"buttonClass\"></button>\n </ng-template>\n <p-confirmDialog *ngIf=\"action.hasRunConfirmation\" [key]=\"action.actionName + '_' + cmpId\" [baseZIndex]=\"50\" appendTo=\"body\"></p-confirmDialog>\n</ng-container>\n", styles: [":host{display:inline-block}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo", "routerLink"] }, { kind: "directive", type: i7.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "fitContent", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "directive", type: i4$1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "component", type: i9.ConfirmDialog, selector: "p-confirmDialog", inputs: ["header", "icon", "message", "style", "styleClass", "maskStyleClass", "acceptIcon", "acceptLabel", "acceptAriaLabel", "acceptVisible", "rejectIcon", "rejectLabel", "rejectAriaLabel", "rejectVisible", "acceptButtonStyleClass", "rejectButtonStyleClass", "closeOnEscape", "dismissableMask", "blockScroll", "rtl", "closable", "appendTo", "key", "autoZIndex", "baseZIndex", "transitionOptions", "focusTrap", "defaultFocus", "breakpoints", "visible", "position"], outputs: ["onHide"] }, { kind: "directive", type: i6.Ripple, selector: "[pRipple]" }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: MngLinkFormatterPipe, name: "linkFormatter" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
6229
6415
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: MngActionComponent, decorators: [{
6230
6416
  type: Component,
6231
- args: [{ selector: 'mng-action', changeDetection: ChangeDetectionStrategy.OnPush, providers: [ConfirmationService], template: "<ng-container *ngIf=\"($isVisible | async) && ($isPermitted | async)\">\n <a\n *ngIf=\"actionLink && actionLink.url !== ''; else routerLink\"\n pButton\n pRipple\n [icon]=\"$any(action.icon)\"\n [href]=\"($isEnabled | async) === false || ((inputDisabled | async) ?? false) ? null : actionLink.url\"\n [target]=\"actionLink.target\"\n [class.disabled]=\"($isEnabled | async) === false || ((inputDisabled | async) ?? false)\"\n [class.p-button-rounded]=\"hasNoTitle\"\n [class.mng-action-button-icon]=\"hasNoTitle\"\n [class.p-button-text]=\"action.isStyleText\"\n [class.p-button-link]=\"actionLink.isStyleLink\"\n [class.p-button-raised]=\"action.isStyleRaised\"\n [class.p-button-outlined]=\"action.isStyleOutlined\"\n [class.mng-button-xs]=\"action.isSizeExtraSmall\"\n [class.mng-button-sm]=\"action.isSizeSmall\"\n [class.mng-button-lg]=\"action.isSizeLarge\"\n [class.mng-button-xl]=\"action.isSizeExtraLarge\"\n [class.p-button-default]=\"action.level === levelDefault\"\n [class.p-button-primary]=\"action.level === levelPrimary\"\n [class.p-button-secondary]=\"action.level === levelSecondary\"\n [class.p-button-info]=\"action.level === levelInfo\"\n [class.p-button-help]=\"action.level === levelHelp\"\n [class.p-button-success]=\"action.level === levelSuccess\"\n [class.p-button-warning]=\"action.level === levelWarning\"\n [class.p-button-danger]=\"action.level === levelDanger\"\n >{{ ($label | async) ?? '' }}</a\n >\n <ng-template #routerLink>\n <a\n *ngIf=\"actionLink; else button\"\n pButton\n pRipple\n [icon]=\"$any(action.icon)\"\n [target]=\"actionLink.target\"\n [replaceUrl]=\"actionLink.replaceUrl\"\n [routerLink]=\"\n ($isEnabled | async) === false || ((inputDisabled | async) ?? false) ? null : (actionLink.pathSegments | linkFormatter: itemId:item:action.model:actionData)\n \"\n [queryParams]=\"actionLink.queryParams\"\n [queryParamsHandling]=\"actionLink.queryParamsHandling\"\n [class.disabled]=\"($isEnabled | async) === false || ((inputDisabled | async) ?? false)\"\n [class.p-button-rounded]=\"hasNoTitle\"\n [class.mng-action-button-icon]=\"hasNoTitle\"\n [class.p-button-text]=\"action.isStyleText\"\n [class.p-button-link]=\"actionLink.isStyleLink\"\n [class.p-button-raised]=\"action.isStyleRaised\"\n [class.p-button-outlined]=\"action.isStyleOutlined\"\n [class.mng-button-xs]=\"action.isSizeExtraSmall\"\n [class.mng-button-sm]=\"action.isSizeSmall\"\n [class.mng-button-lg]=\"action.isSizeLarge\"\n [class.mng-button-xl]=\"action.isSizeExtraLarge\"\n [class.p-button-default]=\"action.level === levelDefault\"\n [class.p-button-primary]=\"action.level === levelPrimary\"\n [class.p-button-secondary]=\"action.level === levelSecondary\"\n [class.p-button-info]=\"action.level === levelInfo\"\n [class.p-button-help]=\"action.level === levelHelp\"\n [class.p-button-success]=\"action.level === levelSuccess\"\n [class.p-button-warning]=\"action.level === levelWarning\"\n [class.p-button-danger]=\"action.level === levelDanger\"\n >{{ ($label | async) ?? '' }}</a\n >\n </ng-template>\n <ng-template #button>\n <button\n type=\"button\"\n pButton\n pRipple\n [icon]=\"$any(action.icon)\"\n [label]=\"($label | async) ?? ''\"\n [pTooltip]=\"$any($tooltip | async)\"\n [loading]=\"(($loading | async) ?? false) || ((inputLoading | async) ?? false)\"\n [disabled]=\"($isEnabled | async) === false || ((inputDisabled | async) ?? false)\"\n (click)=\"triggerAction($event)\"\n [class.p-button-rounded]=\"hasNoTitle\"\n [class.mng-action-button-icon]=\"hasNoTitle\"\n [class.p-button-text]=\"action.isStyleText\"\n [class.p-button-raised]=\"action.isStyleRaised\"\n [class.p-button-outlined]=\"action.isStyleOutlined\"\n [class.mng-button-xs]=\"action.isSizeExtraSmall\"\n [class.mng-button-sm]=\"action.isSizeSmall\"\n [class.mng-button-lg]=\"action.isSizeLarge\"\n [class.mng-button-xl]=\"action.isSizeExtraLarge\"\n [class.p-button-default]=\"action.level === levelDefault\"\n [class.p-button-primary]=\"action.level === levelPrimary\"\n [class.p-button-secondary]=\"action.level === levelSecondary\"\n [class.p-button-info]=\"action.level === levelInfo\"\n [class.p-button-help]=\"action.level === levelHelp\"\n [class.p-button-success]=\"action.level === levelSuccess\"\n [class.p-button-warning]=\"action.level === levelWarning\"\n [class.p-button-danger]=\"action.level === levelDanger\"></button>\n </ng-template>\n <p-confirmDialog *ngIf=\"action.hasRunConfirmation\" [key]=\"action.actionName + '_' + cmpId\" [baseZIndex]=\"50\" appendTo=\"body\"></p-confirmDialog>\n</ng-container>\n", styles: [":host{display:inline-block}\n"] }]
6417
+ args: [{ selector: 'mng-action', changeDetection: ChangeDetectionStrategy.OnPush, providers: [ConfirmationService], template: "<ng-container *ngIf=\"($isVisible | async) && ($isPermitted | async)\">\n <a\n *ngIf=\"actionLink && actionLink.url !== ''; else routerLink\"\n pButton\n pRipple\n [icon]=\"$any(action.icon)\"\n [href]=\"($isEnabled | async) === false || ((inputDisabled | async) ?? false) ? null : actionLink.url\"\n [target]=\"actionLink.target\"\n [class.disabled]=\"($isEnabled | async) === false || ((inputDisabled | async) ?? false)\"\n [class]=\"buttonClass\"\n >{{ ($label | async) ?? '' }}</a\n >\n <ng-template #routerLink>\n <a\n *ngIf=\"actionLink; else button\"\n pButton\n pRipple\n [icon]=\"$any(action.icon)\"\n [target]=\"actionLink.target\"\n [replaceUrl]=\"actionLink.replaceUrl\"\n [routerLink]=\"\n ($isEnabled | async) === false || ((inputDisabled | async) ?? false) ? null : (actionLink.pathSegments | linkFormatter: itemId:item:action.model:actionData)\n \"\n [queryParams]=\"actionLink.queryParams\"\n [queryParamsHandling]=\"actionLink.queryParamsHandling\"\n [class.disabled]=\"($isEnabled | async) === false || ((inputDisabled | async) ?? false)\"\n [class]=\"buttonClass\"\n >{{ ($label | async) ?? '' }}</a\n >\n </ng-template>\n <ng-template #button>\n <button\n type=\"button\"\n pButton\n pRipple\n [icon]=\"$any(action.icon)\"\n [label]=\"($label | async) ?? ''\"\n [pTooltip]=\"$any($tooltip | async)\"\n [loading]=\"(($loading | async) ?? false) || ((inputLoading | async) ?? false)\"\n [disabled]=\"($isEnabled | async) === false || ((inputDisabled | async) ?? false)\"\n (click)=\"triggerAction($event)\"\n [class]=\"buttonClass\"></button>\n </ng-template>\n <p-confirmDialog *ngIf=\"action.hasRunConfirmation\" [key]=\"action.actionName + '_' + cmpId\" [baseZIndex]=\"50\" appendTo=\"body\"></p-confirmDialog>\n</ng-container>\n", styles: [":host{display:inline-block}\n"] }]
6232
6418
  }], ctorParameters: function () {
6233
6419
  return [{ type: i1.ActivatedRoute }, { type: i1$2.TranslateService }, { type: MngAuthorizationService }, { type: MngActionExecutorService }, { type: i2.ConfirmationService }, { type: MngViewContainerComponentService, decorators: [{
6234
6420
  type: Optional
@@ -6236,6 +6422,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImpor
6236
6422
  }, propDecorators: { hostClass: [{
6237
6423
  type: HostBinding,
6238
6424
  args: ['class']
6425
+ }], isHostHidden: [{
6426
+ type: HostBinding,
6427
+ args: ['class.m-0']
6239
6428
  }], action: [{
6240
6429
  type: Input
6241
6430
  }], item: [{
@@ -6846,7 +7035,11 @@ class MngAutocompleteComponent {
6846
7035
  if (this.dataProvider) {
6847
7036
  return this.dataProvider.lookup(qp, this.dataProviderService, query).pipe(switchMap(items => {
6848
7037
  if (this.itemsLabelTranslate) {
6849
- return this.translate.stream(this.i18nGetItemsKeys(items)).pipe(map(translations => this.i18nPopulateItems(items, translations)));
7038
+ const translatedItems = this.i18nGetItemsKeys(items);
7039
+ if (translatedItems.length === 0) {
7040
+ return of([]);
7041
+ }
7042
+ return this.translate.stream(translatedItems).pipe(map(translations => this.i18nPopulateItems(items, translations)));
6850
7043
  }
6851
7044
  else {
6852
7045
  return of(items);
@@ -7001,6 +7194,9 @@ class MngDropdownComponent {
7001
7194
  .pipe(switchMap(items => {
7002
7195
  if (this.itemsLabelTranslate) {
7003
7196
  const translationKeys = items.map(item => (typeof item === 'object' && this.itemsLabelPropertyInit ? item[this.itemsLabelPropertyInit] : item));
7197
+ if (translationKeys.length === 0) {
7198
+ return of([]);
7199
+ }
7004
7200
  return this.translate.stream(translationKeys).pipe(map(translations => items.map(item => {
7005
7201
  if (typeof item === 'object' && this.itemsLabelPropertyInit) {
7006
7202
  const label = item[this.itemsLabelPropertyInit];
@@ -7541,46 +7737,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImpor
7541
7737
  args: [{ selector: 'mng-formly-field-dropdown', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mng-dropdown\n [id]=\"$any(key)\"\n [formControl]=\"dFormControl\"\n [formlyAttributes]=\"field\"\n [placeholder]=\"descriptor.placeholder\"\n [dataProvider]=\"descriptor.dataProvider\"\n [itemsLabelProperty]=\"descriptor.itemsLabelProperty\"\n [itemsLabelTranslate]=\"descriptor.itemsLabelTranslate\"\n [itemsValueProperty]=\"descriptor.itemsValueProperty\"\n [itemsDisabledProperty]=\"descriptor.itemsDisabledProperty\"\n [dataKeyProperty]=\"descriptor.dataKeyProperty\"\n [showClear]=\"!to.required\"\n [className]=\"descriptor.inputClassName\">\n</mng-dropdown>\n" }]
7542
7738
  }] });
7543
7739
 
7544
- class StylesUtil {
7545
- static calculateTableColumnActionWidth(table, actions) {
7546
- const buttonsWidth = actions.reduce((acc, action) => acc + StylesUtil.getActionButtonRoundedWidth(action) + 2 * StylesUtil.ACTION_BUTTON_MARGIN_X, 0);
7547
- const tablePadding = StylesUtil.getTableCellPaddingX(table);
7548
- return buttonsWidth + 2 * tablePadding;
7549
- }
7550
- static getTableCellPaddingX(table) {
7551
- switch (table.size) {
7552
- case TableSizeEnum.Small:
7553
- return StylesUtil.TABLE_CELL_PADDING_X_SM;
7554
- case TableSizeEnum.Large:
7555
- return StylesUtil.TABLE_CELL_PADDING_X_LG;
7556
- default:
7557
- return StylesUtil.TABLE_CELL_PADDING_X;
7558
- }
7559
- }
7560
- static getActionButtonRoundedWidth(action) {
7561
- switch (action.size) {
7562
- case ActionSizeEnum.ExtraSmall:
7563
- return StylesUtil.BUTTON_ROUNDED_WIDTH_XS;
7564
- case ActionSizeEnum.Small:
7565
- return StylesUtil.BUTTON_ROUNDED_WIDTH_SM;
7566
- case ActionSizeEnum.Large:
7567
- case ActionSizeEnum.ExtraLarge:
7568
- return StylesUtil.BUTTON_ROUNDED_WIDTH_LG;
7569
- case ActionSizeEnum.Normal:
7570
- default:
7571
- return StylesUtil.BUTTON_ROUNDED_WIDTH;
7572
- }
7573
- }
7574
- }
7575
- StylesUtil.BUTTON_ROUNDED_WIDTH_XS = 26;
7576
- StylesUtil.BUTTON_ROUNDED_WIDTH_SM = 28;
7577
- StylesUtil.BUTTON_ROUNDED_WIDTH = 32;
7578
- StylesUtil.BUTTON_ROUNDED_WIDTH_LG = 45;
7579
- StylesUtil.ACTION_BUTTON_MARGIN_X = 2;
7580
- StylesUtil.TABLE_CELL_PADDING_X = 8; // left and right paddings are same
7581
- StylesUtil.TABLE_CELL_PADDING_X_SM = 4;
7582
- StylesUtil.TABLE_CELL_PADDING_X_LG = 12;
7583
-
7584
7740
  class MngTableLoadEvent {
7585
7741
  }
7586
7742
  class MngTableCellClickEvent {
@@ -9569,7 +9725,7 @@ class MngCommonsInitService {
9569
9725
  return of(void 0);
9570
9726
  }
9571
9727
  console.debug(`Initializing @mediusinc/mng-commons.`);
9572
- return this.configurationService.loadJsonSources().pipe(mergeMap$1(() => {
9728
+ return this.configurationService.loadJsonConfigurations().pipe(mergeMap$1(() => {
9573
9729
  if (this.commonsInitializers) {
9574
9730
  console.debug(`Module initializers for @mediusinc/mng-commons.`);
9575
9731
  return combineLatest(this.commonsInitializers.map(ci => ci())).pipe(map(res => res));
@@ -10967,5 +11123,5 @@ class TableviewRouteBuilder {
10967
11123
  * Generated bundle index. Do not edit.
10968
11124
  */
10969
11125
 
10970
- export { ACTION_EDITOR_DIALOG_COMPONENT_SETTING, AFieldDescriptor, AFieldGroupDescriptor, AGenericFieldDescriptor, AMngApiService, AMngBaseApiService, AMngCrudApiService, AMngGetAllApiService, AMngTableviewRouteComponent, APermissions, ActionActivationTriggerEnum, ActionContext, ActionContextValidation, ActionDataProviderUtil, ActionDeleteDescriptor, ActionDescriptor, ActionEditorAddDescriptor, ActionEditorDescriptor, ActionEditorDetailsDescriptor, ActionEditorDialogSizeEnum, ActionEditorEditDescriptor, ActionEditorSubmitDescriptor, ActionEditorSubmitTypeEnum, ActionError, ActionInstance, ActionInstanceStateEnum, ActionLevelEnum, ActionLinkDescriptor, ActionParameters, ActionPositionEnum, ActionSimpleDescriptor, ActionSizeEnum, ActionTypeEnum, AuthorizationTypeEnum, AuthorizationUtil, ColumnDescriptor, ColumnTypeEnum, DataProvider, DefaultMngErrorMapperService, EditorDataProvider, EditorDescriptor, EditorFormlyUtil, EnumName, EnumUtil, FieldGroupDescriptor, FieldGroupTypeEnum, FieldInputDescriptor, FieldInputTypeEnum, FieldLookupDescriptor, FieldLookupEnumDescriptor, FieldLookupTypeEnum, FieldManyEditorActionEnum, FieldManyEditorDescriptor, FieldManyEditorTypeEnum, FieldManyToManyEditorActionEnum, FieldManyToManyEditorDescriptor, FieldManyToManyEditorTypeEnum, FieldSizeEnum, FieldTabGroupDescriptor, FieldValidationDescriptor, FilterDescriptor, FilterLookupDescriptor, FilterLookupEnumDescriptor, FilterLookupTypeEnum, FilterMatchModeEnum, FilterTypeEnum, I18nUtils, JsonPathPipe, LookupDataProvider, MNG_AUTOCOMPLETE_VALUE_ACCESSOR, MNG_BROWSER_STORAGE_IT, MNG_COMMONS_INITIALIZER_IT, MNG_DROPDOWN_VALUE_ACCESSOR, MNG_MODULE_CONFIG_IT, MediusFilterMatchType, MediusFilterParam, MediusQueryMode, MediusQueryParam, MediusQueryParamBuilder, MediusQueryResult, MediusRestUtil, MngActionComponent, MngActionEditorComponent, MngActionExecutorService, MngActionRouteComponent, MngAuthorizationGuard, MngAuthorizationService, MngAutocompleteComponent, MngBooleanPipe, MngBreadcrumbComponent, MngCommonsModule, MngCommonsService, MngComponentDirective, MngConfigurationService, MngDropdownComponent, MngEnumPipe, MngErrorMapperService, MngFooterComponent, MngFormEditorComponent, MngFormEditorSubmitEvent, MngFormFieldEvent, MngFormFieldEventComponentSubtype, MngFormFieldEventDialogSubtype, MngFormFieldEventTypeEnum, MngFormlyFieldAutocompleteComponent, MngFormlyFieldDropdownComponent, MngFormlyFieldFieldsetComponent, MngFormlyFieldInputComponent, MngFormlyFieldLabelComponent, MngFormlyFieldLookupDialogComponent, MngFormlyFieldTableDialogFormComponent, MngFormlyFieldTableDialogMultiselectComponent, MngFormlyFieldTabsComponent, MngFormlyFieldWrapperComponent, MngFormlyTableWrapperComponent, MngI18nPropertyPipe, MngLinkFormatterPipe, MngMainLayoutComponent, MngMainLayoutComponentService, MngMenuComponent, MngMenuItemComponent, MngNavigationService, MngTableCellClickEvent, MngTableColumnFilterComponent, MngTableColumnValueComponent, MngTableComponent, MngTableLoadEvent, MngTableReloadEvent, MngTableviewComponent, MngTableviewRouteComponent, MngTemplateDirective, MngTopbarComponent, MngVersionComponent, MngViewContainerComponentService, ModelDescriptor, ModelUtil, NotificationUtil, ObjectSerializer, Permissions, RouteBuilder, RoutesBuilder, TableDataProvider, TableDescriptor, TableFilterDisplayEnum, TablePaginationModeEnum, TableSizeEnum, TableviewDataProvider, TableviewDescriptor, TableviewRouteBuilder, TableviewTypeEnum, TypeName, TypeUtil, enumNameDecoratorPropertyName, enumsMapBase, formlyTypesConfig, formlyWrappersConfig, getEmailValidationMessage, getFormlyValidationMessages, getMaxLengthValidationMessage, getMinLengthValidationMessage, getRequiredValidationMessage, getTextPatternValidationMessage, mngConfigJsonAppInitializerProvider, mngConfigurationServiceProvider, mngFormlyConfigProvider, primeNgModules, typeMapBase, typeNameDecoratorPropertyName };
11126
+ export { ACTION_EDITOR_DIALOG_COMPONENT_SETTING, AFieldDescriptor, AFieldGroupDescriptor, AGenericFieldDescriptor, AMngApiService, AMngBaseApiService, AMngCrudApiService, AMngGetAllApiService, AMngTableviewRouteComponent, APermissions, ActionActivationTriggerEnum, ActionContext, ActionContextValidation, ActionDataProviderUtil, ActionDeleteDescriptor, ActionDescriptor, ActionEditorAddDescriptor, ActionEditorDescriptor, ActionEditorDetailsDescriptor, ActionEditorDialogSizeEnum, ActionEditorEditDescriptor, ActionEditorSubmitDescriptor, ActionEditorSubmitTypeEnum, ActionError, ActionInstance, ActionInstanceStateEnum, ActionLevelEnum, ActionLinkDescriptor, ActionParameters, ActionPositionEnum, ActionSimpleDescriptor, ActionSizeEnum, ActionTypeEnum, AuthorizationTypeEnum, AuthorizationUtil, ButtonStyleBuilder, ColumnDescriptor, ColumnTypeEnum, DataProvider, DefaultMngErrorMapperService, EditorDataProvider, EditorDescriptor, EditorFormlyUtil, EnumName, EnumUtil, FieldGroupDescriptor, FieldGroupTypeEnum, FieldInputDescriptor, FieldInputTypeEnum, FieldLookupDescriptor, FieldLookupEnumDescriptor, FieldLookupTypeEnum, FieldManyEditorActionEnum, FieldManyEditorDescriptor, FieldManyEditorTypeEnum, FieldManyToManyEditorActionEnum, FieldManyToManyEditorDescriptor, FieldManyToManyEditorTypeEnum, FieldSizeEnum, FieldTabGroupDescriptor, FieldValidationDescriptor, FilterDescriptor, FilterLookupDescriptor, FilterLookupEnumDescriptor, FilterLookupTypeEnum, FilterMatchModeEnum, FilterTypeEnum, I18nUtils, JsonPathPipe, LookupDataProvider, MNG_AUTOCOMPLETE_VALUE_ACCESSOR, MNG_BROWSER_STORAGE_IT, MNG_COMMONS_INITIALIZER_IT, MNG_DROPDOWN_VALUE_ACCESSOR, MNG_MODULE_CONFIG_IT, MediusFilterMatchType, MediusFilterParam, MediusQueryMode, MediusQueryParam, MediusQueryParamBuilder, MediusQueryResult, MediusRestUtil, MngActionComponent, MngActionEditorComponent, MngActionExecutorService, MngActionRouteComponent, MngAuthorizationGuard, MngAuthorizationService, MngAutocompleteComponent, MngBooleanPipe, MngBreadcrumbComponent, MngCommonsModule, MngCommonsService, MngComponentDirective, MngConfigurationService, MngDropdownComponent, MngEnumPipe, MngErrorMapperService, MngFooterComponent, MngFormEditorComponent, MngFormEditorSubmitEvent, MngFormFieldEvent, MngFormFieldEventComponentSubtype, MngFormFieldEventDialogSubtype, MngFormFieldEventTypeEnum, MngFormlyFieldAutocompleteComponent, MngFormlyFieldDropdownComponent, MngFormlyFieldFieldsetComponent, MngFormlyFieldInputComponent, MngFormlyFieldLabelComponent, MngFormlyFieldLookupDialogComponent, MngFormlyFieldTableDialogFormComponent, MngFormlyFieldTableDialogMultiselectComponent, MngFormlyFieldTabsComponent, MngFormlyFieldWrapperComponent, MngFormlyTableWrapperComponent, MngI18nPropertyPipe, MngLinkFormatterPipe, MngMainLayoutComponent, MngMainLayoutComponentService, MngMenuComponent, MngMenuItemComponent, MngNavigationService, MngTableCellClickEvent, MngTableColumnFilterComponent, MngTableColumnValueComponent, MngTableComponent, MngTableLoadEvent, MngTableReloadEvent, MngTableviewComponent, MngTableviewRouteComponent, MngTemplateDirective, MngTopbarComponent, MngVersionComponent, MngViewContainerComponentService, ModelDescriptor, ModelUtil, NotificationUtil, ObjectSerializer, Permissions, RouteBuilder, RoutesBuilder, StylesUtil, TableDataProvider, TableDescriptor, TableFilterDisplayEnum, TablePaginationModeEnum, TableSizeEnum, TableviewDataProvider, TableviewDescriptor, TableviewRouteBuilder, TableviewTypeEnum, TypeName, TypeUtil, enumNameDecoratorPropertyName, enumsMapBase, formlyTypesConfig, formlyWrappersConfig, getEmailValidationMessage, getFormlyValidationMessages, getMaxLengthValidationMessage, getMinLengthValidationMessage, getRequiredValidationMessage, getTextPatternValidationMessage, mngConfigJsonAppInitializerProvider, mngConfigurationServiceProvider, mngFormlyConfigProvider, primeNgModules, typeMapBase, typeNameDecoratorPropertyName };
10971
11127
  //# sourceMappingURL=mediusinc-mng-commons.mjs.map