{"version":3,"file":"modules/757-757.js?cacheBreaker=93be89e3fd9d866816ee","mappings":"qNAAO,MAAMA,EAA6B,CACzCC,KAAM,EACNC,GAAI,EACJC,IAAK,EACLC,KAAM,GAGMC,EAA2B,CACvCH,GAAI,EACJC,IAAK,EACLC,KAAM,GAGME,EAAiB,CAC7BC,SAAU,CACTC,GAAI,EACJC,KAAM,WACNC,MAAO,QAERC,WAAY,CACXH,GAAI,EACJC,KAAM,aACNC,MAAO,UAERE,SAAU,CACTJ,GAAI,EACJC,KAAM,WACNC,MAAO,QAERG,SAAU,CACTL,GAAI,EACJC,KAAM,WACNC,MAAO,QAERI,QAAS,CACRN,GAAI,EACJC,KAAM,UACNC,MAAO,OAERK,SAAU,CACTP,GAAI,GACJC,KAAM,WACNC,MAAO,QAERM,UAAW,CACVR,GAAI,EACJC,KAAM,YACNC,MAAO,SAERO,YAAa,CACZT,GAAI,EACJC,KAAM,cACNC,MAAO,WAERQ,SAAU,CACTV,GAAI,EACJC,KAAM,WACNC,MAAO,QAERS,gBAAiB,CAChBX,GAAI,EACJC,KAAM,kBACNC,MAAO,oBAERU,cAAe,CACdZ,GAAI,EACJC,KAAM,gBACNC,MAAO,kBAERW,SAAU,CACTb,GAAI,GACJC,KAAM,WACNC,MAAO,YAERY,wBAAyB,CACxBd,GAAI,GACJC,KAAM,0BACNC,MAAO,6BAERa,SAAU,CACTf,GAAI,GACJC,KAAM,WACNC,MAAO,YAERc,aAAc,CACbhB,GAAI,GACJC,KAAM,eACNC,MAAO,iBAERe,WAAY,CACXjB,GAAI,GACJC,KAAM,aACNC,MAAO,UAERgB,UAAW,CACVlB,GAAI,GACJC,KAAM,YACNC,MAAO,cAERiB,SAAU,CACTnB,GAAI,GACJC,KAAM,WACNC,MAAO,aAERkB,OAAQ,CACPpB,GAAI,GACJC,KAAM,SACNC,MAAO,UAERmB,eAAgB,CACfrB,GAAI,GACJC,KAAM,iBACNC,MAAO,mB,+vBChHT,MAAMoB,EAAoB,CACzBC,KAAM,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BQ,cAAa,EACbC,aAAY,EACZC,eAAcA,G,uECbR,MAAMqB,EAAoDrD,c,YAAA,K,EACb,I,+SADa,e,uFACX,CAC9CsD,IAAIC,GAEV,OADAjD,KAAKkD,SAASP,KAAKM,GACZ,KACNjD,KAAKkD,SAASC,OAAOnD,KAAKkD,SAASE,QAAQH,GAAU,EAAE,CAEzD,CAEaI,QAAQC,GAAU,IAAAC,EAAA,YAAAC,EAAAA,EAAAA,IAAA,YAE9B,aADsBC,QAAQC,WAAWH,EAAKL,SAASS,KAAKV,GAAYA,EAAQK,OACjEK,KAAKC,IAInB,GAHmB,aAAfA,EAAIC,QAAyBD,EAAIE,QACpCC,QAAQC,MAAM,8CAA+CJ,EAAIE,QAE/C,cAAfF,EAAIC,OACP,OAAOD,EAAIK,KAEN,GACJ,GAV2BT,EAW/B,E","sources":["webpack://@dwp/solution-builder/./packages/Shell/PandoraSolutionBuilderAgent/model/data-model/enumerations.js","webpack://@dwp/solution-builder/./packages/Shell/PandoraSolutionBuilderAgent/model/enumerations.ts","webpack://@dwp/solution-builder/./packages/Shell/Pandora/model/action/action-context-type.ts","webpack://@dwp/solution-builder/./packages/Shell/Pandora/model/action/action-device-visibility.ts","webpack://@dwp/solution-builder/./packages/Shell/Pandora/model/action/action-filter-type.ts","webpack://@dwp/solution-builder/./packages/Shell/Pandora/model/action/action.ts","webpack://@dwp/solution-builder/./packages/Shell/Pandora/model/action/action-purpose.ts","webpack://@dwp/solution-builder/./packages/Shell/Pandora/model/action/action-ui-zone.ts","webpack://@dwp/solution-builder/./packages/Shell/Pandora/model/action/actions-context.ts","webpack://@dwp/solution-builder/./packages/Shell/Pandora/model/action/index.ts","webpack://@dwp/solution-builder/./packages/Utils/mx-handler.collection.ts"],"sourcesContent":["export const DataModelPropertyDirection = {\r\n\tNONE: 0,\r\n\tIN: 1,\r\n\tOUT: 2,\r\n\tBOTH: 3,\r\n};\r\n\r\nexport const DataModelSourceDirection = {\r\n\tIN: 1,\r\n\tOUT: 2,\r\n\tBOTH: 3,\r\n};\r\n\r\nexport const DataModelTypes = {\r\n\tGuidType: {\r\n\t\tid: 0,\r\n\t\tname: 'GuidType',\r\n\t\ttitle: 'Guid',\r\n\t},\r\n\tStringType: {\r\n\t\tid: 1,\r\n\t\tname: 'StringType',\r\n\t\ttitle: 'String',\r\n\t},\r\n\tBoolType: {\r\n\t\tid: 2,\r\n\t\tname: 'BoolType',\r\n\t\ttitle: 'Bool',\r\n\t},\r\n\tDateType: {\r\n\t\tid: 3,\r\n\t\tname: 'DateType',\r\n\t\ttitle: 'Date',\r\n\t},\r\n\tIntType: {\r\n\t\tid: 4,\r\n\t\tname: 'IntType',\r\n\t\ttitle: 'Int',\r\n\t},\r\n\tLongType: {\r\n\t\tid: 24,\r\n\t\tname: 'LongType',\r\n\t\ttitle: 'Long',\r\n\t},\r\n\tFloatType: {\r\n\t\tid: 5,\r\n\t\tname: 'FloatType',\r\n\t\ttitle: 'Float',\r\n\t},\r\n\tDecimalType: {\r\n\t\tid: 6,\r\n\t\tname: 'DecimalType',\r\n\t\ttitle: 'Decimal',\r\n\t},\r\n\tTextType: {\r\n\t\tid: 7,\r\n\t\tname: 'TextType',\r\n\t\ttitle: 'Text',\r\n\t},\r\n\tObjectReference: {\r\n\t\tid: 8,\r\n\t\tname: 'ObjectReference',\r\n\t\ttitle: 'Object Reference',\r\n\t},\r\n\tEnumReference: {\r\n\t\tid: 9,\r\n\t\tname: 'EnumReference',\r\n\t\ttitle: 'Enum Reference',\r\n\t},\r\n\tFragment: {\r\n\t\tid: 10,\r\n\t\tname: 'Fragment',\r\n\t\ttitle: 'Fragment',\r\n\t},\r\n\tMultipleObjectReference: {\r\n\t\tid: 11,\r\n\t\tname: 'MultipleObjectReference',\r\n\t\ttitle: 'Multiple Object Reference',\r\n\t},\r\n\tCurrency: {\r\n\t\tid: 12,\r\n\t\tname: 'Currency',\r\n\t\ttitle: 'Currency',\r\n\t},\r\n\tCurrencyCode: {\r\n\t\tid: 13,\r\n\t\tname: 'CurrencyCode',\r\n\t\ttitle: 'Currency Code',\r\n\t},\r\n\tObjectType: {\r\n\t\tid: 14,\r\n\t\tname: 'ObjectType',\r\n\t\ttitle: 'Object',\r\n\t},\r\n\tColorType: {\r\n\t\tid: 15,\r\n\t\tname: 'ColorType',\r\n\t\ttitle: 'Color Type',\r\n\t},\r\n\tHtmlType: {\r\n\t\tid: 16,\r\n\t\tname: 'HtmlType',\r\n\t\ttitle: 'Html Type',\r\n\t},\r\n\tEntity: {\r\n\t\tid: 22,\r\n\t\tname: 'Entity',\r\n\t\ttitle: 'Entity',\r\n\t},\r\n\tDataDefinition: {\r\n\t\tid: 23,\r\n\t\tname: 'DataDefinition',\r\n\t\ttitle: 'Data Definition',\r\n\t},\r\n};\r\n","const ContentWidgetType = {\r\n\tList: 0,\r\n\tDialog: 1,\r\n\tWizard: 2,\r\n\tObjectDetails: 3,\r\n\tBase: 4,\r\n\tLandingPage: 5,\r\n\tCustomWidget: 6,\r\n\tEmailTemplate: 7,\r\n};\r\n\r\nenum ContentWidgetViewType {\r\n\tGrid = 0,\r\n\tList = 1,\r\n\tTile = 2,\r\n\tObjectDetails = 3,\r\n\tDialogPage = 4,\r\n\tWizardPage = 5,\r\n\tDashboard = 6,\r\n\tNonVisual = 7,\r\n\tCalendar = 8,\r\n\tResultWizardPage = 10,\r\n\tCustomSearchForm = 11,\r\n\tEmailTemplate = 12,\r\n\tBoard = 16,\r\n}\r\n\r\nenum ContentWidgetDialogAction {\r\n\tUnknown = 0,\r\n\tNew = 1,\r\n\tEdit = 2,\r\n\tPreview = 3,\r\n}\r\n\r\nenum ContentWidgetDialogPurpose {\r\n\tCreateAndEdit = 0,\r\n\tCreateOnly = 1,\r\n\tEditOnly = 2,\r\n}\r\n\r\nenum SourceLoadingStatus {\r\n\tNOT_SET = -1,\r\n\tINITIAL = 0,\r\n\tLOADING = 1,\r\n\tLOADED = 2,\r\n\tREJECTED = 3,\r\n\tLOAD_REQUESTED = 4,\r\n}\r\n\r\nenum SourceParameterType {\r\n\tFromUri = 0,\r\n\tFromBody = 1,\r\n\tUnknown = 2,\r\n}\r\n\r\nenum PropertyEditorType {\r\n\tString = 0,\r\n\tBoolean = 1,\r\n\tInteger = 2,\r\n\tStylePicker = 3,\r\n\tEnumeration = 4,\r\n\tLocalizable = 5,\r\n\tBindable = 6,\r\n\tImage = 7,\r\n\tUnit = 8,\r\n\tComplexData = 9,\r\n\tSchema = 10,\r\n\tText = 11,\r\n\tObjectPicker = 12,\r\n\tDescriptorStylesPicker = 13,\r\n\tLayoutGrid = 15,\r\n\tExpressionFilter = 26,\r\n}\r\n\r\nenum EditorBindingType {\r\n\tOneWay = 0,\r\n\tTwoWay = 1,\r\n}\r\n\r\ntype TemplatePropertyValueType = 'model' | 'local' | 'tabs' | 'style' | 'img' | 'columns' | 'color' | 'actions' | 'layoutGrid' | 'filterExpression';\r\n\r\nclass MxTemplatePropertyValueTypes implements Record {\r\n\tpublic readonly model = {\r\n\t\tid: 1,\r\n\t\ttype: 'mx.SolutionBuilderAgent.DataModelProperty',\r\n\t};\r\n\tpublic readonly local = {\r\n\t\tid: 2,\r\n\t\ttype: 'mx.SolutionBuilderAgent.LocalizableResource',\r\n\t};\r\n\tpublic readonly tabs = {\r\n\t\tid: 3,\r\n\t\ttype: 'mx.designer.TabulatedContainerDescriptor',\r\n\t};\r\n\tpublic readonly style = {\r\n\t\tid: 4,\r\n\t\ttype: 'mx.designer.StylesItem',\r\n\t};\r\n\tpublic readonly img = {\r\n\t\tid: 5,\r\n\t\ttype: 'mx.designer.ImageBindableValue',\r\n\t};\r\n\tpublic readonly columns = {\r\n\t\tid: 6,\r\n\t\ttype: 'mx.designer.GridColumnDefinitionDescriptor',\r\n\t};\r\n\tpublic readonly color = {\r\n\t\tid: 7,\r\n\t\ttype: 'mx.designer.ColorItem',\r\n\t};\r\n\tpublic readonly actions = {\r\n\t\tid: 8,\r\n\t\ttype: 'mx.designer.DialogActionDefinitionDescriptor',\r\n\t};\r\n\tpublic readonly layoutGrid = {\r\n\t\tid: 15,\r\n\t\ttype: 'mx.designer.LayoutGridCell',\r\n\t};\r\n\tpublic readonly filterExpression = {\r\n\t\tid: 16,\r\n\t\ttype: 'mx.designer.FilterExpression',\r\n\t};\r\n\r\n\t_is(data: { __type: number }, name: TemplatePropertyValueType) {\r\n\t\treturn data && data.__type && data.__type === this[name].id;\r\n\t}\r\n\r\n\tis(data: { __type: number }, name: TemplatePropertyValueType) {\r\n\t\treturn this.hasOwnProperty(name) && this._is(data, name);\r\n\t}\r\n\r\n\tisModel(data: { __type: number }) {\r\n\t\treturn this._is(data, 'model');\r\n\t}\r\n\r\n\tisLocalization(data: { __type: number }) {\r\n\t\treturn this._is(data, 'local');\r\n\t}\r\n\r\n\tisStyle(data: { __type: number }) {\r\n\t\treturn this._is(data, 'style');\r\n\t}\r\n\r\n\tisImg(data: { __type: number }) {\r\n\t\treturn this._is(data, 'img');\r\n\t}\r\n\r\n\tisColor(data: { __type: number }) {\r\n\t\treturn this._is(data, 'color');\r\n\t}\r\n\r\n\tisLayoutGrid(data: { __type: number }) {\r\n\t\treturn this._is(data, 'layoutGrid');\r\n\t}\r\n\r\n\tisFilterExpression(data: { __type: number }) {\r\n\t\treturn this._is(data, 'filterExpression');\r\n\t}\r\n}\r\n\r\nenum DetailsViewSelectionMode {\r\n\tNone = 1,\r\n\tSingle = 2,\r\n\tMulti = 3,\r\n}\r\n\r\nenum NavigationItemImplementation {\r\n\tSearchPage = 'D',\r\n\tLandingPage = 'L',\r\n\tCustomController = 'C',\r\n\tExternalUrl = 'E',\r\n\tServiceOperation = 'S',\r\n\tDefault = 'N',\r\n}\r\n\r\nenum StructureNavigationItemImplementation {\r\n\tDataDefinition = 'D',\r\n\tServiceOperation = 'S',\r\n}\r\n\r\nenum WizardMode {\r\n\tDefault = 0,\r\n\tNew = 1,\r\n\tEdit = 2,\r\n}\r\n\r\nenum LanguageGroupFilter {\r\n\tUI = 0,\r\n\tEmail = 1,\r\n\tAll = 2,\r\n}\r\n\r\nenum AttachmentsViewMode {\r\n\tDefault = 'default',\r\n\tList = 'list',\r\n\tTiles = 'tiles',\r\n}\r\n\r\nenum SupportedOperations {\r\n\tUndefined = 0,\r\n\tReadObject = 1,\r\n\tReadObjects = 2,\r\n\tReadObjectsByODataQuery = 4,\r\n\tUpdateObject = 8,\r\n\tInsertObject = 16,\r\n\tDeleteObject = 32,\r\n}\r\n\r\nenum PreprocessorType {\r\n\tSorting = 'sorting',\r\n\tPaging = 'paging',\r\n\tSearch = 'search',\r\n\tDateRange = 'date_range',\r\n\tStructure = 'structure',\r\n\tQuickFilter = 'quick_filter',\r\n\tColumnDefinition = 'column_definition',\r\n\tServiceRequestParams = 'service_request_params',\r\n\tGrouping = 'grouping',\r\n}\r\n\r\nenum GroupType {\r\n\tBasic = 'basic',\r\n\tDateRange = 'dateRange',\r\n\tGridSearch = 'gridSearch',\r\n\tGrouping = 'grouping',\r\n\tQueryBuilder = 'queryBuilder',\r\n}\r\n\r\nenum ListingType {\r\n\tgrid = 0,\r\n\tlist = 1,\r\n\ttiles = 2,\r\n\tcalendar = 3,\r\n\tboard = 4,\r\n}\r\n\r\nenum ClassTypes {\r\n\tcommonClass = 9,\r\n\tcustomClass = 3,\r\n\tpickup = 4,\r\n\tsimpleCiBase = 13,\r\n\tsimpleCommonClass = 12,\r\n}\r\n\r\nenum DataTypes {\r\n\tStringType = 0,\r\n\tGuidType = 1,\r\n\tIntType = 2,\r\n\tDateType = 3,\r\n\tLongType = 4,\r\n\tFloatType = 5,\r\n\tBlobType = 6,\r\n\tVirtualRelationEnd = 7,\r\n\tTextType = 8,\r\n\tBoolType = 9,\r\n\tDecimalType = 10,\r\n\tExpressionGuidType = 11,\r\n\tBitType = 12,\r\n\tVarBinaryType = 13,\r\n\tStringTypeShort = 14,\r\n\tCurrency = 15,\r\n\tCurrencyCode = 16,\r\n\tUnknown = 200,\r\n}\r\n\r\nenum RelatedClassCardinality {\r\n\tone = 0,\r\n\toneOrMany = 1,\r\n\tzeroOrOne = 2,\r\n\tzeroOrMany = 3,\r\n}\r\n\r\nconst TemplatePropertyValueTypes = new MxTemplatePropertyValueTypes();\r\n\r\nmx.SolutionBuilderAgent = mx.SolutionBuilderAgent || {};\r\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\r\n// @ts-ignore\r\nObject.assign(mx.SolutionBuilderAgent, {\r\n\tContentWidgetType,\r\n\tContentWidgetViewType,\r\n\tContentWidgetDialogAction,\r\n\tContentWidgetDialogPurpose,\r\n\tTemplatePropertyValueTypes,\r\n\tSourceLoadingStatus,\r\n\tSourceParameterType,\r\n\tDetailsViewSelectionMode,\r\n\tNavigationItemImplementation,\r\n\tStructureNavigationItemImplementation,\r\n\tWizardMode,\r\n\tPropertyEditorType,\r\n\tLanguageGroupFilter,\r\n\tAttachmentsViewMode,\r\n\tSupportedOperations,\r\n\tPreprocessorType,\r\n\tListingType,\r\n\tClassTypes,\r\n\tDataTypes,\r\n\tRelatedClassCardinality,\r\n});\r\n\r\nexport {\r\n\tContentWidgetType,\r\n\tContentWidgetViewType,\r\n\tContentWidgetDialogAction,\r\n\tContentWidgetDialogPurpose,\r\n\tTemplatePropertyValueTypes,\r\n\tSourceLoadingStatus,\r\n\tSourceParameterType,\r\n\tDetailsViewSelectionMode,\r\n\tNavigationItemImplementation,\r\n\tStructureNavigationItemImplementation,\r\n\tWizardMode,\r\n\tPropertyEditorType,\r\n\tLanguageGroupFilter,\r\n\tAttachmentsViewMode,\r\n\tSupportedOperations,\r\n\tPreprocessorType,\r\n\tListingType,\r\n\tClassTypes,\r\n\tDataTypes,\r\n\tRelatedClassCardinality,\r\n\tGroupType,\r\n\tEditorBindingType,\r\n};\r\n","/**\r\n * @ngdoc enum\r\n * @name mx.shell.ActionContextType\r\n * @module mx.shell\r\n *\r\n * @description\r\n * Enum for Action execution scope.\r\n */\r\nexport enum ActionContextType {\r\n\t/**\r\n\t * @ngdoc property\r\n\t * @name mx.shell.ActionContextType#None\r\n\t *\r\n\t * @description\r\n\t * Action is available regardless any business object is selected\r\n\t */\r\n\tNone = 0,\r\n\r\n\t/**\r\n\t * @ngdoc property\r\n\t * @name mx.shell.ActionContextType#Single\r\n\t *\r\n\t * @description\r\n\t * Action is available when only one business object is selected\r\n\t */\r\n\tSingle = 1,\r\n\r\n\t/**\r\n\t * @ngdoc property\r\n\t * @name mx.shell.ActionContextType#Multiple\r\n\t *\r\n\t * @description\r\n\t * Action is available when one or more business objects are selected\r\n\t */\r\n\tMultiple = 2,\r\n}\r\n","/**\r\n * @ngdoc enum\r\n * @name mx.shell.ActionDeviceVisibility\r\n * @module mx.shell\r\n *\r\n * @description\r\n * Represents the list of device visibility options\r\n */\r\nexport enum ActionDeviceVisibility {\r\n\t/**\r\n\t * @ngdoc property\r\n\t * @name mx.shell.ActionDeviceVisibility#All\r\n\t *\r\n\t * @description\r\n\t * Action of such type are present on any possible device\r\n\t */\r\n\tAll = 'All',\r\n\r\n\t/**\r\n\t * @ngdoc property\r\n\t * @name mx.shell.ActionDeviceVisibility#MobileOnly\r\n\t *\r\n\t * @description\r\n\t * The Action available only on Mobile devices\r\n\t */\r\n\tMobileOnly = 'MobileOnly',\r\n\r\n\t/**\r\n\t * @ngdoc property\r\n\t * @name mx.shell.ActionDeviceVisibility#DesktopOnly\r\n\t *\r\n\t * @description\r\n\t * The Action available only on Desktop or tablet devices\r\n\t */\r\n\tDesktopOnly = 'DesktopOnly',\r\n}\r\n","/**\r\n * @ngdoc enum\r\n * @name mx.shell.ActionFilterType\r\n * @module mx.shell\r\n *\r\n * @description\r\n * Represents possible Filtering options for actions\r\n */\r\nexport enum ActionFilterType {\r\n\t/**\r\n\t * @ngdoc property\r\n\t * @name mx.shell.ActionFilterType#Any\r\n\t *\r\n\t * @description\r\n\t * Filter is not specified\r\n\t */\r\n\tAny = 0,\r\n\r\n\t/**\r\n\t * @ngdoc property\r\n\t * @name mx.shell.ActionFilterType#Specified\r\n\t *\r\n\t * @description\r\n\t * Only objects with the specified criteria match the Action\r\n\t */\r\n\tSpecified = 1,\r\n\r\n\t/**\r\n\t * @ngdoc property\r\n\t * @name mx.shell.ActionFilterType#ExceptSpecified\r\n\t *\r\n\t * @description\r\n\t * Only objects which does not match the specified criteria\r\n\t */\r\n\tExceptSpecified = 2,\r\n}\r\n","import { ActionContextType } from './action-context-type';\r\nimport { ActionDeviceVisibility } from './action-device-visibility';\r\nimport { ActionFilterType } from './action-filter-type';\r\nimport { ActionPurpose } from './action-purpose';\r\nimport { ActionUiZone } from './action-ui-zone';\r\nimport View, { ViewController } from '../view';\r\n\r\nexport type ServiceOperation = Record;\r\ntype ActionWidget = { Id: string; Type?: number; Entity?: string; Url?: string; Controller?: string };\r\n\r\n/**\r\n\t * @ngdoc type\r\n\t * @name mx.shell.Action\r\n\t * @module mx.shell\r\n\t *\r\n\t * @description\r\n\t * An implementation of business logic for action\r\n\t * Constructor accepts name, title, icon, important as params like:\r\n\t * ```javascript\r\n\t var action = new mx.shell.Action(name, title, icon);\r\n\t * ```\r\n\t * @property {string} id - Gets or sets id of the action\r\n\t * @property {string} name - Gets or sets internal name of the action\r\n\t * @property {string} title - Gets or sets display name of the action\r\n\t * @property {string} icon - Gets or sets icon of the action\r\n\t * @property {number} position - Gets or sets position of the action in the list. Default: 0\r\n\t * @property {object[]} availableTypes - Gets or sets a collection of types for which the action is used\r\n\t * If empty the action is available for any type. Default: []\r\n\t * @property {mx.shell.ActionContextType} contextType - Gets or sets context type for the action\r\n\t * See {@ref mx.shell.ActionContextType mx.shell.ActionContextType} for available values\r\n\t * Default: {@ref mx.shell.ActionContextType#None mx.shell.ActionContextType.None}\r\n\t * @property {string|function} controller - Gets or sets execution controller action. Can be a name of the controller or controller itself.\r\n\t *
This Controller must contain public method with name 'execute', which will be executed when user click on this action button.\r\n\t * @property {string} controllerUrl - Gets or sets link to the execution controller AMD module\r\n\t * @property {mx.shell.ActionUiZone[]} uiZones - Gets or sets an array of {@ref mx.shell.ActionUiZone mx.shell.ActionUiZone}\r\n\t * which defines where on UI it should be shown. For example: [mx.shell.ActionUiZone.Dialog, mx.shell.ActionUiZone.Toolbar].\r\n\t * If it is `undefined` (not set) then this property will not make any influence and will be shown everywhere it possible.\r\n\t * @property {mx.shell.ActionDeviceVisibility} deviceVisibility - Gets or sets the rules to show/hide action depends on client device type\r\n\t * @property {int[]} states - An array of object states this action may be applied (e.g. array of SPSCommonClassBase.State).\r\n\t *
This array is applied against a specified {@ref mx.shell.ActionFilterType filter}\r\n\t * @property {mx.shell.ActionFilterType} statesFilter - Gets or sets states filtering type for `states`\r\n\t * See {@ref mx.shell.ActionFilterType mx.shell.ActionFilterType} for available values\r\n\t * Default: {@ref mx.shell.ActionFilterType#Any mx.shell.ActionFilterType.Any}\r\n\t * @property {mx.shell.ActionFilterType} typesFilter - Gets or sets types filtering type for `availableTypes`\r\n\t * See {@ref mx.shell.ActionFilterType mx.shell.ActionFilterType} for available values\r\n\t * Default: {@ref mx.shell.ActionFilterType#Any mx.shell.ActionFilterType.Any}\r\n\t * @property htmlClass - Gets or sets css class name that could be used by UI representation of an action\r\n\t * @property {mx.shell.DetailsView} view - A {@ref mx.shell.DetailsView View} this action is related to.\r\n\t *
If 'view' is set then this 'view' will be shown when user click on this action button\r\n\t * @property isLazy - Defines will view be changed after init\r\n\t * @property {boolean} reloadPageOnSuccess - a flag to force page reloading on this action execution\r\n\t */\r\nexport class MxAction {\r\n\tpublic name: string;\r\n\tpublic title: string;\r\n\tpublic icon: string;\r\n\tpublic enabled = true;\r\n\tpublic availableTypes: string[] = [];\r\n\tpublic contextType: ActionContextType = ActionContextType.None;\r\n\tpublic uiZones: ActionUiZone[] = [];\r\n\tpublic deviceVisibility: ActionDeviceVisibility = ActionDeviceVisibility.All;\r\n\tpublic purpose: ActionPurpose | null = null;\r\n\tpublic states: number[] = [];\r\n\tpublic statesFilter: ActionFilterType = ActionFilterType.Any;\r\n\tpublic typesFilter: ActionFilterType = ActionFilterType.Any;\r\n\tpublic isLazy = false;\r\n\tpublic isCustomization = false;\r\n\r\n\tpublic id?: string;\r\n\tpublic position?: number;\r\n\tpublic controller?: ViewController | string;\r\n\tpublic controllerUrl?: string;\r\n\tpublic controllerParams?: string;\r\n\tpublic view?: View | null;\r\n\tpublic viewFn?: (...params: unknown[]) => Promise;\r\n\tpublic htmlClass?: string;\r\n\tpublic isService = false;\r\n\tpublic scriptFilter?: string;\r\n\tpublic applications?: string[];\r\n\tpublic serviceOperation?: ServiceOperation;\r\n\tpublic ignoreConfirmationForServiceOperation?: boolean;\r\n\tpublic Widget?: ActionWidget;\r\n\tpublic reloadPageOnSuccess?: boolean;\r\n\r\n\tconstructor(name: string, title: string, icon: string) {\r\n\t\tthis.name = name;\r\n\t\tthis.title = title;\r\n\t\tthis.icon = icon;\r\n\t}\r\n\r\n\t/**\r\n\t * @ngdoc method\r\n\t * @name mx.shell.Action#filter\r\n\t *\r\n\t * @description\r\n\t * Filters a collection of objects to define which objects are available for the actions.\r\n\t * By default all objects are available.\r\n\t *

To be implemented

\r\n\t * @param {mx.shell.Object[]} objects - a collection of {@ref mx.shell.Object objects}.\r\n\t * @returns {mx.shell.Object[]} objects - a collection of filtered {@ref mx.shell.Object objects}.\r\n\t */\r\n\tfilter(objects: unknown) {\r\n\t\treturn objects;\r\n\t}\r\n}\r\n","/**\r\n * @ngdoc enum\r\n * @name mx.shell.ActionPurpose\r\n * @module mx.shell\r\n *\r\n * @description\r\n * Represents the list of action purposes\r\n */\r\nexport enum ActionPurpose {\r\n\t/**\r\n\t * @ngdoc property\r\n\t * @name mx.shell.ActionPurpose#Create\r\n\t *\r\n\t * @description\r\n\t * Action of such purpose are used for create\r\n\t */\r\n\tCreate = 1,\r\n\r\n\t/**\r\n\t * @ngdoc property\r\n\t * @name mx.shell.ActionPurpose#Edit\r\n\t *\r\n\t * @description\r\n\t * Action of such purpose are used for edit\r\n\t */\r\n\tEdit = 2,\r\n\r\n\t/**\r\n\t * @ngdoc property\r\n\t * @name mx.shell.ActionPurpose#Delete\r\n\t *\r\n\t * @description\r\n\t * Action of such purpose are used for delete\r\n\t */\r\n\tDelete = 3,\r\n}\r\n","/**\r\n * @ngdoc enum\r\n * @name mx.shell.ActionUiZone\r\n * @module mx.shell\r\n *\r\n * @description\r\n * Represents possible action visibility variants depends on UI\r\n */\r\nexport enum ActionUiZone {\r\n\t/**\r\n\t * @ngdoc property\r\n\t * @name mx.shell.ActionUiZone#SidePanel\r\n\t *\r\n\t * @description\r\n\t * Action is visible only in dialogs\r\n\t */\r\n\tSidePanel = 0,\r\n\r\n\t/**\r\n\t * @ngdoc property\r\n\t * @name mx.shell.ActionUiZone#EditDialog\r\n\t *\r\n\t * @description\r\n\t * Action is visible only in Edit dialogs\r\n\t */\r\n\tEditDialog = 1,\r\n\r\n\t/**\r\n\t * @ngdoc property\r\n\t * @name mx.shell.ActionUiZone#Application\r\n\t *\r\n\t * @description\r\n\t * Action is visible in the highest part of Application near `avatar`\r\n\t */\r\n\tApplication = 2,\r\n\r\n\t/**\r\n\t * @ngdoc property\r\n\t * @name mx.shell.ActionUiZone#SearchPage\r\n\t *\r\n\t * @description\r\n\t * Action is visible only on `search pages` as FAB button\r\n\t */\r\n\tSearchPage = 3,\r\n\r\n\t/**\r\n\t * @ngdoc property\r\n\t * @name mx.shell.ActionUiZone#AvatarMenu\r\n\t *\r\n\t * @description\r\n\t * Action is visible only in `Avatar Menu`\r\n\t */\r\n\tAvatarMenu = 4,\r\n\r\n\t/**\r\n\t * @ngdoc property\r\n\t * @name mx.shell.ActionUiZone#Toolbar\r\n\t *\r\n\t * @description\r\n\t * Action is visible on the toolbar, right side from `breadcrumbs`\r\n\t */\r\n\tToolbar = -1000 /* Obsolete, not supported UI zone */,\r\n\r\n\t/**\r\n\t * @ngdoc property\r\n\t * @name mx.shell.ActionUiZone#LandingPage\r\n\t *\r\n\t * @description\r\n\t * Action is visible only on `landing pages`\r\n\t */\r\n\tLandingPage = -2000 /* Obsolete, not supported UI zone */,\r\n}\r\n","import { ActionUiZone } from './action-ui-zone';\r\nimport { MxAction } from './action';\r\n\r\n/**\r\n\t * @ngdoc type\r\n\t * @name mx.shell.ActionsContext\r\n\t * @module mx.shell\r\n\t *\r\n\t * @description\r\n\t * An implementation of actions context for an application context.\r\n\t * Constructor accepts types, extraActions, uiZone as params like:\r\n\t * ```javascript\r\n\t var context = new mx.shell.ActionsContext(types, extraActions, uiZone);\r\n\t * ```\r\n\t * @property {object[]} types - Gets or sets a collection of types available. Default: []\r\n\t * @property {mx.shell.Action[]} extraActions - Gets or sets list of additional Actions available for current context. Default: []\r\n\t * @property {mx.shell.ActionUiZone} uiZone - Gets or sets {@ref mx.shell.ActionUiZone mx.shell.ActionUiZone}\r\n\t * @property {boolean} hideActions - Gets or sets a flag that states no actions should be shown.\r\n\t * which defines where on UI it should be shown. For example: `mx.shell.ActionUiZone.Toolbar`.\r\n\t * If it is `undefined` (not set) then this property will not make any influence and will be shown everywhere where it possible.\r\n\t */\r\nexport class ActionsContext {\r\n\tconstructor(public types: string[] = [], public extraActions: MxAction[] = [], public uiZone?: ActionUiZone, public hideActions = false) {}\r\n\r\n\t/**\r\n\t * @ngdoc method\r\n\t * @name mx.shell.ActionsContext#concat\r\n\t *\r\n\t * @description\r\n\t * Add types to action context.\r\n\t *\r\n\t * @param {object[] | mx.shell.ActionsContext} context - a context to be added.\r\n\t */\r\n\tconcat(context: ActionsContext | string[]) {\r\n\t\tif (!context) {\r\n\t\t\tthrow new Error('Cannot concat an empty context');\r\n\t\t}\r\n\t\tconst contextIsArray = Array.isArray(context);\r\n\t\tconst types = contextIsArray ? context : context.types;\r\n\r\n\t\tif (!types) {\r\n\t\t\tthrow new Error('Types for concat were not found');\r\n\t\t}\r\n\r\n\t\ttypes.forEach((item) => {\r\n\t\t\tif (!this.types.includes(item)) {\r\n\t\t\t\tthis.types.push(item);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tif (!contextIsArray) {\r\n\t\t\tif (context.extraActions) {\r\n\t\t\t\tcontext.extraActions.forEach((item) => {\r\n\t\t\t\t\tif (!this.extraActions.includes(item)) {\r\n\t\t\t\t\t\tthis.extraActions.push(item);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t\tif (!this.uiZone) {\r\n\t\t\t\tthis.uiZone = context.uiZone;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n","import { MxAction } from './action';\r\nimport { ActionContextType } from './action-context-type';\r\nimport { ActionDeviceVisibility } from './action-device-visibility';\r\nimport { ActionFilterType } from './action-filter-type';\r\nimport { ActionPurpose } from './action-purpose';\r\nimport { ActionUiZone } from './action-ui-zone';\r\nimport { ActionsContext } from './actions-context';\r\n\r\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\r\n// @ts-ignore\r\nObject.assign(window.mx.shell, {\r\n\tAction: MxAction,\r\n\tActionContextType,\r\n\tActionDeviceVisibility,\r\n\tActionFilterType,\r\n\tActionPurpose,\r\n\tActionUiZone,\r\n\tActionsContext,\r\n});\r\n\r\nexport { MxAction, ActionContextType, ActionDeviceVisibility, ActionFilterType, ActionPurpose, ActionUiZone, ActionsContext };\r\n","export type EventUnsubscribe = () => void;\r\n\r\nexport type EventHandler> = (arg: TIn) => TOut;\r\n\r\nexport class HandlerCollection> {\r\n\tprivate handlers: Array> = [];\r\n\tpublic add(handler: EventHandler): EventUnsubscribe {\r\n\t\tthis.handlers.push(handler);\r\n\t\treturn () => {\r\n\t\t\tthis.handlers.splice(this.handlers.indexOf(handler), 1);\r\n\t\t};\r\n\t}\r\n\r\n\tpublic async execute(arg: TIn) {\r\n\t\tconst settled = await Promise.allSettled(this.handlers.map((handler) => handler(arg)));\r\n\t\treturn settled.map((run) => {\r\n\t\t\tif (run.status === 'rejected' && run.reason) {\r\n\t\t\t\tconsole.error('Failed to execute foreground process event:', run.reason);\r\n\t\t\t}\r\n\t\t\tif (run.status === 'fulfilled') {\r\n\t\t\t\treturn run.value;\r\n\t\t\t}\r\n\t\t\treturn;\r\n\t\t});\r\n\t}\r\n}\r\n"],"names":["DataModelPropertyDirection","NONE","IN","OUT","BOTH","DataModelSourceDirection","DataModelTypes","GuidType","id","name","title","StringType","BoolType","DateType","IntType","LongType","FloatType","DecimalType","TextType","ObjectReference","EnumReference","Fragment","MultipleObjectReference","Currency","CurrencyCode","ObjectType","ColorType","HtmlType","Entity","DataDefinition","ContentWidgetType","List","Dialog","Wizard","ObjectDetails","Base","LandingPage","CustomWidget","EmailTemplate","ContentWidgetViewType","ContentWidgetDialogAction","ContentWidgetDialogPurpose","SourceLoadingStatus","SourceParameterType","PropertyEditorType","EditorBindingType","DetailsViewSelectionMode","NavigationItemImplementation","StructureNavigationItemImplementation","WizardMode","LanguageGroupFilter","AttachmentsViewMode","SupportedOperations","PreprocessorType","GroupType","ListingType","ClassTypes","DataTypes","RelatedClassCardinality","TemplatePropertyValueTypes","constructor","_defineProperty","type","_is","data","__type","this","is","hasOwnProperty","isModel","isLocalization","isStyle","isImg","isColor","isLayoutGrid","isFilterExpression","mx","SolutionBuilderAgent","Object","assign","ActionContextType","ActionDeviceVisibility","ActionFilterType","MxAction","icon","None","All","Any","filter","objects","ActionPurpose","ActionUiZone","ActionsContext","types","arguments","length","undefined","extraActions","uiZone","hideActions","concat","context","Error","contextIsArray","Array","isArray","forEach","item","includes","push","window","shell","Action","HandlerCollection","add","handler","handlers","splice","indexOf","execute","arg","_this","_$await","Promise","allSettled","map","run","status","reason","console","error","value"],"sourceRoot":""}