@darajs/core 1.4.5 → 1.4.6

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,5 +1,9 @@
1
- import { Action } from '../../types';
2
- import { ActionContext, ActionImpl } from '../../types/core';
1
+ import { Action, ActionHandler } from '../../types';
2
+ /**
3
+ * Clear the global action handler cache.
4
+ * This is only used for testing.
5
+ */
6
+ export declare function clearActionHandlerCache_TEST(): void;
3
7
  interface UseActionOptions {
4
8
  /**
5
9
  * Callback to invoke when an unhandled action is encountered.
@@ -7,7 +11,7 @@ interface UseActionOptions {
7
11
  *
8
12
  * @param action action implementation
9
13
  */
10
- onUnhandledAction?: (action: ActionImpl, actionCtx: ActionContext) => void | Promise<void>;
14
+ onUnhandledAction?: ActionHandler;
11
15
  }
12
16
  /**
13
17
  * Consume an action def from the framework and return a callback function that can be used to trigger it
@@ -1 +1 @@
1
- {"version":3,"file":"use-action.d.ts","sourceRoot":"","sources":["../../../js/shared/utils/use-action.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,MAAM,EAAiB,MAAM,SAAS,CAAC;AAChD,OAAO,EAAE,aAAa,EAAa,UAAU,EAAmB,MAAM,cAAc,CAAC;AAoOrF,UAAU,gBAAgB;IACtB;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,aAAa,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9F;AAED;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,SAAS,CAC7B,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,gBAAgB,GAC3B,CAAC,CAAC,KAAK,CAAC,EAAE,GAAG,KAAK,OAAO,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC,CA4F3C"}
1
+ {"version":3,"file":"use-action.d.ts","sourceRoot":"","sources":["../../../js/shared/utils/use-action.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAoFhD;;;GAGG;AACH,wBAAgB,4BAA4B,IAAI,IAAI,CAEnD;AA8JD,UAAU,gBAAgB;IACtB;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,aAAa,CAAC;CACrC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,SAAS,CAC7B,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,gBAAgB,GAC3B,CAAC,CAAC,KAAK,CAAC,EAAE,GAAG,KAAK,OAAO,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC,CAoF3C"}
@@ -73,6 +73,13 @@ function invokeAction(input, executionId, annotatedAction, actionCtx) {
73
73
  * resolved once.
74
74
  */
75
75
  const ACTION_HANDLER_BY_NAME = {};
76
+ /**
77
+ * Clear the global action handler cache.
78
+ * This is only used for testing.
79
+ */
80
+ export function clearActionHandlerCache_TEST() {
81
+ Object.keys(ACTION_HANDLER_BY_NAME).forEach((k) => delete ACTION_HANDLER_BY_NAME[k]);
82
+ }
76
83
  /**
77
84
  * Error thrown when an action is not handled by the app.
78
85
  */
