@overturo/js 1.5.1 → 1.5.2
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/README.md +1 -1
- package/dist/field/index.cjs +5 -1
- package/dist/field/index.cjs.map +1 -1
- package/dist/field/index.d.cts +3 -1
- package/dist/field/index.d.ts +3 -1
- package/dist/field/index.js +5 -1
- package/dist/field/index.js.map +1 -1
- package/dist/index.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/overturo-field.global.js +1 -1
- package/dist/overturo.global.js +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1330,6 +1330,8 @@ declare class OapSequenceDenied extends OapTrajectoryDenied {
|
|
|
1330
1330
|
constructor(envelope: OapErrorEnvelope, status: number, body: unknown);
|
|
1331
1331
|
}
|
|
1332
1332
|
|
|
1333
|
+
declare const ElementBase: typeof HTMLElement;
|
|
1334
|
+
|
|
1333
1335
|
declare const ELEMENT_NAME = "overturo-decision";
|
|
1334
1336
|
declare const ALREADY_DEFINED_CODE = "OVERTURO_ELEMENT_ALREADY_DEFINED";
|
|
1335
1337
|
/**
|
|
@@ -1346,7 +1348,7 @@ declare const ALREADY_DEFINED_CODE = "OVERTURO_ELEMENT_ALREADY_DEFINED";
|
|
|
1346
1348
|
* `decision:error` — `detail` is the ERROR payload
|
|
1347
1349
|
* `decision:deadline` — `detail` is the DEADLINE payload
|
|
1348
1350
|
*/
|
|
1349
|
-
declare class DecisionElement extends
|
|
1351
|
+
declare class DecisionElement extends ElementBase {
|
|
1350
1352
|
#private;
|
|
1351
1353
|
static observedAttributes: string[];
|
|
1352
1354
|
constructor();
|
package/dist/index.d.ts
CHANGED
|
@@ -1330,6 +1330,8 @@ declare class OapSequenceDenied extends OapTrajectoryDenied {
|
|
|
1330
1330
|
constructor(envelope: OapErrorEnvelope, status: number, body: unknown);
|
|
1331
1331
|
}
|
|
1332
1332
|
|
|
1333
|
+
declare const ElementBase: typeof HTMLElement;
|
|
1334
|
+
|
|
1333
1335
|
declare const ELEMENT_NAME = "overturo-decision";
|
|
1334
1336
|
declare const ALREADY_DEFINED_CODE = "OVERTURO_ELEMENT_ALREADY_DEFINED";
|
|
1335
1337
|
/**
|
|
@@ -1346,7 +1348,7 @@ declare const ALREADY_DEFINED_CODE = "OVERTURO_ELEMENT_ALREADY_DEFINED";
|
|
|
1346
1348
|
* `decision:error` — `detail` is the ERROR payload
|
|
1347
1349
|
* `decision:deadline` — `detail` is the DEADLINE payload
|
|
1348
1350
|
*/
|
|
1349
|
-
declare class DecisionElement extends
|
|
1351
|
+
declare class DecisionElement extends ElementBase {
|
|
1350
1352
|
#private;
|
|
1351
1353
|
static observedAttributes: string[];
|
|
1352
1354
|
constructor();
|
package/dist/index.js
CHANGED
|
@@ -4341,11 +4341,15 @@ var Overturo = class {
|
|
|
4341
4341
|
}
|
|
4342
4342
|
};
|
|
4343
4343
|
|
|
4344
|
+
// src/element_base.ts
|
|
4345
|
+
var ElementBase = typeof HTMLElement === "undefined" ? class {
|
|
4346
|
+
} : HTMLElement;
|
|
4347
|
+
|
|
4344
4348
|
// src/elements/decision_element.ts
|
|
4345
4349
|
var ELEMENT_NAME = "overturo-decision";
|
|
4346
4350
|
var ALREADY_DEFINED_CODE = "OVERTURO_ELEMENT_ALREADY_DEFINED";
|
|
4347
4351
|
var _shadow, _iframe, _ac, _errorRegion, _DecisionElement_instances, mount_fn, renderClickToOpen_fn, handleEnvelope_fn, emitError_fn, teardown_fn, _onKey;
|
|
4348
|
-
var DecisionElement = class extends
|
|
4352
|
+
var DecisionElement = class extends ElementBase {
|
|
4349
4353
|
constructor() {
|
|
4350
4354
|
super();
|
|
4351
4355
|
__privateAdd(this, _DecisionElement_instances);
|