@pega/lists-core 9.0.0-build.27.8 → 9.0.0-build.28.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.
Files changed (87) hide show
  1. package/lib/src/core/RsInternal.d.ts.map +1 -1
  2. package/lib/src/core/RsInternal.js +1 -2
  3. package/lib/src/core/RsInternal.js.map +1 -1
  4. package/lib/src/core/RsProps.d.ts +0 -7
  5. package/lib/src/core/RsProps.d.ts.map +1 -1
  6. package/lib/src/core/RsProps.js +0 -7
  7. package/lib/src/core/RsProps.js.map +1 -1
  8. package/lib/src/core/actions/actionConstants.d.ts +2 -0
  9. package/lib/src/core/actions/actionConstants.d.ts.map +1 -1
  10. package/lib/src/core/actions/actionConstants.js +3 -1
  11. package/lib/src/core/actions/actionConstants.js.map +1 -1
  12. package/lib/src/core/actions/actions.d.ts +10 -2
  13. package/lib/src/core/actions/actions.d.ts.map +1 -1
  14. package/lib/src/core/actions/actions.js +14 -3
  15. package/lib/src/core/actions/actions.js.map +1 -1
  16. package/lib/src/core/actions/actions.types.d.ts +9 -1
  17. package/lib/src/core/actions/actions.types.d.ts.map +1 -1
  18. package/lib/src/core/config/config.d.ts +1 -1
  19. package/lib/src/core/config/config.d.ts.map +1 -1
  20. package/lib/src/core/config/config.js +2 -1
  21. package/lib/src/core/config/config.js.map +1 -1
  22. package/lib/src/core/features/featureFactory.d.ts.map +1 -1
  23. package/lib/src/core/features/featureFactory.js +4 -0
  24. package/lib/src/core/features/featureFactory.js.map +1 -1
  25. package/lib/src/core/features/uIFeatures/beforeRender/adjustHeightToFitRecords.d.ts.map +1 -1
  26. package/lib/src/core/features/uIFeatures/beforeRender/adjustHeightToFitRecords.js +3 -2
  27. package/lib/src/core/features/uIFeatures/beforeRender/adjustHeightToFitRecords.js.map +1 -1
  28. package/lib/src/core/features/uIFeatures/beforeRender/changeTemplate.d.ts +13 -0
  29. package/lib/src/core/features/uIFeatures/beforeRender/changeTemplate.d.ts.map +1 -0
  30. package/lib/src/core/features/uIFeatures/beforeRender/changeTemplate.js +40 -0
  31. package/lib/src/core/features/uIFeatures/beforeRender/changeTemplate.js.map +1 -0
  32. package/lib/src/core/features/uIFeatures/beforeRender/prepareRows.d.ts.map +1 -1
  33. package/lib/src/core/features/uIFeatures/beforeRender/prepareRows.js +1 -2
  34. package/lib/src/core/features/uIFeatures/beforeRender/prepareRows.js.map +1 -1
  35. package/lib/src/core/features/uIFeatures/beforeRender/stateSanitization.d.ts.map +1 -1
  36. package/lib/src/core/features/uIFeatures/beforeRender/stateSanitization.js +13 -0
  37. package/lib/src/core/features/uIFeatures/beforeRender/stateSanitization.js.map +1 -1
  38. package/lib/src/core/features/uIFeatures/index.d.ts +1 -0
  39. package/lib/src/core/features/uIFeatures/index.d.ts.map +1 -1
  40. package/lib/src/core/features/uIFeatures/index.js +2 -0
  41. package/lib/src/core/features/uIFeatures/index.js.map +1 -1
  42. package/lib/src/core/generators/RowGenerator.d.ts.map +1 -1
  43. package/lib/src/core/generators/RowGenerator.js +1 -2
  44. package/lib/src/core/generators/RowGenerator.js.map +1 -1
  45. package/lib/src/core/generators/ViewGenerator.d.ts +9 -6
  46. package/lib/src/core/generators/ViewGenerator.d.ts.map +1 -1
  47. package/lib/src/core/generators/ViewGenerator.js +14 -12
  48. package/lib/src/core/generators/ViewGenerator.js.map +1 -1
  49. package/lib/src/core/generators/ViewGenerator.types.d.ts +1 -1
  50. package/lib/src/core/generators/ViewGenerator.types.d.ts.map +1 -1
  51. package/lib/src/core/generators/ViewGenerator.types.js.map +1 -1
  52. package/lib/src/core/generators/__tests__/viewUtilityMockSetup.d.ts +1 -0
  53. package/lib/src/core/generators/__tests__/viewUtilityMockSetup.d.ts.map +1 -1
  54. package/lib/src/core/generators/viewUtilityMethods.d.ts +7 -0
  55. package/lib/src/core/generators/viewUtilityMethods.d.ts.map +1 -1
  56. package/lib/src/core/generators/viewUtilityMethods.js +11 -0
  57. package/lib/src/core/generators/viewUtilityMethods.js.map +1 -1
  58. package/lib/src/core/index.d.ts.map +1 -1
  59. package/lib/src/core/index.js +1 -2
  60. package/lib/src/core/index.js.map +1 -1
  61. package/lib/src/core/reducers/changeTemplate.d.ts +5 -0
  62. package/lib/src/core/reducers/changeTemplate.d.ts.map +1 -0
  63. package/lib/src/core/reducers/changeTemplate.js +14 -0
  64. package/lib/src/core/reducers/changeTemplate.js.map +1 -0
  65. package/lib/src/core/reducers/error.d.ts +2 -0
  66. package/lib/src/core/reducers/error.d.ts.map +1 -1
  67. package/lib/src/core/reducers/grouping.d.ts.map +1 -1
  68. package/lib/src/core/reducers/grouping.js +7 -0
  69. package/lib/src/core/reducers/grouping.js.map +1 -1
  70. package/lib/src/core/reducers/index.d.ts +2 -0
  71. package/lib/src/core/reducers/index.d.ts.map +1 -1
  72. package/lib/src/core/reducers/index.js +3 -1
  73. package/lib/src/core/reducers/index.js.map +1 -1
  74. package/lib/src/core/reducers/personalizationReducer.d.ts +1 -1
  75. package/lib/src/core/reducers/personalizationReducer.d.ts.map +1 -1
  76. package/lib/src/core/reducers/personalizationReducer.js +2 -1
  77. package/lib/src/core/reducers/personalizationReducer.js.map +1 -1
  78. package/lib/types/Meta.types.d.ts +5 -0
  79. package/lib/types/Meta.types.d.ts.map +1 -1
  80. package/lib/types/Meta.types.js.map +1 -1
  81. package/lib/types/RsCoreBootArgs.types.d.ts +0 -13
  82. package/lib/types/RsCoreBootArgs.types.d.ts.map +1 -1
  83. package/lib/types/RsCoreBootArgs.types.js.map +1 -1
  84. package/lib/types/State.types.d.ts +16 -1
  85. package/lib/types/State.types.d.ts.map +1 -1
  86. package/lib/types/State.types.js.map +1 -1
  87. package/package.json +4 -6