@@ -89,22 +96,34 @@ class UnhandledActionError extends Error {
89
96
  * @param getAction callback to get the action definition from the action implementation
90
97
  * @param importers importers available in the app
91
98
  */
92
- function resolveActionImpl(actionImpl, getAction, importers) {
99
+ function resolveActionImpl(actionImpl, getAction, importers, actionCtx) {
93
100
  return __awaiter(this, void 0, void 0, function* () {
101
+ let actionHandler;
102
+ // resolve action handler function by name
94
103
  // cache action handler globally for performance, they are pure functions so it's safe to do so
95
104
  if (!ACTION_HANDLER_BY_NAME[actionImpl.name]) {
96
- // resolve action handler function by name
97
- let actionDef;
98
105
  try {
99
- actionDef = getAction(actionImpl);
106
+ const actionDef = getAction(actionImpl);
107
+ const moduleContent = yield importers[actionDef.py_module]();
108
+ actionHandler = moduleContent[actionImpl.name];
109
+ // only cache if we successfully resolved a built-in action handler
110
+ ACTION_HANDLER_BY_NAME[actionImpl.name] = actionHandler;
100
111
  }
101
112
  catch (_a) {
102
- throw new UnhandledActionError(`Action definition for impl "${actionImpl.name}" not found`, actionImpl);
113
+ // if we failed to resolve the action handler, use the catch-all handler if defined
114
+ if (actionCtx.onUnhandledAction) {
115
+ // this one is explicitly not cached since it's an arbitrary user-defined handler
116
+ actionHandler = actionCtx.onUnhandledAction;
117
+ }
118
+ else {
119
+ throw new UnhandledActionError(`Action definition for impl "${actionImpl.name}" not found`, actionImpl);
120
+ }
103
121
  }
104
- const moduleContent = yield importers[actionDef.py_module]();
105
- ACTION_HANDLER_BY_NAME[actionImpl.name] = moduleContent[actionImpl.name];
106
122
  }
107
- return ACTION_HANDLER_BY_NAME[actionImpl.name];
123
+ else {
124
+ actionHandler = ACTION_HANDLER_BY_NAME[actionImpl.name];
125
+ }
126
+ return actionHandler;
108
127
  });
109
128
  }
110
129
  /**
@@ -120,7 +139,7 @@ function executeAction(input, action, actionCtx, getAction, importers) {
120
139
  return __awaiter(this, void 0, void 0, function* () {
121
140
  // if it's a simple action implementation, run the handler directly
122
141
  if (isActionImpl(action)) {
123
- const handler = yield resolveActionImpl(action, getAction, importers);
142
+ const handler = yield resolveActionImpl(action, getAction, importers, actionCtx);
124
143
  const result = handler(actionCtx, action);
125
144
  // handle async handlers
126
145
  if (result instanceof Promise) {
@@ -145,8 +164,6 @@ function executeAction(input, action, actionCtx, getAction, importers) {
145
164
  }
146
165
  };
147
166
  const onError = (error) => {
148
- // eslint-disable-next-line no-console
149
- console.error('Error executing action:', error);
150
167
  if (!isSettled) {
151
168
  isSettled = true;
152
169
  sub.unsubscribe();
@@ -156,7 +173,7 @@ function executeAction(input, action, actionCtx, getAction, importers) {
156
173
  sub = observable
157
174
  .pipe(concatMap((actionImpl) => __awaiter(this, void 0, void 0, function* () {
158
175
  if (actionImpl) {
159
- const handler = yield resolveActionImpl(actionImpl, getAction, importers);
176
+ const handler = yield resolveActionImpl(actionImpl, getAction, importers, actionCtx);
160
177
  return [handler, actionImpl];
161
178
  }
162
179
  return null;
@@ -231,7 +248,7 @@ export default function useAction(action, options) {
231
248
  for (const actionToExecute of actionsToExecute) {
232
249
  // this is redefined for each action to have up-to-date snapshot
233
250
  /* eslint-disable sort-keys-fix/sort-keys-fix */
234
- const fullActionContext = Object.assign(Object.assign({}, actionCtx.current), { input,
251
+ const fullActionContext = Object.assign(Object.assign({}, actionCtx.current), { input, onUnhandledAction: (_a = optionsRef.current) === null || _a === void 0 ? void 0 : _a.onUnhandledAction,
235
252
  // Recoil callback interface cannot be spread as it is a Proxy
236
253
  gotoSnapshot: cbInterface.gotoSnapshot, refresh: cbInterface.refresh, reset: cbInterface.reset, set: cbInterface.set, snapshot: cbInterface.snapshot, transact_UNSTABLE: cbInterface.transact_UNSTABLE });
237
254
  /* eslint-enable sort-keys-fix/sort-keys-fix */
@@ -240,29 +257,17 @@ export default function useAction(action, options) {
240
257
  yield executeAction(input, actionToExecute, fullActionContext, getAction, importers);
241
258
  }
242
259
  catch (error) {
243
- // Handle unhandled action errors separately
260
+ // Display for easier debugging
261
+ // eslint-disable-next-line no-console
262
+ console.error(error);
263
+ let message = 'Try again or contact the application owner';
264
+ // Display the unhandled action directly as it might be helpful for developers
244
265
  if (error instanceof UnhandledActionError) {
245
- // there is a callback defined for it, call it
246
- if ((_a = optionsRef.current) === null || _a === void 0 ? void 0 : _a.onUnhandledAction) {
247
- const result = optionsRef.current.onUnhandledAction(error.actionImpl, fullActionContext);
248
- if (result instanceof Promise) {
249
- // eslint-disable-next-line no-await-in-loop
250
- yield result;
251
- }
252
- }
253
- else {
254
- actionCtx.current.notificationCtx.pushNotification({
255
- key: '_actionError',
256
- message: `Action "${error.actionImpl.name}" not registered`,
257
- status: Status.ERROR,
258
- title: 'Error executing action',
259
- });
260
- }
261
- continue;
266
+ message = error.message;
262
267
  }
263
268
  actionCtx.current.notificationCtx.pushNotification({
264
269
  key: '_actionError',
265
- message: 'Try again or contact the application owner',
270
+ message,
266
271
  status: Status.ERROR,
267
272
  title: 'Error executing action',
268
273
  });
@@ -1 +1 @@
1
- {"version":3,"file":"use-action.js","sourceRoot":"","sources":["../../../js/shared/utils/use-action.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,EAAqB,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAE9D,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,OAAO,MAAM,SAAS,CAAC;AAE9B,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEzE,OAAO,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAG9E,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,iBAAiB,MAAM,uBAAuB,CAAC;AAEtD;;;;;;;;GAQG;AACH,SAAe,YAAY,CACvB,KAAU,EACV,WAAmB,EACnB,eAAgC,EAChC,SAAwB;;QAExB,mFAAmF;QACnF,MAAM,cAAc,GAAG,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE;YACjF,MAAM,KAAK,GAAG,eAAe,CAA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OAAO,CAAC;iBAC3B;gBAED,SAAS,CAAC,OAAO,CAAC,eAAe,CAAC,gBAAgB,CAAC;oBAC/C,GAAG,EAAE,cAAc;oBACnB,OAAO;oBACP,MAAM,EAAE,MAAM,CAAC,KAAK;oBACpB,KAAK,EAAE,wBAAwB;iBAClC,CAAC,CAAC;aACN;SACJ;QAED,YAAY,CAAC,KAAK,CAAC,CAAC;IACxB,CAAC,CAAA,EACD,CAAC,MAAM,EAAE,SAAS,EAAE,SAAS,CAAC,CACjC,CAAC;IAEF,uCAAuC;IACvC,IAAI,CAAC,MAAM,EAAE;QACT,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;KACxB;IAED,OAAO,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC;AACjC,CAAC"}
@@ -336,6 +336,10 @@ export interface ActionContext extends CallbackInterface {
336
336
  * Notification context
337
337
  */
338
338
  notificationCtx: ReturnType<typeof useNotifications>;
339
+ /**
340
+ * Callback invoked for any unhandled action
341
+ */
342
+ onUnhandledAction?: ActionHandler;
339
343
  }
340
344
  /**
341
345
  * Signature of an ActionHandler
@@ -358,7 +362,7 @@ export interface AnnotatedAction {
358
362
  /**
359
363
  * Dynamic kwargs passed to the action
360
364
  */
361
- dynamic_kwargs: Record<string, any>;
365
+ dynamic_kwargs: Record<string, AnyVariable<any>>;
362
366
  }
363
367
  export type Action = AnnotatedAction | ActionImpl | Array<AnnotatedAction | ActionImpl>;
364
368
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../js/types/core.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjF,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,SAAS,CAAC;AA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IACH,eAAe,EAAE,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;IACrD;;OAEG;IACH,iBAAiB,CAAC,EAAE,aAAa,CAAC;CACrC;AAED;;GAEG;AACH,MAAM,WAAW,aAAa,CAAC,cAAc,SAAS,UAAU,GAAG,UAAU;IACzE,CAAC,aAAa,EAAE,aAAa,EAAE,MAAM,EAAE,cAAc,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAChF;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC;CACpD;AAED,MAAM,MAAM,MAAM,GAAG,eAAe,GAAG,UAAU,GAAG,KAAK,CAAC,eAAe,GAAG,UAAU,CAAC,CAAC"}
@@ -36750,12 +36750,6 @@ var __publicField = (obj, key, value) => {
36750
36750
  }
36751
36751
  return target;
36752
36752
  }
36753
- function _assertThisInitialized$2(self2) {
36754
- if (self2 === void 0) {
36755
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
36756
- }
36757
- return self2;
36758
- }
36759
36753
  function _inherits$1(subClass, superClass) {
36760
36754
  if (typeof superClass !== "function" && superClass !== null) {
36761
36755
  throw new TypeError("Super expression must either be null or a function");
@@ -36771,28 +36765,7 @@ var __publicField = (obj, key, value) => {
36771
36765
  writable: false
36772
36766
  });
36773
36767
  if (superClass)
36774
- _setPrototypeOf$5(subClass, superClass);
36775
- }
36776
- function _getPrototypeOf$1(o2) {
36777
- _getPrototypeOf$1 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf2(o3) {
36778
- return o3.__proto__ || Object.getPrototypeOf(o3);
36779
- };
36780
- return _getPrototypeOf$1(o2);
36781
- }
36782
- function _isNativeReflectConstruct$1() {
36783
- if (typeof Reflect === "undefined" || !Reflect.construct)
36784
- return false;
36785
- if (Reflect.construct.sham)
36786
- return false;
36787
- if (typeof Proxy === "function")
36788
- return true;
36789
- try {
36790
- Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
36791
- }));
36792
- return true;
36793
- } catch (e3) {
36794
- return false;
36795
- }
36768
+ _setPrototypeOf$2(subClass, superClass);
36796
36769
  }
36797
36770
  function _possibleConstructorReturn$1(self2, call) {
36798
36771
  if (call && (_typeof$1(call) === "object" || typeof call === "function")) {
@@ -36800,14 +36773,14 @@ var __publicField = (obj, key, value) => {
36800
36773
  } else if (call !== void 0) {
36801
36774
  throw new TypeError("Derived constructors may only return object or undefined");
36802
36775
  }
36803
- return _assertThisInitialized$2(self2);
36776
+ return _assertThisInitialized$3(self2);
36804
36777
  }
36805
36778
  function _createSuper$1(Derived) {
36806
- var hasNativeReflectConstruct = _isNativeReflectConstruct$1();
36779
+ var hasNativeReflectConstruct = _isNativeReflectConstruct$2();
36807
36780
  return function _createSuperInternal() {
36808
- var Super = _getPrototypeOf$1(Derived), result;
36781
+ var Super = _getPrototypeOf$2(Derived), result;
36809
36782
  if (hasNativeReflectConstruct) {
36810
- var NewTarget = _getPrototypeOf$1(this).constructor;
36783
+ var NewTarget = _getPrototypeOf$2(this).constructor;
36811
36784
  result = Reflect.construct(Super, arguments, NewTarget);
36812
36785
  } else {
36813
36786
  result = Super.apply(this, arguments);
@@ -36924,8 +36897,8 @@ var __publicField = (obj, key, value) => {
36924
36897
  args[_key] = arguments[_key];
36925
36898
  }
36926
36899
  _this2 = _super2.call.apply(_super2, [this].concat(args));
36927
- _defineProperty$5(_assertThisInitialized$2(_this2), "priority", TIMEZONE_UNIT_PRIORITY);
36928
- _defineProperty$5(_assertThisInitialized$2(_this2), "subPriority", -1);
36900
+ _defineProperty$5(_assertThisInitialized$3(_this2), "priority", TIMEZONE_UNIT_PRIORITY);
36901
+ _defineProperty$5(_assertThisInitialized$3(_this2), "subPriority", -1);
36929
36902
  return _this2;
36930
36903
  }
36931
36904
  _createClass$1(DateToSystemTimezoneSetter2, [{
@@ -36979,8 +36952,8 @@ var __publicField = (obj, key, value) => {
36979
36952
  args[_key] = arguments[_key];
36980
36953
  }
36981
36954
  _this = _super.call.apply(_super, [this].concat(args));
36982
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 140);
36983
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", ["R", "u", "t", "T"]);
36955
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 140);
36956
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["R", "u", "t", "T"]);
36984
36957
  return _this;
36985
36958
  }
36986
36959
  _createClass$1(EraParser2, [{
@@ -37166,8 +37139,8 @@ var __publicField = (obj, key, value) => {
37166
37139
  args[_key] = arguments[_key];
37167
37140
  }
37168
37141
  _this = _super.call.apply(_super, [this].concat(args));
37169
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 130);
37170
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]);
37142
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 130);
37143
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]);
37171
37144
  return _this;
