@crystaldesign/diva-backoffice 26.12.0-beta.11 → 26.12.0-beta.13
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 +47485 -41205
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/index.d.ts +11 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/index.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/plannerSemantics.d.ts +21 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/plannerSemantics.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/primitives.d.ts +47 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/primitives.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/recipes.d.ts +21 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/recipes.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/render.d.ts +40 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/render.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/style.d.ts +147 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/style.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/templates.d.ts +20 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/templates.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/types.d.ts +129 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/types.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/backofficeToolset.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/mediaToolset.d.ts +4 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/mediaToolset.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/navigationToolset.d.ts.map +1 -1
- package/build/types/backoffice/src/store/GridRegistry.d.ts +21 -1
- package/build/types/backoffice/src/store/GridRegistry.d.ts.map +1 -1
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsDryRun.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsDryRun.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsLookupReuse.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsLookupReuse.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsReceipt.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsReceipt.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsRowRule.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsRowRule.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsTsv.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsTsv.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/articleSvgMatrix.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/articleSvgMatrix.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/articleSvgPlannerIntegration.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/articleSvgPlannerIntegration.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/articleSvgStyle.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/articleSvgStyle.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/articleSvgTemplates.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/articleSvgTemplates.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/dryRunNeverWrites.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/dryRunNeverWrites.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/failedReceipt.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/failedReceipt.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/fakeGridEnvironment.d.ts +19 -3
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/fakeGridEnvironment.d.ts.map +1 -1
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/partlistposActions.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/partlistposActions.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/recordIdAsRowId.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/recordIdAsRowId.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/removeColumn.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/removeColumn.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/subtableParentBinding.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/subtableParentBinding.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/writeRowLimit.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/writeRowLimit.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/optionCombinationColumns.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/optionCombinationColumns.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/partlistPosColumns.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/partlistPosColumns.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/components/SvgGeneratorTool.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/components/SvgGeneratorTool.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/hooks/useCatalogRows.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/hooks/useCatalogRows.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/hooks/useCatalogRowsJwt.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/hooks/useCatalogRowsJwt.test.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/index.d.ts +3 -1
- package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/CatalogVersions.d.ts +3 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/CatalogVersions.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/DecisionCellRenderer/index.d.ts +16 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/DecisionCellRenderer/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/FeaturesWithFeatureClass.d.ts +3 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/FeaturesWithFeatureClass.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Items.d.ts +3 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Items.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.d.ts +5 -2
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/optionsSetRefCodec.d.ts +7 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/optionsSetRefCodec.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionGroupOptions.d.ts +4 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionGroupOptions.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PartlistPos.d.ts +5 -2
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PartlistPos.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.d.ts +5 -2
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.d.ts +5 -2
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/optionCombinationColumns.d.ts +59 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/optionCombinationColumns.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/partlistPosColumns.d.ts +66 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/partlistPosColumns.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/components/SvgGeneratorTool/index.d.ts +13 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/components/SvgGeneratorTool/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useCatalogRows.d.ts +24 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useCatalogRows.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useDecisionsOfCatalog.d.ts +8 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useDecisionsOfCatalog.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useModule.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/usePartlistsOfCatalog.d.ts +8 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/usePartlistsOfCatalog.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableAllOptionCombinations/index.d.ts +11 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableAllOptionCombinations/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableAllPartlistPos/index.d.ts +11 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableAllPartlistPos/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableCatalogs/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableDecisions/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableFeatureClasses/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableItems/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableOptionGroups/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePartlists/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePriceFeatureGroups/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableSeries/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/views.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCollectionEditor/Tables/CollectionMembers.d.ts +4 -1
- package/build/types/backoffice/src/ui/IDMCollectionEditor/Tables/CollectionMembers.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCollectionEditor/modules/TableCollections/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/index.d.ts +4 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePriceList/index.d.ts.map +1 -1
- package/package.json +10 -10
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** Parameterized top-view SVG generation for planner articles — see ./types for the planner semantics contract. */
|
|
2
|
+
import { ArticleSvgSpec, GeneratedArticleSvg } from './types';
|
|
3
|
+
export { UNITS_PER_CM } from './primitives';
|
|
4
|
+
export type { SymbolName } from './primitives';
|
|
5
|
+
export { SYMBOL_NAMES } from './primitives';
|
|
6
|
+
export * from './style';
|
|
7
|
+
export * from './types';
|
|
8
|
+
export * from './recipes';
|
|
9
|
+
/** Builds a planner-conform top-view SVG from a template spec (+ optional manufacturer style config). */
|
|
10
|
+
export declare function buildArticleTopViewSvg(spec: ArticleSvgSpec): GeneratedArticleSvg;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/layout/Toolbar/Tools/DivaAgent/articleSvg/index.ts"],"names":[],"mappings":"AAAA,mHAAmH;AAgBnH,OAAO,EAAE,cAAc,EAAmB,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE/E,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,YAAY,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAqG1B,yGAAyG;AACzG,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,cAAc,GAAG,mBAAmB,CAiMhF"}
|
package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/plannerSemantics.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/** Planner-semantics layer: docking connectors (AV lines) and stretch areas (SAH/SAV) — the 2D-planner contract, NOT styleable. */
|
|
2
|
+
import { BuildState } from './render';
|
|
3
|
+
import { ConnectorSpec } from './types';
|
|
4
|
+
export declare function emitConnectors(state: BuildState, autoAdd: ConnectorSpec[], requestedOverride?: ConnectorSpec[]): void;
|
|
5
|
+
/**
|
|
6
|
+
* Horizontal/vertical stretch strips as `[startCm, sizeCm]` along the width/depth axis — the planner reads
|
|
7
|
+
* only x/width of a SAH and y/height of a SAV, the cross extent is for the preview UI.
|
|
8
|
+
*/
|
|
9
|
+
export interface StretchStrips {
|
|
10
|
+
horizontal?: [number, number][];
|
|
11
|
+
vertical?: [number, number][];
|
|
12
|
+
}
|
|
13
|
+
export declare function emitStretchAreas(state: BuildState, strips: StretchStrips): void;
|
|
14
|
+
/**
|
|
15
|
+
* Two thin strips symmetric around a part's center, so the center takes exactly half the delta and stays centered
|
|
16
|
+
* on resize. `halfSpan` = distance from the center to the nearest geometry the strips must stay inside of.
|
|
17
|
+
*/
|
|
18
|
+
export declare const stripPair: (center: number, halfSpan: number) => [number, number][];
|
|
19
|
+
/** Half-span for a strip pair inside a straight zone of `span` cm whose ends are rounded/blocked by `inset` cm. */
|
|
20
|
+
export declare const clampedHalfSpan: (span: number, inset: number) => number;
|
|
21
|
+
//# sourceMappingURL=plannerSemantics.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plannerSemantics.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/layout/Toolbar/Tools/DivaAgent/articleSvg/plannerSemantics.ts"],"names":[],"mappings":"AAAA,mIAAmI;AAGnI,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,aAAa,EAAkC,MAAM,SAAS,CAAC;AAKxE,wBAAgB,cAAc,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,aAAa,EAAE,EAAE,iBAAiB,CAAC,EAAE,aAAa,EAAE,GAAG,IAAI,CA+DrH;AAUD;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;IAChC,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;CAC/B;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,aAAa,GAAG,IAAI,CAS/E;AAED;;;GAGG;AACH,eAAO,MAAM,SAAS,WAAY,MAAM,YAAY,MAAM,KAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAM5E,CAAC;AAEF,mHAAmH;AACnH,eAAO,MAAM,eAAe,SAAU,MAAM,SAAS,MAAM,WAA8D,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Low-level SVG building blocks: everything works in CENTIMETERS and converts to planner user units on output.
|
|
3
|
+
* Only element types the planner's SVGUtils can RESIZE are produced: rect, line, polygon and path
|
|
4
|
+
* (M/L/H/V/C/S commands — no arcs, no <ellipse>, no <circle>).
|
|
5
|
+
*/
|
|
6
|
+
/** Planner SVG user units per centimeter (web-planner-logic DivaUtils.unitRecalc). */
|
|
7
|
+
export declare const UNITS_PER_CM = 2.834637306;
|
|
8
|
+
export declare const round2: (value: number) => number;
|
|
9
|
+
export declare const u: (cm: number) => number;
|
|
10
|
+
/** Escape XML special chars to entities — must PRESERVE the text, never delete it. */
|
|
11
|
+
export declare const escapeText: (text: string) => string;
|
|
12
|
+
export declare const rect: (xCm: number, yCm: number, wCm: number, hCm: number, attrs: string) => string;
|
|
13
|
+
export declare const lineEl: (x1Cm: number, y1Cm: number, x2Cm: number, y2Cm: number, attrs: string) => string;
|
|
14
|
+
export declare const polygon: (pointsCm: [number, number][], attrs: string) => string;
|
|
15
|
+
export declare const pathEl: (d: string, attrs: string) => string;
|
|
16
|
+
/**
|
|
17
|
+
* Full ellipse as cubic segments, starting at the left apex and running clockwise. An `A` arc would keep its
|
|
18
|
+
* radii under a planner stretch (only the endpoint moves), and the renderer then swells it into a circle that
|
|
19
|
+
* overflows the depth; cubics move with the OLT.
|
|
20
|
+
*/
|
|
21
|
+
export declare function ellipsePath(cxCm: number, cyCm: number, rxCm: number, ryCm: number, attrs: string): string;
|
|
22
|
+
/**
|
|
23
|
+
* Body outline with a SCALLOPED front edge: it bulges to the full depth at each cushion center and rises by
|
|
24
|
+
* `amplitudeCm` at the seams and seat-zone ends, staying straight outside the seat zone (armrests).
|
|
25
|
+
* `seamXsCm` are the INNER cushion boundaries inside [seatFromCm, seatToCm]. Cubic only — path resize has no arcs.
|
|
26
|
+
*/
|
|
27
|
+
export declare function scallopedBodyPath(widthCm: number, depthCm: number, seatFromCm: number, seatToCm: number, seamXsCm: number[], amplitudeCm: number): string;
|
|
28
|
+
/**
|
|
29
|
+
* Gently sagging line (fabric-edge look): horizontal x1..x2 at y bowing by `sagCm` toward +y, the vertical
|
|
30
|
+
* variant y1..y2 at x bowing toward +x (negative sag bows the other way). Control points on the thirds,
|
|
31
|
+
* offset 4/3·sag, so the visible bow is EXACTLY sagCm. Cubic only — resizable.
|
|
32
|
+
*/
|
|
33
|
+
export declare const saggedHLine: (x1Cm: number, x2Cm: number, yCm: number, sagCm: number) => string;
|
|
34
|
+
export declare const saggedVLine: (y1Cm: number, y2Cm: number, xCm: number, sagCm: number) => string;
|
|
35
|
+
export type SymbolName = 'bedBox' | 'arrowFront' | 'arrowBack' | 'curvedArrow' | 'triangle';
|
|
36
|
+
export declare const SYMBOL_NAMES: SymbolName[];
|
|
37
|
+
export interface SymbolPaint {
|
|
38
|
+
stroke: string;
|
|
39
|
+
/** Final stroke-width in SVG user units (already resolved by the renderer). */
|
|
40
|
+
strokeWidth: number;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Small glyphs used in supplier drawings (fold-out bed box, function arrows), centered at (cxCm, cyCm)
|
|
44
|
+
* with `sizeCm` as the glyph WIDTH. Cosmetic — a planner resize only shifts them while they stay clear of the stretch strips.
|
|
45
|
+
*/
|
|
46
|
+
export declare function symbolMarkup(name: SymbolName, cxCm: number, cyCm: number, sizeCm: number, paint: SymbolPaint, rotateDeg?: number): string;
|
|
47
|
+
//# sourceMappingURL=primitives.d.ts.map
|
package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/primitives.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"primitives.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/layout/Toolbar/Tools/DivaAgent/articleSvg/primitives.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,sFAAsF;AACtF,eAAO,MAAM,YAAY,cAAc,CAAC;AAExC,eAAO,MAAM,MAAM,UAAW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IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,+EAA+E;IAC/E,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAmEzI"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ArticleSvgSpec } from './types';
|
|
2
|
+
import type { ArticleSvgStyleInput } from './style';
|
|
3
|
+
/**
|
|
4
|
+
* A named, reusable parameter set over a base template (Daybed, portrait Abschluss, …).
|
|
5
|
+
* Plain JSON, so a recipe can be stored with uploadAsset and referenced later via recipeUrl.
|
|
6
|
+
*/
|
|
7
|
+
export interface ArticleSvgRecipe {
|
|
8
|
+
/** What the recipe builds and which fields the caller still has to pass per article. */
|
|
9
|
+
description?: string;
|
|
10
|
+
/** Spec fields the recipe fixes; the calling spec overrides them field by field. */
|
|
11
|
+
spec: Partial<ArticleSvgSpec>;
|
|
12
|
+
/** Style the recipe brings — used only when the call passes neither style nor styleUrl. */
|
|
13
|
+
style?: ArticleSvgStyleInput;
|
|
14
|
+
}
|
|
15
|
+
/** House recipes shipped with the generator; referenced by name via the `recipe` parameter. */
|
|
16
|
+
export declare const BUILT_IN_RECIPES: Record<string, ArticleSvgRecipe>;
|
|
17
|
+
/** Recipe defaults under the caller's fields — the call always wins, field by field. */
|
|
18
|
+
export declare function applyRecipeToSpec<T extends Record<string, unknown>>(recipe: ArticleSvgRecipe, spec: T): T;
|
|
19
|
+
/** Shape check for inline/fetched recipes — a bare spec object without `spec` is rejected loudly. */
|
|
20
|
+
export declare function isArticleSvgRecipe(value: unknown): value is ArticleSvgRecipe;
|
|
21
|
+
//# sourceMappingURL=recipes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recipes.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/layout/Toolbar/Tools/DivaAgent/articleSvg/recipes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEpD;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,wFAAwF;IACxF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oFAAoF;IACpF,IAAI,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;IAC9B,2FAA2F;IAC3F,KAAK,CAAC,EAAE,oBAAoB,CAAC;CAC9B;AAED,+FAA+F;AAC/F,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAM7D,CAAC;AAEF,wFAAwF;AACxF,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,IAAI,EAAE,CAAC,GAAG,CAAC,CAEzG;AAED,qGAAqG;AACrG,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,gBAAgB,CAI5E"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/** Build state + the style-aware attribute renderer: templates decide GEOMETRY, every visual attribute comes from the resolved style. */
|
|
2
|
+
import { ArticleSvgPartRole, ResolvedArticleSvgStyle, ResolvedPartStyle } from './style';
|
|
3
|
+
import { ArticleSvgSpec } from './types';
|
|
4
|
+
export interface BuildState {
|
|
5
|
+
spec: ArticleSvgSpec;
|
|
6
|
+
style: ResolvedArticleSvgStyle;
|
|
7
|
+
/** TOTAL article extents — builders may ENLARGE them beyond the spec (bed headboard, longchair extension arms). */
|
|
8
|
+
widthCm: number;
|
|
9
|
+
depthCm: number;
|
|
10
|
+
/** Size-derived hairline width in user units — the fallback when a part has no strokeWidthCm. */
|
|
11
|
+
defaultStrokeWidth: number;
|
|
12
|
+
visible: string[];
|
|
13
|
+
technical: string[];
|
|
14
|
+
connectors: string[];
|
|
15
|
+
warnings: string[];
|
|
16
|
+
/** Template-provided OLT markup (non-rectangular outlines); default is the full body rect. */
|
|
17
|
+
olt?: string;
|
|
18
|
+
/** Seat zone [fromCm, toCm] along the width, where the function footprint and its icon anchor (unset = full width). */
|
|
19
|
+
seatZone?: [number, number];
|
|
20
|
+
/** Contiguous seat-cell boundaries along the width (seats + 1 values) — per-seat function zones anchor here. */
|
|
21
|
+
cellBounds?: number[];
|
|
22
|
+
/** Visual overdraw past the body edges (protruding arms) — widens the viewBox, never the OLT. */
|
|
23
|
+
overdrawCm?: {
|
|
24
|
+
top: number;
|
|
25
|
+
bottom: number;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
export interface PartAttrOptions {
|
|
29
|
+
/** Corner radius override in cm; `null` forces NO rx attribute (square silhouettes, polygons, lines). */
|
|
30
|
+
rxCm?: number | null;
|
|
31
|
+
/** Fill override (e.g. 'none' for outline-only cushion shapes drawn on a filled part). */
|
|
32
|
+
fill?: string;
|
|
33
|
+
}
|
|
34
|
+
export declare const partStyleOf: (state: BuildState, role: ArticleSvgPartRole) => ResolvedPartStyle;
|
|
35
|
+
export declare const strokeWidthOf: (state: BuildState, role: ArticleSvgPartRole) => number;
|
|
36
|
+
/** Whether the part is drawn at all (style-level kill switch, e.g. parts.backCushion.draw=false). */
|
|
37
|
+
export declare const drawsPart: (state: BuildState, role: ArticleSvgPartRole) => boolean;
|
|
38
|
+
/** Full attribute string for a part shape, in the stable order `rx fill stroke stroke-width stroke-dasharray`. */
|
|
39
|
+
export declare function partAttrs(state: BuildState, role: ArticleSvgPartRole, options?: PartAttrOptions): string;
|
|
40
|
+
//# sourceMappingURL=render.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"render.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/layout/Toolbar/Tools/DivaAgent/articleS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S,CAAC,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,MAAM,CAUxG"}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Style layer: the GEOMETRY of an article comes from the template spec, everything VISUAL from an
|
|
3
|
+
* `ArticleSvgStyle` — a plain JSON document designed once per manufacturer, stored and passed to later calls.
|
|
4
|
+
* The planner-semantics layer (OLT/OLF/SAH/SAV/AV) is NOT styleable.
|
|
5
|
+
*/
|
|
6
|
+
import { SymbolName } from './primitives';
|
|
7
|
+
export declare const PART_ROLES: readonly ["body", "arm", "back", "seatCushion", "backCushion", "seam", "headboard", "bedDetail", "functionFootprint", "label"];
|
|
8
|
+
/** Derived from PART_ROLES so the list and the union cannot drift apart. */
|
|
9
|
+
export type ArticleSvgPartRole = (typeof PART_ROLES)[number];
|
|
10
|
+
/** Visual attributes of one part role. All fields optional — unset fields inherit. */
|
|
11
|
+
export interface ArticleSvgPartStyle {
|
|
12
|
+
/** false = skip the part entirely (e.g. no back cushions). */
|
|
13
|
+
draw?: boolean;
|
|
14
|
+
fill?: string;
|
|
15
|
+
stroke?: string;
|
|
16
|
+
/** Absolute stroke width in cm; default is a size-derived hairline. */
|
|
17
|
+
strokeWidthCm?: number;
|
|
18
|
+
cornerRadiusCm?: number;
|
|
19
|
+
/** stroke-dasharray in cm, e.g. [1.2, 1.2]. */
|
|
20
|
+
dashCm?: number[];
|
|
21
|
+
}
|
|
22
|
+
/** How seat/back cushions are rendered: outlined rects, seam lines only, or not at all. */
|
|
23
|
+
export type ArticleSvgCushionMode = 'outline' | 'seams' | 'none';
|
|
24
|
+
export type ArticleSvgFrontEdgeMode = 'straight' | 'scallop';
|
|
25
|
+
export type ArticleSvgFootprintMode = 'none' | 'dashed';
|
|
26
|
+
export type ArticleSvgBackBandMode = 'rect' | 'line';
|
|
27
|
+
/**
|
|
28
|
+
* How the backrest band is drawn: 'rect' = a filled/outlined band; 'line' = only the cushion-front LINE sagging
|
|
29
|
+
* by `sagCm` toward the seat. `topOffsetCm` adds a straight rest line that far from the back edge; `mitre` draws
|
|
30
|
+
* the 45° joint where a corner's back and side bands meet (default: on in 'line' mode, opt-in for 'rect').
|
|
31
|
+
*/
|
|
32
|
+
export interface ArticleSvgBackBandStyle {
|
|
33
|
+
mode?: ArticleSvgBackBandMode;
|
|
34
|
+
sagCm?: number;
|
|
35
|
+
topOffsetCm?: number;
|
|
36
|
+
mitre?: boolean;
|
|
37
|
+
}
|
|
38
|
+
/** A decorative glyph placed on the article (function arrows, fold-out bed box, …). */
|
|
39
|
+
export interface ArticleSvgSymbolPlacement {
|
|
40
|
+
symbol: SymbolName;
|
|
41
|
+
/** 0..1 across the TOTAL article width (default 0.5). */
|
|
42
|
+
x?: number;
|
|
43
|
+
/** 0..1 across the TOTAL article depth (default 0.5). */
|
|
44
|
+
y?: number;
|
|
45
|
+
sizeCm?: number;
|
|
46
|
+
rotateDeg?: number;
|
|
47
|
+
stroke?: string;
|
|
48
|
+
/** Line width of the glyph in cm (default: the seam width). */
|
|
49
|
+
strokeWidthCm?: number;
|
|
50
|
+
}
|
|
51
|
+
export type ArticleSvgStylePreset = 'classic' | 'outline' | 'flat';
|
|
52
|
+
export declare const STYLE_PRESETS: ArticleSvgStylePreset[];
|
|
53
|
+
/** Linear gradient definition; reference it from any part fill as `url(#id)`. */
|
|
54
|
+
export interface ArticleSvgGradient {
|
|
55
|
+
/** Element id — letters/digits/underscore/hyphen only. */
|
|
56
|
+
id: string;
|
|
57
|
+
/** 0 = left→right, 90 = back→front (default 90). */
|
|
58
|
+
angleDeg?: number;
|
|
59
|
+
stops: {
|
|
60
|
+
offset: number;
|
|
61
|
+
color: string;
|
|
62
|
+
}[];
|
|
63
|
+
}
|
|
64
|
+
/** The JSON style config. Precedence (low → high): preset defaults → legacy spec fields (fill/stroke/cornerRadiusCm) → `base` → `parts[role]`. */
|
|
65
|
+
export interface ArticleSvgStyle {
|
|
66
|
+
preset?: ArticleSvgStylePreset;
|
|
67
|
+
/** Applies to every part role before per-part overrides. */
|
|
68
|
+
base?: ArticleSvgPartStyle;
|
|
69
|
+
parts?: Partial<Record<ArticleSvgPartRole, ArticleSvgPartStyle>>;
|
|
70
|
+
cushionMode?: ArticleSvgCushionMode;
|
|
71
|
+
/** Seat seams (cushionMode 'seams'): where they START along the depth, in cm from the back edge (default: at the cushion-front line = backDepthCm; 0 = at the back edge, full-depth cell borders). */
|
|
72
|
+
seams?: {
|
|
73
|
+
fromCm?: number;
|
|
74
|
+
};
|
|
75
|
+
backBand?: ArticleSvgBackBandStyle;
|
|
76
|
+
frontEdge?: {
|
|
77
|
+
mode?: ArticleSvgFrontEdgeMode;
|
|
78
|
+
amplitudeCm?: number;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Visible rendering of the functional footprint (functionalOverhangCm): 'dashed' draws the overhang zone and puts
|
|
82
|
+
* `icon` in the seat center; `per: 'seat'` splits the front/back zones per seat cell. The OLF marker is emitted either way.
|
|
83
|
+
*/
|
|
84
|
+
functionFootprint?: {
|
|
85
|
+
mode?: ArticleSvgFootprintMode;
|
|
86
|
+
icon?: SymbolName | 'none';
|
|
87
|
+
per?: 'article' | 'seat';
|
|
88
|
+
/** How far the FRONT zone reaches back INTO the body, in cm (fold-out beds drawn over the seat; default 0). */
|
|
89
|
+
overlapCm?: number;
|
|
90
|
+
};
|
|
91
|
+
symbols?: ArticleSvgSymbolPlacement[];
|
|
92
|
+
gradients?: ArticleSvgGradient[];
|
|
93
|
+
}
|
|
94
|
+
/** Style input on the spec: a preset name or a (preset-based) config object. */
|
|
95
|
+
export type ArticleSvgStyleInput = ArticleSvgStylePreset | ArticleSvgStyle;
|
|
96
|
+
export interface ResolvedPartStyle {
|
|
97
|
+
draw: boolean;
|
|
98
|
+
fill: string;
|
|
99
|
+
stroke: string;
|
|
100
|
+
strokeWidthCm?: number;
|
|
101
|
+
cornerRadiusCm?: number;
|
|
102
|
+
dashCm?: number[];
|
|
103
|
+
}
|
|
104
|
+
export interface ResolvedArticleSvgStyle {
|
|
105
|
+
parts: Record<ArticleSvgPartRole, ResolvedPartStyle>;
|
|
106
|
+
cushionMode: ArticleSvgCushionMode;
|
|
107
|
+
/** undefined = seams start at the cushion-front line (backDepth). */
|
|
108
|
+
seamFromCm?: number;
|
|
109
|
+
backBand: {
|
|
110
|
+
mode: ArticleSvgBackBandMode;
|
|
111
|
+
sagCm: number;
|
|
112
|
+
topOffsetCm?: number;
|
|
113
|
+
mitre: boolean;
|
|
114
|
+
};
|
|
115
|
+
frontEdge: {
|
|
116
|
+
mode: ArticleSvgFrontEdgeMode;
|
|
117
|
+
amplitudeCm: number;
|
|
118
|
+
};
|
|
119
|
+
functionFootprint: {
|
|
120
|
+
mode: ArticleSvgFootprintMode;
|
|
121
|
+
icon: SymbolName | 'none';
|
|
122
|
+
per: 'article' | 'seat';
|
|
123
|
+
overlapCm: number;
|
|
124
|
+
};
|
|
125
|
+
symbols: ArticleSvgSymbolPlacement[];
|
|
126
|
+
gradients: ArticleSvgGradient[];
|
|
127
|
+
}
|
|
128
|
+
/** Case-insensitive canonicalization of a string enum value; undefined when the value is absent or outside `allowed`. */
|
|
129
|
+
export declare function canon<T extends string>(value: unknown, allowed: readonly T[]): T | undefined;
|
|
130
|
+
/** Canonicalizes an optional enum field; a value that IS given but unknown is rejected instead of falling back to a default. */
|
|
131
|
+
export declare function canonOption<T extends string>(value: unknown, allowed: readonly T[], field: string): T | undefined;
|
|
132
|
+
/** Legacy top-level styling fields still supported on the spec. */
|
|
133
|
+
export interface LegacyStyleFields {
|
|
134
|
+
fill?: string;
|
|
135
|
+
stroke?: string;
|
|
136
|
+
cornerRadiusCm?: number;
|
|
137
|
+
cushions?: boolean;
|
|
138
|
+
}
|
|
139
|
+
/** Merge a stored style config with inline overrides: top-level fields are replaced, `parts` is merged by role (an inline role replaces the stored one). */
|
|
140
|
+
export declare function mergeArticleSvgStyles(stored: ArticleSvgStyle, inline: ArticleSvgStyle | undefined): ArticleSvgStyle;
|
|
141
|
+
/**
|
|
142
|
+
* Resolves one concrete style, applying preset defaults, then legacy fill/stroke/cornerRadiusCm,
|
|
143
|
+
* then `base`, then `parts[role]`. An unknown enum value, a malformed list or a non-numeric geometry field
|
|
144
|
+
* is rejected with a readable error rather than silently falling back to the preset.
|
|
145
|
+
*/
|
|
146
|
+
export declare function resolveArticleSvgStyle(styleInput: ArticleSvgStyleInput | undefined, legacy: LegacyStyleFields): ResolvedArticleSvgStyle;
|
|
147
|
+
//# sourceMappingURL=style.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/layout/Toolbar/Tools/DivaAgent/articleSvg/style.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,UAAU,EAAgB,MAAM,cAAc,CAAC;AAExD,eAAO,MAAM,UAAU,gIAWb,CAAC;AAEX,4EAA4E;AAC5E,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AAE7D,sFAAsF;AACtF,MAAM,WAAW,mBAAmB;IAClC,8DAA8D;IAC9D,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,uEAAuE;IACvE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,+CAA+C;IAC/C,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,2FAA2F;AAC3F,MAAM,MAAM,qBAAqB,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AACjE,MAAM,MAAM,uBAAuB,GAAG,UAAU,GAAG,SAAS,CAAC;AAC7D,MAAM,MAAM,uBAAuB,GAAG,MAAM,GAAG,QAAQ,CAAC;AACxD,MAAM,MAAM,sBAAsB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,MAAM,CAAA;KAAE,CAAC;IAClE,iBAAiB,EAAE;QAAE,IAAI,EAAE,uBAAuB,CAAC;QAAC,IAAI,EAAE,UAAU,GAAG,MAAM,CAAC;QAAC,GAAG,EAAE,SAAS,GAAG,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC;IAC5H,OAAO,EAAE,yBAAyB,EAAE,CAAC;IACrC,SAAS,EAAE,kBAAkB,EAAE,CAAC;CACjC;AAED,yHAAyH;AACzH,wBAAgB,KAAK,CAAC,CAAC,SAAS,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,CAAC,EAAE,GAAG,CAAC,GAAG,SAAS,CAI5F;AAED,gIAAgI;AAChI,wBAAgB,WAAW,CAAC,CAAC,SAAS,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,CAAC,EAAE,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC,GAAG,SAAS,CAMjH;AAwED,mEAAmE;AACnE,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAcD,4JAA4J;AAC5J,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,eAAe,GAAG,SAAS,GAAG,eAAe,CAKnH;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,UAAU,EAAE,oBAAoB,GAAG,SAAS,EAAE,MAAM,EAAE,iBAAiB,GAAG,uBAAuB,CA4IvI"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Geometry templates: they decide WHAT to draw where (in cm); HOW it looks comes entirely from the
|
|
3
|
+
* resolved style config (partAttrs), so one geometry serves every manufacturer style.
|
|
4
|
+
*/
|
|
5
|
+
import { BuildState } from './render';
|
|
6
|
+
export declare function requirePositive(name: string, value: number | undefined, fallback?: number): number;
|
|
7
|
+
export declare function buildBox(state: BuildState): void;
|
|
8
|
+
export declare function buildRoundTable(state: BuildState): void;
|
|
9
|
+
export declare function buildSofa(state: BuildState): void;
|
|
10
|
+
export declare function buildLongchair(state: BuildState): void;
|
|
11
|
+
export declare function buildCornerElement(state: BuildState): void;
|
|
12
|
+
/** Récamiere/Liegeelement: open lying surface, backrest band along ONE SIDE only; the opposite side docks. */
|
|
13
|
+
export declare function buildRecamiere(state: BuildState): void;
|
|
14
|
+
/**
|
|
15
|
+
* L-shaped one-piece corner landscape: a BAR along the back edge (full width × barDepthCm) plus a LEG on one
|
|
16
|
+
* side (legWidthCm × full depth). Bands run along the back and the leg's outer side; the two open ends dock.
|
|
17
|
+
*/
|
|
18
|
+
export declare function buildLShape(state: BuildState): void;
|
|
19
|
+
export declare function buildBed(state: BuildState): void;
|
|
20
|
+
//# sourceMappingURL=templates.d.ts.map
|
package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/templates.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/layout/Toolbar/Tools/DivaAgent/articleSvg/templates.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAE,UAAU,EAAqC,MAAM,UAAU,CAAC;AAGzE,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAMlG;AAyED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,CAShD;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,CAYvD;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,CAiNjD;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,CA+JtD;AA8DD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,CA8H1D;AAED,8GAA8G;AAC9G,wBAAgB,cAAc,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,CAuCtD;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,CA6DnD;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,CAsEhD"}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Public types of the parameterized top-view SVG generation for planner articles.
|
|
3
|
+
*
|
|
4
|
+
* The planner parses semantics out of these SVGs (web-planner-logic SVGUtils/PlannerHandler2D/DockingPointHandler):
|
|
5
|
+
* - `OLT` (rect/polygon): top outline — size source (user units = cm × 2.834637306, Y = depth toward the viewer),
|
|
6
|
+
* collision box and stretch reference.
|
|
7
|
+
* - `OLF` (rect/polygon): FUNCTIONAL footprint (pull-out beds, door swings) — preferred over OLT when present.
|
|
8
|
+
* - `SAH*`/`SAV*` (invisible rects): stretch areas, each an INSERTION LINE at its left/top edge; the authored sizes
|
|
9
|
+
* only set the ratio by which strips share the delta. Without them a non-USEGLOBALSVGSCALE catalog cannot resize.
|
|
10
|
+
* - `AV{L,R,C,N,O,S,U}<n>[_IL]` (MUST be <line>): docking connectors, read by position and endpoint order
|
|
11
|
+
* (p1 above p2 = rotation 0). Opposites dock L↔R, O↔U, N↔S, C↔C; equal numeric suffixes pair; `_IL` skips the layer check.
|
|
12
|
+
* - `TE*` groups are force-hidden; visible artwork carries no semantics and is styled via `ArticleSvgStyle` (./style.ts).
|
|
13
|
+
*/
|
|
14
|
+
import { ArticleSvgStyleInput } from './style';
|
|
15
|
+
export type ConnectorType = 'AVL' | 'AVR' | 'AVC' | 'AVN' | 'AVO' | 'AVS' | 'AVU';
|
|
16
|
+
export declare const CONNECTOR_TYPES: ConnectorType[];
|
|
17
|
+
export interface ConnectorSpec {
|
|
18
|
+
type: ConnectorType;
|
|
19
|
+
/** Pairs with the opposite connector of the same number (AVU1 ↔ AVO1). */
|
|
20
|
+
number?: number;
|
|
21
|
+
/** 0..1 along the owning edge (AVL/AVR along depth, default 0 = BACK edge so different-depth modules align; others along width, default 0.5). */
|
|
22
|
+
position?: number;
|
|
23
|
+
/** 0..1 along the DEPTH axis for interior connectors (AVC/AVO/AVU). Default 0.5. */
|
|
24
|
+
positionY?: number;
|
|
25
|
+
/** Expansion target for interior connectors without explicit position: per seat cushion (default), per back cushion/band, or at the free front edge. */
|
|
26
|
+
per?: 'seat' | 'back' | 'front';
|
|
27
|
+
/** Adds the `_IL` marker: this connector docks regardless of layer. */
|
|
28
|
+
ignoreLayer?: boolean;
|
|
29
|
+
/** Direction of the connector LINE (p1→p2) — the planner derives the docking ROTATION from it ('down' = rotation 0, the default). */
|
|
30
|
+
direction?: 'down' | 'up' | 'left' | 'right';
|
|
31
|
+
/** Line length in cm — cosmetic, the planner reads p1 + direction (default 3.5). */
|
|
32
|
+
lengthCm?: number;
|
|
33
|
+
/** Emit the id WITHOUT a numeric suffix (plain 'AVR'). */
|
|
34
|
+
unnumbered?: boolean;
|
|
35
|
+
}
|
|
36
|
+
export type ArticleSvgTemplate = 'box' | 'roundTable' | 'sofaModule' | 'longchair' | 'cornerElement' | 'recamiere' | 'lShape' | 'bed';
|
|
37
|
+
export interface ArticleSvgSpec {
|
|
38
|
+
template: ArticleSvgTemplate;
|
|
39
|
+
/** Article width in cm (planner articleSizeX; item measures in mm ÷ 10). bed / longchair 'extension': body only — headboard resp. arms add to it, the result reports the TOTAL. */
|
|
40
|
+
widthCm: number;
|
|
41
|
+
/** Article depth in cm (planner articleSizeY — top view, toward the viewer). bed: the BED only. */
|
|
42
|
+
depthCm: number;
|
|
43
|
+
/**
|
|
44
|
+
* SQUARE canvas edge in cm for ARTICLE-LIST images: the drawing is centered in it, so articles sharing one
|
|
45
|
+
* canvasCm share one scale (use the LARGEST extent of the serie). NOT for the planner top view.
|
|
46
|
+
*/
|
|
47
|
+
canvasCm?: number;
|
|
48
|
+
/** Manufacturer drawing style: preset name or JSON style config — visible artwork only, the planner semantics stay identical. */
|
|
49
|
+
style?: ArticleSvgStyleInput;
|
|
50
|
+
/** Corner rounding in cm: box body; sofa/longchair PARTS (Armlehnen, Rückenlehne, Polster); bed headboard+mattress. */
|
|
51
|
+
cornerRadiusCm?: number;
|
|
52
|
+
/** Body fill color (legacy shortcut — prefer style.parts.body.fill). */
|
|
53
|
+
fill?: string;
|
|
54
|
+
/** Outline/detail stroke color (legacy shortcut — prefer style.base.stroke). */
|
|
55
|
+
stroke?: string;
|
|
56
|
+
/** Short text rendered in the center of the body. */
|
|
57
|
+
label?: string;
|
|
58
|
+
connectors?: ConnectorSpec[];
|
|
59
|
+
/** false = suppress ALL auto-added docking connectors; the explicit `connectors` list is then complete. */
|
|
60
|
+
autoConnectors?: boolean;
|
|
61
|
+
/** Extends the FUNCTIONAL footprint (OLF) beyond the visible body, in cm — e.g. a pull-out bed to the front. */
|
|
62
|
+
functionalOverhangCm?: {
|
|
63
|
+
left?: number;
|
|
64
|
+
right?: number;
|
|
65
|
+
front?: number;
|
|
66
|
+
back?: number;
|
|
67
|
+
};
|
|
68
|
+
/** Emit stretch areas so the article resizes without USEGLOBALSVGSCALE (default true). */
|
|
69
|
+
stretchable?: boolean;
|
|
70
|
+
/** sofaModule: seat cushion count (default 2). longchair: BACK cushion count (default 1 — the seat is ONE folded cushion). */
|
|
71
|
+
seats?: number;
|
|
72
|
+
/** sofaModule/longchair: armrest widths in cm; 0 = open (dockable) side. Defaults: sofa 15/15, longchair 0/15. */
|
|
73
|
+
armLeftCm?: number;
|
|
74
|
+
armRightCm?: number;
|
|
75
|
+
/** sofaModule: arms drawn PROTRUDING past the body at back and front by this many cm — purely visual, OLT/collision unchanged. */
|
|
76
|
+
armProtrudeCm?: number;
|
|
77
|
+
/** longchair: how far the armrests reach from the back edge toward the front, in cm (default depthCm/2). */
|
|
78
|
+
armDepthCm?: number;
|
|
79
|
+
/** Portrait Abschlusselement (sideBackSide + depth > width): seat/lying division depth; default half the depth. */
|
|
80
|
+
seatDepthCm?: number;
|
|
81
|
+
/** longchair: 'inset' (default) — the arms take space from the seat, which folds around their fronts; 'extension' — the arms ADD to widthCm. */
|
|
82
|
+
armStyle?: 'inset' | 'extension';
|
|
83
|
+
/** longchair: fraction of each armrest OUTSIDE the seat body (0 = inset, 1 = extension). Wins over armStyle; outside portions ADD to the width. */
|
|
84
|
+
armOutsideRatio?: number;
|
|
85
|
+
/** sofaModule/longchair/cornerElement: backrest depth in cm (default 20, capped at 40% of depth). longchair also accepts 0 = backless liege (no band, no fold seam). */
|
|
86
|
+
backDepthCm?: number;
|
|
87
|
+
/** longchair: draw loose back cushions as overlapping leaf shapes along the back edge (Daybed idiom) — usually combined with backDepthCm 0. */
|
|
88
|
+
looseBackCushions?: boolean;
|
|
89
|
+
/** sofaModule: the backrest band covers only THIS segment of the back edge, in cm from the left edge (default: the full zone between the arms). */
|
|
90
|
+
backFromCm?: number;
|
|
91
|
+
backToCm?: number;
|
|
92
|
+
/** sofaModule: additional backrest band down ONE side (one-piece corner) — requires the back band to REACH that side. */
|
|
93
|
+
sideBackSide?: 'left' | 'right';
|
|
94
|
+
/** sofaModule/longchair: draw seat/back cushions (legacy shortcut for style.cushionMode 'none'; default true). */
|
|
95
|
+
cushions?: boolean;
|
|
96
|
+
/** cornerElement/recamiere: which side carries the (second) backrest band (default 'left'). */
|
|
97
|
+
backSide?: 'left' | 'right';
|
|
98
|
+
/**
|
|
99
|
+
* cornerElement/sofaModule: FRONT corner treatment — 'square' (default), 'diagonal' (Fase), 'round' (Rundecke).
|
|
100
|
+
* cornerElement cuts the corner opposite the bands, sofaModule the `cornerShapeSide` one; the OLT stays the full rectangle.
|
|
101
|
+
*/
|
|
102
|
+
cornerShape?: 'square' | 'diagonal' | 'round';
|
|
103
|
+
/** sofaModule: which FRONT corner carries the cornerShape cut (default 'right'). */
|
|
104
|
+
cornerShapeSide?: 'left' | 'right';
|
|
105
|
+
/** cornerElement: extent of the cut/arc from the front corner in cm (default 40% of the smaller side). */
|
|
106
|
+
cornerShapeCm?: number;
|
|
107
|
+
/** bed: OPT-IN headboard in cm — it ADDS to the bed footprint, so the item's depth must be the TOTAL. Giving one defaults the other (bed width / 8cm). */
|
|
108
|
+
headboardWidthCm?: number;
|
|
109
|
+
headboardDepthCm?: number;
|
|
110
|
+
/** lShape: which side carries the deep LEG (default 'left'). */
|
|
111
|
+
legSide?: 'left' | 'right';
|
|
112
|
+
/** lShape: width of the leg along x, in cm (default 40% of widthCm). */
|
|
113
|
+
legWidthCm?: number;
|
|
114
|
+
/** lShape: depth of the back BAR along y, in cm (default 45% of depthCm). */
|
|
115
|
+
barDepthCm?: number;
|
|
116
|
+
}
|
|
117
|
+
export interface GeneratedArticleSvg {
|
|
118
|
+
svg: string;
|
|
119
|
+
/** TOTAL article extents in cm (incl. bed headboard / longchair extension arms). */
|
|
120
|
+
widthCm: number;
|
|
121
|
+
depthCm: number;
|
|
122
|
+
/** The square canvas edge actually used (set only when canvasCm was requested; grows to fit). */
|
|
123
|
+
canvasCm?: number;
|
|
124
|
+
/** Emitted connector element ids (e.g. 'AVL1'). */
|
|
125
|
+
connectors: string[];
|
|
126
|
+
/** Non-fatal notes for the caller (auto-added connectors, approximations, unverified conventions). */
|
|
127
|
+
warnings: string[];
|
|
128
|
+
}
|
|
129
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/layout/Toolbar/Tools/DivaAgent/articleSvg/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAE/C,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KA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,CAAC;IACnC,0GAA0G;IAC1G,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,0JAA0J;IAC1J,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gEAAgE;IAChE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC3B,wEAAwE;IACxE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,6EAA6E;IAC7E,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,mBAAmB;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,oFAAoF;IACpF,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,iGAAiG;IACjG,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,mDAAmD;IACnD,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,sGAAsG;IACtG,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB"}
|
package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/backofficeToolset.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backofficeToolset.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/DivaAgent/backofficeToolset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"backofficeToolset.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/DivaAgent/backofficeToolset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAuB,MAAM,2BAA2B,CAAC;AAEnF,OAAO,EAAW,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;AAEjH,6HAA6H;AAC7H,MAAM,WAAW,iBAAiB;IAChC,UAAU,EAAE,iBAAiB,CAAC;IAC9B,YAAY,EAAE,mBAAmB,CAAC;CACnC;AAED,MAAM,WAAW,wBAAwB;IACvC,8EAA8E;IAC9E,UAAU,EAAE,iBAAiB,CAAC;IAC9B,YAAY,EAAE,mBAAmB,CAAC;IAClC,SAAS,EAAE;QAAE,eAAe,CAAC,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC7D,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,iEAAiE;IACjE,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,iBAAiB,GAAG,SAAS,CAAC;CAClD;AAuCD,0HAA0H;AAC1H,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,wBAAwB,GAAG,YAAY,CA0FnF"}
|
|
@@ -111,5 +111,9 @@ export interface AssetCellWrite {
|
|
|
111
111
|
approve?: (entry: GridEntry) => Promise<boolean>;
|
|
112
112
|
}
|
|
113
113
|
export declare function writeAssetCell(root: RootStore, args: AssetCellWrite): Promise<Record<string, unknown>>;
|
|
114
|
+
/**
|
|
115
|
+
* Media toolset: asset upload plus asset-CELL writes — the surfaces stageTableEdits cannot cover,
|
|
116
|
+
* because asset cells store `{mediaitemId, url, name}` objects that only exist after an upload.
|
|
117
|
+
*/
|
|
114
118
|
export declare function createMediaToolset(ctx: MediaToolsetContext): AgentToolset;
|
|
115
119
|
//# sourceMappingURL=mediaToolset.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mediaToolset.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/DivaAgent/mediaToolset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,KAAK,SAAS,MAAM,6BAA6B,CAAC;AACzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"mediaToolset.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar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
|
package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/navigationToolset.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigationToolset.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/DivaAgent/navigationToolset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAoB,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACzF,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAG5D,OAAO,KAAK,SAAS,MAAM,6BAA6B,CAAC;AAezD,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,SAAS,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qFAAqF;IACrF,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;
|
|
1
|
+
{"version":3,"file":"navigationToolset.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/DivaAgent/navigationToolset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAoB,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACzF,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAG5D,OAAO,KAAK,SAAS,MAAM,6BAA6B,CAAC;AAezD,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,SAAS,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qFAAqF;IACrF,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAmED,qGAAqG;AACrG,kIAAkI;AAClI,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAqC,CAAC;AAE1F,eAAO,MAAM,oBAAoB,EAAE,OAAO,EAsRzC,CAAC;AAWF,kIAAkI;AAClI,eAAO,MAAM,sBAAsB,qDAAgD,CAAC;AAiEpF;;;GAGG;AACH,wBAAsB,WAAW,CAAC,GAAG,EAAE,OAAO,CAAC,GAAG,CAAC,EAAE,SAAS,SAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAatF;AAqPD;;;;GAIG;AACH,wBAAsB,aAAa,CACjC,GAAG,EAAE,OAAO,CAAC,GAAG,CAAC,EACjB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,EACb,MAAM,UAAO,GACZ,OAAO,CAAC;IAAE,IAAI,EAAE,QAAQ,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;IAAC,aAAa,EAAE,OAAO,CAAC;IAAC,aAAa,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,CAgE7H;AAoBD,oFAAoF;AACpF,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,wBAAwB,GAAG,YAAY,CAolFnF;AA8ED;;;GAGG;AACH,wBAAsB,kBAAkB,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAgDrF"}
|
|
@@ -23,6 +23,24 @@ export interface AgentGridAction {
|
|
|
23
23
|
note?: string;
|
|
24
24
|
}>;
|
|
25
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* The parent row a SUBTABLE is bound to - the row its endpoint is scoped by - as the module that opens the subtable
|
|
28
|
+
* declares it. A stageTableEdits without parentRow lands under exactly this row and is refused while there is none;
|
|
29
|
+
* a parentRow call waits until it reports the row that call selected.
|
|
30
|
+
*/
|
|
31
|
+
export interface AgentBoundParent {
|
|
32
|
+
/** The parent grid's label, as listGrids names it. */
|
|
33
|
+
grid: string;
|
|
34
|
+
/** The parent grid's key column. */
|
|
35
|
+
column: string;
|
|
36
|
+
/** The bound row's value in `column`; unset while no parent row is bound. */
|
|
37
|
+
value?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The toolbar tool that opens this subtable - what parentRow.tool names. Its gridId and label can carry other names
|
|
40
|
+
* (finishes under 'priceFeatureGroupFinishes'), so this is how a repeated parentRow call finds it while it is open.
|
|
41
|
+
*/
|
|
42
|
+
tool?: string;
|
|
43
|
+
}
|
|
26
44
|
/**
|
|
27
45
|
* A live table as the agent sees it: registered by the SpreadsheetWrapper on mount (re-registered when its label or
|
|
28
46
|
* description changes), removed on unmount. The callbacks read the current handle and actions at call time, so a
|
|
@@ -44,6 +62,8 @@ export interface GridEntry {
|
|
|
44
62
|
getHandle: () => SpreadsheetRefProps | null;
|
|
45
63
|
/** The view-declared agent actions of this table, read live so a re-render never needs a re-registration. */
|
|
46
64
|
getActions: () => AgentGridAction[];
|
|
65
|
+
/** Set only on a SUBTABLE: the parent row it is bound to right now, read live (see AgentBoundParent). */
|
|
66
|
+
getBoundParent?: () => AgentBoundParent | undefined;
|
|
47
67
|
/** Shows the in-grid approval bar and resolves the user's decision; false on discard, unmount or abort. */
|
|
48
68
|
requestAgentApproval: (changeCount: number, actionLabel?: string, signal?: AbortSignal) => Promise<boolean>;
|
|
49
69
|
}
|
|
@@ -58,7 +78,7 @@ export default class GridRegistry {
|
|
|
58
78
|
constructor();
|
|
59
79
|
register(entry: Omit<GridEntry, 'id'>): number;
|
|
60
80
|
unregister(id: number): void;
|
|
61
|
-
/** Grids currently mounted, in mount order
|
|
81
|
+
/** Grids currently mounted, in mount order. */
|
|
62
82
|
get entries(): GridEntry[];
|
|
63
83
|
}
|
|
64
84
|
//# sourceMappingURL=GridRegistry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GridRegistry.d.ts","sourceRoot":"","sources":["../../../../../src/store/GridRegistry.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEtE;;;;;GAKG;AACH,MAAM,WAAW,eAAe;IAC9B,kEAAkE;IAClE,IAAI,EAAE,MA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AAE,MAAM,CAAC;IACrB,8GAA8G;IAC9G,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,sEAAsE;IACtE,SAAS,EAAE,MAAM,mBAAmB,GAAG,IAAI,CAAC;IAC5C,6GAA6G;IAC7G,UAAU,EAAE,MAAM,eAAe,EAAE,CAAC;IACpC,yGAAyG;IACzG,cAAc,CAAC,EAAE,MAAM,gBAAgB,GAAG,SAAS,CAAC;IACpD,2GAA2G;IAC3G,oBAAoB,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;CAC7G;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,YAAY;IAC/B,OAAO,CAAC,QAAQ,CAAmB;IACnC,OAAO,CAAC,IAAI,CAAK;;IAQjB,QAAQ,CAAC,KAAK,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,GAAG,MAAM;IAM9C,UAAU,CAAC,EAAE,EAAE,MAAM;IAIrB,+CAA+C;IAC/C,IAAI,OAAO,IAAI,SAAS,EAAE,CAEzB;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addRowsDryRun.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsDryRun.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addRowsLookupReuse.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsLookupReuse.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addRowsReceipt.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsReceipt.test.ts"],"names":[],"mappings":""}
|