@crystaldesign/diva-backoffice 26.8.0-beta.52 → 26.8.0-beta.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/esm/index.js +893 -536
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PrefilterSelectors/PackagePublishButton.d.ts +20 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PrefilterSelectors/PackagePublishButton.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PrefilterSelectors/PackagePublishSwitch.d.ts +12 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PrefilterSelectors/PackagePublishSwitch.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PrefilterSelectors/PackageSelector.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/hooks/useEnricherContext.d.ts +7 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/hooks/useEnricherContext.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/hooks/useModule.d.ts +1 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/hooks/useModule.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableGroups/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/AutomaticPublishingOrganizationsModal.d.ts +12 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/AutomaticPublishingOrganizationsModal.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/PackagePublishControls.d.ts +15 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/PackagePublishControls.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/PublishCustomCell.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/publishUtils.d.ts +30 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/publishUtils.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/usePackagePublishing.d.ts +60 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/usePackagePublishing.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePartlistPos/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePriceList/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableProperties/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableTabGroups/index.d.ts.map +1 -1
- package/package.json +9 -9
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ApiConfig } from '@crystaldesign/diva-core';
|
|
3
|
+
interface Props {
|
|
4
|
+
packageId: string;
|
|
5
|
+
organizationId: string;
|
|
6
|
+
apiConfig: ApiConfig;
|
|
7
|
+
/** Bumped whenever the package's data changed elsewhere (e.g. a table row was saved), triggering a refetch. */
|
|
8
|
+
refreshToken: number;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Publish/unpublish switch for the currently opened package, sharing its state/actions with the packages list
|
|
12
|
+
* column but rendered as a compact switch instead (see PackagePublishSwitch).
|
|
13
|
+
*
|
|
14
|
+
* Fetches its own copy of the package (rather than reading `selectedPackage` from the enricher context), since
|
|
15
|
+
* that field also feeds the grid's `applicationData`/config — replacing it on every refresh caused the grid to
|
|
16
|
+
* reset itself and break cell editing.
|
|
17
|
+
*/
|
|
18
|
+
declare const PackagePublishButton: ({ packageId, organizationId, apiConfig, refreshToken }: Props) => React.JSX.Element;
|
|
19
|
+
export default PackagePublishButton;
|
|
20
|
+
//# sourceMappingURL=PackagePublishButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PackagePublishButton.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/components/PrefilterSelectors/PackagePublishButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAMrD,UAAU,KAAK;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,SAAS,CAAC;IACrB,+GAA+G;IAC/G,YAAY,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;GAOG;AACH,QAAA,MAAM,oBAAoB,2DAA4D,KAAK,sBAiC1F,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { usePackagePublishing } from '../../modules/TablePackages/usePackagePublishing';
|
|
3
|
+
interface Props {
|
|
4
|
+
publishing: ReturnType<typeof usePackagePublishing>;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Compact publish/unpublish switch for the currently opened package: the switch carries the publish state
|
|
8
|
+
* (on/off, green when published), a colored tag carries the additional status (current/pending changes/publishing).
|
|
9
|
+
*/
|
|
10
|
+
export default function PackagePublishSwitch({ publishing }: Props): React.JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=PackagePublishSwitch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PackagePublishSwitch.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/components/PrefilterSelectors/PackagePublishSwitch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAC;AAGxF,UAAU,KAAK;IACb,UAAU,EAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;CACrD;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,oBAAoB,CAAC,EAAE,UAAU,EAAE,EAAE,KAAK,qBAuEjE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PackageSelector.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/components/PrefilterSelectors/PackageSelector.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PackageSelector.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/components/PrefilterSelectors/PackageSelector.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;uCASY;IAAE,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE;;;AA0C3D,wBAAyC"}
|
|
@@ -4,6 +4,7 @@ export declare const useEnricherContext: (currentModules?: string[]) => {
|
|
|
4
4
|
setSelectedItem: (item: any) => void;
|
|
5
5
|
setSelectedFeature: (feature: any) => void;
|
|
6
6
|
setSelectedPackage: (pkg: any | string, modules?: string[], path?: string, reset?: boolean) => void;
|
|
7
|
+
notifyPackageDataChanged: () => void;
|
|
7
8
|
packageId: string;
|
|
8
9
|
selectedPackage: any;
|
|
9
10
|
/**
|
|
@@ -20,5 +21,11 @@ export declare const useEnricherContext: (currentModules?: string[]) => {
|
|
|
20
21
|
selectedSerie: any;
|
|
21
22
|
selectedItem: any;
|
|
22
23
|
selectedFeature: any;
|
|
24
|
+
/**
|
|
25
|
+
* Incremented whenever data of the selected package changed elsewhere (e.g. a table row was saved), so that
|
|
26
|
+
* dependents like the publish button know to refetch — deliberately NOT the same thing as `selectedPackage`,
|
|
27
|
+
* which feeds grid `applicationData`/config; replacing that object on every edit caused the grid to reset itself.
|
|
28
|
+
*/
|
|
29
|
+
packageDataVersion: number;
|
|
23
30
|
};
|
|
24
31
|
//# sourceMappingURL=useEnricherContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useEnricherContext.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMEnricherEditor/hooks/useEnricherContext.ts"],"names":[],"mappings":"AAGA,OAAO,EAAU,iBAAiB,EAAE,MAAM,sDAAsD,CAAC;
|
|
1
|
+
{"version":3,"file":"useEnricherContext.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMEnricherEditor/hooks/useEnricherContext.ts"],"names":[],"mappings":"AAGA,OAAO,EAAU,iBAAiB,EAAE,MAAM,sDAAsD,CAAC;AA4BjG,eAAO,MAAM,kBAAkB,oBAAoB,MAAM,EAAE;8BA2D/C,GAAG;4BAOJ,GAAG;kCAMA,GAAG;8BAgBP,GAAG,GAAG,MAAM,YAAW,MAAM,EAAE,SAAyB,MAAM,UAAiB,OAAO;;eAhHnF,MAAM;qBACA,GAAG;IACpB;;OAEG;eACQ,OAAO;qBACD,MAAM;oBACP,MAAM;0BACA,iBAAiB;+BACZ,iBAAiB;gCAChB,iBAAiB;sCACX,iBAAiB;uCAChB,iBAAiB;mBACrC,GAAG;kBACJ,GAAG;qBACA,GAAG;IACpB;;;;OAIG;wBACiB,MAAM;CAqK3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useModule.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMEnricherEditor/hooks/useModule.tsx"],"names":[],"mappings":"AAQA,MAAM,CAAC,OAAO,WAAW,cAAc,EAAE,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"useModule.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMEnricherEditor/hooks/useModule.tsx"],"names":[],"mappings":"AAQA,MAAM,CAAC,OAAO,WAAW,cAAc,EAAE,MAAM,EAAE;;;;;;;;;;;;;EA6QhD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableGroups/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAWvC,eAAO,MAAM,WAAW;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableGroups/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAWvC,eAAO,MAAM,WAAW;;CA+JtB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { usePackagePublishing } from './usePackagePublishing';
|
|
3
|
+
interface Props {
|
|
4
|
+
publishing: ReturnType<typeof usePackagePublishing>;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Modal to select which organizations should get automatic publishing enabled, shown after clicking publish
|
|
8
|
+
* when there are eligible organizations. Shared between the packages list column and the standalone publish button.
|
|
9
|
+
*/
|
|
10
|
+
export default function AutomaticPublishingOrganizationsModal({ publishing }: Props): React.JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=AutomaticPublishingOrganizationsModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AutomaticPublishingOrganizationsModal.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/AutomaticPublishingOrganizationsModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,UAAU,KAAK;IACb,UAAU,EAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;CACrD;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,qCAAqC,CAAC,EAAE,UAAU,EAAE,EAAE,KAAK,qBAmDlF"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SizeType } from 'antd/es/config-provider/SizeContext';
|
|
3
|
+
import { usePackagePublishing } from './usePackagePublishing';
|
|
4
|
+
interface Props {
|
|
5
|
+
publishing: ReturnType<typeof usePackagePublishing>;
|
|
6
|
+
/** Size of the circle buttons (sync/reload/withdrawn); defaults to antd's regular size. */
|
|
7
|
+
buttonSize?: SizeType;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Publish/unpublish checkbox, status icons and automatic-publishing organization modal, shared between the
|
|
11
|
+
* packages list column and the standalone publish button next to the package selector.
|
|
12
|
+
*/
|
|
13
|
+
export default function PackagePublishControls({ publishing, buttonSize }: Props): React.JSX.Element;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=PackagePublishControls.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PackagePublishControls.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/PackagePublishControls.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAK/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAG9D,UAAU,KAAK;IACb,UAAU,EAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;IACpD,2FAA2F;IAC3F,UAAU,CAAC,EAAE,QAAQ,CAAC;CACvB;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,EAAE,UAAU,EAAE,UAAU,EAAE,EAAE,KAAK,qBAiC/E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublishCustomCell.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/PublishCustomCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"PublishCustomCell.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/PublishCustomCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAI9E,MAAM,CAAC,OAAO,WAAW,EACvB,IAAI,EACJ,SAAS,EACT,OAAO,EACP,GAAG,EACH,UAAU,EACV,cAAc,GACf,EAAE,2BAA2B,CAAC,GAAG,EAAE,GAAG,EAAE;IAAE,SAAS,EAAE,SAAS,CAAC;IAAC,UAAU,EAAE,iBAAiB,CAAC;IAAC,cAAc,EAAE,MAAM,CAAA;CAAE,CAAC,0BAcxH"}
|
package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/publishUtils.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
interface AutomaticPublishingOrganizationsParams {
|
|
2
|
+
authServiceUrl: string;
|
|
3
|
+
organizationId: string;
|
|
4
|
+
jwt: string;
|
|
5
|
+
packageData: {
|
|
6
|
+
organizationId?: string;
|
|
7
|
+
allowedOrganizationIds?: string[];
|
|
8
|
+
settings?: {
|
|
9
|
+
[organizationId: string]: {
|
|
10
|
+
automaticPublishing?: boolean;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Fetches organizations related to the given organization and filters them down to the ones eligible
|
|
17
|
+
* for automatic publishing of the package (either explicitly enabled for this package, or having both
|
|
18
|
+
* access to the package and automaticPublishing enabled on their own organization settings).
|
|
19
|
+
*/
|
|
20
|
+
export declare function fetchAutomaticPublishingOrganizations({ authServiceUrl, organizationId, jwt, packageData, }: AutomaticPublishingOrganizationsParams): Promise<Array<{
|
|
21
|
+
_id: string;
|
|
22
|
+
displayName: string;
|
|
23
|
+
}>>;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the package was last updated after it was published, meaning the published version
|
|
26
|
+
* is outdated.
|
|
27
|
+
*/
|
|
28
|
+
export declare function hasUnpublishedChanges(publishDateString?: string, lastUpdatedDateString?: string): boolean;
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=publishUtils.d.ts.map
|
package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/publishUtils.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"publishUtils.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/publishUtils.ts"],"names":[],"mappings":"AAAA,UAAU,sCAAsC;IAC9C,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE;QACX,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;QAClC,QAAQ,CAAC,EAAE;YAAE,CAAC,cAAc,EAAE,MAAM,GAAG;gBAAE,mBAAmB,CAAC,EAAE,OAAO,CAAA;aAAE,CAAA;SAAE,CAAC;KAC5E,CAAC;CACH;AAED;;;;GAIG;AACH,wBAAsB,qCAAqC,CAAC,EAC1D,cAAc,EACd,cAAc,EACd,GAAG,EACH,WAAW,GACZ,EAAE,sCAAsC,GAAG,OAAO,CAAC,KAAK,CAAC;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,CAqD/F;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,iBAAiB,CAAC,EAAE,MAAM,EAAE,qBAAqB,CAAC,EAAE,MAAM,GAAG,OAAO,CASzG"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ApiConfig } from '@crystaldesign/diva-core';
|
|
3
|
+
import { LoadingModalState } from '../../../CommonComponents/useLoadingModal';
|
|
4
|
+
export interface PackagePublishData {
|
|
5
|
+
name?: string;
|
|
6
|
+
basedCatalogId?: string;
|
|
7
|
+
basedPackageId?: string;
|
|
8
|
+
organizationId?: string;
|
|
9
|
+
allowedOrganizationIds?: string[];
|
|
10
|
+
settings?: {
|
|
11
|
+
[organizationId: string]: {
|
|
12
|
+
automaticPublishing?: boolean;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
removedOrganizationIds?: string[];
|
|
16
|
+
lastUpdatedDate?: string;
|
|
17
|
+
published?: {
|
|
18
|
+
[organizationId: string]: {
|
|
19
|
+
publishing?: boolean;
|
|
20
|
+
publishDate?: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
interface UsePackagePublishingParams {
|
|
25
|
+
packageId: string;
|
|
26
|
+
data: PackagePublishData;
|
|
27
|
+
organizationId: string;
|
|
28
|
+
apiConfig: ApiConfig;
|
|
29
|
+
modalState: LoadingModalState;
|
|
30
|
+
/** Called after a publish/unpublish request was accepted by the server, so the caller can refresh its data. */
|
|
31
|
+
onPublished: () => void;
|
|
32
|
+
/** Blocks the UI with a loading modal while the request is running (the packages list only shows an inline spinner). */
|
|
33
|
+
blockUiWhilePublishing?: boolean;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Shared publish/unpublish state and logic for a package, used by both the packages list column and the
|
|
37
|
+
* standalone publish button next to the package selector.
|
|
38
|
+
*/
|
|
39
|
+
export declare function usePackagePublishing({ packageId, data, organizationId, apiConfig, modalState, onPublished, blockUiWhilePublishing, }: UsePackagePublishingParams): {
|
|
40
|
+
loading: boolean;
|
|
41
|
+
pendingAction: "publish" | "unpublish" | null;
|
|
42
|
+
isPublishing: boolean;
|
|
43
|
+
isPublished: boolean | undefined;
|
|
44
|
+
isReleaseWithdrawn: boolean;
|
|
45
|
+
unpublishedChanges: boolean;
|
|
46
|
+
disabled: boolean;
|
|
47
|
+
organizationModalVisible: boolean;
|
|
48
|
+
setOrganizationModalVisible: React.Dispatch<React.SetStateAction<boolean>>;
|
|
49
|
+
availableOrganizations: {
|
|
50
|
+
_id: string;
|
|
51
|
+
displayName: string;
|
|
52
|
+
}[];
|
|
53
|
+
loadingOrganizations: boolean;
|
|
54
|
+
selectedOrganizationIds: string[];
|
|
55
|
+
setSelectedOrganizationIds: React.Dispatch<React.SetStateAction<string[]>>;
|
|
56
|
+
onChange: (publish: boolean) => Promise<void>;
|
|
57
|
+
handleConfirmPublish: () => Promise<void>;
|
|
58
|
+
};
|
|
59
|
+
export {};
|
|
60
|
+
//# sourceMappingURL=usePackagePublishing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePackagePublishing.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/usePackagePublishing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAErE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAG9E,MAAM,WAAW,kBAAkB;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,EAAE;QAAE,CAAC,cAAc,EAAE,MAAM,GAAG;YAAE,mBAAmB,CAAC,EAAE,OAAO,CAAA;SAAE,CAAA;KAAE,CAAC;IAC3E,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE;QAAE,CAAC,cAAc,EAAE,MAAM,GAAG;YAAE,UAAU,CAAC,EAAE,OAAO,CAAC;YAAC,WAAW,CAAC,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,CAAC;CAC1F;AAED,UAAU,0BAA0B;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,kBAAkB,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,SAAS,CAAC;IACrB,UAAU,EAAE,iBAAiB,CAAC;IAC9B,+GAA+G;IAC/G,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,wHAAwH;IACxH,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,SAAS,EACT,IAAI,EACJ,cAAc,EACd,SAAS,EACT,UAAU,EACV,WAAW,EACX,sBAAsB,GACvB,EAAE,0BAA0B;;;;;;;;;;;aAO6D,MAAM;qBAAe,MAAM;;;;;wBAyFjG,OAAO;;EA2B1B"}
|
package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePartlistPos/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePartlistPos/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAWvC,eAAO,MAAM,gBAAgB;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePartlistPos/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAWvC,eAAO,MAAM,gBAAgB;;CAqN3B,CAAC"}
|
package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePriceList/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePriceList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAevE,eAAO,MAAM,cAAc;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePriceList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAevE,eAAO,MAAM,cAAc;;CA+UzB,CAAC"}
|
package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableProperties/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAavC,eAAO,MAAM,eAAe;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAavC,eAAO,MAAM,eAAe;;CA2N1B,CAAC"}
|
package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableTabGroups/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableTabGroups/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAavC,eAAO,MAAM,cAAc;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableTabGroups/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAavC,eAAO,MAAM,cAAc;;CAuIzB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
|
3
|
-
"version": "26.8.0-beta.
|
|
3
|
+
"version": "26.8.0-beta.53",
|
|
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": "6.1.0",
|
|
17
17
|
"@babel/runtime": "7.24.7",
|
|
18
|
-
"@crystaldesign/content-box": "26.8.0-beta.
|
|
19
|
-
"@crystaldesign/content-item": "26.8.0-beta.
|
|
20
|
-
"@crystaldesign/diva-core": "26.8.0-beta.
|
|
21
|
-
"@crystaldesign/diva-utils": "26.8.0-beta.
|
|
22
|
-
"@crystaldesign/media-upload": "26.8.0-beta.
|
|
23
|
-
"@crystaldesign/rtf-editor": "26.8.0-beta.
|
|
24
|
-
"@crystaldesign/spreadsheet": "26.8.0-beta.
|
|
18
|
+
"@crystaldesign/content-box": "26.8.0-beta.53",
|
|
19
|
+
"@crystaldesign/content-item": "26.8.0-beta.53",
|
|
20
|
+
"@crystaldesign/diva-core": "26.8.0-beta.53",
|
|
21
|
+
"@crystaldesign/diva-utils": "26.8.0-beta.53",
|
|
22
|
+
"@crystaldesign/media-upload": "26.8.0-beta.53",
|
|
23
|
+
"@crystaldesign/rtf-editor": "26.8.0-beta.53",
|
|
24
|
+
"@crystaldesign/spreadsheet": "26.8.0-beta.53",
|
|
25
25
|
"@dnd-kit/core": "^6.1.0",
|
|
26
26
|
"@dnd-kit/sortable": "^8.0.0",
|
|
27
27
|
"@dnd-kit/utilities": "^3.2.2",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
},
|
|
57
57
|
"module": "build/esm/index.js",
|
|
58
58
|
"types": "./build/types/backoffice/src/index.d.ts",
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "e948537e57bc413cab6c3e80125a18558ec8560b"
|
|
60
60
|
}
|