37172
37145
  }
37173
37146
  _createClass$1(YearParser2, [{
@@ -37223,8 +37196,8 @@ var __publicField = (obj, key, value) => {
37223
37196
  args[_key] = arguments[_key];
37224
37197
  }
37225
37198
  _this = _super.call.apply(_super, [this].concat(args));
37226
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 130);
37227
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", ["y", "R", "u", "Q", "q", "M", "L", "I", "d", "D", "i", "t", "T"]);
37199
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 130);
37200
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "R", "u", "Q", "q", "M", "L", "I", "d", "D", "i", "t", "T"]);
37228
37201
  return _this;
37229
37202
  }
37230
37203
  _createClass$1(LocalWeekYearParser2, [{
@@ -37280,8 +37253,8 @@ var __publicField = (obj, key, value) => {
37280
37253
  args[_key] = arguments[_key];
37281
37254
  }
37282
37255
  _this = _super.call.apply(_super, [this].concat(args));
37283
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 130);
37284
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", ["G", "y", "Y", "u", "Q", "q", "M", "L", "w", "d", "D", "e", "c", "t", "T"]);
37256
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 130);
37257
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["G", "y", "Y", "u", "Q", "q", "M", "L", "w", "d", "D", "e", "c", "t", "T"]);
37285
37258
  return _this;
37286
37259
  }
37287
37260
  _createClass$1(ISOWeekYearParser2, [{
@@ -37313,8 +37286,8 @@ var __publicField = (obj, key, value) => {
37313
37286
  args[_key] = arguments[_key];
37314
37287
  }
37315
37288
  _this = _super.call.apply(_super, [this].concat(args));
37316
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 130);
37317
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
37289
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 130);
37290
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
37318
37291
  return _this;
37319
37292
  }
37320
37293
  _createClass$1(ExtendedYearParser2, [{
@@ -37345,8 +37318,8 @@ var __publicField = (obj, key, value) => {
37345
37318
  args[_key] = arguments[_key];
37346
37319
  }
37347
37320
  _this = _super.call.apply(_super, [this].concat(args));
37348
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 120);
37349
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", ["Y", "R", "q", "M", "L", "w", "I", "d", "D", "i", "e", "c", "t", "T"]);
37321
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 120);
37322
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "M", "L", "w", "I", "d", "D", "i", "e", "c", "t", "T"]);
37350
37323
  return _this;
37351
37324
  }
37352
37325
  _createClass$1(QuarterParser2, [{
@@ -37412,8 +37385,8 @@ var __publicField = (obj, key, value) => {
37412
37385
  args[_key] = arguments[_key];
37413
37386
  }
37414
37387
  _this = _super.call.apply(_super, [this].concat(args));
37415
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 120);
37416
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", ["Y", "R", "Q", "M", "L", "w", "I", "d", "D", "i", "e", "c", "t", "T"]);
37388
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 120);
37389
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "Q", "M", "L", "w", "I", "d", "D", "i", "e", "c", "t", "T"]);
37417
37390
  return _this;
37418
37391
  }
37419
37392
  _createClass$1(StandAloneQuarterParser2, [{
@@ -37479,8 +37452,8 @@ var __publicField = (obj, key, value) => {
37479
37452
  args[_key] = arguments[_key];
37480
37453
  }
37481
37454
  _this = _super.call.apply(_super, [this].concat(args));
37482
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "L", "w", "I", "D", "i", "e", "c", "t", "T"]);
37483
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 110);
37455
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "L", "w", "I", "D", "i", "e", "c", "t", "T"]);
37456
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 110);
37484
37457
  return _this;
37485
37458
  }
37486
37459
  _createClass$1(MonthParser2, [{
@@ -37550,8 +37523,8 @@ var __publicField = (obj, key, value) => {
37550
37523
  args[_key] = arguments[_key];
37551
37524
  }
37552
37525
  _this = _super.call.apply(_super, [this].concat(args));
37553
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 110);
37554
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "M", "w", "I", "D", "i", "e", "c", "t", "T"]);
37526
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 110);
37527
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "M", "w", "I", "D", "i", "e", "c", "t", "T"]);
37555
37528
  return _this;
37556
37529
  }
37557
37530
  _createClass$1(StandAloneMonthParser2, [{
@@ -37629,8 +37602,8 @@ var __publicField = (obj, key, value) => {
37629
37602
  args[_key] = arguments[_key];
37630
37603
  }
37631
37604
  _this = _super.call.apply(_super, [this].concat(args));
37632
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 100);
37633
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "i", "t", "T"]);
37605
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 100);
37606
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "i", "t", "T"]);
37634
37607
  return _this;
