@crystaldesign/diva-backoffice 25.10.0-beta.9 → 25.11.0-beta.2

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 (112) hide show
  1. package/build/esm/index.js +2204 -1119
  2. package/build/types/backoffice/src/Configuration.d.ts +3 -2
  3. package/build/types/backoffice/src/Configuration.d.ts.map +1 -1
  4. package/build/types/backoffice/src/layout/Content/index.d.ts.map +1 -1
  5. package/build/types/backoffice/src/layout/Navigation/types.d.ts +1 -0
  6. package/build/types/backoffice/src/layout/Navigation/types.d.ts.map +1 -1
  7. package/build/types/backoffice/src/store/ContentStore.d.ts.map +1 -1
  8. package/build/types/backoffice/src/store/ContextStore.d.ts.map +1 -1
  9. package/build/types/backoffice/src/ui/AssetMananger/MediaItem.d.ts.map +1 -1
  10. package/build/types/backoffice/src/ui/Form/Fields/Media/index.d.ts +2 -1
  11. package/build/types/backoffice/src/ui/Form/Fields/Media/index.d.ts.map +1 -1
  12. package/build/types/backoffice/src/ui/Form/types.d.ts +1 -1
  13. package/build/types/backoffice/src/ui/Form/types.d.ts.map +1 -1
  14. package/build/types/backoffice/src/ui/Form/useFormData.d.ts.map +1 -1
  15. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Features.d.ts +4 -3
  16. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Features.d.ts.map +1 -1
  17. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Items.d.ts +6 -4
  18. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Items.d.ts.map +1 -1
  19. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Options.d.ts +4 -3
  20. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Options.d.ts.map +1 -1
  21. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PartlistPos.d.ts +3 -3
  22. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PartlistPos.d.ts.map +1 -1
  23. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useCatalogContext.d.ts +2 -0
  24. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useCatalogContext.d.ts.map +1 -1
  25. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useModule.d.ts +2 -0
  26. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useModule.d.ts.map +1 -1
  27. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableCatalogs/index.d.ts.map +1 -1
  28. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableFeatureClasses/index.d.ts.map +1 -1
  29. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableFeatures/index.d.ts.map +1 -1
  30. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableItems/index.d.ts.map +1 -1
  31. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableOptionGroups/index.d.ts.map +1 -1
  32. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableOptions/index.d.ts.map +1 -1
  33. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePartlists/index.d.ts.map +1 -1
  34. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePriceFeatureGroups/index.d.ts.map +1 -1
  35. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePrices/index.d.ts.map +1 -1
  36. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableSeries/index.d.ts.map +1 -1
  37. package/build/types/backoffice/src/ui/IDMCollectionEditor/modules/TableCollections/index.d.ts.map +1 -1
  38. package/build/types/backoffice/src/ui/IDMCommonComponents/ActionMenu/components/ExportModal.d.ts +12 -0
  39. package/build/types/backoffice/src/ui/IDMCommonComponents/ActionMenu/components/ExportModal.d.ts.map +1 -0
  40. package/build/types/backoffice/src/ui/IDMCommonComponents/ActionMenu/components/Modals.d.ts +13 -0
  41. package/build/types/backoffice/src/ui/IDMCommonComponents/ActionMenu/components/Modals.d.ts.map +1 -0
  42. package/build/types/backoffice/src/ui/IDMCommonComponents/ActionMenu/index.d.ts +14 -0
  43. package/build/types/backoffice/src/ui/IDMCommonComponents/ActionMenu/index.d.ts.map +1 -0
  44. package/build/types/backoffice/src/ui/IDMCommonComponents/ActionMenu/menuUtils.d.ts +12 -0
  45. package/build/types/backoffice/src/ui/IDMCommonComponents/ActionMenu/menuUtils.d.ts.map +1 -0
  46. package/build/types/backoffice/src/ui/IDMCommonComponents/ActionMenu/types.d.ts +92 -0
  47. package/build/types/backoffice/src/ui/IDMCommonComponents/ActionMenu/types.d.ts.map +1 -0
  48. package/build/types/backoffice/src/ui/IDMCommonComponents/ActionMenu/useModalOpenState.d.ts +11 -0
  49. package/build/types/backoffice/src/ui/IDMCommonComponents/ActionMenu/useModalOpenState.d.ts.map +1 -0
  50. package/build/types/backoffice/src/ui/IDMCommonComponents/Form/elements/Checkbox/index.d.ts +12 -0
  51. package/build/types/backoffice/src/ui/IDMCommonComponents/Form/elements/Checkbox/index.d.ts.map +1 -0
  52. package/build/types/backoffice/src/ui/IDMCommonComponents/Form/elements/Dragger/DraggerComponent.d.ts +37 -0
  53. package/build/types/backoffice/src/ui/IDMCommonComponents/Form/elements/Dragger/DraggerComponent.d.ts.map +1 -0
  54. package/build/types/backoffice/src/ui/IDMCommonComponents/Form/elements/Dragger/index.d.ts +16 -0
  55. package/build/types/backoffice/src/ui/IDMCommonComponents/Form/elements/Dragger/index.d.ts.map +1 -0
  56. package/build/types/backoffice/src/ui/IDMCommonComponents/Form/elements/Dragger/utils.d.ts +28 -0
  57. package/build/types/backoffice/src/ui/IDMCommonComponents/Form/elements/Dragger/utils.d.ts.map +1 -0
  58. package/build/types/backoffice/src/ui/IDMCommonComponents/Form/elements/Input/index.d.ts +13 -0
  59. package/build/types/backoffice/src/ui/IDMCommonComponents/Form/elements/Input/index.d.ts.map +1 -0
  60. package/build/types/backoffice/src/ui/IDMCommonComponents/Form/index.d.ts +22 -0
  61. package/build/types/backoffice/src/ui/IDMCommonComponents/Form/index.d.ts.map +1 -0
  62. package/build/types/backoffice/src/ui/IDMCommonComponents/Form/types.d.ts +57 -0
  63. package/build/types/backoffice/src/ui/IDMCommonComponents/Form/types.d.ts.map +1 -0
  64. package/build/types/backoffice/src/ui/IDMCommonComponents/Form/useForm.d.ts +23 -0
  65. package/build/types/backoffice/src/ui/IDMCommonComponents/Form/useForm.d.ts.map +1 -0
  66. package/build/types/backoffice/src/ui/IDMCommonComponents/Form/utils.d.ts +10 -0
  67. package/build/types/backoffice/src/ui/IDMCommonComponents/Form/utils.d.ts.map +1 -0
  68. package/build/types/backoffice/src/ui/IDMCommonComponents/InformationButton.d.ts +7 -0
  69. package/build/types/backoffice/src/ui/IDMCommonComponents/InformationButton.d.ts.map +1 -1
  70. package/build/types/backoffice/src/ui/IDMCommonComponents/Setting/index.d.ts +18 -0
  71. package/build/types/backoffice/src/ui/IDMCommonComponents/Setting/index.d.ts.map +1 -0
  72. package/build/types/backoffice/src/ui/IDMCommonComponents/SpreadsheetWrapper/index.d.ts.map +1 -1
  73. package/build/types/backoffice/src/ui/IDMCommonComponents/UploadModal/index.d.ts +21 -0
  74. package/build/types/backoffice/src/ui/IDMCommonComponents/UploadModal/index.d.ts.map +1 -0
  75. package/build/types/backoffice/src/ui/IDMCommonComponents/UploadModal/types.d.ts +42 -0
  76. package/build/types/backoffice/src/ui/IDMCommonComponents/UploadModal/types.d.ts.map +1 -0
  77. package/build/types/backoffice/src/ui/IDMCommonComponents/UploadModal/useUploadState.d.ts +36 -0
  78. package/build/types/backoffice/src/ui/IDMCommonComponents/UploadModal/useUploadState.d.ts.map +1 -0
  79. package/build/types/backoffice/src/ui/IDMCommonComponents/UploadModalbutton/index.d.ts +22 -0
  80. package/build/types/backoffice/src/ui/IDMCommonComponents/UploadModalbutton/index.d.ts.map +1 -0
  81. package/build/types/backoffice/src/ui/IDMCommonComponents/commonEnums.d.ts +42 -0
  82. package/build/types/backoffice/src/ui/IDMCommonComponents/commonEnums.d.ts.map +1 -1
  83. package/build/types/backoffice/src/ui/IDMCommonComponents/createTranslatedColumnConfig.d.ts +13 -0
  84. package/build/types/backoffice/src/ui/IDMCommonComponents/createTranslatedColumnConfig.d.ts.map +1 -1
  85. package/build/types/backoffice/src/ui/IDMCommonComponents/useLoadingModal.d.ts +18 -0
  86. package/build/types/backoffice/src/ui/IDMCommonComponents/useLoadingModal.d.ts.map +1 -1
  87. package/build/types/backoffice/src/ui/IDMCommonComponents/usePriceFeatureGroupsFromSerie.d.ts +13 -0
  88. package/build/types/backoffice/src/ui/IDMCommonComponents/usePriceFeatureGroupsFromSerie.d.ts.map +1 -1
  89. package/build/types/backoffice/src/ui/IDMCommonComponents/useTools.d.ts +29 -0
  90. package/build/types/backoffice/src/ui/IDMCommonComponents/useTools.d.ts.map +1 -1
  91. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/optionsConfig.d.ts.map +1 -1
  92. package/build/types/backoffice/src/ui/IDMFeaturesEditor/Tables/Features.d.ts +5 -0
  93. package/build/types/backoffice/src/ui/IDMFeaturesEditor/Tables/Features.d.ts.map +1 -0
  94. package/build/types/backoffice/src/ui/IDMFeaturesEditor/index.d.ts +9 -0
  95. package/build/types/backoffice/src/ui/IDMFeaturesEditor/index.d.ts.map +1 -0
  96. package/build/types/backoffice/src/ui/IDMFeaturesEditor/modules/TableFeatures/index.d.ts +5 -0
  97. package/build/types/backoffice/src/ui/IDMFeaturesEditor/modules/TableFeatures/index.d.ts.map +1 -0
  98. package/build/types/backoffice/src/ui/IDMFeaturesEditor/types.d.ts +5 -0
  99. package/build/types/backoffice/src/ui/IDMFeaturesEditor/types.d.ts.map +1 -0
  100. package/build/types/backoffice/src/ui/IDMFeaturesEditor/useNavigation.d.ts +6 -0
  101. package/build/types/backoffice/src/ui/IDMFeaturesEditor/useNavigation.d.ts.map +1 -0
  102. package/package.json +9 -9
  103. package/build/types/backoffice/src/ui/IDMCatalogEditor/components/UploadModalButton/UploadForm.d.ts +0 -10
  104. package/build/types/backoffice/src/ui/IDMCatalogEditor/components/UploadModalButton/UploadForm.d.ts.map +0 -1
  105. package/build/types/backoffice/src/ui/IDMCatalogEditor/components/UploadModalButton/UploadModal.d.ts +0 -10
  106. package/build/types/backoffice/src/ui/IDMCatalogEditor/components/UploadModalButton/UploadModal.d.ts.map +0 -1
  107. package/build/types/backoffice/src/ui/IDMCatalogEditor/components/UploadModalButton/index.d.ts +0 -9
  108. package/build/types/backoffice/src/ui/IDMCatalogEditor/components/UploadModalButton/index.d.ts.map +0 -1
  109. package/build/types/backoffice/src/ui/IDMCatalogEditor/components/UploadModalButton/useUploadState.d.ts +0 -19
  110. package/build/types/backoffice/src/ui/IDMCatalogEditor/components/UploadModalButton/useUploadState.d.ts.map +0 -1
  111. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/Setting/index.d.ts +0 -8
  112. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/Setting/index.d.ts.map +0 -1
