@genesislcap/design-system-configurator 15.74.0 → 15.76.0
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.
- package/dist/{109.109.304cb4c7b85cb8baeaa2.js → 109.109.a4939967ee05d4074da3.js} +22 -56
- package/dist/109.f9eed5fb8279bfed15f27af3c33b4d97.js.map +1 -0
- package/dist/{966.966.69a3b4ebaf86fe48e7e0.js → 249.249.7a0eb6aca841acedbe6e.js} +578 -462
- package/dist/249.89c72ec851a5758f95ff3a8580759dfc.js.map +1 -0
- package/dist/762.098cd6d5fd92073ed8546f1a963dcee7.js.map +1 -0
- package/dist/762.762.35100608409b1ad4c6f9.js +11 -0
- package/dist/837.58641b79ee0d969441ebcb4b969c237a.js.map +1 -0
- package/dist/{837.837.623cffcbd1ed2682b2e9.js → 837.837.02b7bcdd3864f8f6c7b0.js} +1 -19
- package/dist/{designSystemConfigurator.551fd56917b7f5872d075435d1bef1ae.js.map → designSystemConfigurator.df34fb2477e448234f825b6824c21a46.js.map} +1 -1
- package/dist/index.html +1 -1
- package/dist/{main.f438459d5a9d83ec9611.js → main.0b81ca22c8189648340a.js} +2 -2
- package/dist/{main.1ac4250019eab0eb7578590805998204.js.map → main.dc150afd194cd0e237dc79c67f0d9960.js.map} +1 -1
- package/dist/remoteEntry.js +2 -2
- package/package.json +11 -11
- package/dist/109.1450c61cf63649d0a94343c00ff5d796.js.map +0 -1
- package/dist/762.57e38da8fc6d8c63e28dd1d8b7f74278.js.map +0 -1
- package/dist/762.762.f30f855615b9202dacbc.js +0 -11
- package/dist/837.bd8b531ecedde7e743c2d7d53d7f6a70.js.map +0 -1
- package/dist/966.caebc32b863e86d1b6e93a1113bd5f1a.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"762.762.xxxxxxxxxxxxxxxxxxxx.js","mappings":"8PAWO,MAAAA,UAAkCC,EAAAC,kBACzC,IAAAC,CAAAC,GACAA,IAEAC,KAA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P,EAAAxC,SAAAC,cAAA,SACAuC,EAAAQ,GAAAT,EACAM,EAAA/C,YAAA0C,GAGA,IADAF,EAAAW,MAAA,OAAuC,IAAAC,OACvC,EAGA,OADAV,EAAAW,YAAAb,EACA,KACAE,GAGAK,EAAAO,YAAAZ,IAGA,CAEA,MAAAa,EAAAb,EAAAc,MAAAC,WAAAjB,GACA,WACAE,IAGAA,EAAAc,MAAAE,WAAAH,GACAR,EAAAO,YAAAZ,IAEA,GAsBO,SAAAiB,EAAAC,GACP,MAAAC,EAAA,GACAC,EAAA,IAAAC,IAcA,OAbA,SAAAC,EAAAC,GAEA,MAAAC,EAAAvE,MAAAC,KAAAqE,EAAAE,iBAAA,MACAN,EAAAO,QAAAF,GAEAA,EAAApE,QAAAuE,IACAA,EAAAC,aAAAR,EAAAS,IAAAF,EAAAC,cACAR,EAAA1E,IAAAiF,EAAAC,YACAN,EAAAK,EAAAC,cAGA,CACAN,CAAAJ,GACAC,CACA,iCC9EO,MAAAW,GAAe,WAAAC,cAAY","sources":["webpack://@genesislcap/design-system-configurator/../foundation/foundation-marketplace/grids/grid-pro/dist/esm/cell-renderers/actions-menu.renderer.js","webpack://@genesislcap/design-system-configurator/../foundation/foundation-marketplace/grids/grid-pro/dist/esm/grid-pro.types.js","webpack://@genesislcap/design-system-configurator/../foundation/foundation-marketplace/grids/grid-pro/dist/esm/utils/string.js","webpack://@genesislcap/design-system-configurator/../foundation/foundation-utils/dist/esm/mixins/lifecycle/lifecycle.js","webpack://@genesislcap/design-system-configurator/../foundation/foundation-utils/dist/esm/utils/dom.js","webpack://@genesislcap/design-system-configurator/../foundation/foundation-utils/dist/esm/utils/logger.js"],"sourcesContent":["import { __decorate } from \"tslib\";\nimport { html, observable } from '@microsoft/fast-element';\nimport { FoundationElement } from '@microsoft/fast-foundation';\nimport { GridProRendererTypes } from '../grid-pro.types';\nimport { convertToKebabCase } from '../utils';\n/**\n * The Actions Menu Renderer element.\n * @remarks For multiple actions scenarios.\n * @public\n * @tagname %%prefix%%-grid-pro-actions-menu-renderer\n */\nexport class ActionsMenuRenderer extends FoundationElement {\n init(params) {\n if (!params)\n return;\n this.params = params;\n }\n getGui() {\n return this;\n }\n refresh(params) {\n return false;\n }\n}\n__decorate([\n observable\n], ActionsMenuRenderer.prototype, \"params\", void 0);\n/**\n * A function that returns a Foundation Actions Menu for configuring the component with a DesignSystem.\n *\n * @public\n * @remarks\n * HTML Element: \\<foundation-grid-pro-actions-menu-renderer\\>\n */\nexport const foundationGridProActionsMenuRenderer = ActionsMenuRenderer.compose({\n baseName: 'grid-pro-actions-menu-renderer',\n template: html `\n <foundation-actions-menu\n name=\"${(x) => x.params.headerName}\"\n :definition=${(x) => x.params}\n ></foundation-actions-menu>\n `,\n});\n/**\n * Helper function to get ColDef {@link https://www.ag-grid.com/javascript-data-grid/column-properties/} for Actions Menu Renderer.\n * Will take the parameter values for a base ColDef and merge them with the overrideDef (if specified).\n * @param actions - Array of `ActionMenuItem` to be displayed in the menu.\n * @param overrideDef - Optional override for the ColDef. Will override any of the default values. Default is an empty object.\n * @param customActionsOpenerName - Optional custom name for the button that opens the menu. Default is '⋮'.\n * @param isVertical - Optional flag to display the menu vertically. Default is false (displays the menu horizontally, follow the rowHeight).\n * @param buttonAppearance - Optional appearance for the button that opens the menu. Default is 'outline'.\n * @returns Merged ColDef (base ColDef created from the parameters + overrideDef) for Actions Menu Renderer.\n * @example\n * ```ts\n * public exampleActionsMenuDef: ColDef = getActionsMenuDef(\n * [\n * {\n * name: 'View',\n * callback: (rowData) => logger.debug('VIEWW!!!', rowData),\n * },\n * {\n * name: 'Delete',\n * callback: (rowData) => logger.debug('DELETE!!!', rowData),\n * },\n * ],\n * {\n * headerName: 'Instrument Actions',\n * width: 180,\n * },\n * '+',\n * true,\n * 'primary-gradient'\n * );\n * ```\n * @public\n */\nexport const getActionsMenuDef = (actions, overrideDef = {}, customActionsOpenerName = '⋮', isVertical = false, buttonAppearance) => {\n const actionsMenuDef = {\n cellRenderer: GridProRendererTypes.actionsMenu,\n cellRendererParams: {\n actions,\n buttonAppearance,\n isVertical,\n buttonText: customActionsOpenerName,\n },\n cellStyle: { border: 'none', overflow: 'visible' },\n field: `${convertToKebabCase(overrideDef.headerName) || 'actions-menu'}`,\n headerName: 'Actions',\n // valueGetter: (params: ValueGetterParams) => {\n // params.data.actions = actions;\n // params.data.buttonText = customActionsOpenerName;\n // return null;\n // },\n width: 150,\n };\n return Object.assign(Object.assign({}, actionsMenuDef), overrideDef);\n};\n","import { CSSVarsTokenMapper } from '@genesislcap/foundation-ui';\nimport { css } from '@microsoft/fast-element';\nimport { DI } from '@microsoft/fast-foundation';\n/**\n * All official AG CSS variables\n * @public\n */\nexport var AgGridCSSVars;\n(function (AgGridCSSVars) {\n AgGridCSSVars[\"foregroundColor\"] = \"--ag-foreground-color\";\n AgGridCSSVars[\"dataColor\"] = \"--ag-data-color\";\n AgGridCSSVars[\"secondaryForegroundColor\"] = \"--ag-secondary-foreground-color\";\n AgGridCSSVars[\"headerForegroundColor\"] = \"--ag-header-foreground-color\";\n AgGridCSSVars[\"disabledForegroundColor\"] = \"--ag-disabled-foreground-color\";\n AgGridCSSVars[\"backgroundColor\"] = \"--ag-background-color\";\n AgGridCSSVars[\"headerBackgroundColor\"] = \"--ag-header-background-color\";\n AgGridCSSVars[\"subheaderBackgroundColor\"] = \"--ag-subheader-background-color\";\n AgGridCSSVars[\"subheaderToolbarBackgroundColor\"] = \"--ag-subheader-toolbar-background-color\";\n AgGridCSSVars[\"controlPanelBackgroundColor\"] = \"--ag-control-panel-background-color\";\n AgGridCSSVars[\"selectedRowBackgroundColor\"] = \"--ag-selected-row-background-color\";\n AgGridCSSVars[\"oddRowBackgroundColor\"] = \"--ag-odd-row-background-color\";\n AgGridCSSVars[\"rowHoverColor\"] = \"--ag-row-hover-color\";\n AgGridCSSVars[\"rangeSelectionBorderColor\"] = \"--ag-range-selection-border-color\";\n AgGridCSSVars[\"rangeSelectionBackgroundColor\"] = \"--ag-range-selection-background-color\";\n AgGridCSSVars[\"selectedTabUnderlineColor\"] = \"--ag-selected-tab-underline-color\";\n AgGridCSSVars[\"rangeSelectionChartCategoryBackgroundColor\"] = \"--ag-range-selection-chart-category-background-color\";\n AgGridCSSVars[\"rangeSelectionChartBackgroundColor\"] = \"--ag-range-selection-chart-background-color\";\n AgGridCSSVars[\"headerCellHoverBackgroundColor\"] = \"--ag-header-cell-hover-background-color\";\n AgGridCSSVars[\"headerCellMovingBackgroundColor\"] = \"--ag-header-cell-moving-background-color\";\n AgGridCSSVars[\"chipBackgroundColor\"] = \"--ag-chip-background-color\";\n AgGridCSSVars[\"borderColor\"] = \"--ag-border-color\";\n AgGridCSSVars[\"secondaryBorderColor\"] = \"--ag-secondary-border-color\";\n AgGridCSSVars[\"rowBorderColor\"] = \"--ag-row-border-color\";\n AgGridCSSVars[\"headerColumnSeparatorColor\"] = \"--ag-header-column-separator-color\";\n AgGridCSSVars[\"headerColumnResizeHandleColor\"] = \"--ag-header-column-resize-handle-color\";\n AgGridCSSVars[\"inputBorderColor\"] = \"--ag-input-border-color\";\n AgGridCSSVars[\"inputDisabledBorderColor\"] = \"--ag-input-disabled-border-color\";\n AgGridCSSVars[\"inputDisabledBackgroundColor\"] = \"--ag-input-disabled-background-color\";\n AgGridCSSVars[\"checkboxBackgroundColor\"] = \"--ag-checkbox-background-color\";\n AgGridCSSVars[\"checkboxCheckedColor\"] = \"--ag-checkbox-checked-color\";\n AgGridCSSVars[\"checkboxUncheckedColor\"] = \"--ag-checkbox-unchecked-color\";\n AgGridCSSVars[\"checkboxIndeterminateColor\"] = \"--ag-checkbox-indeterminate-color\";\n AgGridCSSVars[\"toggleButtonOffBorderColor\"] = \"--ag-toggle-button-off-border-color\";\n AgGridCSSVars[\"toggleButtonOffBackgroundColor\"] = \"--ag-toggle-button-off-background-color\";\n AgGridCSSVars[\"toggleButtonOnBorderColor\"] = \"--ag-toggle-button-on-border-color\";\n AgGridCSSVars[\"toggleButtonOnBackgroundColor\"] = \"--ag-toggle-button-on-background-color\";\n AgGridCSSVars[\"toggleButtonSwitchBackgroundColor\"] = \"--ag-toggle-button-switch-background-color\";\n AgGridCSSVars[\"toggleButtonSwitchBorderColor\"] = \"--ag-toggle-button-switch-border-color\";\n AgGridCSSVars[\"minichartSelectedChartColor\"] = \"--ag-minichart-selected-chart-color\";\n AgGridCSSVars[\"minichartSelectedPageColor\"] = \"--ag-minichart-selected-page-color\";\n AgGridCSSVars[\"modalOverlayBackgroundColor\"] = \"--ag-modal-overlay-background-color\";\n AgGridCSSVars[\"inputFocusBoxShadow\"] = \"--ag-input-focus-box-shadow\";\n AgGridCSSVars[\"inputFocusBorderColor\"] = \"--ag-input-focus-border-color\";\n})(AgGridCSSVars || (AgGridCSSVars = {}));\n/**\n * The available Grid Pro themes.\n * @public\n */\nexport var AgGridTheme;\n(function (AgGridTheme) {\n AgGridTheme[\"alpine\"] = \"ag-theme-alpine\";\n AgGridTheme[\"alpineDark\"] = \"ag-theme-alpine-dark\";\n AgGridTheme[\"balham\"] = \"ag-theme-balham\";\n AgGridTheme[\"balhamDark\"] = \"ag-theme-balham-dark\";\n AgGridTheme[\"material\"] = \"ag-theme-material\";\n})(AgGridTheme || (AgGridTheme = {}));\n/**\n * Generates the class name for a given Grid Pro theme name.\n * @param themeName - the Grid Pro theme name\n * @returns the class name for the Grid Pro token map\n * @public\n * @example The result of this will be a class name that is applied to the grid part of GridPro template (actual content of the class comes from agThemeTokenMapCSS):\n * ```html\n * <span part=\"grid\" class=\"ag-theme-genesis-rapid-dark\">\n * ```\n */\nexport const agThemeTokenMapClassname = (themeName) => `${themeName}-token-map`;\n/**\n * Generates the id name for custom Grid Pro fonts.\n * @param themeName - the Grid Pro theme name\n * @returns the id name for the Grid Pro fonts\n * @public\n * @example The result of this is used in the id of style tag:\n * ```html\n * <style id=\"ag-theme-alpine-fonts\"></style>\n * ```\n */\nexport const agThemeFontsId = (themeName) => `${themeName}-fonts`;\n/**\n * Generates the CSS for a given GridPro theme name and token map\n * @param themeName - the GridPro theme name\n * @param tokenMap - a map of CSS variables {@link @genesislcap/grid-pro#AgGridCSSVars} and custom token values\n * @returns the CSS for the Grid Pro token map\n * @public\n * @example\n * ```ts\n * export const agThemeGenesisRapidTokens = {\n * backgroundColor: create<Swatch>('rapid-ag-background-color').withDefault((elem: HTMLElement) =>\n * baseLayerLuminance.getValueFor(elem) === StandardLuminance.LightMode\n * ? lightColors.backgroundSwatch\n * : darkColors.backgroundSwatch\n * ),\n * foregroundColor: create<Swatch>('rapid-ag-foreground-color').withDefault((elem: HTMLElement) =>\n * baseLayerLuminance.getValueFor(elem) === StandardLuminance.LightMode\n * ? lightColors.foregroundSwatch\n * : darkColors.foregroundSwatch\n * ),\n * };\n * export const agThemeGenesisRapidTokenMap: CSSVarTokenMap<AgGridCSSVars | string> = {\n * [AgGridCSSVars.backgroundColor]: agThemeGenesisRapidTokens.backgroundColor,\n * [AgGridCSSVars.foregroundColor]: agThemeGenesisRapidTokens.foregroundColor,\n * };\n * ```\n */\nexport const agThemeTokenMapCSS = (themeName, tokenMap) => css `\n .${agThemeTokenMapClassname(themeName)} {\n ${new CSSVarsTokenMapper(tokenMap)}\n }\n`;\n/**\n * The available Grid Pro Renderer Types\n * @public\n */\nexport var GridProRendererTypes;\n(function (GridProRendererTypes) {\n GridProRendererTypes[\"action\"] = \"action\";\n GridProRendererTypes[\"actionsMenu\"] = \"actionsMenu\";\n GridProRendererTypes[\"boolean\"] = \"boolean\";\n GridProRendererTypes[\"editable\"] = \"editable\";\n GridProRendererTypes[\"icon\"] = \"icon\";\n GridProRendererTypes[\"text\"] = \"text\";\n GridProRendererTypes[\"select\"] = \"select\";\n GridProRendererTypes[\"statusPill\"] = \"statusPill\";\n GridProRendererTypes[\"dateEditor\"] = \"dateEditor\";\n GridProRendererTypes[\"selectEditor\"] = \"selectEditor\";\n GridProRendererTypes[\"numberEditor\"] = \"numberEditor\";\n GridProRendererTypes[\"stringEditor\"] = \"stringEditor\";\n GridProRendererTypes[\"multiselectEditor\"] = \"multiselectEditor\";\n})(GridProRendererTypes || (GridProRendererTypes = {}));\n/**\n * The available Grid Pro Status Bar Types\n * @public\n * @remarks\n * Mounted by the status-bar host on {@link GridPro}.\n * `aggregation` is ignored until a panel exists for it.\n */\nexport var GridProStatusBarTypes;\n(function (GridProStatusBarTypes) {\n GridProStatusBarTypes[\"labelValue\"] = \"labelValue\";\n GridProStatusBarTypes[\"loadMore\"] = \"loadMore\";\n GridProStatusBarTypes[\"reload\"] = \"reload\";\n GridProStatusBarTypes[\"rowCount\"] = \"rowCount\";\n})(GridProStatusBarTypes || (GridProStatusBarTypes = {}));\n/**\n * Event fired when grid is ready\n * @public\n * @deprecated - Use `Events.EVENT_GRID_READY` from `@ag-grid-community/core` instead\n * @privateRemarks\n * This will be removed when we do the AG Upgrade.\n */\nexport const GRID_READY_EVENT = 'onGridReady';\n/**\n * Key used to store currently edited column when it being synced with server side data\n * @public\n */\nexport const EDITED_COLUMN_FIELD = '__editedColumn';\n/**\n * Key used to store error details (column, message) when inline edit fails sync with server side data\n * @public\n */\nexport const ERROR_COLUMN_FIELD = '__errorColumn';\n/**\n * Default grid options\n * @public\n */\nexport const defaultGridOptionsConfig = {};\n/**\n * Grid options config used to inject into grids in application\n * @internal\n */\nexport const GridOptionsConfig = DI.createInterface((x) => x.instance(defaultGridOptionsConfig));\n/**\n * The available Grid Pro header case types\n * @public\n */\nexport var GridProCaseType;\n(function (GridProCaseType) {\n GridProCaseType[\"camelCase\"] = \"camelCase\";\n GridProCaseType[\"capitalCase\"] = \"capitalCase\";\n GridProCaseType[\"dotCase\"] = \"dotCase\";\n GridProCaseType[\"headerCase\"] = \"headerCase\";\n GridProCaseType[\"noCase\"] = \"noCase\";\n GridProCaseType[\"paramCase\"] = \"paramCase\";\n GridProCaseType[\"pascalCase\"] = \"pascalCase\";\n GridProCaseType[\"pathCase\"] = \"pathCase\";\n GridProCaseType[\"sentenceCase\"] = \"sentenceCase\";\n GridProCaseType[\"snakeCase\"] = \"snakeCase\";\n})(GridProCaseType || (GridProCaseType = {}));\n/**\n * Default status bar configuration\n * @public\n */\nexport const DEFAULT_STATUS_BAR_CONFIG = {\n rows: true,\n maxRows: false,\n aggregation: true,\n loadMore: {\n tooltip: 'Load more rows from server',\n },\n reload: {\n tooltip: 'Reload the datasource.',\n },\n};\n","/**\n * Convert string values from 'camelCase' to 'kebab-case'\n * @param value - The value to convert to Kebab case.\n * @returns The Kebab case result.\n * @public\n */\nexport const convertToKebabCase = (value) => value.replace(/([a-z])([A-Z])|\\s+/g, '$1-$2').toLowerCase();\n","import { __classPrivateFieldGet, __classPrivateFieldSet } from \"tslib\";\n/** @internal **/\nconst CLEANUP_TIMEOUT_MS = 10000;\n/**\n * @beta\n * Mixin class to expose `shouldRunConnect` and `shouldRunDisconnect`\n *\n * @remarks These can be used to control what lifecycle functionality is ran when the elements\n * are part of a custom layout. The class itself handles all events\n * @privateRemarks\n * #_ syntax is used for a javascript private method/variable\n * we can't use private/protected from typescript in an anonymous class like this\n */\nexport const LifecycleMixin = (Base) => { var _instances, __container, __latestTokenCode, __hasFirstLoaded, __cleanupTimeout, __shouldForceLifecycle, __blockedDisconnectSurvivedGracePeriod, __blockLifecycleDueToTokenChange, __tryFindContainingLayout, _a; return _a = class extends Base {\n constructor(...args) {\n super(args);\n _instances.add(this);\n /** @internal **/\n __container.set(this, { _key: 'dom' });\n /**\n * If the token changes we suggest blocking the lifecycle methods\n * @internal\n **/\n __latestTokenCode.set(this, '');\n /**\n * Track first loaded to allow us to always run the connect lifecycle on the first load\n * @internal\n **/\n __hasFirstLoaded.set(this, false);\n /**\n * When you request to delete an item from the layout it will be removed from the DOM,\n * but the lifecycle might be blocked due to the same mechanism that we block the other\n * items.\n * This would block cleanup of the item, so we need to force a disconnection after a timeout\n * if this item hasn't reconnected within `CLEANUP_TIMEOUT_MS`.\n * @internal\n **/\n __cleanupTimeout.set(this, void 0);\n /**\n * Used to force lifecycle to run even if the token has changed, such as in instances where\n * we are forcing a disconnection due to this item being remove from the layout.\n * @internal\n **/\n __shouldForceLifecycle.set(this, false);\n /**\n * Set once a short grace period (`setTimeout`) has elapsed since a blocked ('reflow')\n * disconnect. Some consumers run defensive cleanup after the block via schedulers that can\n * outlast a microtask (e.g. FAST's `DOM.queueUpdate`), so a macrotask-scale grace period is\n * needed - once it has passed, the paired reconnect must not stay blocked, or the consumer\n * never re-initializes.\n * @internal\n **/\n __blockedDisconnectSurvivedGracePeriod.set(this, false);\n }\n /**\n * @privateRemarks\n * Rather than using the basic implementation of cloning we run a copy constructor (deepClone)\n * and then manually clone the children too so they can intercept with an overriden cloneNode\n * if they want to\n */\n cloneNode(deep) {\n const thisClone = this.deepClone();\n if (deep) {\n Array.from(this.childNodes).forEach((child) => {\n thisClone.appendChild(child.cloneNode(true));\n });\n }\n return thisClone;\n }\n /**\n * @privateRemarks\n * Basic implementation of a copy constructor which creates a new element of the same class\n * and copies all attributes over.\n * None-trivial elements will likely want to override this function, call it using super.deepClone(),\n * and then perform extra setup such as copying properties, setting up event listeners\n */\n deepClone() {\n const copy = document.createElement(this.tagName.toLowerCase());\n this.getAttributeNames().forEach((at) => copy.setAttribute(at, this.getAttribute(at)));\n return copy;\n }\n /**\n * @beta\n * @returns - boolean controlling whether to run all disconnectedCallback lifecycle functionality\n */\n get shouldRunDisconnect() {\n if (__classPrivateFieldGet(this, __shouldForceLifecycle, \"f\")) {\n return true;\n }\n if (__classPrivateFieldGet(this, __container, \"f\")._key === 'dom') {\n return true;\n }\n if (__classPrivateFieldGet(this, __container, \"f\")._key === 'foundation-layout-cache') {\n return false;\n }\n // _key === 'foundation-layout'\n return !(__classPrivateFieldGet(this, __container, \"f\").dragging ||\n !__classPrivateFieldGet(this, __container, \"f\").hasFirstLoaded ||\n __classPrivateFieldGet(this, _instances, \"m\", __blockLifecycleDueToTokenChange).call(this, 'disconnect'));\n }\n /**\n * @beta\n * @returns - boolean controlling whether to run all connectedCallback lifecycle functionality\n * @privateRemarks\n * For now its just the same logic as shouldRunDisconnect\n */\n get shouldRunConnect() {\n if (__classPrivateFieldGet(this, __shouldForceLifecycle, \"f\")) {\n return true;\n }\n if (__classPrivateFieldGet(this, __container, \"f\")._key === 'dom') {\n return true;\n }\n if (__classPrivateFieldGet(this, __container, \"f\")._key === 'foundation-layout-cache') {\n return false;\n }\n // _key === 'foundation-layout'\n let connectionType = 'reconnect';\n if (__classPrivateFieldGet(this, __hasFirstLoaded, \"f\") === false) {\n __classPrivateFieldSet(this, __hasFirstLoaded, true, \"f\");\n connectionType = 'connect';\n }\n return !(__classPrivateFieldGet(this, __container, \"f\").dragging ||\n !__classPrivateFieldGet(this, __container, \"f\").hasFirstLoaded ||\n __classPrivateFieldGet(this, _instances, \"m\", __blockLifecycleDueToTokenChange).call(this, connectionType));\n }\n connectedCallback() {\n super.connectedCallback();\n if (__classPrivateFieldGet(this, __container, \"f\")._key !== 'foundation-layout') {\n __classPrivateFieldSet(this, __container, __classPrivateFieldGet(this, _instances, \"m\", __tryFindContainingLayout).call(this, this), \"f\");\n }\n }\n },\n __container = new WeakMap(),\n __latestTokenCode = new WeakMap(),\n __hasFirstLoaded = new WeakMap(),\n __cleanupTimeout = new WeakMap(),\n __shouldForceLifecycle = new WeakMap(),\n __blockedDisconnectSurvivedGracePeriod = new WeakMap(),\n _instances = new WeakSet(),\n __blockLifecycleDueToTokenChange = function __blockLifecycleDueToTokenChange(lifecycleType) {\n var _b, _c;\n if (__classPrivateFieldGet(this, __container, \"f\")._key !== 'foundation-layout') {\n throw new Error('LifecycleMixin: should not be checking a token change if container not in the layout');\n }\n const tokensDifferent = __classPrivateFieldGet(this, __latestTokenCode, \"f\") !== __classPrivateFieldGet(this, __container, \"f\").lifecycleUpdateToken;\n let result = false;\n if (lifecycleType === 'connect') {\n // We always want to allow a first connection in the layout\n __classPrivateFieldSet(this, __latestTokenCode, (_b = __classPrivateFieldGet(this, __container, \"f\").lifecycleUpdateToken) !== null && _b !== void 0 ? _b : '', \"f\");\n }\n else if (lifecycleType === 'disconnect') {\n result = tokensDifferent;\n if (!result) {\n // Real disconnect: reset so the next connect is a fresh 'connect', not a token-gated\n // 'reconnect' - otherwise unrelated layout changes while disconnected can block it forever.\n __classPrivateFieldSet(this, __hasFirstLoaded, false, \"f\");\n }\n else {\n // Blocked disconnect: track whether a grace period elapses before the paired reconnect\n // arrives. See `#_blockedDisconnectSurvivedGracePeriod` for why this matters.\n __classPrivateFieldSet(this, __blockedDisconnectSurvivedGracePeriod, false, \"f\");\n setTimeout(() => {\n __classPrivateFieldSet(this, __blockedDisconnectSurvivedGracePeriod, true, \"f\");\n }, 0);\n }\n __classPrivateFieldSet(this, __cleanupTimeout, setTimeout(() => {\n __classPrivateFieldSet(this, __shouldForceLifecycle, result, \"f\");\n if (__classPrivateFieldGet(this, __shouldForceLifecycle, \"f\")) {\n this.disconnectedCallback();\n }\n }, CLEANUP_TIMEOUT_MS), \"f\");\n }\n else if (lifecycleType === 'reconnect') {\n result = tokensDifferent && !__classPrivateFieldGet(this, __blockedDisconnectSurvivedGracePeriod, \"f\");\n __classPrivateFieldSet(this, __latestTokenCode, (_c = __classPrivateFieldGet(this, __container, \"f\").lifecycleUpdateToken) !== null && _c !== void 0 ? _c : '', \"f\");\n clearTimeout(__classPrivateFieldGet(this, __cleanupTimeout, \"f\"));\n }\n return result;\n },\n __tryFindContainingLayout = function __tryFindContainingLayout(e) {\n var _b;\n /**\n * This is a special case where the element is part of the layout cache\n * signified by a symbol put on the document cache root\n */\n if (e.getRootNode()[layoutCacheDocument] === true) {\n return { _key: 'foundation-layout-cache' };\n }\n /**\n * If this happens we have found the root of the document\n * without finding a containing FoundationLayout\n * hence, this item is not in a custom layout\n */\n if (e.getRootNode() instanceof Document || !((_b = e.getRootNode()) === null || _b === void 0 ? void 0 : _b.host)) {\n return { _key: 'dom' };\n }\n const shadowHost = e.getRootNode().host;\n if (shadowHost.class === 'FoundationLayoutMain') {\n const layoutHost = shadowHost;\n layoutHost._key = 'foundation-layout';\n return layoutHost;\n }\n return __classPrivateFieldGet(this, _instances, \"m\", __tryFindContainingLayout).call(this, shadowHost);\n },\n _a; };\n/**\n * Stored on the layout's internal cache to signify that the document is not part of the DOM\n * @public\n */\nexport const layoutCacheDocument = Symbol('layout-cache-document');\n","import { logger } from './logger';\n/**\n * Inserts a CSS rule into the document by creating a new style element or using an existing one with the specified ID.\n * Returns a function that can be called to remove the rule from the document.\n * @public\n * @param cssRule - The CSS rule to insert.\n * @param styleElementId - The ID of the style element to use or create.\n * @returns A function that removes the rule from the document.\n */\nexport const insertDocumentCSSRule = (cssRule, styleElementId) => {\n var _a;\n let styleElement = document.getElementById(styleElementId);\n if (styleElement) {\n logger.debug(`\n An element with the id of '${styleElementId}' already exists and likely has the css rules applied.\n `);\n return;\n }\n const headElement = (_a = document.head) !== null && _a !== void 0 ? _a : document.getElementsByTagName('head')[0];\n styleElement = document.createElement('style');\n styleElement.id = styleElementId;\n headElement.appendChild(styleElement);\n // Check if the CSS rule contains multiple rules (contains multiple closing braces)\n const ruleCount = (cssRule.match(/}/g) || []).length;\n if (ruleCount > 1) {\n // Multiple rules: use textContent to avoid insertRule limitations\n styleElement.textContent = cssRule;\n return () => {\n if (!styleElement) {\n return;\n }\n headElement.removeChild(styleElement);\n };\n }\n else {\n // Single rule: use insertRule for consistency with existing behavior\n const styleIndex = styleElement.sheet.insertRule(cssRule);\n return () => {\n if (!styleElement) {\n return;\n }\n styleElement.sheet.deleteRule(styleIndex);\n headElement.removeChild(styleElement);\n };\n }\n};\n/**\n * Inserts a CSS link into the document if it doesn't already exist.\n * @public\n * @param href - The URL of the CSS file to insert.\n */\nexport const insertDocumentLink = (href) => {\n const links = document.head.querySelectorAll('link');\n // Already been injected\n for (const index in links)\n if (links[index].href === href)\n return;\n const link = document.createElement('link');\n link.rel = 'stylesheet';\n link.href = href;\n document.head.appendChild(link);\n};\n/**\n * Recursively gather all elements including those in shadow DOM\n * @public\n */\nexport function getAllElements(root) {\n const elements = [];\n const processedShadowRoots = new Set();\n function collectElements(node) {\n // Get all elements in the current node\n const nodeElements = Array.from(node.querySelectorAll('*'));\n elements.push(...nodeElements);\n // Process shadow roots\n nodeElements.forEach((el) => {\n if (el.shadowRoot && !processedShadowRoots.has(el.shadowRoot)) {\n processedShadowRoots.add(el.shadowRoot);\n collectElements(el.shadowRoot);\n }\n });\n }\n collectElements(root);\n return elements;\n}\n","import { createLogger } from '@genesislcap/foundation-logger';\n/**\n * Logger for the foundation-utils package\n * @public\n */\nexport const logger = createLogger('foundation-utils');\n"],"names":["ActionsMenuRenderer","_microsoft_fast_foundation__WEBPACK_IMPORTED_MODULE_2__","FoundationElement","init","params","this","getGui","refresh","tslib__WEBPACK_IMPORTED_MODULE_0__","Cg","_microsoft_fast_element__WEBPACK_IMPORTED_MODULE_1__","observable","prototype","foundationGridProActionsMenuRenderer","compose","baseName","template","html","x","headerName","getActionsMenuDef","actions","overrideDef","customActionsOpenerName","isVertical","buttonAppearance","actionsMenuDef","cellRenderer","_grid_pro_types__WEBPACK_IMPORTED_MODULE_3__","IX","actionsMenu","cellRendererParams","buttonText","cellStyle","border","overflow","field","_utils__WEBPACK_IMPORTED_MODULE_4__","w","width","Object","assign","AgGridCSSVars","AgGridTheme","agThemeTokenMapClassname","themeName","agThemeFontsId","agThemeTokenMapCSS","tokenMap","css","_genesislcap_foundation_ui__WEBPACK_IMPORTED_MODULE_0__","CSSVarsTokenMapper","GridProRendererTypes","GridProStatusBarTypes","GRID_READY_EVENT","EDITED_COLUMN_FIELD","ERROR_COLUMN_FIELD","defaultGridOptionsConfig","GridOptionsConfig","DI","createInterface","instance","GridProCaseType","DEFAULT_STATUS_BAR_CONFIG","rows","maxRows","aggregation","loadMore","tooltip","reload","convertToKebabCase","value","replace","toLowerCase","LifecycleMixin","Base","_instances","__container","__latestTokenCode","__hasFirstLoaded","__cleanupTimeout","__shouldForceLifecycle","__blockedDisconnectSurvivedGracePeriod","__blockLifecycleDueToTokenChange","__tryFindContainingLayout","_a","constructor","args","super","add","set","_key","cloneNode","deep","thisClone","deepClone","Array","from","childNodes","forEach","child","appendChild","copy","document","createElement","tagName","getAttributeNames","at","setAttribute","getAttribute","shouldRunDisconnect","gn","dragging","hasFirstLoaded","call","shouldRunConnect","connectionType","GG","connectedCallback","WeakMap","WeakSet","lifecycleType","_b","_c","Error","tokensDifferent","lifecycleUpdateToken","result","setTimeout","disconnectedCallback","clearTimeout","e","getRootNode","layoutCacheDocument","Document","host","shadowHost","class","layoutHost","Symbol","insertDocumentCSSRule","cssRule","styleElementId","styleElement","getElementById","_logger__WEBPACK_IMPORTED_MODULE_0__","v","debug","headElement","head","getElementsByTagName","id","match","length","textContent","removeChild","styleIndex","sheet","insertRule","deleteRule","getAllElements","root","elements","processedShadowRoots","Set","collectElements","node","nodeElements","querySelectorAll","push","el","shadowRoot","has","logger","createLogger"],"sourceRoot":""}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[762],{39604(o,e,r){r.d(e,{Al:()=>i,cN:()=>d,su:()=>s});var t=r(55823),a=r(33681),n=r(38370),c=r(55365),l=r(50103);class d extends n.FoundationElement{init(o){o&&(this.params=o)}getGui(){return this}refresh(o){return!1}}(0,t.Cg)([a.observable],d.prototype,"params",void 0);const s=d.compose({baseName:"grid-pro-actions-menu-renderer",template:a.html`
|
|
2
|
-
<foundation-actions-menu
|
|
3
|
-
name="${o=>o.params.headerName}"
|
|
4
|
-
:definition=${o=>o.params}
|
|
5
|
-
></foundation-actions-menu>
|
|
6
|
-
`}),i=(o,e={},r="⋮",t=!1,a)=>{const n={cellRenderer:c.IX.actionsMenu,cellRendererParams:{actions:o,buttonAppearance:a,isVertical:t,buttonText:r},cellStyle:{border:"none",overflow:"visible"},field:`${(0,l.w)(e.headerName)||"actions-menu"}`,headerName:"Actions",width:150};return Object.assign(Object.assign({},n),e)}},55365(o,e,r){r.d(e,{A7:()=>f,IX:()=>g,Kb:()=>i,W3:()=>t,YO:()=>C,b7:()=>s,eL:()=>d,h1:()=>b,k7:()=>u,lz:()=>m,mJ:()=>a,mr:()=>h,o2:()=>p,uA:()=>k});var t,a,n=r(20166),c=r(33681),l=r(38370);!function(o){o.foregroundColor="--ag-foreground-color",o.dataColor="--ag-data-color",o.secondaryForegroundColor="--ag-secondary-foreground-color",o.headerForegroundColor="--ag-header-foreground-color",o.disabledForegroundColor="--ag-disabled-foreground-color",o.backgroundColor="--ag-background-color",o.headerBackgroundColor="--ag-header-background-color",o.subheaderBackgroundColor="--ag-subheader-background-color",o.subheaderToolbarBackgroundColor="--ag-subheader-toolbar-background-color",o.controlPanelBackgroundColor="--ag-control-panel-background-color",o.selectedRowBackgroundColor="--ag-selected-row-background-color",o.oddRowBackgroundColor="--ag-odd-row-background-color",o.rowHoverColor="--ag-row-hover-color",o.rangeSelectionBorderColor="--ag-range-selection-border-color",o.rangeSelectionBackgroundColor="--ag-range-selection-background-color",o.selectedTabUnderlineColor="--ag-selected-tab-underline-color",o.rangeSelectionChartCategoryBackgroundColor="--ag-range-selection-chart-category-background-color",o.rangeSelectionChartBackgroundColor="--ag-range-selection-chart-background-color",o.headerCellHoverBackgroundColor="--ag-header-cell-hover-background-color",o.headerCellMovingBackgroundColor="--ag-header-cell-moving-background-color",o.chipBackgroundColor="--ag-chip-background-color",o.borderColor="--ag-border-color",o.secondaryBorderColor="--ag-secondary-border-color",o.rowBorderColor="--ag-row-border-color",o.headerColumnSeparatorColor="--ag-header-column-separator-color",o.headerColumnResizeHandleColor="--ag-header-column-resize-handle-color",o.inputBorderColor="--ag-input-border-color",o.inputDisabledBorderColor="--ag-input-disabled-border-color",o.inputDisabledBackgroundColor="--ag-input-disabled-background-color",o.checkboxBackgroundColor="--ag-checkbox-background-color",o.checkboxCheckedColor="--ag-checkbox-checked-color",o.checkboxUncheckedColor="--ag-checkbox-unchecked-color",o.checkboxIndeterminateColor="--ag-checkbox-indeterminate-color",o.toggleButtonOffBorderColor="--ag-toggle-button-off-border-color",o.toggleButtonOffBackgroundColor="--ag-toggle-button-off-background-color",o.toggleButtonOnBorderColor="--ag-toggle-button-on-border-color",o.toggleButtonOnBackgroundColor="--ag-toggle-button-on-background-color",o.toggleButtonSwitchBackgroundColor="--ag-toggle-button-switch-background-color",o.toggleButtonSwitchBorderColor="--ag-toggle-button-switch-border-color",o.minichartSelectedChartColor="--ag-minichart-selected-chart-color",o.minichartSelectedPageColor="--ag-minichart-selected-page-color",o.modalOverlayBackgroundColor="--ag-modal-overlay-background-color",o.inputFocusBoxShadow="--ag-input-focus-box-shadow",o.inputFocusBorderColor="--ag-input-focus-border-color"}(t||(t={})),function(o){o.alpine="ag-theme-alpine",o.alpineDark="ag-theme-alpine-dark",o.balham="ag-theme-balham",o.balhamDark="ag-theme-balham-dark",o.material="ag-theme-material"}(a||(a={}));const d=o=>`${o}-token-map`,s=o=>`${o}-fonts`,i=(o,e)=>c.css`
|
|
7
|
-
.${d(o)} {
|
|
8
|
-
${new n.CSSVarsTokenMapper(e)}
|
|
9
|
-
}
|
|
10
|
-
`;var g,u;!function(o){o.action="action",o.actionsMenu="actionsMenu",o.boolean="boolean",o.editable="editable",o.icon="icon",o.text="text",o.select="select",o.statusPill="statusPill",o.dateEditor="dateEditor",o.selectEditor="selectEditor",o.numberEditor="numberEditor",o.stringEditor="stringEditor",o.multiselectEditor="multiselectEditor"}(g||(g={})),function(o){o.labelValue="labelValue",o.loadMore="loadMore",o.reload="reload",o.rowCount="rowCount"}(u||(u={}));const h="onGridReady",f="__editedColumn",b="__errorColumn",C={},m=l.DI.createInterface(o=>o.instance(C));var k;!function(o){o.camelCase="camelCase",o.capitalCase="capitalCase",o.dotCase="dotCase",o.headerCase="headerCase",o.noCase="noCase",o.paramCase="paramCase",o.pascalCase="pascalCase",o.pathCase="pathCase",o.sentenceCase="sentenceCase",o.snakeCase="snakeCase"}(k||(k={}));const p={rows:!0,maxRows:!1,aggregation:!0,loadMore:{tooltip:"Load more rows from server"},reload:{tooltip:"Reload the datasource."}}},50103(o,e,r){r.d(e,{w:()=>t});const t=o=>o.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase()},21409(o,e,r){r.d(e,{S:()=>a,a:()=>n});var t=r(55823);const a=o=>{var e,r,a,c,l,d,s,i,g,u;return u=class extends o{constructor(...o){super(o),e.add(this),r.set(this,{_key:"dom"}),a.set(this,""),c.set(this,!1),l.set(this,void 0),d.set(this,!1),s.set(this,!1)}cloneNode(o){const e=this.deepClone();return o&&Array.from(this.childNodes).forEach(o=>{e.appendChild(o.cloneNode(!0))}),e}deepClone(){const o=document.createElement(this.tagName.toLowerCase());return this.getAttributeNames().forEach(e=>o.setAttribute(e,this.getAttribute(e))),o}get shouldRunDisconnect(){return!!(0,t.gn)(this,d,"f")||("dom"===(0,t.gn)(this,r,"f")._key||"foundation-layout-cache"!==(0,t.gn)(this,r,"f")._key&&!((0,t.gn)(this,r,"f").dragging||!(0,t.gn)(this,r,"f").hasFirstLoaded||(0,t.gn)(this,e,"m",i).call(this,"disconnect")))}get shouldRunConnect(){if((0,t.gn)(this,d,"f"))return!0;if("dom"===(0,t.gn)(this,r,"f")._key)return!0;if("foundation-layout-cache"===(0,t.gn)(this,r,"f")._key)return!1;let o="reconnect";return!1===(0,t.gn)(this,c,"f")&&((0,t.GG)(this,c,!0,"f"),o="connect"),!((0,t.gn)(this,r,"f").dragging||!(0,t.gn)(this,r,"f").hasFirstLoaded||(0,t.gn)(this,e,"m",i).call(this,o))}connectedCallback(){super.connectedCallback(),"foundation-layout"!==(0,t.gn)(this,r,"f")._key&&(0,t.GG)(this,r,(0,t.gn)(this,e,"m",g).call(this,this),"f")}},r=new WeakMap,a=new WeakMap,c=new WeakMap,l=new WeakMap,d=new WeakMap,s=new WeakMap,e=new WeakSet,i=function(o){var e,n;if("foundation-layout"!==(0,t.gn)(this,r,"f")._key)throw new Error("LifecycleMixin: should not be checking a token change if container not in the layout");const i=(0,t.gn)(this,a,"f")!==(0,t.gn)(this,r,"f").lifecycleUpdateToken;let g=!1;return"connect"===o?(0,t.GG)(this,a,null!==(e=(0,t.gn)(this,r,"f").lifecycleUpdateToken)&&void 0!==e?e:"","f"):"disconnect"===o?(g=i,g?((0,t.GG)(this,s,!1,"f"),setTimeout(()=>{(0,t.GG)(this,s,!0,"f")},0)):(0,t.GG)(this,c,!1,"f"),(0,t.GG)(this,l,setTimeout(()=>{(0,t.GG)(this,d,g,"f"),(0,t.gn)(this,d,"f")&&this.disconnectedCallback()},1e4),"f")):"reconnect"===o&&(g=i&&!(0,t.gn)(this,s,"f"),(0,t.GG)(this,a,null!==(n=(0,t.gn)(this,r,"f").lifecycleUpdateToken)&&void 0!==n?n:"","f"),clearTimeout((0,t.gn)(this,l,"f"))),g},g=function o(r){var a;if(!0===r.getRootNode()[n])return{_key:"foundation-layout-cache"};if(r.getRootNode()instanceof Document||!(null===(a=r.getRootNode())||void 0===a?void 0:a.host))return{_key:"dom"};const c=r.getRootNode().host;if("FoundationLayoutMain"===c.class){const o=c;return o._key="foundation-layout",o}return(0,t.gn)(this,e,"m",o).call(this,c)},u},n=Symbol("layout-cache-document")},52945(o,e,r){r.d(e,{O5:()=>a,fI:()=>n});var t=r(28745);const a=(o,e)=>{var r;let a=document.getElementById(e);if(a)return void t.v.debug(`\n An element with the id of '${e}' already exists and likely has the css rules applied.\n `);const n=null!==(r=document.head)&&void 0!==r?r:document.getElementsByTagName("head")[0];a=document.createElement("style"),a.id=e,n.appendChild(a);if((o.match(/}/g)||[]).length>1)return a.textContent=o,()=>{a&&n.removeChild(a)};{const e=a.sheet.insertRule(o);return()=>{a&&(a.sheet.deleteRule(e),n.removeChild(a))}}};function n(o){const e=[],r=new Set;return function o(t){const a=Array.from(t.querySelectorAll("*"));e.push(...a),a.forEach(e=>{e.shadowRoot&&!r.has(e.shadowRoot)&&(r.add(e.shadowRoot),o(e.shadowRoot))})}(o),e}},28745(o,e,r){r.d(e,{v:()=>t});const t=(0,r(66506).createLogger)("foundation-utils")}}]);
|
|
11
|
-
//# sourceMappingURL=762.57e38da8fc6d8c63e28dd1d8b7f74278.js.map
|