37635
37608
  }
37636
37609
  _createClass$1(LocalWeekParser2, [{
@@ -37678,8 +37651,8 @@ var __publicField = (obj, key, value) => {
37678
37651
  args[_key] = arguments[_key];
37679
37652
  }
37680
37653
  _this = _super.call.apply(_super, [this].concat(args));
37681
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 100);
37682
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", ["y", "Y", "u", "q", "Q", "M", "L", "w", "d", "D", "e", "c", "t", "T"]);
37654
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 100);
37655
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "Y", "u", "q", "Q", "M", "L", "w", "d", "D", "e", "c", "t", "T"]);
37683
37656
  return _this;
37684
37657
  }
37685
37658
  _createClass$1(ISOWeekParser2, [{
@@ -37721,9 +37694,9 @@ var __publicField = (obj, key, value) => {
37721
37694
  args[_key] = arguments[_key];
37722
37695
  }
37723
37696
  _this = _super.call.apply(_super, [this].concat(args));
37724
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 90);
37725
- _defineProperty$5(_assertThisInitialized$2(_this), "subPriority", 1);
37726
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "w", "I", "D", "i", "e", "c", "t", "T"]);
37697
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 90);
37698
+ _defineProperty$5(_assertThisInitialized$3(_this), "subPriority", 1);
37699
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "w", "I", "D", "i", "e", "c", "t", "T"]);
37727
37700
  return _this;
37728
37701
  }
37729
37702
  _createClass$1(DateParser2, [{
@@ -37772,9 +37745,9 @@ var __publicField = (obj, key, value) => {
37772
37745
  args[_key] = arguments[_key];
37773
37746
  }
37774
37747
  _this = _super.call.apply(_super, [this].concat(args));
37775
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 90);
37776
- _defineProperty$5(_assertThisInitialized$2(_this), "subpriority", 1);
37777
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "M", "L", "w", "I", "d", "E", "i", "e", "c", "t", "T"]);
37748
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 90);
37749
+ _defineProperty$5(_assertThisInitialized$3(_this), "subpriority", 1);
37750
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "M", "L", "w", "I", "d", "E", "i", "e", "c", "t", "T"]);
37778
37751
  return _this;
37779
37752
  }
37780
37753
  _createClass$1(DayOfYearParser2, [{
@@ -37840,8 +37813,8 @@ var __publicField = (obj, key, value) => {
37840
37813
  args[_key] = arguments[_key];
37841
37814
  }
37842
37815
  _this = _super.call.apply(_super, [this].concat(args));
37843
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 90);
37844
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
37816
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 90);
37817
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
37845
37818
  return _this;
37846
37819
  }
37847
37820
  _createClass$1(DayParser2, [{
@@ -37916,8 +37889,8 @@ var __publicField = (obj, key, value) => {
37916
37889
  args[_key] = arguments[_key];
37917
37890
  }
37918
37891
  _this = _super.call.apply(_super, [this].concat(args));
37919
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 90);
37920
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "E", "i", "c", "t", "T"]);
37892
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 90);
37893
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "E", "i", "c", "t", "T"]);
37921
37894
  return _this;
37922
37895
  }
37923
37896
  _createClass$1(LocalDayParser2, [{
@@ -38001,8 +37974,8 @@ var __publicField = (obj, key, value) => {
38001
37974
  args[_key] = arguments[_key];
38002
37975
  }
38003
37976
  _this = _super.call.apply(_super, [this].concat(args));
38004
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 90);
38005
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "E", "i", "e", "t", "T"]);
37977
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 90);
37978
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "E", "i", "e", "t", "T"]);
38006
37979
  return _this;
38007
37980
  }
38008
37981
  _createClass$1(StandAloneLocalDayParser2, [{
@@ -38101,8 +38074,8 @@ var __publicField = (obj, key, value) => {
38101
38074
  args[_key] = arguments[_key];
38102
38075
  }
38103
38076
  _this = _super.call.apply(_super, [this].concat(args));
38104
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 90);
38105
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", ["y", "Y", "u", "q", "Q", "M", "L", "w", "d", "D", "E", "e", "c", "t", "T"]);
38077
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 90);
38078
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "Y", "u", "q", "Q", "M", "L", "w", "d", "D", "E", "e", "c", "t", "T"]);
38106
38079
  return _this;
38107
38080
  }
38108
38081
  _createClass$1(ISODayParser2, [{
@@ -38188,8 +38161,8 @@ var __publicField = (obj, key, value) => {
38188
38161
  args[_key] = arguments[_key];
38189
38162
  }
38190
38163
  _this = _super.call.apply(_super, [this].concat(args));
38191
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 80);
38192
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
38164
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 80);
38165
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
38193
38166
  return _this;
38194
38167
  }
38195
38168
  _createClass$1(AMPMParser2, [{
@@ -38244,8 +38217,8 @@ var __publicField = (obj, key, value) => {
38244
38217
  args[_key] = arguments[_key];
38245
38218
  }
38246
38219
  _this = _super.call.apply(_super, [this].concat(args));
38247
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 80);
38248
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
38220
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 80);
38221
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
38249
38222
  return _this;
38250
38223
  }
38251
38224
  _createClass$1(AMPMMidnightParser2, [{
@@ -38300,8 +38273,8 @@ var __publicField = (obj, key, value) => {
38300
38273
  args[_key] = arguments[_key];
38301
38274
  }
38302
38275
  _this = _super.call.apply(_super, [this].concat(args));
38303
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 80);
38304
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", ["a", "b", "t", "T"]);
38276
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 80);
38277
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["a", "b", "t", "T"]);
38305
38278
  return _this;
38306
38279
  }
38307
38280
  _createClass$1(DayPeriodParser2, [{
@@ -38356,8 +38329,8 @@ var __publicField = (obj, key, value) => {
38356
38329
  args[_key] = arguments[_key];
38357
38330
  }
38358
38331
  _this = _super.call.apply(_super, [this].concat(args));
38359
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 70);
38360
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", ["H", "K", "k", "t", "T"]);
38332
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 70);
38333
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["H", "K", "k", "t", "T"]);
38361
38334
  return _this;
38362
38335
  }
38363
38336
  _createClass$1(Hour1to12Parser2, [{
@@ -38405,8 +38378,8 @@ var __publicField = (obj, key, value) => {
38405
38378
  args[_key] = arguments[_key];
38406
38379
  }
38407
38380
  _this = _super.call.apply(_super, [this].concat(args));
38408
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 70);
38409
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
38381
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 70);
38382
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
38410
38383
  return _this;
38411
38384
  }
38412
38385
  _createClass$1(Hour0to23Parser2, [{
@@ -38447,8 +38420,8 @@ var __publicField = (obj, key, value) => {
38447
38420
  args[_key] = arguments[_key];
38448
38421
  }
38449
38422
  _this = _super.call.apply(_super, [this].concat(args));
38450
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 70);
38451
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", ["h", "H", "k", "t", "T"]);
38423
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 70);
38424
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["h", "H", "k", "t", "T"]);
38452
38425
  return _this;
