cx 24.3.8 → 24.3.9
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/charts.js +35 -35
- package/dist/data.js +37 -27
- package/dist/manifest.js +765 -741
- package/dist/svg.js +11 -11
- package/dist/ui.js +213 -86
- package/dist/util.js +6 -1
- package/dist/widgets.js +141 -147
- package/package.json +1 -1
- package/src/data/Expression.d.ts +17 -16
- package/src/data/Expression.js +220 -212
- package/src/data/StringTemplate.d.ts +15 -14
- package/src/data/StringTemplate.js +92 -85
- package/src/ui/Culture.d.ts +47 -23
- package/src/ui/Culture.js +132 -76
- package/src/ui/CultureScope.d.ts +10 -0
- package/src/ui/CultureScope.js +53 -0
- package/src/ui/Format.js +107 -87
- package/src/ui/index.d.ts +43 -42
- package/src/ui/index.js +45 -44
- package/src/util/Format.d.ts +18 -14
- package/src/util/Format.js +234 -242
package/dist/ui.js
CHANGED
|
@@ -12,6 +12,8 @@ import {
|
|
|
12
12
|
getSelector,
|
|
13
13
|
Binding,
|
|
14
14
|
ZoomIntoPropertyView,
|
|
15
|
+
setGetExpressionCacheCallback,
|
|
16
|
+
setGetStringTemplateCacheCallback,
|
|
15
17
|
isAccessorChain,
|
|
16
18
|
SubscribableView,
|
|
17
19
|
Store,
|
|
@@ -41,6 +43,7 @@ import {
|
|
|
41
43
|
closestParent,
|
|
42
44
|
Format as Format$1,
|
|
43
45
|
resolveMinMaxFractionDigits,
|
|
46
|
+
setGetFormatCacheCallback,
|
|
44
47
|
isNonEmptyArray,
|
|
45
48
|
debug,
|
|
46
49
|
processDataFlag,
|
|
@@ -80,7 +83,7 @@ function _toPrimitive(t, r) {
|
|
|
80
83
|
}
|
|
81
84
|
function _toPropertyKey(t) {
|
|
82
85
|
var i = _toPrimitive(t, "string");
|
|
83
|
-
return "symbol" == typeof i ? i :
|
|
86
|
+
return "symbol" == typeof i ? i : i + "";
|
|
84
87
|
}
|
|
85
88
|
function _defineProperties(target, props) {
|
|
86
89
|
for (var i = 0; i < props.length; i++) {
|
|
@@ -129,20 +132,14 @@ function _setPrototypeOf(o, p) {
|
|
|
129
132
|
};
|
|
130
133
|
return _setPrototypeOf(o, p);
|
|
131
134
|
}
|
|
132
|
-
function _assertThisInitialized(self) {
|
|
133
|
-
if (self === void 0) {
|
|
134
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
135
|
-
}
|
|
136
|
-
return self;
|
|
137
|
-
}
|
|
138
135
|
|
|
139
136
|
var computablePrefix = "computable-";
|
|
140
137
|
var triggerPrefix = "trigger-";
|
|
141
138
|
var Controller = /*#__PURE__*/ (function (_Component) {
|
|
142
|
-
_inheritsLoose(Controller, _Component);
|
|
143
139
|
function Controller() {
|
|
144
140
|
return _Component.apply(this, arguments) || this;
|
|
145
141
|
}
|
|
142
|
+
_inheritsLoose(Controller, _Component);
|
|
146
143
|
var _proto = Controller.prototype;
|
|
147
144
|
_proto.init = function init(context) {
|
|
148
145
|
if (!this.initialized) {
|
|
@@ -345,7 +342,6 @@ var VDOM$1 = VDOM$2;
|
|
|
345
342
|
var VDOM = VDOM$1;
|
|
346
343
|
var widgetId = 100;
|
|
347
344
|
var Widget = /*#__PURE__*/ (function (_Component) {
|
|
348
|
-
_inheritsLoose(Widget, _Component);
|
|
349
345
|
function Widget(config) {
|
|
350
346
|
var _this;
|
|
351
347
|
_this = _Component.call(this, config) || this;
|
|
@@ -361,6 +357,7 @@ var Widget = /*#__PURE__*/ (function (_Component) {
|
|
|
361
357
|
}
|
|
362
358
|
return _this;
|
|
363
359
|
}
|
|
360
|
+
_inheritsLoose(Widget, _Component);
|
|
364
361
|
var _proto = Widget.prototype;
|
|
365
362
|
_proto.init = function init() {
|
|
366
363
|
if (this.styles) this.style = this.styles;
|
|
@@ -497,10 +494,10 @@ function getContent(x) {
|
|
|
497
494
|
}
|
|
498
495
|
|
|
499
496
|
var StaticText = /*#__PURE__*/ (function (_Widget) {
|
|
500
|
-
_inheritsLoose(StaticText, _Widget);
|
|
501
497
|
function StaticText() {
|
|
502
498
|
return _Widget.apply(this, arguments) || this;
|
|
503
499
|
}
|
|
500
|
+
_inheritsLoose(StaticText, _Widget);
|
|
504
501
|
var _proto = StaticText.prototype;
|
|
505
502
|
_proto.render = function render() {
|
|
506
503
|
return this.text;
|
|
@@ -510,10 +507,10 @@ var StaticText = /*#__PURE__*/ (function (_Widget) {
|
|
|
510
507
|
Widget.alias("static-text", StaticText);
|
|
511
508
|
|
|
512
509
|
var Text = /*#__PURE__*/ (function (_Widget) {
|
|
513
|
-
_inheritsLoose(Text, _Widget);
|
|
514
510
|
function Text() {
|
|
515
511
|
return _Widget.apply(this, arguments) || this;
|
|
516
512
|
}
|
|
513
|
+
_inheritsLoose(Text, _Widget);
|
|
517
514
|
var _proto = Text.prototype;
|
|
518
515
|
_proto.init = function init() {
|
|
519
516
|
if (!this.value && (this.tpl || this.expr || this.bind))
|
|
@@ -576,10 +573,10 @@ function exploreChildren(context, instance, children, previousResult, key, store
|
|
|
576
573
|
}
|
|
577
574
|
|
|
578
575
|
var Container = /*#__PURE__*/ (function (_Widget) {
|
|
579
|
-
_inheritsLoose(Container, _Widget);
|
|
580
576
|
function Container() {
|
|
581
577
|
return _Widget.apply(this, arguments) || this;
|
|
582
578
|
}
|
|
579
|
+
_inheritsLoose(Container, _Widget);
|
|
583
580
|
var _proto = Container.prototype;
|
|
584
581
|
_proto.init = function init(context) {
|
|
585
582
|
if (typeof this.ws !== "undefined") this.preserveWhitespace = this.ws;
|
|
@@ -733,20 +730,20 @@ Container.prototype.plainText = true;
|
|
|
733
730
|
Container.prototype.styled = false;
|
|
734
731
|
|
|
735
732
|
var PureContainer = /*#__PURE__*/ (function (_Container) {
|
|
736
|
-
_inheritsLoose(PureContainer, _Container);
|
|
737
733
|
function PureContainer() {
|
|
738
734
|
return _Container.apply(this, arguments) || this;
|
|
739
735
|
}
|
|
736
|
+
_inheritsLoose(PureContainer, _Container);
|
|
740
737
|
return PureContainer;
|
|
741
738
|
})(Container);
|
|
742
739
|
PureContainer.prototype.isPureContainer = true;
|
|
743
740
|
PureContainer.alias("pure-container", PureContainer);
|
|
744
741
|
|
|
745
742
|
var DataAdapter = /*#__PURE__*/ (function (_Component) {
|
|
746
|
-
_inheritsLoose(DataAdapter, _Component);
|
|
747
743
|
function DataAdapter() {
|
|
748
744
|
return _Component.apply(this, arguments) || this;
|
|
749
745
|
}
|
|
746
|
+
_inheritsLoose(DataAdapter, _Component);
|
|
750
747
|
var _proto = DataAdapter.prototype;
|
|
751
748
|
_proto.getRecords = function getRecords() {
|
|
752
749
|
throw new Error("Abstract method");
|
|
@@ -817,34 +814,84 @@ var Localization = /*#__PURE__*/ (function () {
|
|
|
817
814
|
return Localization;
|
|
818
815
|
})();
|
|
819
816
|
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
817
|
+
// let culture = "en";
|
|
818
|
+
// let numberCulture = null;
|
|
819
|
+
// let dateTimeCulture = null;
|
|
820
|
+
// let cache = {};
|
|
821
|
+
// let defaultCurrency = "USD";
|
|
822
|
+
// let dateEncoding = (date) => date.toISOString();
|
|
823
|
+
|
|
824
|
+
var stack = [
|
|
825
|
+
{
|
|
826
|
+
culture: "en",
|
|
827
|
+
numberCulture: null,
|
|
828
|
+
dateTimeCulture: null,
|
|
829
|
+
cache: {},
|
|
830
|
+
defaultCurrency: "USD",
|
|
831
|
+
dateEncoding: function dateEncoding(date) {
|
|
832
|
+
return date.toISOString();
|
|
833
|
+
},
|
|
834
|
+
},
|
|
835
|
+
];
|
|
836
|
+
function getRootCultureSpecs() {
|
|
837
|
+
return stack[0];
|
|
838
|
+
}
|
|
839
|
+
function getCurrentCultureSpecs() {
|
|
840
|
+
return stack[stack.length - 1];
|
|
841
|
+
}
|
|
842
|
+
function getCurrentCultureCache() {
|
|
843
|
+
return getCurrentCultureSpecs().cache;
|
|
844
|
+
}
|
|
845
|
+
function pushCulture(cultureInfo) {
|
|
846
|
+
stack.push(cultureInfo);
|
|
847
|
+
}
|
|
848
|
+
function createCulture(cultureSpecs) {
|
|
849
|
+
var current = getCurrentCultureSpecs();
|
|
850
|
+
var info = {
|
|
851
|
+
culture: current.culture,
|
|
852
|
+
dateEncoding: current.dateEncoding,
|
|
853
|
+
defaultCurrency: current.defaultCurrency,
|
|
854
|
+
cache: {},
|
|
855
|
+
};
|
|
856
|
+
for (var key in cultureSpecs) {
|
|
857
|
+
if (!cultureSpecs[key]) continue;
|
|
858
|
+
info[key] = cultureSpecs[key];
|
|
859
|
+
}
|
|
860
|
+
return info;
|
|
861
|
+
}
|
|
862
|
+
function popCulture() {
|
|
863
|
+
if (stack.length == 1) throw new Error("Cannot pop the last culture object.");
|
|
864
|
+
return stack.pop();
|
|
865
|
+
}
|
|
828
866
|
var Culture = /*#__PURE__*/ (function () {
|
|
829
867
|
function Culture() {}
|
|
830
868
|
Culture.setCulture = function setCulture(cultureCode) {
|
|
831
|
-
|
|
832
|
-
|
|
869
|
+
var cultureSpecs = getRootCultureSpecs();
|
|
870
|
+
cultureSpecs.culture = cultureCode;
|
|
871
|
+
cultureSpecs.cache = {};
|
|
833
872
|
Localization.setCulture(cultureCode);
|
|
834
873
|
this.invalidateCache();
|
|
835
874
|
};
|
|
836
875
|
Culture.setNumberCulture = function setNumberCulture(cultureCode) {
|
|
837
|
-
|
|
838
|
-
|
|
876
|
+
var cultureSpecs = getRootCultureSpecs();
|
|
877
|
+
cultureSpecs.numberCulture = cultureCode;
|
|
878
|
+
delete cultureSpecs.cache.numberCulture;
|
|
839
879
|
this.invalidateCache();
|
|
840
880
|
};
|
|
841
881
|
Culture.setDateTimeCulture = function setDateTimeCulture(cultureCode) {
|
|
842
|
-
|
|
843
|
-
|
|
882
|
+
var cultureSpecs = getRootCultureSpecs();
|
|
883
|
+
cultureSpecs.dateTimeCulture = cultureCode;
|
|
884
|
+
delete cultureSpecs.cache.dateTimeCulture;
|
|
844
885
|
this.invalidateCache();
|
|
845
886
|
};
|
|
846
887
|
Culture.setDefaultCurrency = function setDefaultCurrency(currencyCode) {
|
|
847
|
-
|
|
888
|
+
var cultureSpecs = getRootCultureSpecs();
|
|
889
|
+
cultureSpecs.defaultCurrency = currencyCode;
|
|
890
|
+
this.invalidateCache();
|
|
891
|
+
};
|
|
892
|
+
Culture.setDefaultDateEncoding = function setDefaultDateEncoding(encoding) {
|
|
893
|
+
var cultureSpecs = getRootCultureSpecs();
|
|
894
|
+
cultureSpecs.dateEncoding = encoding;
|
|
848
895
|
this.invalidateCache();
|
|
849
896
|
};
|
|
850
897
|
Culture.invalidateCache = function invalidateCache() {
|
|
@@ -853,53 +900,52 @@ var Culture = /*#__PURE__*/ (function () {
|
|
|
853
900
|
invalidateStringTemplateCache();
|
|
854
901
|
};
|
|
855
902
|
Culture.getNumberCulture = function getNumberCulture() {
|
|
856
|
-
var
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
return
|
|
903
|
+
var _getCurrentCultureSpe = getCurrentCultureSpecs(),
|
|
904
|
+
cache = _getCurrentCultureSpe.cache,
|
|
905
|
+
numberCulture = _getCurrentCultureSpe.numberCulture,
|
|
906
|
+
culture = _getCurrentCultureSpe.culture;
|
|
907
|
+
if (!cache.numberCulture) cache.numberCulture = new NumberCulture(numberCulture != null ? numberCulture : culture);
|
|
908
|
+
return cache.numberCulture;
|
|
862
909
|
};
|
|
863
910
|
Culture.getDateTimeCulture = function getDateTimeCulture() {
|
|
864
|
-
var
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
911
|
+
var _getCurrentCultureSpe2 = getCurrentCultureSpecs(),
|
|
912
|
+
cache = _getCurrentCultureSpe2.cache,
|
|
913
|
+
dateTimeCulture = _getCurrentCultureSpe2.dateTimeCulture,
|
|
914
|
+
culture = _getCurrentCultureSpe2.culture;
|
|
915
|
+
if (!cache.dateTimeCulture)
|
|
916
|
+
cache.dateTimeCulture = new DateTimeCulture(dateTimeCulture != null ? dateTimeCulture : culture);
|
|
917
|
+
return cache.dateTimeCulture;
|
|
870
918
|
};
|
|
871
919
|
Culture.getDefaultDateEncoding = function getDefaultDateEncoding() {
|
|
872
|
-
return dateEncoding;
|
|
873
|
-
};
|
|
874
|
-
Culture.setDefaultDateEncoding = function setDefaultDateEncoding(encoding) {
|
|
875
|
-
dateEncoding = encoding;
|
|
920
|
+
return getCurrentCultureSpecs().dateEncoding;
|
|
876
921
|
};
|
|
877
922
|
Culture.getComparer = function getComparer(options) {
|
|
923
|
+
var _getCurrentCultureSpe3 = getCurrentCultureSpecs(),
|
|
924
|
+
culture = _getCurrentCultureSpe3.culture;
|
|
878
925
|
if (typeof Intl.Collator != "undefined") return new Intl.Collator(culture, options).compare;
|
|
879
926
|
return defaultCompare;
|
|
880
927
|
};
|
|
881
|
-
_createClass(Culture, null, [
|
|
928
|
+
return _createClass(Culture, null, [
|
|
882
929
|
{
|
|
883
930
|
key: "defaultCurrency",
|
|
884
931
|
get: function get() {
|
|
885
|
-
return defaultCurrency;
|
|
932
|
+
return getCurrentCultureSpecs().defaultCurrency;
|
|
886
933
|
},
|
|
887
934
|
},
|
|
888
935
|
{
|
|
889
936
|
key: "culture",
|
|
890
937
|
get: function get() {
|
|
891
|
-
return culture;
|
|
938
|
+
return getCurrentCultureSpecs().culture;
|
|
892
939
|
},
|
|
893
940
|
},
|
|
894
941
|
]);
|
|
895
|
-
return Culture;
|
|
896
942
|
})();
|
|
897
943
|
|
|
898
944
|
var ArrayAdapter = /*#__PURE__*/ (function (_DataAdapter) {
|
|
899
|
-
_inheritsLoose(ArrayAdapter, _DataAdapter);
|
|
900
945
|
function ArrayAdapter() {
|
|
901
946
|
return _DataAdapter.apply(this, arguments) || this;
|
|
902
947
|
}
|
|
948
|
+
_inheritsLoose(ArrayAdapter, _DataAdapter);
|
|
903
949
|
var _proto = ArrayAdapter.prototype;
|
|
904
950
|
_proto.init = function init() {
|
|
905
951
|
this.recordsAccessor = getAccessor(this.recordsBinding ? this.recordsBinding : this.recordsAccessor);
|
|
@@ -1032,20 +1078,20 @@ ArrayAdapter.prototype.sealed = false;
|
|
|
1032
1078
|
ArrayAdapter.autoInit = true;
|
|
1033
1079
|
|
|
1034
1080
|
var UseParentLayout = /*#__PURE__*/ (function (_PureContainer) {
|
|
1035
|
-
_inheritsLoose(UseParentLayout, _PureContainer);
|
|
1036
1081
|
function UseParentLayout() {
|
|
1037
1082
|
return _PureContainer.apply(this, arguments) || this;
|
|
1038
1083
|
}
|
|
1084
|
+
_inheritsLoose(UseParentLayout, _PureContainer);
|
|
1039
1085
|
return UseParentLayout;
|
|
1040
1086
|
})(PureContainer);
|
|
1041
1087
|
UseParentLayout.prototype.noLayout = true;
|
|
1042
1088
|
UseParentLayout.prototype.useParentLayout = true;
|
|
1043
1089
|
|
|
1044
1090
|
var Repeater = /*#__PURE__*/ (function (_Container) {
|
|
1045
|
-
_inheritsLoose(Repeater, _Container);
|
|
1046
1091
|
function Repeater() {
|
|
1047
1092
|
return _Container.apply(this, arguments) || this;
|
|
1048
1093
|
}
|
|
1094
|
+
_inheritsLoose(Repeater, _Container);
|
|
1049
1095
|
var _proto = Repeater.prototype;
|
|
1050
1096
|
_proto.declareData = function declareData() {
|
|
1051
1097
|
var _Container$prototype$;
|
|
@@ -1167,10 +1213,10 @@ var StructuredInstanceDataAccessor = /*#__PURE__*/ (function () {
|
|
|
1167
1213
|
})();
|
|
1168
1214
|
|
|
1169
1215
|
var Rescope = /*#__PURE__*/ (function (_PureContainer) {
|
|
1170
|
-
_inheritsLoose(Rescope, _PureContainer);
|
|
1171
1216
|
function Rescope() {
|
|
1172
1217
|
return _PureContainer.apply(this, arguments) || this;
|
|
1173
1218
|
}
|
|
1219
|
+
_inheritsLoose(Rescope, _PureContainer);
|
|
1174
1220
|
var _proto = Rescope.prototype;
|
|
1175
1221
|
_proto.init = function init() {
|
|
1176
1222
|
this.binding = Binding.get(this.bind);
|
|
@@ -1562,6 +1608,21 @@ function enableCultureSensitiveFormatting() {
|
|
|
1562
1608
|
return formatter.format(new Date(value));
|
|
1563
1609
|
};
|
|
1564
1610
|
});
|
|
1611
|
+
setGetFormatCacheCallback(function () {
|
|
1612
|
+
var cache = getCurrentCultureCache();
|
|
1613
|
+
if (!cache.formatCache) cache.formatCache = {};
|
|
1614
|
+
return cache.formatCache;
|
|
1615
|
+
});
|
|
1616
|
+
setGetExpressionCacheCallback(function () {
|
|
1617
|
+
var cache = getCurrentCultureCache();
|
|
1618
|
+
if (!cache.exprCache) cache.exprCache = {};
|
|
1619
|
+
return cache.exprCache;
|
|
1620
|
+
});
|
|
1621
|
+
setGetStringTemplateCacheCallback(function () {
|
|
1622
|
+
var cache = getCurrentCultureCache();
|
|
1623
|
+
if (!cache.strTplCache) cache.strTplCache = {};
|
|
1624
|
+
return cache.strTplCache;
|
|
1625
|
+
});
|
|
1565
1626
|
GlobalCacheIdentifier.change();
|
|
1566
1627
|
}
|
|
1567
1628
|
|
|
@@ -2171,7 +2232,6 @@ var LinkedListsNode = /*#__PURE__*/ (function () {
|
|
|
2171
2232
|
})();
|
|
2172
2233
|
|
|
2173
2234
|
var Cx = /*#__PURE__*/ (function (_VDOM$Component) {
|
|
2174
|
-
_inheritsLoose(Cx, _VDOM$Component);
|
|
2175
2235
|
function Cx(props) {
|
|
2176
2236
|
var _this;
|
|
2177
2237
|
_this = _VDOM$Component.call(this, props) || this;
|
|
@@ -2195,17 +2255,18 @@ var Cx = /*#__PURE__*/ (function (_VDOM$Component) {
|
|
|
2195
2255
|
deferToken: 0,
|
|
2196
2256
|
};
|
|
2197
2257
|
if (props.subscribe) {
|
|
2198
|
-
_this.unsubscribe = _this.store.subscribe(_this.update.bind(
|
|
2258
|
+
_this.unsubscribe = _this.store.subscribe(_this.update.bind(_this));
|
|
2199
2259
|
_this.state.data = _this.store.getData();
|
|
2200
2260
|
}
|
|
2201
2261
|
_this.flags = {};
|
|
2202
2262
|
_this.renderCount = 0;
|
|
2203
|
-
if (props.onError) _this.componentDidCatch = _this.componentDidCatchHandler.bind(
|
|
2204
|
-
_this.forceUpdateCallback = _this.forceUpdate.bind(
|
|
2263
|
+
if (props.onError) _this.componentDidCatch = _this.componentDidCatchHandler.bind(_this);
|
|
2264
|
+
_this.forceUpdateCallback = _this.forceUpdate.bind(_this);
|
|
2205
2265
|
_this.deferCounter = 0;
|
|
2206
2266
|
_this.waitForIdle();
|
|
2207
2267
|
return _this;
|
|
2208
2268
|
}
|
|
2269
|
+
_inheritsLoose(Cx, _VDOM$Component);
|
|
2209
2270
|
var _proto = Cx.prototype;
|
|
2210
2271
|
_proto.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(props) {
|
|
2211
2272
|
var newStore = props.instance ? props.instance.store : props.store ? props.store : props.parentInstance.store;
|
|
@@ -2324,7 +2385,6 @@ var Cx = /*#__PURE__*/ (function (_VDOM$Component) {
|
|
|
2324
2385
|
return Cx;
|
|
2325
2386
|
})(VDOM.Component);
|
|
2326
2387
|
var CxContext = /*#__PURE__*/ (function (_VDOM$Component2) {
|
|
2327
|
-
_inheritsLoose(CxContext, _VDOM$Component2);
|
|
2328
2388
|
function CxContext(props) {
|
|
2329
2389
|
var _this4;
|
|
2330
2390
|
_this4 = _VDOM$Component2.call(this, props) || this;
|
|
@@ -2332,6 +2392,7 @@ var CxContext = /*#__PURE__*/ (function (_VDOM$Component2) {
|
|
|
2332
2392
|
_this4.UNSAFE_componentWillReceiveProps(props);
|
|
2333
2393
|
return _this4;
|
|
2334
2394
|
}
|
|
2395
|
+
_inheritsLoose(CxContext, _VDOM$Component2);
|
|
2335
2396
|
var _proto2 = CxContext.prototype;
|
|
2336
2397
|
_proto2.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(props) {
|
|
2337
2398
|
this.timings = {
|
|
@@ -2454,10 +2515,10 @@ var CxContext = /*#__PURE__*/ (function (_VDOM$Component2) {
|
|
|
2454
2515
|
})(VDOM.Component);
|
|
2455
2516
|
|
|
2456
2517
|
var ContentResolver = /*#__PURE__*/ (function (_PureContainer) {
|
|
2457
|
-
_inheritsLoose(ContentResolver, _PureContainer);
|
|
2458
2518
|
function ContentResolver() {
|
|
2459
2519
|
return _PureContainer.apply(this, arguments) || this;
|
|
2460
2520
|
}
|
|
2521
|
+
_inheritsLoose(ContentResolver, _PureContainer);
|
|
2461
2522
|
var _proto = ContentResolver.prototype;
|
|
2462
2523
|
_proto.declareData = function declareData() {
|
|
2463
2524
|
var _PureContainer$protot;
|
|
@@ -2532,10 +2593,10 @@ var ContentResolver = /*#__PURE__*/ (function (_PureContainer) {
|
|
|
2532
2593
|
ContentResolver.prototype.mode = "replace";
|
|
2533
2594
|
|
|
2534
2595
|
var IsolatedScope = /*#__PURE__*/ (function (_PureContainer) {
|
|
2535
|
-
_inheritsLoose(IsolatedScope, _PureContainer);
|
|
2536
2596
|
function IsolatedScope() {
|
|
2537
2597
|
return _PureContainer.apply(this, arguments) || this;
|
|
2538
2598
|
}
|
|
2599
|
+
_inheritsLoose(IsolatedScope, _PureContainer);
|
|
2539
2600
|
var _proto = IsolatedScope.prototype;
|
|
2540
2601
|
_proto.declareData = function declareData() {
|
|
2541
2602
|
var _PureContainer$protot;
|
|
@@ -2575,10 +2636,10 @@ var IsolatedScope = /*#__PURE__*/ (function (_PureContainer) {
|
|
|
2575
2636
|
})(PureContainer);
|
|
2576
2637
|
|
|
2577
2638
|
var DetachedScope = /*#__PURE__*/ (function (_IsolatedScope) {
|
|
2578
|
-
_inheritsLoose(DetachedScope, _IsolatedScope);
|
|
2579
2639
|
function DetachedScope() {
|
|
2580
2640
|
return _IsolatedScope.apply(this, arguments) || this;
|
|
2581
2641
|
}
|
|
2642
|
+
_inheritsLoose(DetachedScope, _IsolatedScope);
|
|
2582
2643
|
var _proto = DetachedScope.prototype;
|
|
2583
2644
|
_proto.declareData = function declareData() {
|
|
2584
2645
|
var _IsolatedScope$protot;
|
|
@@ -2642,10 +2703,10 @@ var DetachedScope = /*#__PURE__*/ (function (_IsolatedScope) {
|
|
|
2642
2703
|
return DetachedScope;
|
|
2643
2704
|
})(IsolatedScope);
|
|
2644
2705
|
var ContainmentStore = /*#__PURE__*/ (function (_SubscribableView) {
|
|
2645
|
-
_inheritsLoose(ContainmentStore, _SubscribableView);
|
|
2646
2706
|
function ContainmentStore() {
|
|
2647
2707
|
return _SubscribableView.apply(this, arguments) || this;
|
|
2648
2708
|
}
|
|
2709
|
+
_inheritsLoose(ContainmentStore, _SubscribableView);
|
|
2649
2710
|
var _proto2 = ContainmentStore.prototype;
|
|
2650
2711
|
_proto2.getData = function getData() {
|
|
2651
2712
|
return this.store.getData();
|
|
@@ -2689,10 +2750,10 @@ var ContainmentStore = /*#__PURE__*/ (function (_SubscribableView) {
|
|
|
2689
2750
|
|
|
2690
2751
|
var persistenceCache = {};
|
|
2691
2752
|
var Restate = /*#__PURE__*/ (function (_PureContainer) {
|
|
2692
|
-
_inheritsLoose(Restate, _PureContainer);
|
|
2693
2753
|
function Restate() {
|
|
2694
2754
|
return _PureContainer.apply(this, arguments) || this;
|
|
2695
2755
|
}
|
|
2756
|
+
_inheritsLoose(Restate, _PureContainer);
|
|
2696
2757
|
var _proto = Restate.prototype;
|
|
2697
2758
|
_proto.declareData = function declareData() {
|
|
2698
2759
|
var _PureContainer$protot;
|
|
@@ -2790,13 +2851,13 @@ Restate.prototype.waitForIdle = false;
|
|
|
2790
2851
|
Restate.prototype.immediate = false;
|
|
2791
2852
|
var PrivateStore = Restate;
|
|
2792
2853
|
var RestateStore = /*#__PURE__*/ (function (_Store) {
|
|
2793
|
-
_inheritsLoose(RestateStore, _Store);
|
|
2794
2854
|
function RestateStore(config) {
|
|
2795
2855
|
var _this2;
|
|
2796
2856
|
_this2 = _Store.call(this, config) || this;
|
|
2797
2857
|
_this2.parentDataVersion = -1;
|
|
2798
2858
|
return _this2;
|
|
2799
2859
|
}
|
|
2860
|
+
_inheritsLoose(RestateStore, _Store);
|
|
2800
2861
|
var _proto2 = RestateStore.prototype;
|
|
2801
2862
|
_proto2.getData = function getData() {
|
|
2802
2863
|
var _this3 = this;
|
|
@@ -2846,10 +2907,10 @@ var RestateStore = /*#__PURE__*/ (function (_Store) {
|
|
|
2846
2907
|
})(Store);
|
|
2847
2908
|
|
|
2848
2909
|
var DataProxy = /*#__PURE__*/ (function (_PureContainer) {
|
|
2849
|
-
_inheritsLoose(DataProxy, _PureContainer);
|
|
2850
2910
|
function DataProxy() {
|
|
2851
2911
|
return _PureContainer.apply(this, arguments) || this;
|
|
2852
2912
|
}
|
|
2913
|
+
_inheritsLoose(DataProxy, _PureContainer);
|
|
2853
2914
|
var _proto = DataProxy.prototype;
|
|
2854
2915
|
_proto.init = function init() {
|
|
2855
2916
|
if (!this.data) this.data = {};
|
|
@@ -2917,10 +2978,10 @@ function registerKeyboardShortcut(key, callback) {
|
|
|
2917
2978
|
}
|
|
2918
2979
|
|
|
2919
2980
|
var HoverSync = /*#__PURE__*/ (function (_PureContainer) {
|
|
2920
|
-
_inheritsLoose(HoverSync, _PureContainer);
|
|
2921
2981
|
function HoverSync() {
|
|
2922
2982
|
return _PureContainer.apply(this, arguments) || this;
|
|
2923
2983
|
}
|
|
2984
|
+
_inheritsLoose(HoverSync, _PureContainer);
|
|
2924
2985
|
var _proto = HoverSync.prototype;
|
|
2925
2986
|
_proto.initInstance = function initInstance(context, instance) {
|
|
2926
2987
|
var channels = {};
|
|
@@ -2955,17 +3016,17 @@ var HoverSync = /*#__PURE__*/ (function (_PureContainer) {
|
|
|
2955
3016
|
return HoverSync;
|
|
2956
3017
|
})(PureContainer);
|
|
2957
3018
|
var HoverSyncChild = /*#__PURE__*/ (function (_VDOM$Component) {
|
|
2958
|
-
_inheritsLoose(HoverSyncChild, _VDOM$Component);
|
|
2959
3019
|
function HoverSyncChild(props) {
|
|
2960
3020
|
var _this;
|
|
2961
3021
|
_this = _VDOM$Component.call(this, props) || this;
|
|
2962
3022
|
_this.state = {
|
|
2963
3023
|
hover: false,
|
|
2964
3024
|
};
|
|
2965
|
-
_this.onMouseMove = _this.onMouseMove.bind(
|
|
2966
|
-
_this.onMouseLeave = _this.onMouseLeave.bind(
|
|
3025
|
+
_this.onMouseMove = _this.onMouseMove.bind(_this);
|
|
3026
|
+
_this.onMouseLeave = _this.onMouseLeave.bind(_this);
|
|
2967
3027
|
return _this;
|
|
2968
3028
|
}
|
|
3029
|
+
_inheritsLoose(HoverSyncChild, _VDOM$Component);
|
|
2969
3030
|
var _proto2 = HoverSyncChild.prototype;
|
|
2970
3031
|
_proto2.onMouseMove = function onMouseMove() {
|
|
2971
3032
|
this.props.hoverSync.report(this.props.hoverChannel, this.props.hoverId, true);
|
|
@@ -3016,10 +3077,10 @@ function withHoverSync(key, hoverSync, hoverChannel, hoverId, render) {
|
|
|
3016
3077
|
);
|
|
3017
3078
|
}
|
|
3018
3079
|
var HoverSyncElement = /*#__PURE__*/ (function (_Container) {
|
|
3019
|
-
_inheritsLoose(HoverSyncElement, _Container);
|
|
3020
3080
|
function HoverSyncElement() {
|
|
3021
3081
|
return _Container.apply(this, arguments) || this;
|
|
3022
3082
|
}
|
|
3083
|
+
_inheritsLoose(HoverSyncElement, _Container);
|
|
3023
3084
|
var _proto3 = HoverSyncElement.prototype;
|
|
3024
3085
|
_proto3.declareData = function declareData() {
|
|
3025
3086
|
var _Container$prototype$;
|
|
@@ -3090,6 +3151,67 @@ HoverSyncElement.prototype.baseClass = "hoversyncelement";
|
|
|
3090
3151
|
HoverSyncElement.prototype.styled = true;
|
|
3091
3152
|
HoverSyncElement.prototype.hoverChannel = "default";
|
|
3092
3153
|
|
|
3154
|
+
var CultureScope = /*#__PURE__*/ (function (_PureContainer) {
|
|
3155
|
+
function CultureScope() {
|
|
3156
|
+
return _PureContainer.apply(this, arguments) || this;
|
|
3157
|
+
}
|
|
3158
|
+
_inheritsLoose(CultureScope, _PureContainer);
|
|
3159
|
+
var _proto = CultureScope.prototype;
|
|
3160
|
+
_proto.init = function init() {
|
|
3161
|
+
var _this$items;
|
|
3162
|
+
this.initialItems = (_this$items = this.items) != null ? _this$items : this.children;
|
|
3163
|
+
delete this.items;
|
|
3164
|
+
delete this.children;
|
|
3165
|
+
_PureContainer.prototype.init.call(this);
|
|
3166
|
+
};
|
|
3167
|
+
_proto.declareData = function declareData() {
|
|
3168
|
+
var _PureContainer$protot;
|
|
3169
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
3170
|
+
args[_key] = arguments[_key];
|
|
3171
|
+
}
|
|
3172
|
+
(_PureContainer$protot = _PureContainer.prototype.declareData).call.apply(
|
|
3173
|
+
_PureContainer$protot,
|
|
3174
|
+
[this].concat(args, [
|
|
3175
|
+
{
|
|
3176
|
+
culture: undefined,
|
|
3177
|
+
numberCulture: undefined,
|
|
3178
|
+
dateTimeCulture: undefined,
|
|
3179
|
+
defaultCurrency: undefined,
|
|
3180
|
+
},
|
|
3181
|
+
]),
|
|
3182
|
+
);
|
|
3183
|
+
};
|
|
3184
|
+
_proto.prepareData = function prepareData(context, instance) {
|
|
3185
|
+
_PureContainer.prototype.prepareData.call(this, context, instance);
|
|
3186
|
+
this.clear();
|
|
3187
|
+
var data = instance.data;
|
|
3188
|
+
if (this.onCreateCulture) instance.culture = instance.invoke("onCreateCulture", data, instance);
|
|
3189
|
+
else
|
|
3190
|
+
instance.culture = createCulture({
|
|
3191
|
+
culture: data.culture,
|
|
3192
|
+
numberCulture: data.numberCulture,
|
|
3193
|
+
dateTimeCulture: data.dateTimeCulture,
|
|
3194
|
+
defaultCurrency: data.defaultCurrency,
|
|
3195
|
+
dateEncoding: this.dateEncoding,
|
|
3196
|
+
});
|
|
3197
|
+
};
|
|
3198
|
+
_proto.explore = function explore(context, instance) {
|
|
3199
|
+
var culture = instance.culture;
|
|
3200
|
+
pushCulture(culture);
|
|
3201
|
+
if (this.items.length == 0 && this.initialItems) this.add(this.initialItems);
|
|
3202
|
+
_PureContainer.prototype.explore.call(this, context, instance);
|
|
3203
|
+
};
|
|
3204
|
+
_proto.exploreCleanup = function exploreCleanup(context, instance) {
|
|
3205
|
+
popCulture();
|
|
3206
|
+
};
|
|
3207
|
+
return CultureScope;
|
|
3208
|
+
})(PureContainer);
|
|
3209
|
+
CultureScope.prototype.culture = null;
|
|
3210
|
+
CultureScope.prototype.numberCulture = null;
|
|
3211
|
+
CultureScope.prototype.dateTimeCulture = null;
|
|
3212
|
+
CultureScope.prototype.defaultCurrency = null;
|
|
3213
|
+
CultureScope.prototype.dateEncoding = null;
|
|
3214
|
+
|
|
3093
3215
|
var flattenProps = function flattenProps(props) {
|
|
3094
3216
|
if (!props) return {};
|
|
3095
3217
|
if (props.jsxSpread) {
|
|
@@ -3112,10 +3234,10 @@ var flattenProps = function flattenProps(props) {
|
|
|
3112
3234
|
|
|
3113
3235
|
var currentInstance = null;
|
|
3114
3236
|
var FunctionalComponent = /*#__PURE__*/ (function (_PureContainer) {
|
|
3115
|
-
_inheritsLoose(FunctionalComponent, _PureContainer);
|
|
3116
3237
|
function FunctionalComponent() {
|
|
3117
3238
|
return _PureContainer.apply(this, arguments) || this;
|
|
3118
3239
|
}
|
|
3240
|
+
_inheritsLoose(FunctionalComponent, _PureContainer);
|
|
3119
3241
|
var _proto = FunctionalComponent.prototype;
|
|
3120
3242
|
_proto.initInstance = function initInstance(context, instance) {
|
|
3121
3243
|
this.clear();
|
|
@@ -3172,10 +3294,10 @@ function getCurrentInstance() {
|
|
|
3172
3294
|
}
|
|
3173
3295
|
|
|
3174
3296
|
var Selection = /*#__PURE__*/ (function (_Component) {
|
|
3175
|
-
_inheritsLoose(Selection, _Component);
|
|
3176
3297
|
function Selection() {
|
|
3177
3298
|
return _Component.apply(this, arguments) || this;
|
|
3178
3299
|
}
|
|
3300
|
+
_inheritsLoose(Selection, _Component);
|
|
3179
3301
|
var _proto = Selection.prototype;
|
|
3180
3302
|
_proto.isSelected = function isSelected(store, record, index) {
|
|
3181
3303
|
return this.bind && store.get(this.bind) === record;
|
|
@@ -3228,10 +3350,10 @@ var Selection = /*#__PURE__*/ (function (_Component) {
|
|
|
3228
3350
|
Selection.prototype.toggle = false;
|
|
3229
3351
|
Selection.namespace = "ui.selection.";
|
|
3230
3352
|
var SimpleSelection = /*#__PURE__*/ (function (_Selection) {
|
|
3231
|
-
_inheritsLoose(SimpleSelection, _Selection);
|
|
3232
3353
|
function SimpleSelection() {
|
|
3233
3354
|
return _Selection.apply(this, arguments) || this;
|
|
3234
3355
|
}
|
|
3356
|
+
_inheritsLoose(SimpleSelection, _Selection);
|
|
3235
3357
|
var _proto2 = SimpleSelection.prototype;
|
|
3236
3358
|
_proto2.isSelected = function isSelected(store, record, index) {
|
|
3237
3359
|
return this.getIsSelectedDelegate(store)(record, index);
|
|
@@ -3248,10 +3370,10 @@ var SimpleSelection = /*#__PURE__*/ (function (_Selection) {
|
|
|
3248
3370
|
return SimpleSelection;
|
|
3249
3371
|
})(Selection);
|
|
3250
3372
|
var DummySelection = /*#__PURE__*/ (function (_Selection2) {
|
|
3251
|
-
_inheritsLoose(DummySelection, _Selection2);
|
|
3252
3373
|
function DummySelection() {
|
|
3253
3374
|
return _Selection2.apply(this, arguments) || this;
|
|
3254
3375
|
}
|
|
3376
|
+
_inheritsLoose(DummySelection, _Selection2);
|
|
3255
3377
|
var _proto3 = DummySelection.prototype;
|
|
3256
3378
|
_proto3.isSelected = function isSelected(store, record, index) {
|
|
3257
3379
|
return false;
|
|
@@ -3271,10 +3393,10 @@ Selection.factory = function (name) {
|
|
|
3271
3393
|
};
|
|
3272
3394
|
|
|
3273
3395
|
var PropertySelection = /*#__PURE__*/ (function (_Selection) {
|
|
3274
|
-
_inheritsLoose(PropertySelection, _Selection);
|
|
3275
3396
|
function PropertySelection() {
|
|
3276
3397
|
return _Selection.apply(this, arguments) || this;
|
|
3277
3398
|
}
|
|
3399
|
+
_inheritsLoose(PropertySelection, _Selection);
|
|
3278
3400
|
var _proto = PropertySelection.prototype;
|
|
3279
3401
|
_proto.selectMultiple = function selectMultiple(store, records, indexes, _temp) {
|
|
3280
3402
|
var _this = this;
|
|
@@ -3320,10 +3442,10 @@ PropertySelection.prototype.multiple = false;
|
|
|
3320
3442
|
Selection.alias("property", PropertySelection);
|
|
3321
3443
|
|
|
3322
3444
|
var KeySelection = /*#__PURE__*/ (function (_Selection) {
|
|
3323
|
-
_inheritsLoose(KeySelection, _Selection);
|
|
3324
3445
|
function KeySelection() {
|
|
3325
3446
|
return _Selection.apply(this, arguments) || this;
|
|
3326
3447
|
}
|
|
3448
|
+
_inheritsLoose(KeySelection, _Selection);
|
|
3327
3449
|
var _proto = KeySelection.prototype;
|
|
3328
3450
|
_proto.init = function init() {
|
|
3329
3451
|
if (this.bind && !this.selection)
|
|
@@ -3467,10 +3589,10 @@ function isVisibleDeep(instance) {
|
|
|
3467
3589
|
return false;
|
|
3468
3590
|
}
|
|
3469
3591
|
var FirstVisibleChildItem = /*#__PURE__*/ (function (_PureContainer) {
|
|
3470
|
-
_inheritsLoose(FirstVisibleChildItem, _PureContainer);
|
|
3471
3592
|
function FirstVisibleChildItem() {
|
|
3472
3593
|
return _PureContainer.apply(this, arguments) || this;
|
|
3473
3594
|
}
|
|
3595
|
+
_inheritsLoose(FirstVisibleChildItem, _PureContainer);
|
|
3474
3596
|
var _proto = FirstVisibleChildItem.prototype;
|
|
3475
3597
|
_proto.checkVisible = function checkVisible(context, instance, data) {
|
|
3476
3598
|
if (instance.parent.firstVisibleChild) return false;
|
|
@@ -3492,10 +3614,10 @@ var FirstVisibleChildItem = /*#__PURE__*/ (function (_PureContainer) {
|
|
|
3492
3614
|
})(PureContainer);
|
|
3493
3615
|
FirstVisibleChildItem.prototype.useParentLayout = true;
|
|
3494
3616
|
var FirstVisibleChildLayout = /*#__PURE__*/ (function (_PureContainer2) {
|
|
3495
|
-
_inheritsLoose(FirstVisibleChildLayout, _PureContainer2);
|
|
3496
3617
|
function FirstVisibleChildLayout() {
|
|
3497
3618
|
return _PureContainer2.apply(this, arguments) || this;
|
|
3498
3619
|
}
|
|
3620
|
+
_inheritsLoose(FirstVisibleChildLayout, _PureContainer2);
|
|
3499
3621
|
var _proto2 = FirstVisibleChildLayout.prototype;
|
|
3500
3622
|
_proto2.explore = function explore(context, instance) {
|
|
3501
3623
|
instance.firstVisibleChild = null;
|
|
@@ -3527,10 +3649,10 @@ function validContent$1(r) {
|
|
|
3527
3649
|
return content;
|
|
3528
3650
|
}
|
|
3529
3651
|
var LabelsLeftLayout = /*#__PURE__*/ (function (_PureContainer) {
|
|
3530
|
-
_inheritsLoose(LabelsLeftLayout, _PureContainer);
|
|
3531
3652
|
function LabelsLeftLayout() {
|
|
3532
3653
|
return _PureContainer.apply(this, arguments) || this;
|
|
3533
3654
|
}
|
|
3655
|
+
_inheritsLoose(LabelsLeftLayout, _PureContainer);
|
|
3534
3656
|
var _proto = LabelsLeftLayout.prototype;
|
|
3535
3657
|
_proto.init = function init() {
|
|
3536
3658
|
this.labelStyle = parseStyle(this.labelStyle);
|
|
@@ -3616,10 +3738,10 @@ function validContent(r) {
|
|
|
3616
3738
|
return content;
|
|
3617
3739
|
}
|
|
3618
3740
|
var LabelsTopLayout = /*#__PURE__*/ (function (_Container) {
|
|
3619
|
-
_inheritsLoose(LabelsTopLayout, _Container);
|
|
3620
3741
|
function LabelsTopLayout() {
|
|
3621
3742
|
return _Container.apply(this, arguments) || this;
|
|
3622
3743
|
}
|
|
3744
|
+
_inheritsLoose(LabelsTopLayout, _Container);
|
|
3623
3745
|
var _proto = LabelsTopLayout.prototype;
|
|
3624
3746
|
_proto.init = function init() {
|
|
3625
3747
|
if (this.vertical && isUndefined(this.columns)) this.columns = 1;
|
|
@@ -3729,10 +3851,10 @@ LabelsTopLayout.prototype.vertical = false;
|
|
|
3729
3851
|
LabelsTopLayout.prototype.columns = undefined;
|
|
3730
3852
|
LabelsTopLayout.prototype.styled = true;
|
|
3731
3853
|
var LabelsTopLayoutCell = /*#__PURE__*/ (function (_PureContainer) {
|
|
3732
|
-
_inheritsLoose(LabelsTopLayoutCell, _PureContainer);
|
|
3733
3854
|
function LabelsTopLayoutCell() {
|
|
3734
3855
|
return _PureContainer.apply(this, arguments) || this;
|
|
3735
3856
|
}
|
|
3857
|
+
_inheritsLoose(LabelsTopLayoutCell, _PureContainer);
|
|
3736
3858
|
var _proto2 = LabelsTopLayoutCell.prototype;
|
|
3737
3859
|
_proto2.declareData = function declareData() {
|
|
3738
3860
|
var _PureContainer$protot;
|
|
@@ -3765,10 +3887,10 @@ LabelsTopLayoutCell.prototype.styled = true;
|
|
|
3765
3887
|
LabelsTopLayoutCell.prototype.useParentLayout = true;
|
|
3766
3888
|
|
|
3767
3889
|
var Content = /*#__PURE__*/ (function (_PureContainer) {
|
|
3768
|
-
_inheritsLoose(Content, _PureContainer);
|
|
3769
3890
|
function Content() {
|
|
3770
3891
|
return _PureContainer.apply(this, arguments) || this;
|
|
3771
3892
|
}
|
|
3893
|
+
_inheritsLoose(Content, _PureContainer);
|
|
3772
3894
|
var _proto = Content.prototype;
|
|
3773
3895
|
_proto.init = function init() {
|
|
3774
3896
|
_PureContainer.prototype.init.call(this);
|
|
@@ -3781,10 +3903,10 @@ Content.prototype.isContent = true;
|
|
|
3781
3903
|
Widget.alias("content", Content);
|
|
3782
3904
|
|
|
3783
3905
|
var ContentPlaceholder = /*#__PURE__*/ (function (_PureContainer) {
|
|
3784
|
-
_inheritsLoose(ContentPlaceholder, _PureContainer);
|
|
3785
3906
|
function ContentPlaceholder() {
|
|
3786
3907
|
return _PureContainer.apply(this, arguments) || this;
|
|
3787
3908
|
}
|
|
3909
|
+
_inheritsLoose(ContentPlaceholder, _PureContainer);
|
|
3788
3910
|
var _proto = ContentPlaceholder.prototype;
|
|
3789
3911
|
_proto.declareData = function declareData() {
|
|
3790
3912
|
var _PureContainer$protot;
|
|
@@ -3832,10 +3954,10 @@ ContentPlaceholder.prototype.name = "body";
|
|
|
3832
3954
|
ContentPlaceholder.prototype.scoped = false;
|
|
3833
3955
|
Widget.alias("content-placeholder", ContentPlaceholder);
|
|
3834
3956
|
var ContentPlaceholderScope = /*#__PURE__*/ (function (_PureContainer2) {
|
|
3835
|
-
_inheritsLoose(ContentPlaceholderScope, _PureContainer2);
|
|
3836
3957
|
function ContentPlaceholderScope() {
|
|
3837
3958
|
return _PureContainer2.apply(this, arguments) || this;
|
|
3838
3959
|
}
|
|
3960
|
+
_inheritsLoose(ContentPlaceholderScope, _PureContainer2);
|
|
3839
3961
|
var _proto2 = ContentPlaceholderScope.prototype;
|
|
3840
3962
|
_proto2.init = function init() {
|
|
3841
3963
|
_PureContainer2.prototype.init.call(this);
|
|
@@ -4110,10 +4232,10 @@ function startHotAppLoop(appModule, element, store, widgets, options) {
|
|
|
4110
4232
|
}
|
|
4111
4233
|
|
|
4112
4234
|
var GroupAdapter = /*#__PURE__*/ (function (_ArrayAdapter) {
|
|
4113
|
-
_inheritsLoose(GroupAdapter, _ArrayAdapter);
|
|
4114
4235
|
function GroupAdapter() {
|
|
4115
4236
|
return _ArrayAdapter.apply(this, arguments) || this;
|
|
4116
4237
|
}
|
|
4238
|
+
_inheritsLoose(GroupAdapter, _ArrayAdapter);
|
|
4117
4239
|
var _proto = GroupAdapter.prototype;
|
|
4118
4240
|
_proto.init = function init() {
|
|
4119
4241
|
_ArrayAdapter.prototype.init.call(this);
|
|
@@ -4247,10 +4369,10 @@ function serializeKey(data) {
|
|
|
4247
4369
|
}
|
|
4248
4370
|
|
|
4249
4371
|
var TreeAdapter = /*#__PURE__*/ (function (_ArrayAdapter) {
|
|
4250
|
-
_inheritsLoose(TreeAdapter, _ArrayAdapter);
|
|
4251
4372
|
function TreeAdapter() {
|
|
4252
4373
|
return _ArrayAdapter.apply(this, arguments) || this;
|
|
4253
4374
|
}
|
|
4375
|
+
_inheritsLoose(TreeAdapter, _ArrayAdapter);
|
|
4254
4376
|
var _proto = TreeAdapter.prototype;
|
|
4255
4377
|
_proto.init = function init() {
|
|
4256
4378
|
_ArrayAdapter.prototype.init.call(this);
|
|
@@ -4390,6 +4512,7 @@ export {
|
|
|
4390
4512
|
ContentResolver,
|
|
4391
4513
|
Controller,
|
|
4392
4514
|
Culture,
|
|
4515
|
+
CultureScope,
|
|
4393
4516
|
Cx,
|
|
4394
4517
|
DataAdapter,
|
|
4395
4518
|
DataProxy,
|
|
@@ -4432,6 +4555,7 @@ export {
|
|
|
4432
4555
|
batchUpdatesAndNotify,
|
|
4433
4556
|
bind,
|
|
4434
4557
|
contentAppend,
|
|
4558
|
+
createCulture,
|
|
4435
4559
|
createFunctionalComponent,
|
|
4436
4560
|
enableCultureSensitiveFormatting,
|
|
4437
4561
|
executeKeyboardShortcuts,
|
|
@@ -4440,14 +4564,17 @@ export {
|
|
|
4440
4564
|
flattenProps,
|
|
4441
4565
|
getContent,
|
|
4442
4566
|
getContentArray,
|
|
4567
|
+
getCurrentCultureCache,
|
|
4443
4568
|
getCurrentInstance,
|
|
4444
4569
|
isBatchingUpdates,
|
|
4445
4570
|
notifyBatchedUpdateCompleted,
|
|
4446
4571
|
notifyBatchedUpdateStarting,
|
|
4447
4572
|
offFocusOut,
|
|
4448
4573
|
oneFocusOut,
|
|
4574
|
+
popCulture,
|
|
4449
4575
|
preventFocus,
|
|
4450
4576
|
preventFocusOnTouch,
|
|
4577
|
+
pushCulture,
|
|
4451
4578
|
registerKeyboardShortcut,
|
|
4452
4579
|
resolveNumberFormattingFlags,
|
|
4453
4580
|
startAppLoop,
|