@@ -1,16 +1,45 @@
1
1
  import { Tool } from '../../layout/Navigation/types';
2
+ /**
3
+ * Props for the useTools hook
4
+ */
2
5
  export type UseToolsProps = {
6
+ /** Catalog ID for configurator tools */
3
7
  catalogId?: string;
8
+ /** Package ID for configurator tools */
4
9
  packageId?: string;
10
+ /** Serie object for configurator tools */
5
11
  serie?: any;
12
+ /** Item object with type number */
6
13
  item?: {
7
14
  typeNo: number;
8
15
  };
16
+ /** Whether to use API2 mode */
9
17
  isApi2?: boolean;
18
+ /** Main information window codex */
10
19
  mainInformationWindowCodex?: string;
20
+ /** Function to set serie */
11
21
  setSerie?: (serie: any) => void;
22
+ /** Function to set article */
12
23
  setArticle?: (serie: any) => void;
13
24
  };
25
+ /**
26
+ * Custom hook for managing tools and configurator functionality
27
+ *
28
+ * @param props - The hook props
29
+ * @param props.catalogId - Catalog ID for configurator tools
30
+ * @param props.packageId - Package ID for configurator tools
31
+ * @param props.isApi2 - Whether to use API2 mode
32
+ * @param props.mainInformationWindowCodex - Main information window codex
33
+ * @param props.serie - Serie object for configurator tools
34
+ * @param props.item - Item object with type number
35
+ * @param props.setSerie - Function to set serie
36
+ * @param props.setArticle - Function to set article
37
+ * @returns Object containing tool management functions
38
+ * @returns {Function} updateConfigurator - Function to update configurator parameters
39
+ * @returns {Function} openInformationWindow - Function to open information window
40
+ * @returns {Function} addSecondaryTables - Function to add secondary tables
41
+ * @returns {Function} removeSecondaryTables - Function to remove secondary tables
42
+ */
14
43
  export declare const useTools: ({ catalogId, packageId, isApi2, mainInformationWindowCodex, serie, item, setSerie, setArticle }: UseToolsProps) => {
15
44
  updateConfigurator: (parameters?: {
16
45
  [key: string]: string;
@@ -1 +1 @@
1
- {"version":3,"file":"useTools.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCommonComponents/useTools.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAErD,MAAM,MAAM,aAAa,GAAG;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,IAAI,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IAChC,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,QAAQ,oGAAqG,aAAa;sCAyCtH;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE;mCApC9B,MAAM,QAAQ,OAAO;mCAmBlB,IAAI,EAAE;oCASR,MAAM,EAAE;CA8EpB,CAAC"}
1
+ {"version":3,"file":"useTools.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCommonComponents/useTools.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0CAA0C;IAC1C,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,mCAAmC;IACnC,IAAI,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAC1B,+BAA+B;IAC/B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,oCAAoC;IACpC,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IAChC,8BAA8B;IAC9B,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;CACnC,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,QAAQ,oGAAqG,aAAa;sCAkDtH;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE;mCA7C9B,MAAM,QAAQ,OAAO;mCAmBlB,IAAI,EAAE;oCAkBR,MAAM,EAAE;CA8EpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"optionsConfig.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/optionsConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAEzE,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,QAAA,MAAM,SAAS,mBAAoB,MAAM,EAAE,KAAK,SAAS,aAAa,OAAO,KAAG;IAAE,MAAM,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC,EAAE,CAAA;CAyDnI,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"optionsConfig.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/optionsConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAEzE,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,QAAA,MAAM,SAAS,mBAAoB,MAAM,EAAE,KAAK,SAAS,aAAa,OAAO,KAAG;IAAE,MAAM,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC,EAAE,CAAA;CAqEnI,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export default function Features({ readOnly }: {
3
+ readOnly?: boolean;
4
+ }): React.JSX.Element;
5
+ //# sourceMappingURL=Features.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Features.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMFeaturesEditor/Tables/Features.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAOvC,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,qBAoEpE"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { IDMFeaturesEditorConfiguration } from './types';
3
+ interface Props {
4
+ configuration: IDMFeaturesEditorConfiguration;
5
+ id: string;
6
+ }
7
+ export default function IDMFeaturesEditor({}: Props): React.JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMFeaturesEditor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,8BAA8B,EAAE,MAAM,SAAS,CAAC;AAGzD,UAAU,KAAK;IACb,aAAa,EAAE,8BAA8B,CAAC;IAC9C,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EAAE,EAAE,KAAK,qBAMlD"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export declare const TableFeatures: (() => React.JSX.Element) & {
3
+ displayName: string;
4
+ };
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMFeaturesEditor/modules/TableFeatures/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,aAAa;;CAQxB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { BaseModulConfiguration } from '../../Configuration';
2
+ export interface IDMFeaturesEditorConfiguration extends BaseModulConfiguration {
3
+ type: 'IDMFeaturesEditor';
4
+ }
5
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMFeaturesEditor/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,MAAM,WAAW,8BAA+B,SAAQ,sBAAsB;IAC5E,IAAI,EAAE,mBAAmB,CAAC;CAC3B"}
@@ -0,0 +1,6 @@
1
+ export default function (): {
2
+ updateNavigation: (currentPackage: string, modules: string[], path?: string) => void;
3
+ apiConfig: import("packages/core/src").ApiConfig;
4
+ collectionId: string | undefined;
5
+ };
6
+ //# sourceMappingURL=useNavigation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useNavigation.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMFeaturesEditor/useNavigation.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,OAAO;uCAaO,MAAM,WAAW,MAAM,EAAE,SAAQ,MAAM;;;EAW3D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "25.10.0-beta.9",
3
+ "version": "25.11.0-beta.2",
4
4
  "license": "COMMERCIAL",
5
5
  "devDependencies": {
6
6
  "@testing-library/jest-dom": "^6.5.0",
@@ -15,13 +15,13 @@
15
15
  "dependencies": {
16
16
  "@ant-design/icons": "5.4.0",
17
17
  "@babel/runtime": "7.24.7",
18
- "@crystaldesign/content-box": "25.10.0-beta.9",
19
- "@crystaldesign/content-item": "25.10.0-beta.9",
20
- "@crystaldesign/diva-core": "25.10.0-beta.9",
21
- "@crystaldesign/diva-utils": "25.10.0-beta.9",
22
- "@crystaldesign/media-upload": "25.10.0-beta.9",
23
- "@crystaldesign/rtf-editor": "25.10.0-beta.9",
24
- "@crystaldesign/spreadsheet": "25.10.0-beta.9",
18
+ "@crystaldesign/content-box": "25.11.0-beta.2",
19
+ "@crystaldesign/content-item": "25.11.0-beta.2",
20
+ "@crystaldesign/diva-core": "25.11.0-beta.2",
21
+ "@crystaldesign/diva-utils": "25.11.0-beta.2",
22
+ "@crystaldesign/media-upload": "25.11.0-beta.2",
23
+ "@crystaldesign/rtf-editor": "25.11.0-beta.2",
24
+ "@crystaldesign/spreadsheet": "25.11.0-beta.2",
25
25
  "@google/model-viewer": "3.5.0",
26
26
  "ag-charts-community": "^10.1.0",
27
27
  "ag-charts-react": "^10.1.0",
@@ -51,5 +51,5 @@
51
51
  },
52
52
  "module": "build/esm/index.js",
53
53
  "types": "./build/types/backoffice/src/index.d.ts",
54
- "gitHead": "ff655c1afab2fd4df7d2ef42bb5087262e20ebb5"
54
+ "gitHead": "4375d48249af53b05153e48f68efd43a82bf43b5"
55
55
  }
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import { UploadState } from './useUploadState';
3
- import { RcFile } from 'antd/es/upload/interface';
4
- export interface UploadFormProps {
5
- state: UploadState;
6
- updateState: (updates: Partial<UploadState>) => void;
7
- selectFile: (file: RcFile) => Promise<string | false>;
8
- }
9
- export default function UploadForm({ state, updateState, selectFile }: UploadFormProps): React.JSX.Element;
10
- //# sourceMappingURL=UploadForm.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UploadForm.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/components/UploadModalButton/UploadForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAGlD,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,WAAW,CAAC;IACnB,WAAW,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACrD,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,GAAG,KAAK,CAAC,CAAC;CACvD;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,EAAE,eAAe,qBAwErF"}
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import { UploadFormProps } from './UploadForm';
3
- interface Props extends UploadFormProps {
4
- onUpload: () => void;
5
- onClose: () => void;
6
- isOpen: boolean;
7
- }
8
- export default function UploadModal({ state, onUpload, onClose, isOpen, ...props }: Props): React.JSX.Element;
9
- export {};
10
- //# sourceMappingURL=UploadModal.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UploadModal.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/components/UploadModalButton/UploadModal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAmB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAG3D,UAAU,KAAM,SAAQ,eAAe;IACrC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,qBAiBxF"}
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- interface Props {
3
- idmService: string;
4
- organizationId: string;
5
- onClose: () => void;
6
- }
7
- export default function UploadModalButton({ idmService, organizationId, onClose }: Props): React.JSX.Element;
8
- export {};
9
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/components/UploadModalButton/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,UAAU,KAAK;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EAAE,UAAU,EAAE,cAAc,EAAE,OAAO,EAAE,EAAE,KAAK,qBA0BvF"}
@@ -1,19 +0,0 @@
1
- import { UploadFile } from 'antd';
2
- import { RcFile } from 'antd/es/upload/interface';
3
- export interface UploadState {
4
- name: string;
5
- useOriginalMedia: boolean;
6
- error: string | undefined;
7
- fileList: UploadFile<any>[];
8
- uploadProgress: number;
9
- isUploading: boolean;
10
- fileToUpload: File | null;
11
- }
12
- export default function useUploadState(idmService: string, organizationId: string): {
13
- state: UploadState;
14
- updateState: (updates: Partial<UploadState>) => void;
15
- resetState: () => void;
16
- selectFile: (file: RcFile) => Promise<string | false>;
17
- handleUpload: () => Promise<void>;
18
- };
19
- //# sourceMappingURL=useUploadState.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useUploadState.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/components/UploadModalButton/useUploadState.ts"],"names":[],"mappings":"AAEA,OAAO,EAAU,UAAU,EAAE,MAAM,MAAM,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAIlD,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,OAAO,CAAC;IAC1B,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,EAAE,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;IAC5B,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,IAAI,GAAG,IAAI,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM;;2BAarC,OAAO,CAAC,WAAW,CAAC;;uBAgB9B,MAAM;;EA4GvC"}
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- export default function Setting({ title, tooltip, className, children, }: {
3
- title?: string;
4
- tooltip?: string;
5
- className?: string;
6
- children: React.ReactNode;
7
- }): React.JSX.Element;
8
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/IDMEnricherEditor/Tables/Prices/Setting/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAC9B,KAAK,EACL,OAAO,EACP,SAAS,EACT,QAAQ,GACT,EAAE;IACD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,qBASA"}