38453
38426
  }
38454
38427
  _createClass$1(Hour0To11Parser2, [{
@@ -38494,8 +38467,8 @@ var __publicField = (obj, key, value) => {
38494
38467
  args[_key] = arguments[_key];
38495
38468
  }
38496
38469
  _this = _super.call.apply(_super, [this].concat(args));
38497
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 70);
38498
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
38470
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 70);
38471
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
38499
38472
  return _this;
38500
38473
  }
38501
38474
  _createClass$1(Hour1To24Parser2, [{
@@ -38537,8 +38510,8 @@ var __publicField = (obj, key, value) => {
38537
38510
  args[_key] = arguments[_key];
38538
38511
  }
38539
38512
  _this = _super.call.apply(_super, [this].concat(args));
38540
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 60);
38541
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", ["t", "T"]);
38513
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 60);
38514
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T"]);
38542
38515
  return _this;
38543
38516
  }
38544
38517
  _createClass$1(MinuteParser2, [{
@@ -38579,8 +38552,8 @@ var __publicField = (obj, key, value) => {
38579
38552
  args[_key] = arguments[_key];
38580
38553
  }
38581
38554
  _this = _super.call.apply(_super, [this].concat(args));
38582
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 50);
38583
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", ["t", "T"]);
38555
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 50);
38556
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T"]);
38584
38557
  return _this;
38585
38558
  }
38586
38559
  _createClass$1(SecondParser2, [{
@@ -38621,8 +38594,8 @@ var __publicField = (obj, key, value) => {
38621
38594
  args[_key] = arguments[_key];
38622
38595
  }
38623
38596
  _this = _super.call.apply(_super, [this].concat(args));
38624
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 30);
38625
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", ["t", "T"]);
38597
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 30);
38598
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T"]);
38626
38599
  return _this;
38627
38600
  }
38628
38601
  _createClass$1(FractionOfSecondParser2, [{
@@ -38652,8 +38625,8 @@ var __publicField = (obj, key, value) => {
38652
38625
  args[_key] = arguments[_key];
38653
38626
  }
38654
38627
  _this = _super.call.apply(_super, [this].concat(args));
38655
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 10);
38656
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", ["t", "T", "x"]);
38628
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 10);
38629
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T", "x"]);
38657
38630
  return _this;
38658
38631
  }
38659
38632
  _createClass$1(ISOTimezoneWithZParser2, [{
@@ -38694,8 +38667,8 @@ var __publicField = (obj, key, value) => {
38694
38667
  args[_key] = arguments[_key];
38695
38668
  }
38696
38669
  _this = _super.call.apply(_super, [this].concat(args));
38697
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 10);
38698
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", ["t", "T", "X"]);
38670
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 10);
38671
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T", "X"]);
38699
38672
  return _this;
38700
38673
  }
38701
38674
  _createClass$1(ISOTimezoneParser2, [{
@@ -38736,8 +38709,8 @@ var __publicField = (obj, key, value) => {
38736
38709
  args[_key] = arguments[_key];
38737
38710
  }
38738
38711
  _this = _super.call.apply(_super, [this].concat(args));
38739
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 40);
38740
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", "*");
38712
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 40);
38713
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", "*");
38741
38714
  return _this;
38742
38715
  }