@@ -1 +1 @@
1
- {"version":3,"file":"RsInternal.d.ts","sourceRoot":"","sources":["../../../src/core/RsInternal.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,IAAI,MAAM,4BAA4B,CAAC;AACnD,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,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,UAEvD;IAEF;;;;OAIG;IACH,sBAAsB,QAAO,CAAC,MAAM,IAAI,CAAC,CAEvC;IAEF,cAAc,GAAI,aAAa,WAAW,UAExC;IAEF;;;OAGG;IACH,cAAc,QAAO,WAAW,CAE9B;IAEF,kBAAkB,GAAI,iBAAiB,aAAa,UAElD;IAEF;;;OAGG;IACH,kBAAkB,sBAEhB;CACH"}
@@ -1,4 +1,3 @@
1
- import { v4 as uuidV4 } from 'uuid';
2
1
  import viewUtilityMethods from './generators/viewUtilityMethods';
3
2
  /**
4
3
  * Represents the internal state of the core library.
@@ -17,7 +16,7 @@ export default class RsInternal {
17
16
  /** A unique identifier */
18
17
  id;
19
18
  constructor() {
20
- this.id = uuidV4();
19
+ this.id = crypto.randomUUID();
21
20
  // TODO: check we have a better way to initialize the util methods on the view
22
21
  this.#viewUtilityMethods = viewUtilityMethods(this);
23
22
  }
@@ -1 +1 @@
1
- {"version":3,"file":"RsInternal.js","sourceRoot":"","sources":["../../../src/core/RsInternal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,IAAI,MAAM,EAAE,MAAM,MAAM,CAAC;AAGpC,OAAO,kBAAkB,MAAM,iCAAiC,CAAC;AAiCjE;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,UAAU;IAC7B,QAAQ,GAAG,EAAa,CAAC;IAEzB,QAAQ,GAAG,EAAa,CAAC;IAEzB,KAAK,CAAQ;IAEb,YAAY,GAAgB,EAAE,CAAC;IAE/B,YAAY,CAAe;IAE3B,gBAAgB,CAAiB;IAEjC,oBAAoB,CAAc;IAClC,mEAAmE;IACnE,mBAAmB,CAAmB;IACtC,0BAA0B;IAC1B,EAAE,CAAS;IACX;QACE,IAAI,CAAC,EAAE,GAAG,MAAM,EAAE,CAAC;QACnB,8EAA8E;QAC9E,IAAI,CAAC,mBAAmB,GAAG,kBAAkB,CAAC,IAAI,CAAC,CAAC;IACtD,CAAC;IAED,oDAAoD;IACpD,OAAO;QACL,OAAO,IAAI,CAA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EF,cAAc,GAAG,CAAC,WAAwB,EAAE,EAAE;QAC5C,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;IAClC,CAAC,CAAC;IAEF;;;OAGG;IACH,cAAc,GAAG,GAAgB,EAAE;QACjC,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC,CAAC;IAEF,kBAAkB,GAAG,CAAC,eAA8B,EAAE,EAAE;QACtD,IAAI,CAAC,gBAAgB,GAAG,eAAe,CAAC;IAC1C,CAAC,CAAC;IAEF;;;OAGG;IACH,kBAAkB,GAAG,GAAG,EAAE;QACxB,OAAO,IAAI,CAAC,gBAAgB,CAAC;IAC/B,CAAC,CAAC;CACH","sourcesContent":["import { v4 as uuidV4 } from 'uuid';\n\nimport type { UtilityFunctions } from './generators/viewUtilityMethods';\nimport viewUtilityMethods from './generators/viewUtilityMethods';\nimport type View from './generators/ViewGenerator';\nimport type StateResolver from './StateResolver';\nimport type RsStore from './RsStore';\nimport type RsProps from './RsProps';\n\ntype SubscriberCallback = () => void;\ntype Subscribers = {\n [eventName: string]: SubscriberCallback[];\n};\ntype PubSubUtils = {\n /**\n *\n * @param eventName - A unique event name that needs to be published\n * @param args - Any optional extra arguments of type functions to be passed to subscriber callbacks.\n * @returns void\n */\n publish: (eventName: string, ...args: (() => void)[]) => void;\n /**\n *\n * @param eventName eventName - A unique event name which needs to be subscribed.\n * @param callback Any optional extra arguments of type functions passed by publisher.\n * @returns - an unsubscribe callback.\n */\n subscribe: (\n eventName: string,\n callback: () => void\n ) =>\n | {\n unsubscribe: () => void;\n }\n | undefined;\n};\n/**\n * Represents the internal state of the core library.\n * The building blocks like features, state resolver, reducers will receive getter methods for properties from this class.\n */\nexport default class RsInternal {\n #rsStore = {} as RsStore;\n\n #rsProps = {} as RsProps;\n\n #view!: View;\n\n #subscribers: Subscribers = {};\n\n #pubSubUtils!: PubSubUtils;\n\n #rsStateResolver!: StateResolver;\n\n #afterRenderFeatures!: () => void;\n /** A set of utility functions avaliable on view using view.type */\n #viewUtilityMethods: UtilityFunctions;\n /** A unique identifier */\n id: string;\n constructor() {\n this.id = uuidV4();\n // TODO: check we have a better way to initialize the util methods on the view\n this.#viewUtilityMethods = viewUtilityMethods(this);\n }\n\n /** Returns the uuid for the rsInternal instance. */\n getRsID() {\n return this.id;\n }\n\n /** Get the latest view object */\n getView = () => {\n return this.#view;\n };\n\n /** Update the newly generated view on the internal state and attach additional methods and callback to the view. */\n updateView = (latestView: View) => {\n this.#view = latestView;\n this.#view.addUtilityFunctions(this.#viewUtilityMethods);\n this.#view.setViewUpdateCallback(this.updateView);\n };\n\n setRsStore = (rsStore: RsStore) => {\n this.#rsStore = rsStore;\n };\n\n /**\n * Get the rsStore object that can be used to store properties which are not supposed to trigger state change,\n * references or any intermediate values that the features might need.\n *\n * @returns reference to rsStore object\n */\n getRsStore = (): RsStore => {\n return this.#rsStore;\n };\n\n setRsProps = (rsProps: RsProps) => {\n this.#rsProps = rsProps;\n };\n\n /**\n * Get the rsProps object that is used to store readOnly props like apiContext, formatters etc.\n *\n * @returns reference to rsProps object\n */\n getRsProps = (): RsProps => {\n return this.#rsProps;\n };\n\n setPubSubUtils = (pubSubUtils: PubSubUtils) => {\n this.#pubSubUtils = pubSubUtils;\n };\n\n /**\n * Returns the pubSub utility methods that can be used to publish/subscribe to events like MOUNT, BEFORE_FETCH, AFTER_FETCH etc.\n *\n * @returns pubSub utils\n */\n getPubSubUtils = (): PubSubUtils => {\n return this.#pubSubUtils;\n };\n\n setAfterRenderFeatures = (afterRenderFeatures: () => void) => {\n this.#afterRenderFeatures = afterRenderFeatures;\n };\n\n /**\n * Returns the array of features like autosize that will run after the rendering has completed.\n *\n * @returns afterRender features\n */\n getAfterRenderFeatures = (): (() => void) => {\n return this.#afterRenderFeatures;\n };\n\n setSubscribers = (subscribers: Subscribers) => {\n this.#subscribers = subscribers;\n };\n\n /**\n * Returns the list of subscribers for respective events.\n * @returns - {@link Subscribers}\n */\n getSubscribers = (): Subscribers => {\n return this.#subscribers;\n };\n\n setRsStateResolver = (rsStateResolver: StateResolver) => {\n this.#rsStateResolver = rsStateResolver;\n };\n\n /**\n * Returns the instance of StateResolver.\n * @returns rsStateResolver instance\n */\n getRsStateResolver = () => {\n return this.#rsStateResolver;\n };\n}\n"]}
1
+ {"version":3,"file":"RsInternal.js","sourceRoot":"","sources":["../../../src/core/RsInternal.ts"],"names":[],"mappings":"AACA,OAAO,kBAAkB,MAAM,iCAAiC,CAAC;AAiCjE;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,UAAU;IAC7B,QAAQ,GAAG,EAAa,CAAC;IAEzB,QAAQ,GAAG,EAAa,CAAC;IAEzB,KAAK,CAAQ;IAEb,YAAY,GAAgB,EAAE,CAAC;IAE/B,YAAY,CAAe;IAE3B,gBAAgB,CAAiB;IAEjC,oBAAoB,CAAc;IAClC,mEAAmE;IACnE,mBAAmB,CAAmB;IACtC,0BAA0B;IAC1B,EAAE,CAAS;IACX;QACE,IAAI,CAAC,EAAE,GAAG,MAAM,CAAC,UAAU,EAAE,CAAC;QAC9B,8EAA8E;QAC9E,IAAI,CAAC,mBAAmB,GAAG,kBAAkB,CAAC,IAAI,CAAC,CAAC;IACtD,CAAC;IAED,oDAAoD;IACpD,OAAO;QACL,OAAO,IAAI,CAAC,EAAE,CAAC;IACjB,CAAC;IAED,iCAAiC;IACjC,OAAO,GAAG,GAAG,EAAE;QACb,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC,CAAC;IAEF,oHAAoH;IACpH,UAAU,GAAG,CAAC,UAAgB,EAAE,EAAE;QAChC,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC;QACxB,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;QACzD,IAAI,CAAC,KAAK,CAAC,qBAAqB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACpD,CAAC,CAAC;IAEF,UAAU,GAAG,CAAC,OAAgB,EAAE,EAAE;QAChC,IAA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'./generators/viewUtilityMethods';\nimport viewUtilityMethods from './generators/viewUtilityMethods';\nimport type View from './generators/ViewGenerator';\nimport type StateResolver from './StateResolver';\nimport type RsStore from './RsStore';\nimport type RsProps from './RsProps';\n\ntype SubscriberCallback = () => void;\ntype Subscribers = {\n [eventName: string]: SubscriberCallback[];\n};\ntype PubSubUtils = {\n /**\n *\n * @param eventName - A unique event name that needs to be published\n * @param args - Any optional extra arguments of type functions to be passed to subscriber callbacks.\n * @returns void\n */\n publish: (eventName: string, ...args: (() => void)[]) => void;\n /**\n *\n * @param eventName eventName - A unique event name which needs to be subscribed.\n * @param callback Any optional extra arguments of type functions passed by publisher.\n * @returns - an unsubscribe callback.\n */\n subscribe: (\n eventName: string,\n callback: () => void\n ) =>\n | {\n unsubscribe: () => void;\n }\n | undefined;\n};\n/**\n * Represents the internal state of the core library.\n * The building blocks like features, state resolver, reducers will receive getter methods for properties from this class.\n */\nexport default class RsInternal {\n #rsStore = {} as RsStore;\n\n #rsProps = {} as RsProps;\n\n #view!: View;\n\n #subscribers: Subscribers = {};\n\n #pubSubUtils!: PubSubUtils;\n\n #rsStateResolver!: StateResolver;\n\n #afterRenderFeatures!: () => void;\n /** A set of utility functions avaliable on view using view.type */\n #viewUtilityMethods: UtilityFunctions;\n /** A unique identifier */\n id: string;\n constructor() {\n this.id = crypto.randomUUID();\n // TODO: check we have a better way to initialize the util methods on the view\n this.#viewUtilityMethods = viewUtilityMethods(this);\n }\n\n /** Returns the uuid for the rsInternal instance. */\n getRsID() {\n return this.id;\n }\n\n /** Get the latest view object */\n getView = () => {\n return this.#view;\n };\n\n /** Update the newly generated view on the internal state and attach additional methods and callback to the view. */\n updateView = (latestView: View) => {\n this.#view = latestView;\n this.#view.addUtilityFunctions(this.#viewUtilityMethods);\n this.#view.setViewUpdateCallback(this.updateView);\n };\n\n setRsStore = (rsStore: RsStore) => {\n this.#rsStore = rsStore;\n };\n\n /**\n * Get the rsStore object that can be used to store properties which are not supposed to trigger state change,\n * references or any intermediate values that the features might need.\n *\n * @returns reference to rsStore object\n */\n getRsStore = (): RsStore => {\n return this.#rsStore;\n };\n\n setRsProps = (rsProps: RsProps) => {\n this.#rsProps = rsProps;\n };\n\n /**\n * Get the rsProps object that is used to store readOnly props like apiContext, formatters etc.\n *\n * @returns reference to rsProps object\n */\n getRsProps = (): RsProps => {\n return this.#rsProps;\n };\n\n setPubSubUtils = (pubSubUtils: PubSubUtils) => {\n this.#pubSubUtils = pubSubUtils;\n };\n\n /**\n * Returns the pubSub utility methods that can be used to publish/subscribe to events like MOUNT, BEFORE_FETCH, AFTER_FETCH etc.\n *\n * @returns pubSub utils\n */\n getPubSubUtils = (): PubSubUtils => {\n return this.#pubSubUtils;\n };\n\n setAfterRenderFeatures = (afterRenderFeatures: () => void) => {\n this.#afterRenderFeatures = afterRenderFeatures;\n };\n\n /**\n * Returns the array of features like autosize that will run after the rendering has completed.\n *\n * @returns afterRender features\n */\n getAfterRenderFeatures = (): (() => void) => {\n return this.#afterRenderFeatures;\n };\n\n setSubscribers = (subscribers: Subscribers) => {\n this.#subscribers = subscribers;\n };\n\n /**\n * Returns the list of subscribers for respective events.\n * @returns - {@link Subscribers}\n */\n getSubscribers = (): Subscribers => {\n return this.#subscribers;\n };\n\n setRsStateResolver = (rsStateResolver: StateResolver) => {\n this.#rsStateResolver = rsStateResolver;\n };\n\n /**\n * Returns the instance of StateResolver.\n * @returns rsStateResolver instance\n */\n getRsStateResolver = () => {\n return this.#rsStateResolver;\n };\n}\n"]}
@@ -29,12 +29,6 @@ export default class RsProps {
29
29
  renderFormatterTypeMap?: RsCoreBootArgs['renderFormatterTypeMap'];
30
30
  /** A list of customised the toolbar actions to be displayed at the top of a repeating structure, apart from ootb toolbar actions. */
31
31
  toolBarOptions?: RsCoreBootArgs['toolBarOptions'];
32
- /**
33
- * This function is provided a click handler for a row via row generator.
34
- * @param {RowData} data - current row data
35
- * @returns {void} void
36
- */
37
- onRowClickAction?: RsCoreBootArgs['onRowClickAction'];
38
32
  /** It contains registered api's provided by consumer of RsCore */
39
33
  externalStore: ExternalStore;
40
34
  constructor(apiContext: ApiContext, externalStore: ExternalStore, options: {
@@ -44,7 +38,6 @@ export default class RsProps {
44
38
  formatters?: RsCoreBootArgs['formatters'];
45
39
  renderFormatterTypeMap?: RsCoreBootArgs['renderFormatterTypeMap'];
46
40
  toolBarOptions?: RsCoreBootArgs['toolBarOptions'];
47
- onRowClickAction?: RsCoreBootArgs['onRowClickAction'];
48
41
  styleFormats?: RsCoreBootArgs['styleFormats'];
49
42
  });
50
43
  }
@@ -1 +1 @@
1
- {"version":3,"file":"RsProps.d.ts","sourceRoot":"","sources":["../../../src/core/RsProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAC;AAEnE,MAAM,MAAM,aAAa,GAAG;IAC1B,0GAA0G;IAC1G,QAAQ,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;CACtC,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,OAAO;IAC1B;wDACoD;IACpD,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,aAAa,CAAC,EAAE,cAAc,CAAC,eAAe,CAAC,CAAC;IAChD,2KAA2K;IAC3K,UAAU,EAAE,cAAc,CAAC,YAAY,CAAC,CAAC;IACzC;;;;;OAKG;IACH,aAAa,CAAC,EAAE,cAAc,CAAC,eAAe,CAAC,CAAC;IAEhD,oEAAoE;IACpE,UAAU,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC,CAAC;IAC1C,8EAA8E;IAC9E,YAAY,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;IAC9C,yGAAyG;IACzG,sBAAsB,CAAC,EAAE,cAAc,CAAC,wBAAwB,CAAC,CAAC;IAClE,qIAAqI;IACrI,cAAc,CAAC,EAAE,cAAc,CAAC,gBAAgB,CAAC,CA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AAe,CAAC,CAAC;IAEhD,oEAAoE;IACpE,UAAU,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC,CAAC;IAC1C,8EAA8E;IAC9E,YAAY,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;IAC9C,yGAAyG;IACzG,sBAAsB,CAAC,EAAE,cAAc,CAAC,wBAAwB,CAAC,CAAC;IAClE,qIAAqI;IACrI,cAAc,CAAC,EAAE,cAAc,CAAC,gBAAgB,CAAC,CAAC;IAClD,kEAAkE;IAClE,aAAa,EAAE,aAAa,CAAC;gBAG3B,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,aAAa,EAC5B,OAAO,EAAE;QACP,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;QAC9B,aAAa,CAAC,EAAE,cAAc,CAAC,eAAe,CAAC,CAAC;QAChD,aAAa,CAAC,EAAE,cAAc,CAAC,eAAe,CAAC,CAAC;QAChD,UAAU,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC,CAAC;QAC1C,sBAAsB,CAAC,EAAE,cAAc,CAAC,wBAAwB,CAAC,CAAC;QAClE,cAAc,CAAC,EAAE,cAAc,CAAC,gBAAgB,CAAC,CAAC;QAClD,YAAY,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;KAC/C;CAYJ"}
@@ -23,12 +23,6 @@ export default class RsProps {
23
23
  renderFormatterTypeMap;
24
24
  /** A list of customised the toolbar actions to be displayed at the top of a repeating structure, apart from ootb toolbar actions. */
25
25
  toolBarOptions;
26
- /**
27
- * This function is provided a click handler for a row via row generator.
28
- * @param {RowData} data - current row data
29
- * @returns {void} void
30
- */
31
- onRowClickAction;
32
26
  /** It contains registered api's provided by consumer of RsCore */
33
27
  externalStore;
34
28
  constructor(apiContext, externalStore, options) {
@@ -40,7 +34,6 @@ export default class RsProps {
40
34
  this.formatters = options.formatters;
41
35
  this.renderFormatterTypeMap = options.renderFormatterTypeMap;
42
36
  this.toolBarOptions = options.toolBarOptions;
43
- this.onRowClickAction = options.onRowClickAction;
44
37
  this.styleFormats = options.styleFormats;
45
38
  }
46
39
  }
@@ -1 +1 @@
1
- {"version":3,"file":"RsProps.js","sourceRoot":"","sources":["../../../src/core/RsProps.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,OAAO,OAAO,OAAO;IAC1B;wDACoD;IACpD,IAAI,CAA0B;IAC9B;;OAEG;IACH,aAAa,CAAmC;IAChD,2KAA2K;IAC3K,UAAU,CAA+B;IACzC;;;;;OAKG;IACH,aAAa,CAAmC;IAEhD,oEAAoE;IACpE,UAAU,CAAgC;IAC1C,8EAA8E;IAC9E,YAAY,CAAkC;IAC9C,yGAAyG;IACzG,sBAAsB,CAA4C;IAClE,qIAAqI;IACrI,cAAc,CAAoC;IAClD;;;;OAIG;IACH,gBAAgB,CAAsC;IACtD,kEAAkE;IAClE,aAAa,CAAgB;IAE7B,YACE,UAAsB,EACtB,aAA4B,EAC5B,OASC;QAED,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;QACzB,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;QAC3C,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;QAC3C,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC;QACrC,IAAI,CAAC,sBAAsB,GAAG,OAAO,CAAC,sBAAsB,CAAC;QAC7D,IAAI,CAAC,cAAc,GAAG,OAAO,CAAC,cAAc,CAAC;QAC7C,IAAI,CAAC,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,CAAC;QACjD,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;IAC3C,CAAC;CACF","sourcesContent":["import type { ApiContext } from '../../types/ApiContext.types';\nimport type RsCoreBootArgs from '../../types/RsCoreBootArgs.types';\n\nexport type ExternalStore = {\n /** A state communication api to communicate latest state of repeating structure core to it's consumer. */\n dispatch: RsCoreBootArgs['dispatch'];\n};\n\nexport default class RsProps {\n /** Indicates the mode in which Rs core is running. E.g. A debug mode will print logs in console for the action dispatched by RsCore\n * and the state derived after consumption of it. */\n mode?: RsCoreBootArgs['mode'];\n /**\n * An initial state to load repeating structure instance with it.\n */\n persistedInfo?: RsCoreBootArgs['persistedInfo'];\n /** A set of api's provided to repeating structure core to establish communication b/w repeating structure and its consumer (e.g. providing data to repeating structure) */\n apiContext: RsCoreBootArgs['apiContext'];\n /** A factory function provided to RsCore that returns component or component definition for specified type\n * @param type It is equal to value of {@link FieldDef.cellRenderer cellRenderer}(if added in fieldDefs of that column).\n * @returns It should return a component definition (or an object that contains component definition).\n * This component definition will be used by RepeatingStructures to render a cell with the component provided by renderFactory.\n * If component definition is not provided from render factory or renderFactory is not provided to Repeating structures then cell will be rendered directly with value derived for the cell or the formatted value(if {@link RsProps.formatters formatters} are provided for that column)\n */\n renderFactory?: RsCoreBootArgs['renderFactory'];\n\n /** An object of formatter functions which formats the raw value. */\n formatters?: RsCoreBootArgs['formatters'];\n /** A collection of style formats that can be applied for styling the data. */\n styleFormats?: RsCoreBootArgs['styleFormats'];\n /** A map of formatters that will be displayed to consumer to format a fieldDef in repeating structure */\n renderFormatterTypeMap?: RsCoreBootArgs['renderFormatterTypeMap'];\n /** A list of customised the toolbar actions to be displayed at the top of a repeating structure, apart from ootb toolbar actions. */\n toolBarOptions?: RsCoreBootArgs['toolBarOptions'];\n /**\n * This function is provided a click handler for a row via row generator.\n * @param {RowData} data - current row data\n * @returns {void} void\n */\n onRowClickAction?: RsCoreBootArgs['onRowClickAction'];\n /** It contains registered api's provided by consumer of RsCore */\n externalStore: ExternalStore;\n\n constructor(\n apiContext: ApiContext,\n externalStore: ExternalStore,\n options: {\n mode?: RsCoreBootArgs['mode'];\n persistedInfo?: RsCoreBootArgs['persistedInfo'];\n renderFactory?: RsCoreBootArgs['renderFactory'];\n formatters?: RsCoreBootArgs['formatters'];\n renderFormatterTypeMap?: RsCoreBootArgs['renderFormatterTypeMap'];\n toolBarOptions?: RsCoreBootArgs['toolBarOptions'];\n onRowClickAction?: RsCoreBootArgs['onRowClickAction'];\n styleFormats?: RsCoreBootArgs['styleFormats'];\n }\n ) {\n this.apiContext = apiContext;\n this.externalStore = externalStore;\n this.mode = options.mode;\n this.persistedInfo = options.persistedInfo;\n this.renderFactory = options.renderFactory;\n this.formatters = options.formatters;\n this.renderFormatterTypeMap = options.renderFormatterTypeMap;\n this.toolBarOptions = options.toolBarOptions;\n this.onRowClickAction = options.onRowClickAction;\n this.styleFormats = options.styleFormats;\n }\n}\n"]}
1
+ {"version":3,"file":"RsProps.js","sourceRoot":"","sources":["../../../src/core/RsProps.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,OAAO,OAAO,OAAO;IAC1B;wDACoD;IACpD,IAAI,CAA0B;IAC9B;;OAEG;IACH,aAAa,CAAmC;IAChD,2KAA2K;IAC3K,UAAU,CAA+B;IACzC;;;;;OAKG;IACH,aAAa,CAAmC;IAEhD,oEAAoE;IACpE,UAAU,CAAgC;IAC1C,8EAA8E;IAC9E,YAAY,CAAkC;IAC9C,yGAAyG;IACzG,sBAAsB,CAA4C;IAClE,qIAAqI;IACrI,cAAc,CAAoC;IAClD,kEAAkE;IAClE,aAAa,CAAgB;IAE7B,YACE,UAAsB,EACtB,aAA4B,EAC5B,OAQC;QAED,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;QACzB,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;QAC3C,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;QAC3C,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC;QACrC,IAAI,CAAC,sBAAsB,GAAG,OAAO,CAAC,sBAAsB,CAAC;QAC7D,IAAI,CAAC,cAAc,GAAG,OAAO,CAAC,cAAc,CAAC;QAC7C,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;IAC3C,CAAC;CACF","sourcesContent":["import type { ApiContext } from '../../types/ApiContext.types';\nimport type RsCoreBootArgs from '../../types/RsCoreBootArgs.types';\n\nexport type ExternalStore = {\n /** A state communication api to communicate latest state of repeating structure core to it's consumer. */\n dispatch: RsCoreBootArgs['dispatch'];\n};\n\nexport default class RsProps {\n /** Indicates the mode in which Rs core is running. E.g. A debug mode will print logs in console for the action dispatched by RsCore\n * and the state derived after consumption of it. */\n mode?: RsCoreBootArgs['mode'];\n /**\n * An initial state to load repeating structure instance with it.\n */\n persistedInfo?: RsCoreBootArgs['persistedInfo'];\n /** A set of api's provided to repeating structure core to establish communication b/w repeating structure and its consumer (e.g. providing data to repeating structure) */\n apiContext: RsCoreBootArgs['apiContext'];\n /** A factory function provided to RsCore that returns component or component definition for specified type\n * @param type It is equal to value of {@link FieldDef.cellRenderer cellRenderer}(if added in fieldDefs of that column).\n * @returns It should return a component definition (or an object that contains component definition).\n * This component definition will be used by RepeatingStructures to render a cell with the component provided by renderFactory.\n * If component definition is not provided from render factory or renderFactory is not provided to Repeating structures then cell will be rendered directly with value derived for the cell or the formatted value(if {@link RsProps.formatters formatters} are provided for that column)\n */\n renderFactory?: RsCoreBootArgs['renderFactory'];\n\n /** An object of formatter functions which formats the raw value. */\n formatters?: RsCoreBootArgs['formatters'];\n /** A collection of style formats that can be applied for styling the data. */\n styleFormats?: RsCoreBootArgs['styleFormats'];\n /** A map of formatters that will be displayed to consumer to format a fieldDef in repeating structure */\n renderFormatterTypeMap?: RsCoreBootArgs['renderFormatterTypeMap'];\n /** A list of customised the toolbar actions to be displayed at the top of a repeating structure, apart from ootb toolbar actions. */\n toolBarOptions?: RsCoreBootArgs['toolBarOptions'];\n /** It contains registered api's provided by consumer of RsCore */\n externalStore: ExternalStore;\n\n constructor(\n apiContext: ApiContext,\n externalStore: ExternalStore,\n options: {\n mode?: RsCoreBootArgs['mode'];\n persistedInfo?: RsCoreBootArgs['persistedInfo'];\n renderFactory?: RsCoreBootArgs['renderFactory'];\n formatters?: RsCoreBootArgs['formatters'];\n renderFormatterTypeMap?: RsCoreBootArgs['renderFormatterTypeMap'];\n toolBarOptions?: RsCoreBootArgs['toolBarOptions'];\n styleFormats?: RsCoreBootArgs['styleFormats'];\n }\n ) {\n this.apiContext = apiContext;\n this.externalStore = externalStore;\n this.mode = options.mode;\n this.persistedInfo = options.persistedInfo;\n this.renderFactory = options.renderFactory;\n this.formatters = options.formatters;\n this.renderFormatterTypeMap = options.renderFormatterTypeMap;\n this.toolBarOptions = options.toolBarOptions;\n this.styleFormats = options.styleFormats;\n }\n}\n"]}
@@ -31,6 +31,7 @@ declare const ActionTypes: {
31
31
  readonly UPDATE_GROUPING_SORT: "updateGroupingSort";
32
32
  readonly TOGGLE_EXPAND_COLLAPSE: "toggleExpandCollapse";
33
33
  readonly ADD_GROUPS: "addGroups";
34
+ readonly SET_GROUP_SNAPSHOT: "setGroupSnapshot";
34
35
  readonly SEARCH: "search";
35
36
  readonly COLUMN_MERGE: "columnMerge";
36
37
  readonly CUSTOM_COLUMN_DELETE: "customColumnDelete";
@@ -71,6 +72,7 @@ declare const ActionTypes: {
71
72
  readonly SET_CONDITIONAL_STYLE_FORMATS: "setConditionalStyleFormats";
72
73
  readonly ADD_COLUMN_VISIBILITY: "addColumnVisibility";
73
74
  readonly VISIBLE_COLUMN_UPDATE: "visibleColumnUpdate";
75
+ readonly CHANGE_TEMPLATE: "changeTemplate";
74
76
  };
75
77
  export default ActionTypes;
76
78
  export type ActionType = (typeof ActionTypes)[keyof typeof ActionTypes];
@@ -1 +1 @@
1
- {"version":3,"file":"actionConstants.d.ts","sourceRoot":"","sources":["../../../../src/core/actions/actionConstants.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgFP,CAAC;AAEX,eAAe,WAAW,CAAC;AAC3B,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC"}
1
+ {"version":3,"file":"actionConstants.d.ts","sourceRoot":"","sources":["../../../../src/core/actions/actionConstants.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkFP,CAAC;AAEX,eAAe,WAAW,CAAC;AAC3B,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC"}
@@ -34,6 +34,7 @@ const ActionTypes = {
34
34
  UPDATE_GROUPING_SORT: 'updateGroupingSort',
35
35
  TOGGLE_EXPAND_COLLAPSE: 'toggleExpandCollapse',
36
36
  ADD_GROUPS: 'addGroups',
37
+ SET_GROUP_SNAPSHOT: 'setGroupSnapshot',
37
38
  SEARCH: 'search',
38
39
  COLUMN_MERGE: 'columnMerge',
39
40
  CUSTOM_COLUMN_DELETE: 'customColumnDelete',
@@ -74,7 +75,8 @@ const ActionTypes = {
74
75
  UPDATE_COLUMNS_VISIBILITY: 'updateColumnsVisibility',
75
76
  SET_CONDITIONAL_STYLE_FORMATS: 'setConditionalStyleFormats',
76
77
  ADD_COLUMN_VISIBILITY: 'addColumnVisibility',
77
- VISIBLE_COLUMN_UPDATE: 'visibleColumnUpdate'
78
+ VISIBLE_COLUMN_UPDATE: 'visibleColumnUpdate',
79
+ CHANGE_TEMPLATE: 'changeTemplate'
78
80
  };
79
81
  export default ActionTypes;
80
82
  //# sourceMappingURL=actionConstants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"actionConstants.js","sourceRoot":"","sources":["../../../../src/core/actions/actionConstants.ts"],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C1C,2BAA2B,EAAE,6BAA6B;IAC1D,0BAA0B,EAAE,4BAA4B;IACxD,mBAAmB,EAAE,qBAAqB;IAC1C,kBAAkB,EAAE,mBAAmB;IACvC,mBAAmB,EAAE,oBAAoB;IACzC,mBAAmB,EAAE,mBAAmB;IACxC,yBAAyB,EAAE,uBAAuB;IAClD,yBAAyB,EAAE,uBAAuB;IAClD,YAAY,EAAE,aAAa;IAC3B,cAAc,EAAE,eAAe;IAC/B,iBAAiB,EAAE,iBAAiB;IACpC,gBAAgB,EAAE,gBAAgB;IAClC,YAAY,EAAE,aAAa;IAC3B,aAAa,EAAE,cAAc;IAC7B,0BAA0B,EAAE,yBAAyB;IACrD,oBAAoB,EAAE,oBAAoB;IAC1C,yBAAyB,EAAE,yBAAyB;IAEpD,iHAAiH;IACjH,wBAAwB,EAAE,wBAAwB;IAClD,iBAAiB,EAAE,iBAAiB;IACpC,eAAe,EAAE,gBAAgB;IACjC,mBAAmB,EAAE,mBAAmB;IACxC,wBAAwB,EAAE,wBAAwB;IAClD,iCAAiC,EAAE,gCAAgC;IACnE,qBAAqB,EAAE,oBAAoB;IAC3C,oBAAoB,EAAE,oBAAoB;IAC1C,cAAc,EAAE,cAAc;IAC9B,6BAA6B,EAAE,sCAAsC;IACrE,yBAAyB,EAAE,yBAAyB;IACpD,6BAA6B,EAAE,4BAA4B;IAC3D,qBAAqB,EAAE,qBAAqB;IAC5C,qBAAqB,EAAE,qBAAqB;CACpC,CAAC;AAEX,eAAe,WAAW,CAAC","sourcesContent":["const ActionTypes = {\n NOTIFICATION_ADD: 'NOTIFICATION_ADD',\n NOTIFICATION_REMOVE: 'NOTIFICATION_REMOVE',\n /* Personalization Actions - End */\n\n /* Personalization Actions - Start */\n PERSONALIZATION_GET: 'PERSONALIZATION_GET',\n PERSONALIZATION_EDIT: 'PERSONALIZATION_EDIT',\n PERSONALIZATION_UPDATE: 'PERSONALIZATION_UPDATE',\n PERSONALIZATION_UPDATE_ID: 'PERSONALIZATION_UPDATE_ID',\n PERSONALIZATION_UPDATE_PRESET_ID: 'PERSONALIZATION_UPDATE_PRESET_ID',\n PERSONALIZATION_DELETE: 'PERSONALIZATION_DELETE',\n PERSONALIZATION_SET_ACTIVE: 'PERSONALIZATION_SET_ACTIVE',\n PERSONALIZATION_SET_DEFAULT: 'PERSONALIZATION_SET_DEFAULT',\n PERSONALIZATION_SET_APP_DEFAULT: 'PERSONALIZATION_SET_APP_DEFAULT',\n PERSONALIZATION_CREATE: 'PERSONALIZATION_CREATE',\n /* Personalization Actions - End */\n\n COLUMN_FILTERING: 'columnFiltering',\n COLUMN_CLEAR_FILTERING: 'columnClearFiltering',\n TOGGLE_PIN: 'togglePin',\n TOGGLE_PIN_AT_INDEX: 'togglePinAtIndex',\n COLUMN_SORT: 'columnSort',\n SET_WARNING_MESSAGES: 'setWarningMessages',\n UPDATE_SORT: 'updateSort',\n BOOTSTRAP: 'bootstrap',\n PAGINATE: 'paginate',\n ROW_HEIGHT_CHANGE: 'rowHeightChange',\n GALLERY_LAYOUT_CHANGE: 'galleryLayoutChange',\n COLUMN_RESIZE: 'columnResize',\n COLUMN_TOGGLE: 'columnToggle',\n HIDDEN_COLUMN_UPDATE: 'hiddenColumnUpdate',\n COLUMN_DRAG_DROP: 'COLUMN_DRAG_DROP',\n COLUMN_DISPLAY_CHANGE: 'COLUMN_DISPLAY_CHANGE’',\n TOGGLE_GROUPING: 'toggleGrouping',\n UPDATE_GROUPING_SORT: 'updateGroupingSort',\n TOGGLE_EXPAND_COLLAPSE: 'toggleExpandCollapse',\n ADD_GROUPS: 'addGroups',\n SEARCH: 'search',\n COLUMN_MERGE: 'columnMerge',\n CUSTOM_COLUMN_DELETE: 'customColumnDelete',\n HYDRATE_STATE: 'HYDRATE_STATE',\n SANITIZE_STATE: 'sanitizeState',\n MOVE_RECORD_KEYS: 'moverecordkeys',\n UPDATE_COLUMN_ORDER: 'updateColumnOrder',\n NEW_COLUMN_ORDER: 'newColumnOrder',\n UPDATE_ROW_SELECTION: 'updateRowSelection',\n UPDATE_ROW_SELECTION_STATUS: 'UPDATE_ROW_SELECTION_STATUS',\n UPDATE_ROW_SELECTION_ITEMS: 'UPDATE_ROW_SELECTION_ITEMS',\n CLEAR_ROW_SELECTION: 'CLEAR_ROW_SELECTION',\n UPDATE_AGGREGATION: 'updateAggregation',\n UPDATE_AGGREGATIONS: 'updateAggregations',\n UPDATE_TABLE_HEIGHT: 'updateTableHeight',\n CHANGE_RENDERER_FORMATTER: 'changeRenderFormatter',\n REMOVE_RENDERER_FORMATTER: 'removeRenderFormatter',\n CHANGE_LABEL: 'changeLabel',\n REPLACE_LABELS: 'replaceLabels',\n SHOW_HEADER_ICONS: 'showHeaderIcons',\n CHANGE_CELL_MODE: 'changeCellMode',\n FORCE_UPDATE: 'forceUpdate',\n FORCE_REFRESH: 'forceRefresh',\n TOGGLE_EXPAND_COLLAPSE_ALL: 'toggleExpandCollapseAll',\n UPDATE_STATE_VERSION: 'updateStateVersion',\n TOGGLE_SELECTALL_CHECKBOX: 'toggleSelectAllCheckbox',\n\n // Dispatch Action constants that is used by consumer in order to send particular actions to Repeating structures\n TOGGLE_DISABLE_SELECTION: 'toggleDisableSelection',\n UPDATE_DEBUG_INFO: 'updateDebugInfo',\n TOGGLE_REQUIRED: 'toggleRequired',\n NOTIFY_DATA_REFRESH: 'notifyDataRefresh',\n USER_CONFIRMATION_ACTION: 'userConfirmationAction',\n COMPLETE_USER_CONFIRMATION_ACTION: 'completeUserConfirmationAction',\n SET_IN_EXTERNAL_STATE: 'setInExternalState',\n UPDATE_SELECTED_ROWS: 'updateSelectedRows',\n SET_DATA_ERROR: 'setDataError',\n SET_DOM_CONTAINER_BREAKPOINTS: 'setDomContainerResponsiveBreakpoints',\n UPDATE_COLUMNS_VISIBILITY: 'updateColumnsVisibility',\n SET_CONDITIONAL_STYLE_FORMATS: 'setConditionalStyleFormats',\n ADD_COLUMN_VISIBILITY: 'addColumnVisibility',\n VISIBLE_COLUMN_UPDATE: 'visibleColumnUpdate'\n} as const;\n\nexport default ActionTypes;\nexport type ActionType = (typeof ActionTypes)[keyof typeof ActionTypes];\n"]}
1
+ {"version":3,"file":"actionConstants.js","sourceRoot":"","sources":["../../../../src/core/actions/actionConstants.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,GAAG;IAClB,gBAAgB,EAAE,kBAAkB;IACpC,mBAAmB,EAAE,qBAAqB;IAC1C,mCAAmC;IAEnC,qCAAqC;IACrC,mBAAmB,EAAE,qBAAqB;IAC1C,oBAAoB,EAAE,sBAAsB;IAC5C,sBAAsB,EAAE,wBAAwB;IAChD,yBAAyB,EAAE,2BAA2B;IACtD,gCAAgC,EAAE,kCAAkC;IACpE,sBAAsB,EAAE,wBAAwB;IAChD,0BAA0B,EAAE,4BAA4B;IACxD,2BAA2B,EAAE,6BAA6B;IAC1D,+BAA+B,EAAE,iCAAiC;IAClE,sBAAsB,EAAE,wBAAwB;IAChD,mCAAmC;IAEnC,gBAAgB,EAAE,iBAAiB;IACnC,sBAAsB,EAAE,sBAAsB;IAC9C,UAAU,EAAE,WAAW;IACvB,mBAAmB,EAAE,kBAAkB;IACvC,WAAW,EAAE,YAAY;IACzB,oBAAoB,EAAE,oBAAoB;IAC1C,WAAW,EAAE,YAAY;IACzB,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;IACpB,iBAAiB,EAAE,iBAAiB;IACpC,qBAAqB,EAAE,qBAAqB;IAC5C,aAAa,EAAE,cAAc;IAC7B,aAAa,EAAE,cAAc;IAC7B,oBAAoB,EAAE,oBAAoB;IAC1C,gBAAgB,EAAE,kBAAkB;IACpC,qBAAqB,EAAE,wBAAwB;IAC/C,eAAe,EAAE,gBAAgB;IACjC,oBAAoB,EAAE,oBAAoB;IAC1C,sBAAsB,EAAE,sBAAsB;IAC9C,UAAU,EAAE,WAAW;IACvB,kBAAkB,EAAE,kBAAkB;IACtC,MAAM,EAAE,QAAQ;IAChB,YAAY,EAAE,aAAa;IAC3B,oBAAoB,EAAE,o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VE',\n /* Personalization Actions - End */\n\n /* Personalization Actions - Start */\n PERSONALIZATION_GET: 'PERSONALIZATION_GET',\n PERSONALIZATION_EDIT: 'PERSONALIZATION_EDIT',\n PERSONALIZATION_UPDATE: 'PERSONALIZATION_UPDATE',\n PERSONALIZATION_UPDATE_ID: 'PERSONALIZATION_UPDATE_ID',\n PERSONALIZATION_UPDATE_PRESET_ID: 'PERSONALIZATION_UPDATE_PRESET_ID',\n PERSONALIZATION_DELETE: 'PERSONALIZATION_DELETE',\n PERSONALIZATION_SET_ACTIVE: 'PERSONALIZATION_SET_ACTIVE',\n PERSONALIZATION_SET_DEFAULT: 'PERSONALIZATION_SET_DEFAULT',\n PERSONALIZATION_SET_APP_DEFAULT: 'PERSONALIZATION_SET_APP_DEFAULT',\n PERSONALIZATION_CREATE: 'PERSONALIZATION_CREATE',\n /* Personalization Actions - End */\n\n COLUMN_FILTERING: 'columnFiltering',\n COLUMN_CLEAR_FILTERING: 'columnClearFiltering',\n TOGGLE_PIN: 'togglePin',\n TOGGLE_PIN_AT_INDEX: 'togglePinAtIndex',\n COLUMN_SORT: 'columnSort',\n SET_WARNING_MESSAGES: 'setWarningMessages',\n UPDATE_SORT: 'updateSort',\n BOOTSTRAP: 'bootstrap',\n PAGINATE: 'paginate',\n ROW_HEIGHT_CHANGE: 'rowHeightChange',\n GALLERY_LAYOUT_CHANGE: 'galleryLayoutChange',\n COLUMN_RESIZE: 'columnResize',\n COLUMN_TOGGLE: 'columnToggle',\n HIDDEN_COLUMN_UPDATE: 'hiddenColumnUpdate',\n COLUMN_DRAG_DROP: 'COLUMN_DRAG_DROP',\n COLUMN_DISPLAY_CHANGE: 'COLUMN_DISPLAY_CHANGE’',\n TOGGLE_GROUPING: 'toggleGrouping',\n UPDATE_GROUPING_SORT: 'updateGroupingSort',\n TOGGLE_EXPAND_COLLAPSE: 'toggleExpandCollapse',\n ADD_GROUPS: 'addGroups',\n SET_GROUP_SNAPSHOT: 'setGroupSnapshot',\n SEARCH: 'search',\n COLUMN_MERGE: 'columnMerge',\n CUSTOM_COLUMN_DELETE: 'customColumnDelete',\n HYDRATE_STATE: 'HYDRATE_STATE',\n SANITIZE_STATE: 'sanitizeState',\n MOVE_RECORD_KEYS: 'moverecordkeys',\n UPDATE_COLUMN_ORDER: 'updateColumnOrder',\n NEW_COLUMN_ORDER: 'newColumnOrder',\n UPDATE_ROW_SELECTION: 'updateRowSelection',\n UPDATE_ROW_SELECTION_STATUS: 'UPDATE_ROW_SELECTION_STATUS',\n UPDATE_ROW_SELECTION_ITEMS: 'UPDATE_ROW_SELECTION_ITEMS',\n CLEAR_ROW_SELECTION: 'CLEAR_ROW_SELECTION',\n UPDATE_AGGREGATION: 'updateAggregation',\n UPDATE_AGGREGATIONS: 'updateAggregations',\n UPDATE_TABLE_HEIGHT: 'updateTableHeight',\n CHANGE_RENDERER_FORMATTER: 'changeRenderFormatter',\n REMOVE_RENDERER_FORMATTER: 'removeRenderFormatter',\n CHANGE_LABEL: 'changeLabel',\n REPLACE_LABELS: 'replaceLabels',\n SHOW_HEADER_ICONS: 'showHeaderIcons',\n CHANGE_CELL_MODE: 'changeCellMode',\n FORCE_UPDATE: 'forceUpdate',\n FORCE_REFRESH: 'forceRefresh',\n TOGGLE_EXPAND_COLLAPSE_ALL: 'toggleExpandCollapseAll',\n UPDATE_STATE_VERSION: 'updateStateVersion',\n TOGGLE_SELECTALL_CHECKBOX: 'toggleSelectAllCheckbox',\n\n // Dispatch Action constants that is used by consumer in order to send particular actions to Repeating structures\n TOGGLE_DISABLE_SELECTION: 'toggleDisableSelection',\n UPDATE_DEBUG_INFO: 'updateDebugInfo',\n TOGGLE_REQUIRED: 'toggleRequired',\n NOTIFY_DATA_REFRESH: 'notifyDataRefresh',\n USER_CONFIRMATION_ACTION: 'userConfirmationAction',\n COMPLETE_USER_CONFIRMATION_ACTION: 'completeUserConfirmationAction',\n SET_IN_EXTERNAL_STATE: 'setInExternalState',\n UPDATE_SELECTED_ROWS: 'updateSelectedRows',\n SET_DATA_ERROR: 'setDataError',\n SET_DOM_CONTAINER_BREAKPOINTS: 'setDomContainerResponsiveBreakpoints',\n UPDATE_COLUMNS_VISIBILITY: 'updateColumnsVisibility',\n SET_CONDITIONAL_STYLE_FORMATS: 'setConditionalStyleFormats',\n ADD_COLUMN_VISIBILITY: 'addColumnVisibility',\n VISIBLE_COLUMN_UPDATE: 'visibleColumnUpdate',\n CHANGE_TEMPLATE: 'changeTemplate'\n} as const;\n\nexport default ActionTypes;\nexport type ActionType = (typeof ActionTypes)[keyof typeof ActionTypes];\n"]}
@@ -1,4 +1,4 @@
1
- import { type ConditionalStyleFormat, type FieldDef, type GalleryLayout, type HierarchicalInfo, type ROW_DENSITY } from '../../../types/Meta.types';
1
+ import { REPEATING_STRUCTURE_TEMPLATES, type ConditionalStyleFormat, type FieldDef, type GalleryLayout, type HierarchicalInfo, type ROW_DENSITY } from '../../../types/Meta.types';
2
2
  import type { Errors, Group, Notification, State } from '../../../types/State.types';
3
3
  import type Column from '../generators/ColumnGenerator';
4
4
  import type View from '../generators/ViewGenerator';
@@ -43,6 +43,10 @@ export declare function actionUpdateSort(payload: NonNullable<State['sortingOrde
43
43
  payload: import("../../../types/State.types").Sort[];
44
44
  };
45
45
  export declare function actionPaginate(payload: PaginationPayload, actionMeta?: ActionMeta): PaginateAction;
46
+ export declare function actionChangeTemplate(payload: (typeof REPEATING_STRUCTURE_TEMPLATES)[keyof typeof REPEATING_STRUCTURE_TEMPLATES]): {
47
+ type: "changeTemplate";
48
+ payload: "Table" | "Gallery" | "Timeline" | "Map";
49
+ };
46
50
  export declare function actionRowHeightChange(payload: (typeof ROW_DENSITY)[keyof typeof ROW_DENSITY]): {
47
51
  type: "rowHeightChange";
48
52
  payload: "1" | "2" | "3" | "4";
@@ -115,6 +119,10 @@ export declare function actionAddGroups(payload: Group[]): {
115
119
  type: "addGroups";
116
120
  payload: Group[];
117
121
  };
122
+ export declare function actionSetGroupSnapshot(payload: Group[] | undefined): {
123
+ type: "setGroupSnapshot";
124
+ payload: Group[] | undefined;
125
+ };
118
126
  export declare function actionMoveRecordKeysUpdate(payload: MoveRecordKeysUpdatePayload): {
119
127
  type: "moverecordkeys";
120
128
  payload: MoveRecordKeysUpdatePayload;
@@ -249,7 +257,7 @@ export declare function actionPersonalizationSetActive({ id, isPreset }: {
249
257
  export declare function actionPersonalizationCreate(personalizationName: string, markAsDefault: boolean, template?: string, presetId?: string): {
250
258
  type: "PERSONALIZATION_CREATE";
251
259
  payload: {
252
- personalizationKey: string;
260
+ personalizationKey: `${string}-${string}-${string}-${string}-${string}`;
253
261
  personalizationName: string;
254
262
  markAsDefault: boolean;
255
263
  template: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../src/core/actions/actions.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,KAAK,sBAAsB,EAC3B,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EACjB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AAMrF,OAAO,KAAK,MAAM,MAAM,+BAA+B,CAAC;AACxD,OAAO,KAAK,IAAI,MAAM,6BAA6B,CAAC;AAEpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAGvE,OAAO,KAAK,EACV,UAAU,EACV,yBAAyB,EACzB,wBAAwB,EACxB,oBAAoB,EACpB,4BAA4B,EAC5B,mBAAmB,EACnB,iBAAiB,EACjB,yBAAyB,EACzB,qBAAqB,EACrB,mBAAmB,EACnB,2BAA2B,EAC3B,cAAc,EACd,iBAAiB,EACjB,4BAA4B,EAC5B,8BAA8B,EAC9B,yBAAyB,EACzB,qBAAqB,EACrB,4BAA4B,EAC5B,wBAAwB,EACxB,4BAA4B,EAC5B,+BAA+B,EAChC,MAAM,iBAAiB,CAAC;A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AO,EAAE,yBAAyB;;;EAKrE;AAED,wBAAgB,qBAAqB,CAAC,eAAe,EAAE,OAAO;;;EAK7D;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,aAAa,UAAO,EACpB,mBAAmB,GAAE,KAAK,CAAC,qBAAqB,CAAM;;;;;;;;;;EASvD;AAED,wBAAgB,kBAAkB,CAChC,UAAU,GAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAO,EAC3C,eAAe,GAAE,MAAM,EAAO;;;;;;EA4B/B;AAED,wBAAgB,6BAA6B,CAAC,OAAO,EAAE;IAAE,qBAAqB,EAAE,OAAO,CAAA;CAAE;;;+BAAT,OAAO;;EAKtF;AAED,wBAAgB,sBAAsB;;;EAKrC;AAED,wBAAgB,0BAA0B;;;EAKzC;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,CAAC,YAAY,CAAC;;;EAK1D;AAED,wBAAgB,oCAAoC,CAAC,OAAO,EAAE;IAC5D,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,OAAO,CAAC;CAChB;;;oBAFa,MAAM;eACX,OAAO;;EAMf;AAGD,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;;;;;EAK5E;AAED,wBAAgB,uBAAuB,CAAC,OAAO,EAAE;IAAE,CAAC,GAAG,EAAE,QAAQ,CAAC,IAAI,CAAC,GAAG,OAAO,CAAA;CAAE;;;;;EAKlF;AAED,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,sBAAsB,EAAE;;;EAK3E"}
@@ -1,5 +1,4 @@
1
1
  // cspell:words Sanitizable
2
- import { v4 as uuidV4 } from 'uuid';
3
2
  import { REPEATING_STRUCTURE_TEMPLATES } from '../../../types/Meta.types';
4
3
  import { SUPPORTED_AVOIDABLE_FEATURES, SUPPORTED_FLUSH_KEYS } from '../constants';
5
4
  import { autoSizeOfColumn, autoSizeOfColumns } from '../features/uIFeatures/afterRender/columnSizing/autoSize';
@@ -8,7 +7,7 @@ import ActionTypes from './actionConstants';
8
7
  export function actionNotificationAdd(notifications) {
9
8
  const msgs = Array.isArray(notifications) ? notifications : [notifications];
10
9
  msgs.forEach(msg => {
11
- msg.id = uuidV4();
10
+ msg.id = crypto.randomUUID();
12
11
  });
13
12
  return {
14
13
  type: ActionTypes.NOTIFICATION_ADD,
@@ -70,6 +69,12 @@ export function actionPaginate(payload, actionMeta = {}) {
70
69
  payload
71
70
  };
72
71
  }
72
+ export function actionChangeTemplate(payload) {
73
+ return {
74
+ type: ActionTypes.CHANGE_TEMPLATE,
75
+ payload
76
+ };
77
+ }
73
78
  export function actionRowHeightChange(payload) {
74
79
  return {
75
80
  type: ActionTypes.ROW_HEIGHT_CHANGE,
@@ -161,6 +166,12 @@ export function actionAddGroups(payload) {
161
166
  payload
162
167
  };
163
168
  }
169
+ export function actionSetGroupSnapshot(payload) {
170
+ return {
171
+ type: ActionTypes.SET_GROUP_SNAPSHOT,
172
+ payload
173
+ };
174
+ }
164
175
  export function actionMoveRecordKeysUpdate(payload) {
165
176
  return {
166
177
  type: ActionTypes.MOVE_RECORD_KEYS,
@@ -344,7 +355,7 @@ export function actionPersonalizationCreate(personalizationName, markAsDefault,
344
355
  return {
345
356
  type: ActionTypes.PERSONALIZATION_CREATE,
346
357
  payload: {
347
- personalizationKey: uuidV4(),
358
+ personalizationKey: crypto.randomUUID(),
348
359
  personalizationName,
349
360
  markAsDefault,
350
361
  template,
@@ -1 +1 @@
1
- {"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../../src/core/actions/actions.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,OAAO,EAAE,EAAE,IAAI,MAAM,EAAE,MAAM,MAAM,CAAC;AAEpC,OAAO,EACL,6BAA6B,EAM9B,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,4BAA4B,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAClF,OAAO,EACL,g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,6BAA6B,CAAC,OAA2C;IACvF,OAAO;QACL,IAAI,EAAE,WAAW,CAAC,yBAAyB;QAC3C,OAAO;KACR,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,sBAAsB;IACpC,OAAO;QACL,IAAI,EAAE,WAAW,CAAC,wBAAwB;QAC1C,aAAa,EAAE,IAAI;KACpB,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,0BAA0B;IACxC,OAAO;QACL,IAAI,EAAE,WAAW,CAAC,iCAAiC;QACnD,aAAa,EAAE,IAAI;KACpB,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,OAA6B;IACzD,OAAO;QACL,IAAI,EAAE,WAAW,CAAC,cAAc;QAChC,OAAO;KACR,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,oCAAoC,CAAC,OAGpD;IACC,OAAO;QACL,IAAI,EAAE,WAAW,CAAC,6BAA6B;QAC/C,OAAO;KACR,CAAC;AACJ,CAAC;AAED,sEAAsE;AACtE,MAAM,UAAU,gBAAgB,CAAC,OAA4C;IAC3E,OAAO;QACL,IAAI,EAAE,WAAW,CAAC,qBAAqB;QACvC,OAAO;KACR,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,uBAAuB,CAAC,OAA2C;IACjF,OAAO;QACL,IAAI,EAAE,WAAW,CAAC,yBAAyB;QAC3C,OAAO;KACR,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,OAAiC;IAC1E,OAAO;QACL,IAAI,EAAE,WAAW,CAAC,6BAA6B;QAC/C,OAAO;KACR,CAAC;AACJ,CAAC","sourcesContent":["// cspell:words Sanitizable\nimport { v4 as uuidV4 } from 'uuid';\n\nimport {\n REPEATING_STRUCTURE_TEMPLATES,\n type ConditionalStyleFormat,\n type FieldDef,\n type GalleryLayout,\n type HierarchicalInfo,\n type ROW_DENSITY\n} from '../../../types/Meta.types';\nimport type { Errors, Group, Notification, State } from '../../../types/State.types';\nimport { SUPPORTED_AVOIDABLE_FEATURES, SUPPORTED_FLUSH_KEYS } from '../constants';\nimport {\n autoSizeOfColumn,\n autoSizeOfColumns\n} from '../features/uIFeatures/afterRender/columnSizing/autoSize';\nimport type Column from '../generators/ColumnGenerator';\nimport type View from '../generators/ViewGenerator';\nimport { getVisibileFields } from '../utils/util';\nimport type { WarningDetail } from '../generators/ViewGenerator.types';\n\nimport ActionTypes from './actionConstants';\nimport type {\n ActionMeta,\n ApplyAliasesActionPayload,\n ChangeLabelActionPayload,\n ColumnDragDropAction,\n ColumnFilteringActionPayload,\n ColumnResizePayload,\n ColumnSortPayload,\n DeleteCustomColumnPayload,\n ExpandCollapsePayload,\n MergeColumnsPayload,\n MoveRecordKeysUpdatePayload,\n PaginateAction,\n PaginationPayload,\n RemoveRenderFormatterPayload,\n RowSelectionItemsUpdatePayload,\n RowSelectionUpdatePayload,\n SanitizableProperties,\n SearchGlobalActionAsFunction,\n UpdateAggregationPayload,\n UpdateRenderFormatterPayload,\n UpdateRowSelectionStatusPayload\n} from './actions.types';\n\nexport function actionNotificationAdd(notifications: Notification | Notification[]) {\n const msgs = Array.isArray(notifications) ? notifications : [notifications];\n\n msgs.forEach(msg => {\n msg.id = uuidV4();\n });\n\n return {\n type: ActionTypes.NOTIFICATION_ADD,\n payload: {\n msgs\n }\n };\n}\n\nexport function actionNotificationRemove(ids: string | string[]) {\n return {\n type: ActionTypes.NOTIFICATION_REMOVE,\n payload: {\n ids\n }\n };\n}\n\nexport function actionGroupingExpandCollapseAll(payload: boolean) {\n return {\n type: ActionTypes.TOGGLE_EXPAND_COLLAPSE_ALL,\n payload\n };\n}\n\nexport function actionColumnFiltering(payload: ColumnFilteringActionPayload) {\n return {\n type: ActionTypes.COLUMN_FILTERING,\n payload\n };\n}\n\nexport function actionClearFiltering(colId: string) {\n return {\n type: ActionTypes.COLUMN_CLEAR_FILTERING,\n payload: {\n colId\n }\n };\n}\n\nexport function actionColumnSort(payload: ColumnSortPayload) {\n return {\n type: ActionTypes.COLUMN_SORT,\n payload\n };\n}\n\nexport function setWarningMessages(payload: WarningDetail[]) {\n return {\n type: ActionTypes.SET_WARNING_MESSAGES,\n payload\n };\n}\n\nexport function actionUpdateSort(payload: NonNullable<State['sortingOrder']>) {\n return {\n type: ActionTypes.UPDATE_SORT,\n payload\n };\n}\n\nexport function actionPaginate(\n payload: PaginationPayload,\n actionMeta: ActionMeta = {}\n): PaginateAction {\n return {\n takeLatestAction: actionMeta.takeLatestAction,\n type: ActionTypes.PAGINATE,\n payload\n };\n}\n\nexport function actionRowHeightChange(payload: (typeof ROW_DENSITY)[keyof typeof ROW_DENSITY]) {\n return {\n type: ActionTypes.ROW_HEIGHT_CHANGE,\n payload\n };\n}\n\nexport function actionGalleryLayoutChange(payload: GalleryLayout) {\n return {\n type: ActionTypes.GALLERY_LAYOUT_CHANGE,\n payload\n };\n}\n\nexport function actionColumnResize(columnResizeObj: ColumnResizePayload['data']) {\n return {\n type: ActionTypes.COLUMN_RESIZE,\n payload: { data: columnResizeObj }\n };\n}\n\nexport function actionColumnAutoSize(\n column: Column,\n domContainer: NonNullable<View['domContainer']>,\n forceAutoSize = false\n) {\n const columnResizeObj = {\n [column.field.id]: autoSizeOfColumn(column, domContainer, forceAutoSize)\n };\n return {\n type: ActionTypes.COLUMN_RESIZE,\n payload: { data: columnResizeObj }\n };\n}\n\nexport function actionColumnsAutoSize(\n columns: Column[],\n domContainer: NonNullable<View['domContainer']>,\n reset = true\n) {\n return {\n type: ActionTypes.COLUMN_RESIZE,\n payload: {\n data: autoSizeOfColumns(columns, domContainer, reset) as ColumnResizePayload['data']\n }\n };\n}\n\nexport function actionColumnToggle(toggledColumns: string[]) {\n return {\n type: ActionTypes.COLUMN_TOGGLE,\n payload: toggledColumns\n };\n}\n\nexport function actionHiddenColumnUpdate(\n hiddenColumns: string[],\n ootbColumns?: { dragHandle?: boolean }\n) {\n return {\n type: ActionTypes.HIDDEN_COLUMN_UPDATE,\n payload: { hiddenColumns, ootbColumns }\n };\n}\n\nexport function actionColumnPin(pinnedColumns: string[]) {\n return {\n type: ActionTypes.TOGGLE_PIN,\n payload: pinnedColumns\n };\n}\n\nexport function actionColumnPinAtIndex(pinnedColumn: string, index: number) {\n return {\n type: ActionTypes.TOGGLE_PIN_AT_INDEX,\n payload: { pinnedColumn, index }\n };\n}\n\nexport function actionColumnDragDrop(\n sourceColId: string,\n targetColId: string\n): ColumnDragDropAction {\n return {\n type: ActionTypes.COLUMN_DRAG_DROP,\n payload: {\n sourceColId: `${sourceColId}`,\n targetColId: `${targetColId}`\n }\n };\n}\n\nexport function actionToggleGrouping(payload: FieldDef) {\n return {\n type: ActionTypes.TOGGLE_GROUPING,\n payload\n };\n}\n\nexport function actionToggleExpandCollpase(payload: ExpandCollapsePayload) {\n return {\n type: ActionTypes.TOGGLE_EXPAND_COLLAPSE,\n payload\n };\n}\n\nexport function actionUpdateGroupingSort() {\n return {\n type: ActionTypes.UPDATE_GROUPING_SORT\n };\n}\n\nexport function actionAddGroups(payload: Group[]) {\n return {\n type: ActionTypes.ADD_GROUPS,\n payload\n };\n}\n\nexport function actionMoveRecordKeysUpdate(payload: MoveRecordKeysUpdatePayload) {\n return {\n type: ActionTypes.MOVE_RECORD_KEYS,\n payload\n };\n}\n\nexport function actionRowSelectionUpdate(payload: RowSelectionUpdatePayload) {\n return {\n type: ActionTypes.UPDATE_ROW_SELECTION,\n payload\n };\n}\n\nexport function actionRowSelectionItemsUpdate(payload: RowSelectionItemsUpdatePayload) {\n return {\n type: ActionTypes.UPDATE_ROW_SELECTION_ITEMS,\n payload\n };\n}\n\nexport function actionUpdateRowSelectionStatus(payload: UpdateRowSelectionStatusPayload) {\n return {\n type: ActionTypes.UPDATE_ROW_SELECTION_STATUS,\n payload\n };\n}\n\nexport function actionClearRowSelectionStatus(payload: { keys: string[] }) {\n return {\n type: ActionTypes.CLEAR_ROW_SELECTION,\n payload\n };\n}\n\nexport function addColumnIntoVisibility(columnIds: string | string[]) {\n return {\n type: ActionTypes.ADD_COLUMN_VISIBILITY,\n payload: columnIds\n };\n}\n\nexport function actionVisibleColumnUpdate(payload: string[]) {\n return {\n type: ActionTypes.VISIBLE_COLUMN_UPDATE,\n payload\n };\n}\n\n/**\n * Returns a dispatch function that dispatches {@link query} value with all the text type fields.\n * @param query search string\n */\nexport function actionSearchGlobal(query: string): SearchGlobalActionAsFunction {\n return (dispatch, getState, meta) => {\n const state = getState();\n const { customFields } = state;\n let { hiddenColumns } = state;\n if (meta.template === REPEATING_STRUCTURE_TEMPLATES.TIMELINE && meta.timelineFields) {\n const { title, date, status } = meta.timelineFields;\n const timelineCustomColumns = [title?.label, date?.label, status?.label];\n hiddenColumns = hiddenColumns?.filter(el => !timelineCustomColumns.includes(el));\n }\n const visibleFields = getVisibileFields(meta.fieldDefs, hiddenColumns, customFields);\n const fields = visibleFields.filter(({ searchable }) => searchable).map(({ name }) => name); // Searchable fields\n dispatch({\n type: ActionTypes.SEARCH,\n payload: { query, fields }\n });\n };\n}\n\nexport function actionMergeColumns(payload: MergeColumnsPayload) {\n return {\n type: ActionTypes.COLUMN_MERGE,\n payload\n };\n}\n\nexport function actionGetPersonalizations(\n payload: NonNullable<State['personalization']> & { personalizationKey?: string }\n) {\n return {\n skipActionQueue: true,\n type: ActionTypes.PERSONALIZATION_GET,\n payload\n };\n}\n\nexport function actionDeleteCustomColumn(payload: DeleteCustomColumnPayload) {\n return {\n type: ActionTypes.CUSTOM_COLUMN_DELETE,\n payload\n };\n}\n\nexport function actionHydrateState(payload: State) {\n return {\n skipActionQueue: false,\n type: ActionTypes.HYDRATE_STATE,\n payload\n };\n}\n\n// cspell:disable-next-line\nexport function actionSanitizeState(payload: SanitizableProperties) {\n return {\n skipActionQueue: true,\n type: ActionTypes.SANITIZE_STATE,\n payload\n };\n}\n\n/**\n * Returns the {@link ActionTypes.UPDATE_COLUMN_ORDER UPDATE_COLUMN_ORDER} action.\n * @param payload A field name tuple of the column.\n */\nexport function actionUpdateColumnOrder(payload: [string]) {\n return {\n type: ActionTypes.UPDATE_COLUMN_ORDER,\n payload\n };\n}\n\nexport function actionNewColumnOrder(payload: string[]) {\n return {\n type: ActionTypes.NEW_COLUMN_ORDER,\n payload\n };\n}\n\nexport function actionUpdateTableHeight(payload: View['bodyHeight']) {\n return {\n type: ActionTypes.UPDATE_TABLE_HEIGHT,\n payload\n };\n}\n\n/**\n * Returns personalization update action.\n * @param personalizationKey - The current personalization key\n * @param markAsDefault - Indicates whether the current personalization should be marked as default.\n * @param markAsAppDefault - Indicates whether the current personalization should be marked as app default.\n */\nexport function actionPersonalizationUpdate(\n personalizationKey: string,\n markAsDefault: boolean,\n markAsAppDefault: boolean\n) {\n return {\n type: ActionTypes.PERSONALIZATION_UPDATE,\n payload: {\n personalizationKey,\n markAsDefault,\n markAsAppDefault\n }\n };\n}\n\nexport function actionPersonalizationUpdateId(\n oldPersonalizationId: string,\n newPersonalizationId: string\n) {\n return {\n type: ActionTypes.PERSONALIZATION_UPDATE_ID,\n payload: {\n oldPersonalizationId,\n newPersonalizationId\n }\n };\n}\n\nexport function actionPersonalizationUpdatePresetId(\n personalizationKey: string,\n oldPresetId: string,\n newPresetId: string\n) {\n return {\n type: ActionTypes.PERSONALIZATION_UPDATE_PRESET_ID,\n payload: {\n oldPresetId,\n newPresetId,\n personalizationKey\n }\n };\n}\n\n/**\n * Returns an action that deletes the personalization\n * @param personalizationKey id of the personalization that needs to be deleted.\n * @param deletePresetPersonalizations If set to false indicates notification to be shown after deletion of personalization.\n */\nexport function actionPersonalizationDelete(\n personalizationKey: string,\n deletePresetPersonalizations?: boolean\n) {\n return {\n type: ActionTypes.PERSONALIZATION_DELETE,\n payload: {\n personalizationKey,\n deletePresetPersonalizations\n }\n };\n}\n\nexport function actionPersonalizationSetActive({\n id,\n isPreset\n}: {\n id: string;\n isPreset: boolean;\n}) {\n return {\n type: ActionTypes.PERSONALIZATION_SET_ACTIVE,\n payload: {\n personalizationKey: id,\n isPreset\n }\n };\n}\n\n// TODO: remove template, presetId after Infinity'23 release branch is cut\nexport function actionPersonalizationCreate(\n personalizationName: string,\n markAsDefault: boolean,\n template?: string,\n presetId?: string\n) {\n return {\n type: ActionTypes.PERSONALIZATION_CREATE,\n payload: {\n personalizationKey: uuidV4(),\n personalizationName,\n markAsDefault,\n template,\n presetId\n }\n };\n}\n\nexport function actionPersonalizationEdit(\n personalizationKey: string,\n personalizationName: string,\n markAsDefault: boolean,\n markAsAppDefault: boolean\n) {\n return {\n type: ActionTypes.PERSONALIZATION_EDIT,\n payload: {\n personalizationKey,\n personalizationName,\n markAsDefault,\n markAsAppDefault\n }\n };\n}\n\nexport function actionPersonalizationSetDefault(personalizationKey: string) {\n return {\n type: ActionTypes.PERSONALIZATION_SET_DEFAULT,\n payload: {\n personalizationKey\n }\n };\n}\n\nexport function actionPersonalizationSetAppDefault(\n personalizationKey: string,\n personalizationName: string\n) {\n return {\n type: ActionTypes.PERSONALIZATION_SET_APP_DEFAULT,\n payload: {\n personalizationKey,\n personalizationName\n }\n };\n}\n\nexport function actionBootstrap() {\n return {\n type: ActionTypes.BOOTSTRAP\n };\n}\n\nexport function actionUpdateStateVersion() {\n return {\n type: ActionTypes.UPDATE_STATE_VERSION\n };\n}\n\nexport function actionUpdateAggregation(payload: UpdateAggregationPayload) {\n return {\n type: ActionTypes.UPDATE_AGGREGATION,\n payload\n };\n}\n\nexport function actionUpdateAggregations(payload: NonNullable<State['aggregationInfo']>) {\n return {\n type: ActionTypes.UPDATE_AGGREGATIONS,\n payload\n };\n}\n\nexport function actionUpdateRenderFormatter(payload: UpdateRenderFormatterPayload) {\n return {\n type: ActionTypes.CHANGE_RENDERER_FORMATTER,\n payload\n };\n}\n\nexport function actionRemoveRenderFormatter(payload: RemoveRenderFormatterPayload) {\n return {\n type: ActionTypes.REMOVE_RENDERER_FORMATTER,\n payload\n };\n}\n\nexport function actionUpdateDisplayMode(payload: HierarchicalInfo) {\n return {\n type: ActionTypes.COLUMN_DISPLAY_CHANGE,\n payload\n };\n}\n\nexport function actionChangeLabel(payload: ChangeLabelActionPayload) {\n return {\n type: ActionTypes.CHANGE_LABEL,\n payload\n };\n}\n\nexport function actionReplaceLabels(payload: ApplyAliasesActionPayload) {\n return {\n type: ActionTypes.REPLACE_LABELS,\n payload\n };\n}\n\nexport function actionShowHeaderIcons(showHeaderIcons: boolean) {\n return {\n type: ActionTypes.SHOW_HEADER_ICONS,\n payload: showHeaderIcons\n };\n}\n\n/**\n *\n * @param instantRender skip the action queue and update the state immediately\n * @param forceUpdateFeatures if instantRender is false, push feature identifying name in state.forceUpdateFeatures to render in next execution\n */\nexport function actionForceUpdate(\n instantRender = true,\n forceUpdateFeatures: State['forceUpdateFeatures'] = {}\n) {\n return {\n instantRender,\n type: ActionTypes.FORCE_UPDATE,\n payload: {\n forceUpdateFeatures\n }\n };\n}\n\nexport function actionForceRefresh(\n flushState: { [key: string]: boolean } = {},\n featuresToAvoid: string[] = []\n) {\n let stateToReset = {};\n if (Object.keys(flushState).length > 0) {\n stateToReset = SUPPORTED_FLUSH_KEYS.reduce((acc: { [k: string]: undefined }, k: string) => {\n if (flushState[k] === true) {\n acc[k] = undefined;\n }\n return acc;\n }, {});\n }\n\n const featuresToNotRun: string[] = [];\n featuresToAvoid.forEach(item => {\n if (SUPPORTED_AVOIDABLE_FEATURES.includes(item)) {\n featuresToNotRun.push(item);\n }\n });\n\n const payload = {\n stateToReset,\n featuresToAvoid: featuresToNotRun\n };\n\n return {\n type: ActionTypes.FORCE_REFRESH,\n payload\n };\n}\n\nexport function actionToggleSelectAllCheckbox(payload: { showSelectAllCheckbox: boolean }) {\n return {\n type: ActionTypes.TOGGLE_SELECTALL_CHECKBOX,\n payload\n };\n}\n\nexport function showConfirmationAction() {\n return {\n type: ActionTypes.USER_CONFIRMATION_ACTION,\n instantRender: true\n };\n}\n\nexport function completeConfirmationAction() {\n return {\n type: ActionTypes.COMPLETE_USER_CONFIRMATION_ACTION,\n instantRender: true\n };\n}\n\nexport function setDataErrors(payload: Errors['dataErrors']) {\n return {\n type: ActionTypes.SET_DATA_ERROR,\n payload\n };\n}\n\nexport function setDomContainerResponsiveBreakpoints(payload: {\n breakpoint: string;\n value: boolean;\n}) {\n return {\n type: ActionTypes.SET_DOM_CONTAINER_BREAKPOINTS,\n payload\n };\n}\n\n// External state should set instantly without executing action queue.\nexport function setExternalState(payload: NonNullable<State['externalState']>) {\n return {\n type: ActionTypes.SET_IN_EXTERNAL_STATE,\n payload\n };\n}\n\nexport function updateColumnsVisibility(payload: { [key: FieldDef['id']]: boolean }) {\n return {\n type: ActionTypes.UPDATE_COLUMNS_VISIBILITY,\n payload\n };\n}\n\nexport function setConditionalStyleFormats(payload: ConditionalStyleFormat[]) {\n return {\n type: ActionTypes.SET_CONDITIONAL_STYLE_FORMATS,\n payload\n };\n}\n"]}
1
+ {"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../../src/core/actions/actions.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAE3B,OAAO,EACL,6BAA6B,EAM9B,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,4BAA4B,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAClF,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,0DAA0D,CAAC;AAGlE,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAGlD,OAAO,WAAW,MAAM,mBAAmB,CAAC;AAyB5C,MAAM,UAAU,qBAAqB,CAAC,aAA4C;IAChF,MAAM,IAAI,GAAG,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;IAE5E,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;QACjB,GAAG,CAAC,EAAE,GAAG,MAAM,CAAC,UAAU,EAAE,CAAC;IAC/B,CAAC,CAAC,CAAC;IAEH,OAAO;QACL,IAAI,EAAE,WAAW,CAAC,gBAAgB;QAClC,OAAO,EAAE;YACP,IAAI;SACL;KACF,CAAC;AACJ,CA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AI,EAAE,WAAW,CAAC,iCAAiC;QACnD,aAAa,EAAE,IAAI;KACpB,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,OAA6B;IACzD,OAAO;QACL,IAAI,EAAE,WAAW,CAAC,cAAc;QAChC,OAAO;KACR,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,oCAAoC,CAAC,OAGpD;IACC,OAAO;QACL,IAAI,EAAE,WAAW,CAAC,6BAA6B;QAC/C,OAAO;KACR,CAAC;AACJ,CAAC;AAED,sEAAsE;AACtE,MAAM,UAAU,gBAAgB,CAAC,OAA4C;IAC3E,OAAO;QACL,IAAI,EAAE,WAAW,CAAC,qBAAqB;QACvC,OAAO;KACR,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,uBAAuB,CAAC,OAA2C;IACjF,OAAO;QACL,IAAI,EAAE,WAAW,CAAC,yBAAyB;QAC3C,OAAO;KACR,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,OAAiC;IAC1E,OAAO;QACL,IAAI,EAAE,WAAW,CAAC,6BAA6B;QAC/C,OAAO;KACR,CAAC;AACJ,CAAC","sourcesContent":["// cspell:words Sanitizable\n\nimport {\n REPEATING_STRUCTURE_TEMPLATES,\n type ConditionalStyleFormat,\n type FieldDef,\n type GalleryLayout,\n type HierarchicalInfo,\n type ROW_DENSITY\n} from '../../../types/Meta.types';\nimport type { Errors, Group, Notification, State } from '../../../types/State.types';\nimport { SUPPORTED_AVOIDABLE_FEATURES, SUPPORTED_FLUSH_KEYS } from '../constants';\nimport {\n autoSizeOfColumn,\n autoSizeOfColumns\n} from '../features/uIFeatures/afterRender/columnSizing/autoSize';\nimport type Column from '../generators/ColumnGenerator';\nimport type View from '../generators/ViewGenerator';\nimport { getVisibileFields } from '../utils/util';\nimport type { WarningDetail } from '../generators/ViewGenerator.types';\n\nimport ActionTypes from './actionConstants';\nimport type {\n ActionMeta,\n ApplyAliasesActionPayload,\n ChangeLabelActionPayload,\n ColumnDragDropAction,\n ColumnFilteringActionPayload,\n ColumnResizePayload,\n ColumnSortPayload,\n DeleteCustomColumnPayload,\n ExpandCollapsePayload,\n MergeColumnsPayload,\n MoveRecordKeysUpdatePayload,\n PaginateAction,\n PaginationPayload,\n RemoveRenderFormatterPayload,\n RowSelectionItemsUpdatePayload,\n RowSelectionUpdatePayload,\n SanitizableProperties,\n SearchGlobalActionAsFunction,\n UpdateAggregationPayload,\n UpdateRenderFormatterPayload,\n UpdateRowSelectionStatusPayload\n} from './actions.types';\n\nexport function actionNotificationAdd(notifications: Notification | Notification[]) {\n const msgs = Array.isArray(notifications) ? notifications : [notifications];\n\n msgs.forEach(msg => {\n msg.id = crypto.randomUUID();\n });\n\n return {\n type: ActionTypes.NOTIFICATION_ADD,\n payload: {\n msgs\n }\n };\n}\n\nexport function actionNotificationRemove(ids: string | string[]) {\n return {\n type: ActionTypes.NOTIFICATION_REMOVE,\n payload: {\n ids\n }\n };\n}\n\nexport function actionGroupingExpandCollapseAll(payload: boolean) {\n return {\n type: ActionTypes.TOGGLE_EXPAND_COLLAPSE_ALL,\n payload\n };\n}\n\nexport function actionColumnFiltering(payload: ColumnFilteringActionPayload) {\n return {\n type: ActionTypes.COLUMN_FILTERING,\n payload\n };\n}\n\nexport function actionClearFiltering(colId: string) {\n return {\n type: ActionTypes.COLUMN_CLEAR_FILTERING,\n payload: {\n colId\n }\n };\n}\n\nexport function actionColumnSort(payload: ColumnSortPayload) {\n return {\n type: ActionTypes.COLUMN_SORT,\n payload\n };\n}\n\nexport function setWarningMessages(payload: WarningDetail[]) {\n return {\n type: ActionTypes.SET_WARNING_MESSAGES,\n payload\n };\n}\n\nexport function actionUpdateSort(payload: NonNullable<State['sortingOrder']>) {\n return {\n type: ActionTypes.UPDATE_SORT,\n payload\n };\n}\n\nexport function actionPaginate(\n payload: PaginationPayload,\n actionMeta: ActionMeta = {}\n): PaginateAction {\n return {\n takeLatestAction: actionMeta.takeLatestAction,\n type: ActionTypes.PAGINATE,\n payload\n };\n}\n\nexport function actionChangeTemplate(\n payload: (typeof REPEATING_STRUCTURE_TEMPLATES)[keyof typeof REPEATING_STRUCTURE_TEMPLATES]\n) {\n return {\n type: ActionTypes.CHANGE_TEMPLATE,\n payload\n };\n}\n\nexport function actionRowHeightChange(payload: (typeof ROW_DENSITY)[keyof typeof ROW_DENSITY]) {\n return {\n type: ActionTypes.ROW_HEIGHT_CHANGE,\n payload\n };\n}\n\nexport function actionGalleryLayoutChange(payload: GalleryLayout) {\n return {\n type: ActionTypes.GALLERY_LAYOUT_CHANGE,\n payload\n };\n}\n\nexport function actionColumnResize(columnResizeObj: ColumnResizePayload['data']) {\n return {\n type: ActionTypes.COLUMN_RESIZE,\n payload: { data: columnResizeObj }\n };\n}\n\nexport function actionColumnAutoSize(\n column: Column,\n domContainer: NonNullable<View['domContainer']>,\n forceAutoSize = false\n) {\n const columnResizeObj = {\n [column.field.id]: autoSizeOfColumn(column, domContainer, forceAutoSize)\n };\n return {\n type: ActionTypes.COLUMN_RESIZE,\n payload: { data: columnResizeObj }\n };\n}\n\nexport function actionColumnsAutoSize(\n columns: Column[],\n domContainer: NonNullable<View['domContainer']>,\n reset = true\n) {\n return {\n type: ActionTypes.COLUMN_RESIZE,\n payload: {\n data: autoSizeOfColumns(columns, domContainer, reset) as ColumnResizePayload['data']\n }\n };\n}\n\nexport function actionColumnToggle(toggledColumns: string[]) {\n return {\n type: ActionTypes.COLUMN_TOGGLE,\n payload: toggledColumns\n };\n}\n\nexport function actionHiddenColumnUpdate(\n hiddenColumns: string[],\n ootbColumns?: { dragHandle?: boolean }\n) {\n return {\n type: ActionTypes.HIDDEN_COLUMN_UPDATE,\n payload: { hiddenColumns, ootbColumns }\n };\n}\n\nexport function actionColumnPin(pinnedColumns: string[]) {\n return {\n type: ActionTypes.TOGGLE_PIN,\n payload: pinnedColumns\n };\n}\n\nexport function actionColumnPinAtIndex(pinnedColumn: string, index: number) {\n return {\n type: ActionTypes.TOGGLE_PIN_AT_INDEX,\n payload: { pinnedColumn, index }\n };\n}\n\nexport function actionColumnDragDrop(\n sourceColId: string,\n targetColId: string\n): ColumnDragDropAction {\n return {\n type: ActionTypes.COLUMN_DRAG_DROP,\n payload: {\n sourceColId: `${sourceColId}`,\n targetColId: `${targetColId}`\n }\n };\n}\n\nexport function actionToggleGrouping(payload: FieldDef) {\n return {\n type: ActionTypes.TOGGLE_GROUPING,\n payload\n };\n}\n\nexport function actionToggleExpandCollpase(payload: ExpandCollapsePayload) {\n return {\n type: ActionTypes.TOGGLE_EXPAND_COLLAPSE,\n payload\n };\n}\n\nexport function actionUpdateGroupingSort() {\n return {\n type: ActionTypes.UPDATE_GROUPING_SORT\n };\n}\n\nexport function actionAddGroups(payload: Group[]) {\n return {\n type: ActionTypes.ADD_GROUPS,\n payload\n };\n}\n\nexport function actionSetGroupSnapshot(payload: Group[] | undefined) {\n return {\n type: ActionTypes.SET_GROUP_SNAPSHOT,\n payload\n };\n}\n\nexport function actionMoveRecordKeysUpdate(payload: MoveRecordKeysUpdatePayload) {\n return {\n type: ActionTypes.MOVE_RECORD_KEYS,\n payload\n };\n}\n\nexport function actionRowSelectionUpdate(payload: RowSelectionUpdatePayload) {\n return {\n type: ActionTypes.UPDATE_ROW_SELECTION,\n payload\n };\n}\n\nexport function actionRowSelectionItemsUpdate(payload: RowSelectionItemsUpdatePayload) {\n return {\n type: ActionTypes.UPDATE_ROW_SELECTION_ITEMS,\n payload\n };\n}\n\nexport function actionUpdateRowSelectionStatus(payload: UpdateRowSelectionStatusPayload) {\n return {\n type: ActionTypes.UPDATE_ROW_SELECTION_STATUS,\n payload\n };\n}\n\nexport function actionClearRowSelectionStatus(payload: { keys: string[] }) {\n return {\n type: ActionTypes.CLEAR_ROW_SELECTION,\n payload\n };\n}\n\nexport function addColumnIntoVisibility(columnIds: string | string[]) {\n return {\n type: ActionTypes.ADD_COLUMN_VISIBILITY,\n payload: columnIds\n };\n}\n\nexport function actionVisibleColumnUpdate(payload: string[]) {\n return {\n type: ActionTypes.VISIBLE_COLUMN_UPDATE,\n payload\n };\n}\n\n/**\n * Returns a dispatch function that dispatches {@link query} value with all the text type fields.\n * @param query search string\n */\nexport function actionSearchGlobal(query: string): SearchGlobalActionAsFunction {\n return (dispatch, getState, meta) => {\n const state = getState();\n const { customFields } = state;\n let { hiddenColumns } = state;\n if (meta.template === REPEATING_STRUCTURE_TEMPLATES.TIMELINE && meta.timelineFields) {\n const { title, date, status } = meta.timelineFields;\n const timelineCustomColumns = [title?.label, date?.label, status?.label];\n hiddenColumns = hiddenColumns?.filter(el => !timelineCustomColumns.includes(el));\n }\n const visibleFields = getVisibileFields(meta.fieldDefs, hiddenColumns, customFields);\n const fields = visibleFields.filter(({ searchable }) => searchable).map(({ name }) => name); // Searchable fields\n dispatch({\n type: ActionTypes.SEARCH,\n payload: { query, fields }\n });\n };\n}\n\nexport function actionMergeColumns(payload: MergeColumnsPayload) {\n return {\n type: ActionTypes.COLUMN_MERGE,\n payload\n };\n}\n\nexport function actionGetPersonalizations(\n payload: NonNullable<State['personalization']> & { personalizationKey?: string }\n) {\n return {\n skipActionQueue: true,\n type: ActionTypes.PERSONALIZATION_GET,\n payload\n };\n}\n\nexport function actionDeleteCustomColumn(payload: DeleteCustomColumnPayload) {\n return {\n type: ActionTypes.CUSTOM_COLUMN_DELETE,\n payload\n };\n}\n\nexport function actionHydrateState(payload: State) {\n return {\n skipActionQueue: false,\n type: ActionTypes.HYDRATE_STATE,\n payload\n };\n}\n\n// cspell:disable-next-line\nexport function actionSanitizeState(payload: SanitizableProperties) {\n return {\n skipActionQueue: true,\n type: ActionTypes.SANITIZE_STATE,\n payload\n };\n}\n\n/**\n * Returns the {@link ActionTypes.UPDATE_COLUMN_ORDER UPDATE_COLUMN_ORDER} action.\n * @param payload A field name tuple of the column.\n */\nexport function actionUpdateColumnOrder(payload: [string]) {\n return {\n type: ActionTypes.UPDATE_COLUMN_ORDER,\n payload\n };\n}\n\nexport function actionNewColumnOrder(payload: string[]) {\n return {\n type: ActionTypes.NEW_COLUMN_ORDER,\n payload\n };\n}\n\nexport function actionUpdateTableHeight(payload: View['bodyHeight']) {\n return {\n type: ActionTypes.UPDATE_TABLE_HEIGHT,\n payload\n };\n}\n\n/**\n * Returns personalization update action.\n * @param personalizationKey - The current personalization key\n * @param markAsDefault - Indicates whether the current personalization should be marked as default.\n * @param markAsAppDefault - Indicates whether the current personalization should be marked as app default.\n */\nexport function actionPersonalizationUpdate(\n personalizationKey: string,\n markAsDefault: boolean,\n markAsAppDefault: boolean\n) {\n return {\n type: ActionTypes.PERSONALIZATION_UPDATE,\n payload: {\n personalizationKey,\n markAsDefault,\n markAsAppDefault\n }\n };\n}\n\nexport function actionPersonalizationUpdateId(\n oldPersonalizationId: string,\n newPersonalizationId: string\n) {\n return {\n type: ActionTypes.PERSONALIZATION_UPDATE_ID,\n payload: {\n oldPersonalizationId,\n newPersonalizationId\n }\n };\n}\n\nexport function actionPersonalizationUpdatePresetId(\n personalizationKey: string,\n oldPresetId: string,\n newPresetId: string\n) {\n return {\n type: ActionTypes.PERSONALIZATION_UPDATE_PRESET_ID,\n payload: {\n oldPresetId,\n newPresetId,\n personalizationKey\n }\n };\n}\n\n/**\n * Returns an action that deletes the personalization\n * @param personalizationKey id of the personalization that needs to be deleted.\n * @param deletePresetPersonalizations If set to false indicates notification to be shown after deletion of personalization.\n */\nexport function actionPersonalizationDelete(\n personalizationKey: string,\n deletePresetPersonalizations?: boolean\n) {\n return {\n type: ActionTypes.PERSONALIZATION_DELETE,\n payload: {\n personalizationKey,\n deletePresetPersonalizations\n }\n };\n}\n\nexport function actionPersonalizationSetActive({\n id,\n isPreset\n}: {\n id: string;\n isPreset: boolean;\n}) {\n return {\n type: ActionTypes.PERSONALIZATION_SET_ACTIVE,\n payload: {\n personalizationKey: id,\n isPreset\n }\n };\n}\n\n// TODO: remove template, presetId after Infinity'23 release branch is cut\nexport function actionPersonalizationCreate(\n personalizationName: string,\n markAsDefault: boolean,\n template?: string,\n presetId?: string\n) {\n return {\n type: ActionTypes.PERSONALIZATION_CREATE,\n payload: {\n personalizationKey: crypto.randomUUID(),\n personalizationName,\n markAsDefault,\n template,\n presetId\n }\n };\n}\n\nexport function actionPersonalizationEdit(\n personalizationKey: string,\n personalizationName: string,\n markAsDefault: boolean,\n markAsAppDefault: boolean\n) {\n return {\n type: ActionTypes.PERSONALIZATION_EDIT,\n payload: {\n personalizationKey,\n personalizationName,\n markAsDefault,\n markAsAppDefault\n }\n };\n}\n\nexport function actionPersonalizationSetDefault(personalizationKey: string) {\n return {\n type: ActionTypes.PERSONALIZATION_SET_DEFAULT,\n payload: {\n personalizationKey\n }\n };\n}\n\nexport function actionPersonalizationSetAppDefault(\n personalizationKey: string,\n personalizationName: string\n) {\n return {\n type: ActionTypes.PERSONALIZATION_SET_APP_DEFAULT,\n payload: {\n personalizationKey,\n personalizationName\n }\n };\n}\n\nexport function actionBootstrap() {\n return {\n type: ActionTypes.BOOTSTRAP\n };\n}\n\nexport function actionUpdateStateVersion() {\n return {\n type: ActionTypes.UPDATE_STATE_VERSION\n };\n}\n\nexport function actionUpdateAggregation(payload: UpdateAggregationPayload) {\n return {\n type: ActionTypes.UPDATE_AGGREGATION,\n payload\n };\n}\n\nexport function actionUpdateAggregations(payload: NonNullable<State['aggregationInfo']>) {\n return {\n type: ActionTypes.UPDATE_AGGREGATIONS,\n payload\n };\n}\n\nexport function actionUpdateRenderFormatter(payload: UpdateRenderFormatterPayload) {\n return {\n type: ActionTypes.CHANGE_RENDERER_FORMATTER,\n payload\n };\n}\n\nexport function actionRemoveRenderFormatter(payload: RemoveRenderFormatterPayload) {\n return {\n type: ActionTypes.REMOVE_RENDERER_FORMATTER,\n payload\n };\n}\n\nexport function actionUpdateDisplayMode(payload: HierarchicalInfo) {\n return {\n type: ActionTypes.COLUMN_DISPLAY_CHANGE,\n payload\n };\n}\n\nexport function actionChangeLabel(payload: ChangeLabelActionPayload) {\n return {\n type: ActionTypes.CHANGE_LABEL,\n payload\n };\n}\n\nexport function actionReplaceLabels(payload: ApplyAliasesActionPayload) {\n return {\n type: ActionTypes.REPLACE_LABELS,\n payload\n };\n}\n\nexport function actionShowHeaderIcons(showHeaderIcons: boolean) {\n return {\n type: ActionTypes.SHOW_HEADER_ICONS,\n payload: showHeaderIcons\n };\n}\n\n/**\n *\n * @param instantRender skip the action queue and update the state immediately\n * @param forceUpdateFeatures if instantRender is false, push feature identifying name in state.forceUpdateFeatures to render in next execution\n */\nexport function actionForceUpdate(\n instantRender = true,\n forceUpdateFeatures: State['forceUpdateFeatures'] = {}\n) {\n return {\n instantRender,\n type: ActionTypes.FORCE_UPDATE,\n payload: {\n forceUpdateFeatures\n }\n };\n}\n\nexport function actionForceRefresh(\n flushState: { [key: string]: boolean } = {},\n featuresToAvoid: string[] = []\n) {\n let stateToReset = {};\n if (Object.keys(flushState).length > 0) {\n stateToReset = SUPPORTED_FLUSH_KEYS.reduce((acc: { [k: string]: undefined }, k: string) => {\n if (flushState[k] === true) {\n acc[k] = undefined;\n }\n return acc;\n }, {});\n }\n\n const featuresToNotRun: string[] = [];\n featuresToAvoid.forEach(item => {\n if (SUPPORTED_AVOIDABLE_FEATURES.includes(item)) {\n featuresToNotRun.push(item);\n }\n });\n\n const payload = {\n stateToReset,\n featuresToAvoid: featuresToNotRun\n };\n\n return {\n type: ActionTypes.FORCE_REFRESH,\n payload\n };\n}\n\nexport function actionToggleSelectAllCheckbox(payload: { showSelectAllCheckbox: boolean }) {\n return {\n type: ActionTypes.TOGGLE_SELECTALL_CHECKBOX,\n payload\n };\n}\n\nexport function showConfirmationAction() {\n return {\n type: ActionTypes.USER_CONFIRMATION_ACTION,\n instantRender: true\n };\n}\n\nexport function completeConfirmationAction() {\n return {\n type: ActionTypes.COMPLETE_USER_CONFIRMATION_ACTION,\n instantRender: true\n };\n}\n\nexport function setDataErrors(payload: Errors['dataErrors']) {\n return {\n type: ActionTypes.SET_DATA_ERROR,\n payload\n };\n}\n\nexport function setDomContainerResponsiveBreakpoints(payload: {\n breakpoint: string;\n value: boolean;\n}) {\n return {\n type: ActionTypes.SET_DOM_CONTAINER_BREAKPOINTS,\n payload\n };\n}\n\n// External state should set instantly without executing action queue.\nexport function setExternalState(payload: NonNullable<State['externalState']>) {\n return {\n type: ActionTypes.SET_IN_EXTERNAL_STATE,\n payload\n };\n}\n\nexport function updateColumnsVisibility(payload: { [key: FieldDef['id']]: boolean }) {\n return {\n type: ActionTypes.UPDATE_COLUMNS_VISIBILITY,\n payload\n };\n}\n\nexport function setConditionalStyleFormats(payload: ConditionalStyleFormat[]) {\n return {\n type: ActionTypes.SET_CONDITIONAL_STYLE_FORMATS,\n payload\n };\n}\n"]}
@@ -177,6 +177,10 @@ declare const objectActions: {
177
177
  payload: Sort[];
178
178
  };
179
179
  actionPaginate(payload: PaginationPayload, actionMeta?: ActionMeta): PaginateAction;
180
+ actionChangeTemplate(payload: typeof import("../../../types/Meta.types").REPEATING_STRUCTURE_TEMPLATES[keyof typeof import("../../../types/Meta.types").REPEATING_STRUCTURE_TEMPLATES]): {
181
+ type: "changeTemplate";
182
+ payload: "Table" | "Gallery" | "Timeline" | "Map";
183
+ };
180
184
  actionRowHeightChange(payload: typeof import("../../../types/Meta.types").ROW_DENSITY[keyof typeof import("../../../types/Meta.types").ROW_DENSITY]): {
181
185
  type: "rowHeightChange";
182
186
  payload: "1" | "2" | "3" | "4";
@@ -249,6 +253,10 @@ declare const objectActions: {
249
253
  type: "addGroups";
250
254
  payload: Group[];
251
255
  };
256
+ actionSetGroupSnapshot(payload: Group[] | undefined): {
257
+ type: "setGroupSnapshot";
258
+ payload: Group[] | undefined;
259
+ };
252
260
  actionMoveRecordKeysUpdate(payload: MoveRecordKeysUpdatePayload): {
253
261
  type: "moverecordkeys";
254
262
  payload: MoveRecordKeysUpdatePayload;
@@ -363,7 +371,7 @@ declare const objectActions: {
363
371
  actionPersonalizationCreate(personalizationName: string, markAsDefault: boolean, template?: string, presetId?: string): {
364
372
  type: "PERSONALIZATION_CREATE";
365
373
  payload: {
366
- personalizationKey: string;
374
+ personalizationKey: `${string}-${string}-${string}-${string}-${string}`;
367
375
  personalizationName: string;
368
376
  markAsDefault: boolean;
369
377
  template: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"actions.types.d.ts","sourceRoot":"","sources":["../../../../src/core/actions/actions.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AACtF,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,KAAK,MAAM,MAAM,+BAA+B,CAAC;AACxD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,KAAK,IAAI,MAAM,6BAA6B,CAAC;AAEpD,OAAO,WAAW,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AAErC,0JAA0J;AAC1J,KAAK,kBAAkB,CAAC,CAAC,SAAS;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAA;CAAE,IAAI;KAC7E,CAAC,IAAI,MAAM,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CACjC,CAAC,MAAM,CAAC,CAAC,CAAC;AAEX,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,oEAAoE;IACpE,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,0GAA0G;IAC1G,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,WAAW,CAAC,KAAK,CAAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CANhsD,CAAC;AACzD,MAAM,MAAM,MAAM,GAAG,kBAAkB,CAAC,OAAO,aAAa,CAAC,GAAG,kBAAkB,CAAC;AAInF,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,gBAAgB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { type Meta } from '../../../types/Meta.types';
2
- export type DefaultConfigType = Required<Pick<Meta, 'template' | 'basicMode' | 'sortOrder' | 'defaultRowHeight' | 'allowBulkActions' | 'displayDensity' | 'height' | 'toggleFieldVisibility' | 'dynamicFieldTemplates' | 'grouping' | 'reorderFields' | 'globalSearch' | 'headerBar' | 'editing' | 'relativeDates' | 'showCount' | 'toolbar' | 'footer' | 'enableAppDefault' | 'personalization' | 'showHeaderIcons' | 'dragHandle' | 'reorderItems' | 'rowDensity' | 'resetColumnWidths' | 'enableFreezeColumns' | 'autoSizeColumns' | 'showQueryInfo' | 'title' | 'icon' | 'nonPersonalizationViewName' | 'aggregateOptions' | 'locale' | 'timezone' | 'rowActions' | 'displayFeatures' | 'showErrorField' | 'allowRefresh'>> & {
2
+ export type DefaultConfigType = Required<Pick<Meta, 'template' | 'basicMode' | 'sortOrder' | 'defaultRowHeight' | 'allowBulkActions' | 'displayDensity' | 'height' | 'toggleFieldVisibility' | 'dynamicFieldTemplates' | 'grouping' | 'reorderFields' | 'globalSearch' | 'headerBar' | 'editing' | 'relativeDates' | 'showCount' | 'toolbar' | 'footer' | 'enableAppDefault' | 'personalization' | 'showHeaderIcons' | 'dragHandle' | 'reorderItems' | 'rowDensity' | 'resetColumnWidths' | 'enableFreezeColumns' | 'autoSizeColumns' | 'showQueryInfo' | 'title' | 'icon' | 'nonPersonalizationViewName' | 'aggregateOptions' | 'locale' | 'timezone' | 'rowActions' | 'displayFeatures' | 'showErrorField' | 'allowRefresh' | 'allowSwitchTemplate'>> & {
3
3
  defaultFieldDef: NonNullable<Meta['defaultFieldDef']>;
4
4
  pageSize: Meta['pageSize'];
5
5
  dateFunctions: Meta['dateFunctions'];
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/core/config/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiC,KAAK,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAErF,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CACtC,IAAI,CACF,IAAI,EACF,UAAU,GACV,WAAW,GACX,WAAW,GACX,kBAAkB,GAClB,kBAAkB,GAClB,gBAAgB,GAChB,QAAQ,GACR,uBAAuB,GACvB,uBAAuB,GACvB,UAAU,GACV,eAAe,GACf,cAAc,GACd,WAAW,GACX,SAAS,GACT,eAAe,GACf,WAAW,GACX,SAAS,GACT,QAAQ,GACR,kBAAkB,GAClB,iBAAiB,GACjB,iBAAiB,GACjB,YAAY,GACZ,cAAc,GACd,YAAY,GACZ,mBAAmB,GACnB,qBAAqB,GACrB,iBAAiB,GACjB,eAAe,GACf,OAAO,GACP,MAAM,GACN,4BAA4B,GAC5B,kBAAkB,GAClB,QAAQ,GACR,UAAU,GACV,YAAY,GACZ,iBAAiB,GACjB,gBAAgB,GAChB,cAAc,CACjB,CACF,GAAG;IACF,eAAe,EAAE,WAAW,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACtD,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;IAC3B,aAAa,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;CACtC,CAAC;AAEF,QAAA,MAAM,aAAa,EAAE,iBA8FpB,CAAC;AACF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/core/config/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiC,KAAK,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAErF,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CACtC,IAAI,CACF,IAAI,EACF,UAAU,GACV,WAAW,GACX,WAAW,GACX,kBAAkB,GAClB,kBAAkB,GAClB,gBAAgB,GAChB,QAAQ,GACR,uBAAuB,GACvB,uBAAuB,GACvB,UAAU,GACV,eAAe,GACf,cAAc,GACd,WAAW,GACX,SAAS,GACT,eAAe,GACf,WAAW,GACX,SAAS,GACT,QAAQ,GACR,kBAAkB,GAClB,iBAAiB,GACjB,iBAAiB,GACjB,YAAY,GACZ,cAAc,GACd,YAAY,GACZ,mBAAmB,GACnB,qBAAqB,GACrB,iBAAiB,GACjB,eAAe,GACf,OAAO,GACP,MAAM,GACN,4BAA4B,GAC5B,kBAAkB,GAClB,QAAQ,GACR,UAAU,GACV,YAAY,GACZ,iBAAiB,GACjB,gBAAgB,GAChB,cAAc,GACd,qBAAqB,CACxB,CACF,GAAG;IACF,eAAe,EAAE,WAAW,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACtD,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;IAC3B,aAAa,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;CACtC,CAAC;AAEF,QAAA,MAAM,aAAa,EAAE,iBA+FpB,CAAC;AACF,eAAe,aAAa,CAAC"}
@@ -92,7 +92,8 @@ const DefaultConfig = {
92
92
  grouping: true,
93
93
  sort: true
94
94
  },
95
- showErrorField: false
95
+ showErrorField: false,
96
+ allowSwitchTemplate: true
96
97
  };
97
98
  export default DefaultConfig;
98
99
  //# sourceMappingURL=config.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../src/core/config/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAa,MAAM,2BAA2B,CAAC;AAkDrF,MAAM,aAAa,GAAsB;IACvC,QAAQ,EAAE,6BAA6B,CAAC,KAAK;IAC7C,SAAS,EAAE,KAAK;IAChB,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAA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AAa,EAAE,IAAI;IACnB,eAAe,EAAE,IAAI;IACrB,YAAY,EAAE,KAAK;IACnB,aAAa,EAAE,KAAK;IACpB,mBAAmB,EAAE,IAAI;IACzB,iBAAiB,EAAE,IAAI;IACvB,UAAU,EAAE,IAAI;IAChB,YAAY,EAAE,KAAK;IACnB,UAAU,EAAE,KAAK;IACjB,eAAe,EAAE,KAAK;IACtB,YAAY,EAAE,IAAI;IAClB,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,KAAK;IACvB,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,IAAI;IACb,SAAS,EAAE,IAAI;IACf,aAAa,EAAE,SAAS;IACxB,aAAa,EAAE,KAAK;IACpB,OAAO,EAAE,KAAK;IACd,SAAS,EAAE,KAAK;IAChB,KAAK,EAAE,iBAAiB;IACxB,IAAI,EAAE,SAAS;IACf,0BAA0B,EAAE,cAAc;IAC1C,gBAAgB,EAAE;QAChB,MAAM,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC;KACrC;IACD,MAAM,EAAE,OAAO;IACf,QAAQ,EAAE,kBAAkB;IAC5B,UAAU,EAAE,EAAE;IACd,eAAe,EAAE;QACf,MAAM,EAAE,IAAI;QACZ,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,IAAI;KACX;IACD,cAAc,EAAE,KAAK;CACtB,CAAC;AACF,eAAe,aAAa,CAAC","sourcesContent":["import { REPEATING_STRUCTURE_TEMPLATES, type Meta } from '../../../types/Meta.types';\n\nexport type DefaultConfigType = Required<\n Pick<\n Meta,\n | 'template'\n | 'basicMode'\n | 'sortOrder'\n | 'defaultRowHeight'\n | 'allowBulkActions'\n | 'displayDensity'\n | 'height'\n | 'toggleFieldVisibility'\n | 'dynamicFieldTemplates'\n | 'grouping'\n | 'reorderFields'\n | 'globalSearch'\n | 'headerBar'\n | 'editing'\n | 'relativeDates'\n | 'showCount'\n | 'toolbar'\n | 'footer'\n | 'enableAppDefault'\n | 'personalization'\n | 'showHeaderIcons'\n | 'dragHandle'\n | 'reorderItems'\n | 'rowDensity'\n | 'resetColumnWidths'\n | 'enableFreezeColumns'\n | 'autoSizeColumns'\n | 'showQueryInfo'\n | 'title'\n | 'icon'\n | 'nonPersonalizationViewName'\n | 'aggregateOptions'\n | 'locale'\n | 'timezone'\n | 'rowActions'\n | 'displayFeatures'\n | 'showErrorField'\n | 'allowRefresh'\n >\n> & {\n defaultFieldDef: NonNullable<Meta['defaultFieldDef']>;\n pageSize: Meta['pageSize'];\n dateFunctions: Meta['dateFunctions'];\n};\n\nconst DefaultConfig: DefaultConfigType = {\n template: REPEATING_STRUCTURE_TEMPLATES.TABLE,\n basicMode: false,\n sortOrder: ['asc', 'desc', null],\n defaultRowHeight: '1',\n allowBulkActions: false,\n pageSize: undefined,\n defaultFieldDef: {\n minWidth: 90,\n filter: true,\n filterPickList: false,\n reorderFields: true,\n sort: true,\n resize: true,\n autosize: true,\n freeze: true,\n aggregation: true,\n /* sortRenderer: 'CustomSort', */\n toggle: true,\n show: true,\n showMenu: true,\n noContextMenu: false,\n grouping: true,\n hideGroupColumnNameLabel: false,\n customizeColumn: true,\n combineColumn: true,\n disableFormatting: false,\n searchable: false\n },\n displayDensity: [\n { name: 'Short', id: '1' },\n { name: 'Medium', id: '2' },\n { name: 'Tall', id: '3' },\n { name: 'Full content', id: '4' }\n ],\n height: {\n minHeight: undefined\n },\n toggleFieldVisibility: true,\n dynamicFieldTemplates: [\n {\n name: 'Comma separated',\n value: 'comma',\n selected: true\n },\n {\n name: 'Space separated',\n value: 'space'\n },\n {\n name: 'Multi line',\n value: 'multiline'\n },\n {\n name: 'Forward slash',\n value: 'forwardslash'\n }\n ],\n grouping: true,\n reorderFields: true,\n autoSizeColumns: true,\n allowRefresh: false,\n showQueryInfo: false,\n enableFreezeColumns: true,\n resetColumnWidths: true,\n rowDensity: true,\n reorderItems: false,\n dragHandle: false,\n showHeaderIcons: false,\n globalSearch: true,\n personalization: true,\n enableAppDefault: false,\n footer: true,\n toolbar: true,\n showCount: true,\n dateFunctions: undefined,\n relativeDates: false,\n editing: false,\n headerBar: false,\n title: '<label not set>',\n icon: 'picture',\n nonPersonalizationViewName: 'Initial view',\n aggregateOptions: {\n number: ['Sum', 'Min', 'Max', 'Avg']\n },\n locale: 'en-US',\n timezone: 'America/New_York',\n rowActions: [],\n displayFeatures: {\n filter: true,\n grouping: true,\n sort: true\n },\n showErrorField: false\n};\nexport default DefaultConfig;\n"]}
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../src/core/config/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAa,MAAM,2BAA2B,CAAC;AAmDrF,MAAM,aAAa,GAAsB;IACvC,QAAQ,EAAE,6BAA6B,CAAC,KAAK;IAC7C,SAAS,EAAE,KAAK;IAChB,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC;IAChC,gBAAgB,EAAE,GAAG;IACrB,gBAAgB,EAAE,KAAK;IACvB,QAAQ,EAAE,SAAS;IACnB,eAAe,EAAE;QACf,QAAQ,EAAE,EAAE;QACZ,MAAM,EAAE,IAAI;QACZ,cAAc,EAAE,KAAK;QACrB,aAAa,EAAE,IAAI;QACnB,IAAI,EAAE,IAAI;QACV,MAAM,EAAE,IAAI;QACZ,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE,IAAI;QACZ,WAAW,EAAE,IAAI;QACjB,iCAAiC;QACjC,MAAM,EAAE,IAAI;QACZ,IAAI,EAAE,IAAI;QACV,QAAQ,EAAE,IAAI;QACd,aAAa,EAAE,KAAK;QACpB,QAAQ,EAAE,IAAI;QACd,wBAAwB,EAAE,KAAK;QAC/B,eAAe,EAAE,IAAI;QACrB,aAAa,EAAE,IAAI;QACnB,iBAAiB,EAAE,KAAK;QACxB,UAAU,EAAE,KAAK;KAClB;IACD,cAAc,EAAE;QACd,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,GAAG,EAAE;QAC1B,E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EAAE,OAAO;IACf,QAAQ,EAAE,kBAAkB;IAC5B,UAAU,EAAE,EAAE;IACd,eAAe,EAAE;QACf,MAAM,EAAE,IAAI;QACZ,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,IAAI;KACX;IACD,cAAc,EAAE,KAAK;IACrB,mBAAmB,EAAE,IAAI;CAC1B,CAAC;AACF,eAAe,aAAa,CAAC","sourcesContent":["import { REPEATING_STRUCTURE_TEMPLATES, type Meta } from '../../../types/Meta.types';\n\nexport type DefaultConfigType = Required<\n Pick<\n Meta,\n | 'template'\n | 'basicMode'\n | 'sortOrder'\n | 'defaultRowHeight'\n | 'allowBulkActions'\n | 'displayDensity'\n | 'height'\n | 'toggleFieldVisibility'\n | 'dynamicFieldTemplates'\n | 'grouping'\n | 'reorderFields'\n | 'globalSearch'\n | 'headerBar'\n | 'editing'\n | 'relativeDates'\n | 'showCount'\n | 'toolbar'\n | 'footer'\n | 'enableAppDefault'\n | 'personalization'\n | 'showHeaderIcons'\n | 'dragHandle'\n | 'reorderItems'\n | 'rowDensity'\n | 'resetColumnWidths'\n | 'enableFreezeColumns'\n | 'autoSizeColumns'\n | 'showQueryInfo'\n | 'title'\n | 'icon'\n | 'nonPersonalizationViewName'\n | 'aggregateOptions'\n | 'locale'\n | 'timezone'\n | 'rowActions'\n | 'displayFeatures'\n | 'showErrorField'\n | 'allowRefresh'\n | 'allowSwitchTemplate'\n >\n> & {\n defaultFieldDef: NonNullable<Meta['defaultFieldDef']>;\n pageSize: Meta['pageSize'];\n dateFunctions: Meta['dateFunctions'];\n};\n\nconst DefaultConfig: DefaultConfigType = {\n template: REPEATING_STRUCTURE_TEMPLATES.TABLE,\n basicMode: false,\n sortOrder: ['asc', 'desc', null],\n defaultRowHeight: '1',\n allowBulkActions: false,\n pageSize: undefined,\n defaultFieldDef: {\n minWidth: 90,\n filter: true,\n filterPickList: false,\n reorderFields: true,\n sort: true,\n resize: true,\n autosize: true,\n freeze: true,\n aggregation: true,\n /* sortRenderer: 'CustomSort', */\n toggle: true,\n show: true,\n showMenu: true,\n noContextMenu: false,\n grouping: true,\n hideGroupColumnNameLabel: false,\n customizeColumn: true,\n combineColumn: true,\n disableFormatting: false,\n searchable: false\n },\n displayDensity: [\n { name: 'Short', id: '1' },\n { name: 'Medium', id: '2' },\n { name: 'Tall', id: '3' },\n { name: 'Full content', id: '4' }\n ],\n height: {\n minHeight: undefined\n },\n toggleFieldVisibility: true,\n dynamicFieldTemplates: [\n {\n name: 'Comma separated',\n value: 'comma',\n selected: true\n },\n {\n name: 'Space separated',\n value: 'space'\n },\n {\n name: 'Multi line',\n value: 'multiline'\n },\n {\n name: 'Forward slash',\n value: 'forwardslash'\n }\n ],\n grouping: true,\n reorderFields: true,\n autoSizeColumns: true,\n allowRefresh: false,\n showQueryInfo: false,\n enableFreezeColumns: true,\n resetColumnWidths: true,\n rowDensity: true,\n reorderItems: false,\n dragHandle: false,\n showHeaderIcons: false,\n globalSearch: true,\n personalization: true,\n enableAppDefault: false,\n footer: true,\n toolbar: true,\n showCount: true,\n dateFunctions: undefined,\n relativeDates: false,\n editing: false,\n headerBar: false,\n title: '<label not set>',\n icon: 'picture',\n nonPersonalizationViewName: 'Initial view',\n aggregateOptions: {\n number: ['Sum', 'Min', 'Max', 'Avg']\n },\n locale: 'en-US',\n timezone: 'America/New_York',\n rowActions: [],\n displayFeatures: {\n filter: true,\n grouping: true,\n sort: true\n },\n showErrorField: false,\n allowSwitchTemplate: true\n};\nexport default DefaultConfig;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"featureFactory.d.ts","sourceRoot":"","sources":["../../../../src/core/features/featureFactory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sDAAsD,CAAC;AAElF,OAAO,KAAK,IAAI,MAAM,6BAA6B,CAAC;AAKpD,OAAO,KAAK,UAAU,MAAM,eAAe,CAAC;AAC5C,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,aA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