cx 26.9.2 → 26.9.3

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/dist/widgets.js CHANGED
@@ -5533,10 +5533,14 @@ class OverlayBase extends ContainerBase$1 {
5533
5533
  }
5534
5534
  } else if (context.options.dismiss) instance.dismiss = context.options.dismiss;
5535
5535
  if (instance.dismiss) {
5536
- context.push("parentOptions", {
5536
+ let parentOptions = {
5537
5537
  ...context.parentOptions,
5538
5538
  dismiss: instance.dismiss,
5539
- });
5539
+ };
5540
+ context.push("parentOptions", parentOptions);
5541
+ // The overlay's own instance captured parentOptions before this point, so
5542
+ // a controller attached to the overlay would not see its own dismiss.
5543
+ instance.parentOptions = parentOptions;
5540
5544
  }
5541
5545
  if (instance.cache("dismiss", instance.dismiss)) instance.markShouldUpdate(context);
5542
5546
  context.push("parentPositionChangeEvent", instance.positionChangeSubscribers);
@@ -9547,7 +9551,7 @@ class Field extends PureContainerBase$1 {
9547
9551
  }
9548
9552
  if (this.help != null) {
9549
9553
  let helpConfig = {};
9550
- if (this.help.isComponentType) helpConfig = this.help;
9554
+ if (this.help.isComponentType === true) helpConfig = this.help;
9551
9555
  else if (isSelector(this.help)) helpConfig.text = this.help;
9552
9556
  else Object.assign(helpConfig, this.help);
9553
9557
  this.help = HelpText.create(helpConfig);
@@ -9561,7 +9565,7 @@ class Field extends PureContainerBase$1 {
9561
9565
  style: this.labelStyle,
9562
9566
  class: this.labelClass,
9563
9567
  };
9564
- if (this.label.isComponentType) labelConfig = this.label;
9568
+ if (this.label.isComponentType === true) labelConfig = this.label;
9565
9569
  else if (isSelector(this.label)) labelConfig.text = this.label;
9566
9570
  else Object.assign(labelConfig, this.label);
9567
9571
  this.label = Label.create(labelConfig);
@@ -13187,7 +13191,7 @@ class LabeledContainer extends FieldGroup {
13187
13191
  asterisk: this.asterisk,
13188
13192
  required: true,
13189
13193
  };
13190
- if (this.label.isComponentType) labelConfig = this.label;
13194
+ if (this.label.isComponentType === true) labelConfig = this.label;
13191
13195
  else if (isSelector(this.label)) labelConfig.text = this.label;
13192
13196
  else Object.assign(labelConfig, this.label);
13193
13197
  this.label = Widget$1.create(labelConfig);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cx",
3
- "version": "26.9.2",
3
+ "version": "26.9.3",
4
4
  "description": "Advanced JavaScript UI framework for admin and dashboard applications with ready to use grid, form and chart components.",
5
5
  "exports": {
6
6
  "./data": {
package/src/data/index.ts CHANGED
@@ -1,31 +1,31 @@
1
- export * from "./Binding";
2
- export * from "./Expression";
3
- export * from "./StringTemplate";
4
- export * from "./View";
5
- export * from "./SubscribableView";
6
- export * from "./Store";
7
- export * from "./ExposedRecordView";
8
- export * from "./ExposedValueView";
9
- export * from "./ReadOnlyDataView";
10
- export * from "./ZoomIntoPropertyView";
11
- export * from "./StructuredSelector";
12
- export * from "./computable";
13
- export * from "./getSelector";
14
- export * from "./isSelector";
15
- export * from "./Grouper";
16
- export * from "./comparer";
17
- export * from "./enableFatArrowExpansion";
18
- export * from "./ops/index";
19
- export * from "./diff/index";
20
- export * from "./Ref";
21
- export * from "./ArrayRef";
22
- export * from "./StoreProxy";
23
- export * from "./AugmentedViewBase";
24
- export * from "./ArrayElementView";
25
- export * from "./getAccessor";
26
- export * from "./defaultCompare";
27
- export * from "./NestedDataView";
28
- export * from "./AggregateFunction";
29
-
30
- export * from "./createAccessorModelProxy";
31
- export * from "./Selector";
1
+ export * from "./Binding";
2
+ export * from "./Expression";
3
+ export * from "./StringTemplate";
4
+ export * from "./View";
5
+ export * from "./SubscribableView";
6
+ export * from "./Store";
7
+ export * from "./ExposedRecordView";
8
+ export * from "./ExposedValueView";
9
+ export * from "./ReadOnlyDataView";
10
+ export * from "./ZoomIntoPropertyView";
11
+ export * from "./StructuredSelector";
12
+ export * from "./computable";
13
+ export * from "./getSelector";
14
+ export * from "./isSelector";
15
+ export * from "./Grouper";
16
+ export * from "./comparer";
17
+ export * from "./enableFatArrowExpansion";
18
+ export * from "./ops/index";
19
+ export * from "./diff/index";
20
+ export * from "./Ref";
21
+ export * from "./ArrayRef";
22
+ export * from "./StoreProxy";
23
+ export * from "./AugmentedViewBase";
24
+ export * from "./ArrayElementView";
25
+ export * from "./getAccessor";
26
+ export * from "./defaultCompare";
27
+ export * from "./NestedDataView";
28
+ export * from "./AggregateFunction";
29
+
30
+ export * from "./createAccessorModelProxy";
31
+ export * from "./Selector";