38743
38716
  _createClass$1(TimestampSecondsParser2, [{
@@ -38765,8 +38738,8 @@ var __publicField = (obj, key, value) => {
38765
38738
  args[_key] = arguments[_key];
38766
38739
  }
38767
38740
  _this = _super.call.apply(_super, [this].concat(args));
38768
- _defineProperty$5(_assertThisInitialized$2(_this), "priority", 20);
38769
- _defineProperty$5(_assertThisInitialized$2(_this), "incompatibleTokens", "*");
38741
+ _defineProperty$5(_assertThisInitialized$3(_this), "priority", 20);
38742
+ _defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", "*");
38770
38743
  return _this;
38771
38744
  }
38772
38745
  _createClass$1(TimestampMillisecondsParser2, [{
@@ -39183,7 +39156,7 @@ var __publicField = (obj, key, value) => {
39183
39156
  }
39184
39157
  return target;
39185
39158
  }
39186
- function _assertThisInitialized$1(self2) {
39159
+ function _assertThisInitialized$2(self2) {
39187
39160
  if (self2 === void 0) {
39188
39161
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
39189
39162
  }
@@ -39315,7 +39288,7 @@ var __publicField = (obj, key, value) => {
39315
39288
  _this.__outsideClickHandler(event);
39316
39289
  };
39317
39290
  events.forEach(function(eventName) {
39318
- document.addEventListener(eventName, handlersMap[_this._uid], getEventHandlerOptions(_assertThisInitialized$1(_this), eventName));
39291
+ document.addEventListener(eventName, handlersMap[_this._uid], getEventHandlerOptions(_assertThisInitialized$2(_this), eventName));
39319
39292
  });
39320
39293
  };
39321
39294
  _this.disableOnClickOutside = function() {
@@ -39327,7 +39300,7 @@ var __publicField = (obj, key, value) => {
39327
39300
  events = [events];
39328
39301
  }
39329
39302
  events.forEach(function(eventName) {
39330
- return document.removeEventListener(eventName, fn, getEventHandlerOptions(_assertThisInitialized$1(_this), eventName));
39303
+ return document.removeEventListener(eventName, fn, getEventHandlerOptions(_assertThisInitialized$2(_this), eventName));
39331
39304
  });
39332
39305
  delete handlersMap[_this._uid];
39333
39306
  }
@@ -44056,11 +44029,11 @@ var __publicField = (obj, key, value) => {
44056
44029
  if (superClass)
44057
44030
  _setPrototypeOf(subClass, superClass);
44058
44031
  }
44059
- function _getPrototypeOf(o2) {
44060
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf2(o3) {
44032
+ function _getPrototypeOf$1(o2) {
44033
+ _getPrototypeOf$1 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf2(o3) {
44061
44034
  return o3.__proto__ || Object.getPrototypeOf(o3);
44062
44035
  };
44063
- return _getPrototypeOf(o2);
44036
+ return _getPrototypeOf$1(o2);
44064
44037
  }
44065
44038
  function _setPrototypeOf(o2, p2) {
44066
44039
  _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf2(o3, p3) {
@@ -44069,7 +44042,7 @@ var __publicField = (obj, key, value) => {
44069
44042
  };
44070
44043
  return _setPrototypeOf(o2, p2);
44071
44044
  }
44072
- function _isNativeReflectConstruct() {
44045
+ function _isNativeReflectConstruct$1() {
44073
44046
  if (typeof Reflect === "undefined" || !Reflect.construct)
44074
44047
  return false;
44075
44048
  if (Reflect.construct.sham)
@@ -44084,7 +44057,7 @@ var __publicField = (obj, key, value) => {
44084
44057
  return false;
44085
44058
  }
44086
44059
  }
44087
- function _assertThisInitialized(self2) {
44060
+ function _assertThisInitialized$1(self2) {
44088
44061
  if (self2 === void 0) {
44089
44062
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
44090
44063
  }
@@ -44094,14 +44067,14 @@ var __publicField = (obj, key, value) => {
44094
44067
  if (call && (typeof call === "object" || typeof call === "function")) {
44095
44068
  return call;
44096
44069
  }
44097
- return _assertThisInitialized(self2);
44070
+ return _assertThisInitialized$1(self2);
44098
44071
  }
44099
44072
  function _createSuper(Derived) {
44100
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
44073
+ var hasNativeReflectConstruct = _isNativeReflectConstruct$1();
44101
44074
  return function _createSuperInternal() {
44102
- var Super = _getPrototypeOf(Derived), result;
44075
+ var Super = _getPrototypeOf$1(Derived), result;
44103
44076
  if (hasNativeReflectConstruct) {
44104
- var NewTarget = _getPrototypeOf(this).constructor;
44077
+ var NewTarget = _getPrototypeOf$1(this).constructor;
44105
44078
  result = Reflect.construct(Super, arguments, NewTarget);
44106
44079
  } else {
44107
44080
  result = Super.apply(this, arguments);
@@ -44673,7 +44646,7 @@ var __publicField = (obj, key, value) => {
44673
44646
  _this.onKeyDown = function(e3, handleID) {
44674
44647
  var validUpKeys = ["ArrowRight", "ArrowUp"];
44675
44648
  var validDownKeys = ["ArrowDown", "ArrowLeft"];
44676
- var _assertThisInitialize = _assertThisInitialized(_this), handles = _assertThisInitialize.state.handles, _assertThisInitialize2 = _assertThisInitialize.props, _assertThisInitialize3 = _assertThisInitialize2.step, step = _assertThisInitialize3 === void 0 ? 0.1 : _assertThisInitialize3, _assertThisInitialize4 = _assertThisInitialize2.reversed, reversed = _assertThisInitialize4 === void 0 ? false : _assertThisInitialize4, _assertThisInitialize5 = _assertThisInitialize2.vertical, vertical = _assertThisInitialize5 === void 0 ? false : _assertThisInitialize5, _assertThisInitialize6 = _assertThisInitialize2.domain, domain = _assertThisInitialize6 === void 0 ? [0, 100] : _assertThisInitialize6;
44649
+ var _assertThisInitialize = _assertThisInitialized$1(_this), handles = _assertThisInitialize.state.handles, _assertThisInitialize2 = _assertThisInitialize.props, _assertThisInitialize3 = _assertThisInitialize2.step, step = _assertThisInitialize3 === void 0 ? 0.1 : _assertThisInitialize3, _assertThisInitialize4 = _assertThisInitialize2.reversed, reversed = _assertThisInitialize4 === void 0 ? false : _assertThisInitialize4, _assertThisInitialize5 = _assertThisInitialize2.vertical, vertical = _assertThisInitialize5 === void 0 ? false : _assertThisInitialize5, _assertThisInitialize6 = _assertThisInitialize2.domain, domain = _assertThisInitialize6 === void 0 ? [0, 100] : _assertThisInitialize6;
44677
44650
  var key = e3.key || "".concat(e3.keyCode);
44678
44651
  if (!validUpKeys.concat(validDownKeys).includes(key)) {
44679
44652
  return;
@@ -44716,7 +44689,7 @@ var __publicField = (obj, key, value) => {
44716
44689
  _this.onStart(e3, handleID, true);
44717
44690
  };
44718
44691
  _this.getEventData = function(e3, isTouch) {
44719
- var _assertThisInitialize7 = _assertThisInitialized(_this), _assertThisInitialize8 = _assertThisInitialize7.state, pixelToStep = _assertThisInitialize8.pixelToStep, valueToPerc = _assertThisInitialize8.valueToPerc, vertical = _assertThisInitialize7.props.vertical;
44692
+ var _assertThisInitialize7 = _assertThisInitialized$1(_this), _assertThisInitialize8 = _assertThisInitialize7.state, pixelToStep = _assertThisInitialize8.pixelToStep, valueToPerc = _assertThisInitialize8.valueToPerc, vertical = _assertThisInitialize7.props.vertical;
44720
44693
  pixelToStep.setDomain(getSliderDomain(_this.slider.current, vertical));
44721
44694
  var value;
44722
44695
  if (isTouch && e3 instanceof TouchEvent) {
@@ -44730,14 +44703,14 @@ var __publicField = (obj, key, value) => {
44730
44703
  };
44731
44704
  };
44732
44705
  _this.onMouseMove = function(e3) {
44733
- var _assertThisInitialize9 = _assertThisInitialized(_this), _assertThisInitialize10 = _assertThisInitialize9.state, curr = _assertThisInitialize10.handles, pixelToStep = _assertThisInitialize10.pixelToStep, _assertThisInitialize11 = _assertThisInitialize10.activeHandleID, activeHandleID = _assertThisInitialize11 === void 0 ? "" : _assertThisInitialize11, _assertThisInitialize12 = _assertThisInitialize9.props, vertical = _assertThisInitialize12.vertical, _assertThisInitialize13 = _assertThisInitialize12.reversed, reversed = _assertThisInitialize13 === void 0 ? false : _assertThisInitialize13;
44706
+ var _assertThisInitialize9 = _assertThisInitialized$1(_this), _assertThisInitialize10 = _assertThisInitialize9.state, curr = _assertThisInitialize10.handles, pixelToStep = _assertThisInitialize10.pixelToStep, _assertThisInitialize11 = _assertThisInitialize10.activeHandleID, activeHandleID = _assertThisInitialize11 === void 0 ? "" : _assertThisInitialize11, _assertThisInitialize12 = _assertThisInitialize9.props, vertical = _assertThisInitialize12.vertical, _assertThisInitialize13 = _assertThisInitialize12.reversed, reversed = _assertThisInitialize13 === void 0 ? false : _assertThisInitialize13;
44734
44707
  pixelToStep.setDomain(getSliderDomain(_this.slider.current, vertical));
44735
44708
  var updateValue = pixelToStep.getValue(vertical ? e3.clientY : e3.pageX);
44736
44709
  var nextHandles = getUpdatedHandles(curr, activeHandleID, updateValue, reversed);
44737
44710
  _this.submitUpdate(nextHandles);
44738
44711
  };
44739
44712
  _this.onTouchMove = function(e3) {
44740
- var _assertThisInitialize14 = _assertThisInitialized(_this), _assertThisInitialize15 = _assertThisInitialize14.state, curr = _assertThisInitialize15.handles, pixelToStep = _assertThisInitialize15.pixelToStep, activeHandleID = _assertThisInitialize15.activeHandleID, _assertThisInitialize16 = _assertThisInitialize14.props, vertical = _assertThisInitialize16.vertical, reversed = _assertThisInitialize16.reversed;
44713
+ var _assertThisInitialize14 = _assertThisInitialized$1(_this), _assertThisInitialize15 = _assertThisInitialize14.state, curr = _assertThisInitialize15.handles, pixelToStep = _assertThisInitialize15.pixelToStep, activeHandleID = _assertThisInitialize15.activeHandleID, _assertThisInitialize16 = _assertThisInitialize14.props, vertical = _assertThisInitialize16.vertical, reversed = _assertThisInitialize16.reversed;
44741
44714
  if (pixelToStep === null || isNotValidTouch(e3)) {
44742
44715
  return;
44743
44716
  }
@@ -44747,7 +44720,7 @@ var __publicField = (obj, key, value) => {
44747
44720
  _this.submitUpdate(nextHandles);
44748
44721
  };
44749
44722
  _this.onMouseUp = function() {
44750
- var _assertThisInitialize17 = _assertThisInitialized(_this), _assertThisInitialize18 = _assertThisInitialize17.state, _assertThisInitialize19 = _assertThisInitialize18.handles, handles = _assertThisInitialize19 === void 0 ? [] : _assertThisInitialize19, activeHandleID = _assertThisInitialize18.activeHandleID, _assertThisInitialize20 = _assertThisInitialize17.props, _assertThisInitialize21 = _assertThisInitialize20.onChange, onChange2 = _assertThisInitialize21 === void 0 ? noop$3 : _assertThisInitialize21, _assertThisInitialize22 = _assertThisInitialize20.onSlideEnd, onSlideEnd = _assertThisInitialize22 === void 0 ? noop$3 : _assertThisInitialize22;
44723
+ var _assertThisInitialize17 = _assertThisInitialized$1(_this), _assertThisInitialize18 = _assertThisInitialize17.state, _assertThisInitialize19 = _assertThisInitialize18.handles, handles = _assertThisInitialize19 === void 0 ? [] : _assertThisInitialize19, activeHandleID = _assertThisInitialize18.activeHandleID, _assertThisInitialize20 = _assertThisInitialize17.props, _assertThisInitialize21 = _assertThisInitialize20.onChange, onChange2 = _assertThisInitialize21 === void 0 ? noop$3 : _assertThisInitialize21, _assertThisInitialize22 = _assertThisInitialize20.onSlideEnd, onSlideEnd = _assertThisInitialize22 === void 0 ? noop$3 : _assertThisInitialize22;
44751
44724
  onChange2(handles.map(function(d2) {
44752
44725
  return d2.val;
44753
44726
  }));
@@ -44765,7 +44738,7 @@ var __publicField = (obj, key, value) => {
44765
44738
  }
44766
44739
  };
44767
44740
  _this.onTouchEnd = function() {
44768
- var _assertThisInitialize23 = _assertThisInitialized(_this), _assertThisInitialize24 = _assertThisInitialize23.state, handles = _assertThisInitialize24.handles, activeHandleID = _assertThisInitialize24.activeHandleID, _assertThisInitialize25 = _assertThisInitialize23.props, _assertThisInitialize26 = _assertThisInitialize25.onChange, onChange2 = _assertThisInitialize26 === void 0 ? noop$3 : _assertThisInitialize26, _assertThisInitialize27 = _assertThisInitialize25.onSlideEnd, onSlideEnd = _assertThisInitialize27 === void 0 ? noop$3 : _assertThisInitialize27;
44741
+ var _assertThisInitialize23 = _assertThisInitialized$1(_this), _assertThisInitialize24 = _assertThisInitialize23.state, handles = _assertThisInitialize24.handles, activeHandleID = _assertThisInitialize24.activeHandleID, _assertThisInitialize25 = _assertThisInitialize23.props, _assertThisInitialize26 = _assertThisInitialize25.onChange, onChange2 = _assertThisInitialize26 === void 0 ? noop$3 : _assertThisInitialize26, _assertThisInitialize27 = _assertThisInitialize25.onSlideEnd, onSlideEnd = _assertThisInitialize27 === void 0 ? noop$3 : _assertThisInitialize27;
44769
44742
  onChange2(handles.map(function(d2) {
44770
44743
  return d2.val;
44771
44744
  }));
@@ -50542,11 +50515,38 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
50542
50515
  }
50543
50516
  return DelayMessage2;
50544
50517
  }();
50518
+ function _assertThisInitialized(self2) {
50519
+ if (self2 === void 0) {
50520
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
50521
+ }
50522
+ return self2;
50523
+ }
50524
+ function _getPrototypeOf(o2) {
50525
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf2(o3) {
50526
+ return o3.__proto__ || Object.getPrototypeOf(o3);
50527
+ };
50528
+ return _getPrototypeOf(o2);
50529
+ }
50545
50530
  function _isNativeFunction(fn) {
50546
50531
  return Function.toString.call(fn).indexOf("[native code]") !== -1;
50547
50532
  }
50533
+ function _isNativeReflectConstruct() {
50534
+ if (typeof Reflect === "undefined" || !Reflect.construct)
50535
+ return false;
50536
+ if (Reflect.construct.sham)
50537
+ return false;
50538
+ if (typeof Proxy === "function")
50539
+ return true;
50540
+ try {
50541
+ Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
50542
+ }));
50543
+ return true;
50544
+ } catch (e3) {
50545
+ return false;
50546
+ }
50547
+ }
50548
50548
  function _construct(Parent, args, Class) {
50549
- if (_isNativeReflectConstruct$1()) {
50549
+ if (_isNativeReflectConstruct()) {
50550
50550
  _construct = Reflect.construct.bind();
50551
50551
  } else {
50552
50552
  _construct = function _construct2(Parent2, args2, Class2) {
@@ -50575,7 +50575,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
50575
50575
  _cache.set(Class2, Wrapper2);
50576
50576
  }
50577
50577
  function Wrapper2() {
50578
- return _construct(Class2, arguments, _getPrototypeOf$1(this).constructor);
50578
+ return _construct(Class2, arguments, _getPrototypeOf(this).constructor);
50579
50579
  }
50580
50580
  Wrapper2.prototype = Object.create(Class2.prototype, {
50581
50581
  constructor: {
@@ -50596,7 +50596,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
50596
50596
  {
50597
50597
  _this = _Error.call(this, "An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#" + code + " for more information.") || this;
50598
50598
  }
50599
- return _assertThisInitialized$2(_this);
50599
+ return _assertThisInitialized(_this);
50600
50600
  }
50601
50601
  return PolishedError2;
50602
50602
  }(/* @__PURE__ */ _wrapNativeSuper(Error));
@@ -57141,22 +57141,29 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
57141
57141
  this.actionImpl = actionImpl;
57142
57142
  }
57143
57143
  }
57144
- async function resolveActionImpl(actionImpl, getAction, importers) {
57144
+ async function resolveActionImpl(actionImpl, getAction, importers, actionCtx) {
57145
+ let actionHandler;
57145
57146
  if (!ACTION_HANDLER_BY_NAME[actionImpl.name]) {
57146
- let actionDef;
57147
57147
  try {
57148
- actionDef = getAction(actionImpl);
57148
+ const actionDef = getAction(actionImpl);
57149
+ const moduleContent = await importers[actionDef.py_module]();
57150
+ actionHandler = moduleContent[actionImpl.name];
57151
+ ACTION_HANDLER_BY_NAME[actionImpl.name] = actionHandler;
57149
57152
  } catch {
57150
- throw new UnhandledActionError(`Action definition for impl "${actionImpl.name}" not found`, actionImpl);
57153
+ if (actionCtx.onUnhandledAction) {
57154
+ actionHandler = actionCtx.onUnhandledAction;
57155
+ } else {
57156
+ throw new UnhandledActionError(`Action definition for impl "${actionImpl.name}" not found`, actionImpl);
57157
+ }
57151
57158
  }
57152
- const moduleContent = await importers[actionDef.py_module]();
57153
- ACTION_HANDLER_BY_NAME[actionImpl.name] = moduleContent[actionImpl.name];
57159
+ } else {
57160
+ actionHandler = ACTION_HANDLER_BY_NAME[actionImpl.name];
57154
57161
  }
57155
- return ACTION_HANDLER_BY_NAME[actionImpl.name];
57162
+ return actionHandler;
57156
57163
  }
57157
57164
  async function executeAction(input, action, actionCtx, getAction, importers) {
57158
57165
  if (isActionImpl(action)) {
57159
- const handler = await resolveActionImpl(action, getAction, importers);
57166
+ const handler = await resolveActionImpl(action, getAction, importers, actionCtx);
57160
57167
  const result = handler(actionCtx, action);
57161
57168
  if (result instanceof Promise) {
57162
57169
  await result;
@@ -57178,7 +57185,6 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
57178
57185
  }
57179
57186
  };
57180
57187
  const onError = (error) => {
57181
- console.error("Error executing action:", error);
57182
57188
  if (!isSettled) {
57183
57189
  isSettled = true;
57184
57190
  sub.unsubscribe();
@@ -57188,7 +57194,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
57188
57194
  sub = observable2.pipe(
57189
57195
  concatMap(async (actionImpl) => {
57190
57196
  if (actionImpl) {
57191
- const handler = await resolveActionImpl(actionImpl, getAction, importers);
57197
+ const handler = await resolveActionImpl(actionImpl, getAction, importers, actionCtx);
57192
57198
  return [handler, actionImpl];
57193
57199
  }
57194
57200
  return null;
@@ -57251,6 +57257,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
57251
57257
  const fullActionContext = {
57252
57258
  ...actionCtx.current,
57253
57259
  input,
57260
+ onUnhandledAction: (_a = optionsRef.current) == null ? void 0 : _a.onUnhandledAction,
57254
57261
  gotoSnapshot: cbInterface.gotoSnapshot,
57255
57262
  refresh: cbInterface.refresh,
57256
57263
  reset: cbInterface.reset,
@@ -57261,25 +57268,14 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
57261
57268
  try {
57262
57269
  await executeAction(input, actionToExecute, fullActionContext, getAction, importers);
57263
57270
  } catch (error) {
57271
+ console.error(error);
57272
+ let message = "Try again or contact the application owner";
57264
57273
  if (error instanceof UnhandledActionError) {
57265
- if ((_a = optionsRef.current) == null ? void 0 : _a.onUnhandledAction) {
57266
- const result = optionsRef.current.onUnhandledAction(error.actionImpl, fullActionContext);
57267
- if (result instanceof Promise) {
57268
- await result;
57269
- }
57270
- } else {
57271
- actionCtx.current.notificationCtx.pushNotification({
57272
- key: "_actionError",
57273
- message: `Action "${error.actionImpl.name}" not registered`,
57274
- status: Status.ERROR,
57275
- title: "Error executing action"
57276
- });
57277
- }
57278
- continue;
57274
+ message = error.message;
57279
57275
  }
57280
57276
  actionCtx.current.notificationCtx.pushNotification({
57281
57277
  key: "_actionError",
57282
- message: "Try again or contact the application owner",
57278
+ message,
57283
57279
  status: Status.ERROR,
57284
57280
  title: "Error executing action"
57285
57281
  });
@@ -92391,11 +92387,11 @@ Inferred class string: "${iconClasses}."`
92391
92387
  function List2(props) {
92392
92388
  var _this;
92393
92389
  _this = _PureComponent.call(this, props) || this;
92394
- _this._instanceProps = initInstanceProps(_this.props, _assertThisInitialized$2(_this));
92390
+ _this._instanceProps = initInstanceProps(_this.props, _assertThisInitialized(_this));
92395
92391
  _this._outerRef = void 0;
92396
92392
  _this._resetIsScrollingTimeoutId = null;
92397
92393
  _this.state = {
92398
- instance: _assertThisInitialized$2(_this),
92394
+ instance: _assertThisInitialized(_this),
92399
92395
  isScrolling: false,
92400
92396
  scrollDirection: "forward",
92401
92397
  scrollOffset: typeof _this.props.initialScrollOffset === "number" ? _this.props.initialScrollOffset : 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@darajs/core",
3
- "version": "1.4.5",
3
+ "version": "1.4.6",
4
4
  "description": "Dara Framework core",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -35,9 +35,9 @@
35
35
  "@babel/preset-env": "^7.23.0",
36
36
  "@babel/preset-react": "^7.22.15",
37
37
  "@babel/preset-typescript": "^7.23.0",
38
- "@darajs/eslint-config": "~1.2.3",
39
- "@darajs/prettier-config": "~1.2.3",
40
- "@darajs/stylelint-config": "~1.2.3",
38
+ "@darajs/eslint-config": "~1.3.0",
39
+ "@darajs/prettier-config": "~1.3.0",
40
+ "@darajs/stylelint-config": "~1.3.0",
41
41
  "@rollup/plugin-inject": "^4.0.4",
42
42
  "@testing-library/dom": "^9.3.0",
43
43
  "@testing-library/jest-dom": "^5.16.5",
@@ -74,10 +74,10 @@
74
74
  "whatwg-fetch": "^3.6.2"
75
75
  },
76
76
  "dependencies": {
77
- "@darajs/styled-components": "~1.2.3",
78
- "@darajs/ui-components": "~1.2.3",
79
- "@darajs/ui-notifications": "~1.2.3",
80
- "@darajs/ui-utils": "~1.2.3",
77
+ "@darajs/styled-components": "~1.4.0",
78
+ "@darajs/ui-components": "~1.4.0",
79
+ "@darajs/ui-notifications": "~1.4.0",
80
+ "@darajs/ui-utils": "~1.4.0",
81
81
  "@fortawesome/fontawesome-free": "^6.3.0",
82
82
  "@recoiljs/refine": "^0.1.1",
83
83
  "@tanstack/query-core": "^4.0.0",
@@ -113,5 +113,5 @@
113
113
  "publishConfig": {
114
114
  "access": "public"
115
115
  },
116
- "gitHead": "8aea2cd5575eb6a3d371910bf347e64933db0b9e"
116
+ "gitHead": "05b313524b70d04c4c56e4a6d40c914fe7608fdf"
117
117
  }