@esri/hub-common 23.4.0 → 23.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"layout-system-types.js","sourceRoot":"","sources":["../../../src/layouts/layout-system-types.ts"],"names":[],"mappings":"AAUA,8DAA8D;AAC9D,MAAM,CAAC,MAAM,WAAW,GAA+B;IACrD,EAAE,EAAE,CAAC;IACL,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,IAAI;IACR,GAAG,EAAE,IAAI;CACV,CAAC;AAsdF;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,uBAAuB;IACvB,mBAAmB;IACnB,sBAAsB;IACtB,gBAAgB;IAChB,cAAc;IACd,gBAAgB;IAChB,kBAAkB;IAClB,yBAAyB;IACzB,kBAAkB;IAClB,uBAAuB;IACvB,iBAAiB;IACjB,qBAAqB;IACrB,4BAA4B;IAC5B,oBAAoB;IACpB,qBAAqB;IACrB,gCAAgC;IAChC,qCAAqC;IACrC,+BAA+B;IAC/B,gCAAgC;IAChC,qCAAqC;IACrC,wBAAwB;IACxB,KAAK;CACG,CAAC;AAIX;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,gCAAgC;IAChC,uBAAuB;IACvB,2BAA2B;IAC3B,8BAA8B;IAC9B,4BAA4B;IAC5B,8BAA8B;CACtB,CAAC"}
1
+ {"version":3,"file":"layout-system-types.js","sourceRoot":"","sources":["../../../src/layouts/layout-system-types.ts"],"names":[],"mappings":"AAUA,8DAA8D;AAC9D,MAAM,CAAC,MAAM,WAAW,GAA+B;IACrD,EAAE,EAAE,CAAC;IACL,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,IAAI;IACR,GAAG,EAAE,IAAI;CACV,CAAC;AAwdF;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,uBAAuB;IACvB,mBAAmB;IACnB,sBAAsB;IACtB,gBAAgB;IAChB,cAAc;IACd,gBAAgB;IAChB,kBAAkB;IAClB,yBAAyB;IACzB,kBAAkB;IAClB,uBAAuB;IACvB,iBAAiB;IACjB,qBAAqB;IACrB,4BAA4B;IAC5B,oBAAoB;IACpB,qBAAqB;IACrB,gCAAgC;IAChC,qCAAqC;IACrC,+BAA+B;IAC/B,gCAAgC;IAChC,qCAAqC;IACrC,wBAAwB;IACxB,KAAK;CACG,CAAC;AAIX;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,gCAAgC;IAChC,uBAAuB;IACvB,2BAA2B;IAC3B,8BAA8B;IAC9B,4BAA4B;IAC5B,8BAA8B;CACtB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"layout-system-types.js","sourceRoot":"","sources":["../../../src/layouts/layout-system-types.ts"],"names":[],"mappings":";;;AAUA,8DAA8D;AACjD,QAAA,WAAW,GAA+B;IACrD,EAAE,EAAE,CAAC;IACL,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,IAAI;IACR,GAAG,EAAE,IAAI;CACV,CAAC;AAsdF;;;;GAIG;AACU,QAAA,cAAc,GAAG;IAC5B,uBAAuB;IACvB,mBAAmB;IACnB,sBAAsB;IACtB,gBAAgB;IAChB,cAAc;IACd,gBAAgB;IAChB,kBAAkB;IAClB,yBAAyB;IACzB,kBAAkB;IAClB,uBAAuB;IACvB,iBAAiB;IACjB,qBAAqB;IACrB,4BAA4B;IAC5B,oBAAoB;IACpB,qBAAqB;IACrB,gCAAgC;IAChC,qCAAqC;IACrC,+BAA+B;IAC/B,gCAAgC;IAChC,qCAAqC;IACrC,wBAAwB;IACxB,KAAK;CACG,CAAC;AAIX;;;GAGG;AACU,QAAA,gBAAgB,GAAG;IAC9B,gCAAgC;IAChC,uBAAuB;IACvB,2BAA2B;IAC3B,8BAA8B;IAC9B,4BAA4B;IAC5B,8BAA8B;CACtB,CAAC"}
1
+ {"version":3,"file":"layout-system-types.js","sourceRoot":"","sources":["../../../src/layouts/layout-system-types.ts"],"names":[],"mappings":";;;AAUA,8DAA8D;AACjD,QAAA,WAAW,GAA+B;IACrD,EAAE,EAAE,CAAC;IACL,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,IAAI;IACR,GAAG,EAAE,IAAI;CACV,CAAC;AAwdF;;;;GAIG;AACU,QAAA,cAAc,GAAG;IAC5B,uBAAuB;IACvB,mBAAmB;IACnB,sBAAsB;IACtB,gBAAgB;IAChB,cAAc;IACd,gBAAgB;IAChB,kBAAkB;IAClB,yBAAyB;IACzB,kBAAkB;IAClB,uBAAuB;IACvB,iBAAiB;IACjB,qBAAqB;IACrB,4BAA4B;IAC5B,oBAAoB;IACpB,qBAAqB;IACrB,gCAAgC;IAChC,qCAAqC;IACrC,+BAA+B;IAC/B,gCAAgC;IAChC,qCAAqC;IACrC,wBAAwB;IACxB,KAAK;CACG,CAAC;AAIX;;;GAGG;AACU,QAAA,gBAAgB,GAAG;IAC9B,gCAAgC;IAChC,uBAAuB;IACvB,2BAA2B;IAC3B,8BAA8B;IAC9B,4BAA4B;IAC5B,8BAA8B;CACtB,CAAC"}
@@ -524,7 +524,7 @@ export { applyVersion, checkForStaleVersion } from "./versioning/utils";
524
524
  export { HubError, OperationError, OperationStack };
525
525
  export { IMigratableSchema, MigratableSchemaTransformMap, } from "./migrations/types";
526
526
  export { Breakpoint, ColumnWidth, HTMLConfigurableLayoutNodeElement, IColumn, IColumnProps, IConfigurableLayoutNode, ITranslationMap, ILayoutNode, ILayoutNodeConfig, IProcessLayoutOptions, IRow, IRowProps, ISection, ISectionProps, LayoutColumnChild, LayoutNodeTag, layoutNodeTags, LayoutEditorTag, LayoutNode, Ref, SectionOrRef, ResponsiveValue, } from "./layouts/layout-system-types";
527
- export { ILayoutNodeChangeEventDetail, ILayoutPublishEventDetail, } from "./layouts/layout-event-types";
527
+ export { ILayoutNodeChangeEventDetail, ILayoutPublishEventDetail, ILayoutNodeRepositionEventDetail, } from "./layouts/layout-event-types";
528
528
  export { ILayout, Layout, LayoutUtils } from "./layouts/types";
529
529
  export { ILayoutV1 } from "./layouts/migrations/types/ILayoutV1";
530
530
  export { ILayoutV2 } from "./layouts/migrations/types/ILayoutV2";
@@ -278,11 +278,13 @@ export interface ILayoutNodeConfig {
278
278
  /** Tag of the layout node. */
279
279
  tag: LayoutNodeTag;
280
280
  /** Whether the node is editable. */
281
- canEdit?: boolean;
281
+ disableEdit?: boolean;
282
282
  /** Whether the node is repositionable. */
283
- canMove?: boolean;
283
+ disableMove?: boolean;
284
+ /** Whether the node is deletable. */
285
+ disableDelete?: boolean;
284
286
  /** Whether the node's visibility is adjustable. */
285
- canAdjustVisibility?: boolean;
287
+ disableAdjustVisibility?: boolean;
286
288
  /** Default values for the node's configuration. */
287
289
  defaults: Record<string, unknown>;
288
290
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/hub-common",
3
- "version": "23.4.0",
3
+ "version": "23.5.0",
4
4
  "description": "Common TypeScript types and utility functions for @esri/hub.js.",
5
5
  "main": "dist/node/index.js",
6
6
  "module": "dist/esm/index.js",