@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
@@ -822,6 +822,157 @@ var TableSizeEnum;
822
822
  TableSizeEnum[TableSizeEnum["Large"] = 2] = "Large";
823
823
  })(TableSizeEnum || (TableSizeEnum = {}));
824
824
 
825
+ class StylesUtil {
826
+ static calculateTableColumnActionWidth(table, actions) {
827
+ const buttonsWidth = actions.reduce((acc, action) => acc + StylesUtil.getActionButtonRoundedWidth(action) + 2 * StylesUtil.ACTION_BUTTON_MARGIN_X, 0);
828
+ const tablePadding = StylesUtil.getTableCellPaddingX(table);
829
+ return buttonsWidth + 2 * tablePadding;
830
+ }
831
+ static getTableCellPaddingX(table) {
832
+ switch (table.size) {
833
+ case TableSizeEnum.Small:
834
+ return StylesUtil.TABLE_CELL_PADDING_X_SM;
835
+ case TableSizeEnum.Large:
836
+ return StylesUtil.TABLE_CELL_PADDING_X_LG;
837
+ default:
838
+ return StylesUtil.TABLE_CELL_PADDING_X;
839
+ }
840
+ }
841
+ static getActionButtonRoundedWidth(action) {
842
+ switch (action.size) {
843
+ case ActionSizeEnum.ExtraSmall:
844
+ return StylesUtil.BUTTON_ROUNDED_WIDTH_XS;
845
+ case ActionSizeEnum.Small:
846
+ return StylesUtil.BUTTON_ROUNDED_WIDTH_SM;
847
+ case ActionSizeEnum.Large:
848
+ case ActionSizeEnum.ExtraLarge:
849
+ return StylesUtil.BUTTON_ROUNDED_WIDTH_LG;
850
+ case ActionSizeEnum.Normal:
851
+ default:
852
+ return StylesUtil.BUTTON_ROUNDED_WIDTH;
853
+ }
854
+ }
855
+ }
856
+ StylesUtil.BUTTON_ROUNDED_WIDTH_XS = 26;
857
+ StylesUtil.BUTTON_ROUNDED_WIDTH_SM = 28;
858
+ StylesUtil.BUTTON_ROUNDED_WIDTH = 32;
859
+ StylesUtil.BUTTON_ROUNDED_WIDTH_LG = 45;
860
+ StylesUtil.ACTION_BUTTON_MARGIN_X = 2;
861
+ StylesUtil.TABLE_CELL_PADDING_X = 8; // left and right paddings are same
862
+ StylesUtil.TABLE_CELL_PADDING_X_SM = 4;
863
+ StylesUtil.TABLE_CELL_PADDING_X_LG = 12;
864
+
865
+ class ButtonStyleBuilder {
866
+ constructor(level, customClass) {
867
+ this._size = ActionSizeEnum.Normal;
868
+ this._textButton = false;
869
+ this._outlineButton = false;
870
+ this._raisedButton = false;
871
+ this._actionLevel = level;
872
+ this._customClass = customClass;
873
+ }
874
+ getButtonClass(hasNoTitle = false) {
875
+ const styles = [this.convertActionLevelToStyleClass(), this.convertSizeToStyleClass(), this._customClass];
876
+ if (hasNoTitle) {
877
+ styles.push(`p-button-rounded mng-action-button-icon`);
878
+ }
879
+ if (this._textButton) {
880
+ styles.push(`p-button-text`);
881
+ }
882
+ if (this._outlineButton) {
883
+ styles.push(`p-button-outlined`);
884
+ }
885
+ if (this._raisedButton) {
886
+ styles.push(`p-button-raised`);
887
+ }
888
+ return styles.join(' ');
889
+ }
890
+ create(actionLevel, size, textButton, outlineButton, raisedButton, customClass) {
891
+ this._actionLevel = actionLevel ?? this._actionLevel;
892
+ this._size = size ?? this._size;
893
+ this._textButton = textButton ?? this._textButton;
894
+ this._outlineButton = outlineButton ?? this._outlineButton;
895
+ this._raisedButton = raisedButton ?? this._raisedButton;
896
+ this._customClass = customClass;
897
+ return this;
898
+ }
899
+ withActionLevel(actionLevel) {
900
+ this._actionLevel = actionLevel;
901
+ return this;
902
+ }
903
+ withSize(size) {
904
+ this._size = size;
905
+ return this;
906
+ }
907
+ withTextButton(withText = true) {
908
+ this._textButton = withText;
909
+ return this;
910
+ }
911
+ withOutlineButton(withOutline = true) {
912
+ this._outlineButton = withOutline;
913
+ return this;
914
+ }
915
+ withRaisedButton(withRaised = true) {
916
+ this._raisedButton = withRaised;
917
+ return this;
918
+ }
919
+ withCustomClass(customClass) {
920
+ this._customClass = customClass;
921
+ return this;
922
+ }
923
+ convertActionLevelToStyleClass() {
924
+ switch (this._actionLevel) {
925
+ case ActionLevelEnum.Default:
926
+ case ActionLevelEnum.Primary:
927
+ return 'p-button-primary';
928
+ case ActionLevelEnum.Secondary:
929
+ return 'p-button-secondary';
930
+ case ActionLevelEnum.Info:
931
+ return 'p-button-info';
932
+ case ActionLevelEnum.Help:
933
+ return 'p-button-help';
934
+ case ActionLevelEnum.Success:
935
+ return 'p-button-success';
936
+ case ActionLevelEnum.Warning:
937
+ return 'p-button-warning';
938
+ case ActionLevelEnum.Danger:
939
+ return 'p-button-danger';
940
+ }
941
+ }
942
+ convertSizeToStyleClass() {
943
+ switch (this._size) {
944
+ case ActionSizeEnum.ExtraSmall:
945
+ return 'mng-button-xs';
946
+ case ActionSizeEnum.Small:
947
+ return 'mng-button-sm';
948
+ case ActionSizeEnum.Normal:
949
+ return '';
950
+ case ActionSizeEnum.Large:
951
+ return 'mng-button-lg';
952
+ case ActionSizeEnum.ExtraLarge:
953
+ return 'mng-button-xl';
954
+ }
955
+ }
956
+ get actionLevel() {
957
+ return this._actionLevel;
958
+ }
959
+ get size() {
960
+ return this._size;
961
+ }
962
+ get textButton() {
963
+ return this._textButton;
964
+ }
965
+ get outlineButton() {
966
+ return this._outlineButton;
967
+ }
968
+ get raisedButton() {
969
+ return this._raisedButton;
970
+ }
971
+ get customClass() {
972
+ return this._customClass;
973
+ }
974
+ }
975
+
825
976
  class ActionDescriptor {
826
977
  constructor(model, actionName, parentType, parentProperty) {
827
978
  this._type = ActionTypeEnum.Direct;
@@ -829,11 +980,7 @@ class ActionDescriptor {
829
980
  this._position = ActionPositionEnum.ToolbarRight;
830
981
  this._level = ActionLevelEnum.Default;
831
982
  this._routeUrl = null;
832
- this._className = '';
833
- this._size = ActionSizeEnum.Normal;
834
- this._isStyleText = false;
835
- this._isStyleOutlined = false;
836
- this._isStyleRaised = false;
983
+ this._buttonStyle = new ButtonStyleBuilder(this._level);
837
984
  this._hasRunConfirmation = false;
838
985
  this._hasRunNotificationSuccess = true;
839
986
  this._hasRunNotificationError = true;
@@ -918,32 +1065,62 @@ class ActionDescriptor {
918
1065
  get actionNameLong() {
919
1066
  return this._actionNameLong;
920
1067
  }
1068
+ get buttonStyle() {
1069
+ return this._buttonStyle;
1070
+ }
1071
+ /**
1072
+ * @deprecated use _buttonStyle instead
1073
+ */
921
1074
  get className() {
922
- return this._className;
1075
+ return this._buttonStyle.customClass;
923
1076
  }
1077
+ /**
1078
+ * @deprecated use _buttonStyle instead
1079
+ */
924
1080
  get isStyleText() {
925
- return this._isStyleText;
1081
+ return this._buttonStyle.textButton;
926
1082
  }
1083
+ /**
1084
+ * @deprecated use _buttonStyle instead
1085
+ */
927
1086
  get isStyleOutlined() {
928
- return this._isStyleOutlined;
1087
+ return this._buttonStyle.outlineButton;
929
1088
  }
1089
+ /**
1090
+ * @deprecated use _buttonStyle instead
1091
+ */
930
1092
  get isStyleRaised() {
931
- return this._isStyleRaised;
1093
+ return this._buttonStyle.raisedButton;
932
1094
  }
1095
+ /**
1096
+ * @deprecated use _buttonStyle instead
1097
+ */
933
1098
  get size() {
934
- return this._size;
1099
+ return this._buttonStyle.size;
935
1100
  }
1101
+ /**
1102
+ * @deprecated use _buttonStyle instead
1103
+ */
936
1104
  get isSizeExtraSmall() {
937
- return this._size === ActionSizeEnum.ExtraSmall;
1105
+ return this._buttonStyle.size === ActionSizeEnum.ExtraSmall;
938
1106
  }
1107
+ /**
1108
+ * @deprecated use _buttonStyle instead
1109
+ */
939
1110
  get isSizeSmall() {
940
- return this._size === ActionSizeEnum.Small;
1111
+ return this._buttonStyle.size === ActionSizeEnum.Small;
941
1112
  }
1113
+ /**
1114
+ * @deprecated use _buttonStyle instead
1115
+ */
942
1116
  get isSizeLarge() {
943
- return this._size === ActionSizeEnum.Large;
1117
+ return this._buttonStyle.size === ActionSizeEnum.Large;
944
1118
  }
1119
+ /**
1120
+ * @deprecated use _buttonStyle instead
1121
+ */
945
1122
  get isSizeExtraLarge() {
946
- return this._size === ActionSizeEnum.ExtraLarge;
1123
+ return this._buttonStyle.size === ActionSizeEnum.ExtraLarge;
947
1124
  }
948
1125
  get hasRunConfirmation() {
949
1126
  return this._hasRunConfirmation;
@@ -1026,6 +1203,7 @@ class ActionDescriptor {
1026
1203
  }
1027
1204
  withLevel(level) {
1028
1205
  this._level = level;
1206
+ this._buttonStyle = this._buttonStyle.withActionLevel(level);
1029
1207
  return this;
1030
1208
  }
1031
1209
  /**
@@ -1052,17 +1230,17 @@ class ActionDescriptor {
1052
1230
  return this;
1053
1231
  }
1054
1232
  withClassName(className) {
1055
- this._className = className;
1233
+ this._buttonStyle = this._buttonStyle.withCustomClass(className);
1056
1234
  return this;
1057
1235
  }
1058
1236
  withSize(size = ActionSizeEnum.Normal) {
1059
- this._size = size;
1237
+ this._buttonStyle = this._buttonStyle.withSize(size);
1060
1238
  return this;
1061
1239
  }
1062
1240
  withStyle(styleText = false, styleOutlined = false, styleRaised = false) {
1063
- this._isStyleText = styleText;
1064
- this._isStyleOutlined = styleOutlined;
1065
- this._isStyleRaised = styleRaised;
1241
+ this._buttonStyle = this._buttonStyle.withOutlineButton(styleOutlined);
1242
+ this._buttonStyle = this._buttonStyle.withRaisedButton(styleRaised);
1243
+ this._buttonStyle = this._buttonStyle.withTextButton(styleText);
1066
1244
  return this;
1067
1245
  }
1068
1246
  withPosition(position) {
@@ -1242,7 +1420,7 @@ class ActionEditorSubmitDescriptor extends ActionDescriptor {
1242
1420
  this._editorAction = editorAction;
1243
1421
  this._submitType = submitType;
1244
1422
  this._position = ActionPositionEnum.FooterRight;
1245
- this._isStyleText = true;
1423
+ this._buttonStyle = this._buttonStyle.withActionLevel(editorAction.level).withTextButton();
1246
1424
  }
1247
1425
  get submitType() {
1248
1426
  return this._submitType;
@@ -4734,6 +4912,15 @@ class MngConfigurationService {
4734
4912
  this.http = http;
4735
4913
  this.jsonSources = [];
4736
4914
  this.configuration = { ...this.projectEnvironment };
4915
+ /**
4916
+ * returns true if there is no jsonSources
4917
+ */
4918
+ this.skipJsonConfigsLoading = () => this.jsonSources === null || this.jsonSources.length === 0;
4919
+ /**
4920
+ * loads json sources or skips them returning true in both cases
4921
+ * used for `skipJsonSourceInit` configuration parameter
4922
+ */
4923
+ this.loadJsonConfigurations = () => (this.skipJsonConfigsLoading() ? of(true) : this.loadJsonSources());
4737
4924
  }
4738
4925
  static init(httpClient) {
4739
4926
  if (!this._instance) {
@@ -4772,7 +4959,7 @@ class MngConfigurationService {
4772
4959
  this.jsonSources.push(sourceInfo);
4773
4960
  console.debug(`Added JSON source: ${url}`);
4774
4961
  if (load) {
4775
- return this.loadJsonSources();
4962
+ return this.loadJsonConfigurations();
4776
4963
  }
4777
4964
  else {
4778
4965
  return of(true);
@@ -6021,15 +6208,8 @@ class MngActionComponent {
6021
6208
  this.actionExecutor = actionExecutor;
6022
6209
  this.confirmationService = confirmationService;
6023
6210
  this.viewContainerService = viewContainerService;
6024
- this.levelDefault = ActionLevelEnum.Default;
6025
- this.levelPrimary = ActionLevelEnum.Primary;
6026
- this.levelSecondary = ActionLevelEnum.Secondary;
6027
- this.levelInfo = ActionLevelEnum.Info;
6028
- this.levelHelp = ActionLevelEnum.Help;
6029
- this.levelSuccess = ActionLevelEnum.Success;
6030
- this.levelWarning = ActionLevelEnum.Warning;
6031
- this.levelDanger = ActionLevelEnum.Danger;
6032
6211
  this.hostClass = 'mng-action-button';
6212
+ this.isHostHidden = false;
6033
6213
  this.inputDisabled = of(false);
6034
6214
  this.inputLoading = of(false);
6035
6215
  this.finishEventEmitter = new EventEmitter();
@@ -6048,6 +6228,7 @@ class MngActionComponent {
6048
6228
  this.$tooltip = this.tooltipSubject.asObservable().pipe(distinctUntilChanged());
6049
6229
  this.hasNoTitle = false;
6050
6230
  this.subscriptions = [];
6231
+ this.buttonClass = 'p-button-primary';
6051
6232
  this.loadingSubject.next(false);
6052
6233
  }
6053
6234
  ngOnInit() {
@@ -6071,6 +6252,11 @@ class MngActionComponent {
6071
6252
  if (this.action.className) {
6072
6253
  this.hostClass = this.action.className;
6073
6254
  }
6255
+ const hostVisibilitySubscription = combineLatest([this.$isVisible, this.$isPermitted]).subscribe(([isVisible, isPermitted]) => {
6256
+ this.isHostHidden = !isVisible || !isPermitted;
6257
+ });
6258
+ this.subscriptions.push(hostVisibilitySubscription);
6259
+ this.buttonClass = this.action.buttonStyle.getButtonClass(this.hasNoTitle);
6074
6260
  }
6075
6261
  ngOnChanges(changes) {
6076
6262
  if (!(changes['item']?.firstChange ?? true) || !(changes['itemId']?.firstChange ?? true) || !(changes['actionData']?.firstChange ?? true)) {
@@ -6158,15 +6344,18 @@ class MngActionComponent {
6158
6344
  }
6159
6345
  }
6160
6346
  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 });
6161
- 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 });
6347
+ 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 });
6162
6348
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: MngActionComponent, decorators: [{
6163
6349
  type: Component,
6164
- 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"] }]
6350
+ 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"] }]
6165
6351
  }], ctorParameters: function () { return [{ type: i1.ActivatedRoute }, { type: i1$2.TranslateService }, { type: MngAuthorizationService }, { type: MngActionExecutorService }, { type: i2.ConfirmationService }, { type: MngViewContainerComponentService, decorators: [{
6166
6352
  type: Optional
6167
6353
  }] }]; }, propDecorators: { hostClass: [{
6168
6354
  type: HostBinding,
6169
6355
  args: ['class']
6356
+ }], isHostHidden: [{
6357
+ type: HostBinding,
6358
+ args: ['class.m-0']
6170
6359
  }], action: [{
6171
6360
  type: Input
6172
6361
  }], item: [{
@@ -6765,7 +6954,11 @@ class MngAutocompleteComponent {
6765
6954
  if (this.dataProvider) {
6766
6955
  return this.dataProvider.lookup(qp, this.dataProviderService, query).pipe(switchMap(items => {
6767
6956
  if (this.itemsLabelTranslate) {
6768
- return this.translate.stream(this.i18nGetItemsKeys(items)).pipe(map(translations => this.i18nPopulateItems(items, translations)));
6957
+ const translatedItems = this.i18nGetItemsKeys(items);
6958
+ if (translatedItems.length === 0) {
6959
+ return of([]);
6960
+ }
6961
+ return this.translate.stream(translatedItems).pipe(map(translations => this.i18nPopulateItems(items, translations)));
6769
6962
  }
6770
6963
  else {
6771
6964
  return of(items);
@@ -6916,6 +7109,9 @@ class MngDropdownComponent {
6916
7109
  .pipe(switchMap(items => {
6917
7110
  if (this.itemsLabelTranslate) {
6918
7111
  const translationKeys = items.map(item => (typeof item === 'object' && this.itemsLabelPropertyInit ? item[this.itemsLabelPropertyInit] : item));
7112
+ if (translationKeys.length === 0) {
7113
+ return of([]);
7114
+ }
6919
7115
  return this.translate.stream(translationKeys).pipe(map(translations => items.map(item => {
6920
7116
  if (typeof item === 'object' && this.itemsLabelPropertyInit) {
6921
7117
  const label = item[this.itemsLabelPropertyInit];
@@ -7440,46 +7636,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImpor
7440
7636
  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" }]
7441
7637
  }] });
7442
7638
 
7443
- class StylesUtil {
7444
- static calculateTableColumnActionWidth(table, actions) {
7445
- const buttonsWidth = actions.reduce((acc, action) => acc + StylesUtil.getActionButtonRoundedWidth(action) + 2 * StylesUtil.ACTION_BUTTON_MARGIN_X, 0);
7446
- const tablePadding = StylesUtil.getTableCellPaddingX(table);
7447
- return buttonsWidth + 2 * tablePadding;
7448
- }
7449
- static getTableCellPaddingX(table) {
7450
- switch (table.size) {
7451
- case TableSizeEnum.Small:
7452
- return StylesUtil.TABLE_CELL_PADDING_X_SM;
7453
- case TableSizeEnum.Large:
7454
- return StylesUtil.TABLE_CELL_PADDING_X_LG;
7455
- default:
7456
- return StylesUtil.TABLE_CELL_PADDING_X;
7457
- }
7458
- }
7459
- static getActionButtonRoundedWidth(action) {
7460
- switch (action.size) {
7461
- case ActionSizeEnum.ExtraSmall:
7462
- return StylesUtil.BUTTON_ROUNDED_WIDTH_XS;
7463
- case ActionSizeEnum.Small:
7464
- return StylesUtil.BUTTON_ROUNDED_WIDTH_SM;
7465
- case ActionSizeEnum.Large:
7466
- case ActionSizeEnum.ExtraLarge:
7467
- return StylesUtil.BUTTON_ROUNDED_WIDTH_LG;
7468
- case ActionSizeEnum.Normal:
7469
- default:
7470
- return StylesUtil.BUTTON_ROUNDED_WIDTH;
7471
- }
7472
- }
7473
- }
7474
- StylesUtil.BUTTON_ROUNDED_WIDTH_XS = 26;
7475
- StylesUtil.BUTTON_ROUNDED_WIDTH_SM = 28;
7476
- StylesUtil.BUTTON_ROUNDED_WIDTH = 32;
7477
- StylesUtil.BUTTON_ROUNDED_WIDTH_LG = 45;
7478
- StylesUtil.ACTION_BUTTON_MARGIN_X = 2;
7479
- StylesUtil.TABLE_CELL_PADDING_X = 8; // left and right paddings are same
7480
- StylesUtil.TABLE_CELL_PADDING_X_SM = 4;
7481
- StylesUtil.TABLE_CELL_PADDING_X_LG = 12;
7482
-
7483
7639
  class MngTableLoadEvent {
7484
7640
  }
7485
7641
  class MngTableCellClickEvent {
@@ -9431,7 +9587,7 @@ class MngCommonsInitService {
9431
9587
  return of(void 0);
9432
9588
  }
9433
9589
  console.debug(`Initializing @mediusinc/mng-commons.`);
9434
- return this.configurationService.loadJsonSources().pipe(mergeMap$1(() => {
9590
+ return this.configurationService.loadJsonConfigurations().pipe(mergeMap$1(() => {
9435
9591
  if (this.commonsInitializers) {
9436
9592
  console.debug(`Module initializers for @mediusinc/mng-commons.`);
9437
9593
  return combineLatest(this.commonsInitializers.map(ci => ci())).pipe(map(res => res));
@@ -10819,5 +10975,5 @@ class TableviewRouteBuilder {
10819
10975
  * Generated bundle index. Do not edit.
10820
10976
  */
10821
10977
 
10822
- 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 };
10978
+ 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 };
10823
10979
  //# sourceMappingURL=mediusinc-mng-commons.mjs.map