@lmvz-ds/components 0.15.2 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Effect-CpZhfb0D.js → Effect-DdYOHaR4.js} +121 -83
- package/dist/cjs/{aria-loader-B7b45RMv.js → aria-loader-BRxRUIyi.js} +45 -10
- package/dist/cjs/{assets-BnJmIx_h.js → assets-OvQ-WUwR.js} +2 -2
- package/dist/cjs/{component-CRc6eHcV.js → component-Csg9MtNK.js} +4 -2
- package/dist/cjs/{icons-Brr4vqiE.js → icons-EHBLbidD.js} +2 -2
- package/dist/cjs/{index-QRnWYctw.js → index-BBqtydE-.js} +1 -1
- package/dist/cjs/index-Bp6Dd2i1.js +94 -0
- package/dist/cjs/{index-9ZJx0550.js → index-CH-YLRgg.js} +1 -1
- package/dist/cjs/index.cjs.js +5 -5
- package/dist/cjs/lmvz-action.cjs.entry.js +2 -2
- package/dist/cjs/lmvz-button.cjs.entry.js +73 -0
- package/dist/cjs/lmvz-card.cjs.entry.js +3 -3
- package/dist/cjs/lmvz-chip.cjs.entry.js +2 -2
- package/dist/cjs/lmvz-components.cjs.js +3 -3
- package/dist/cjs/{lmvz-header.cjs.entry.js → lmvz-header_2.cjs.entry.js} +24 -15
- package/dist/cjs/lmvz-icon.cjs.entry.js +10 -10
- package/dist/cjs/lmvz-input.cjs.entry.js +183 -0
- package/dist/cjs/lmvz-menuitem.cjs.entry.js +7 -5
- package/dist/cjs/lmvz-select.cjs.entry.js +71 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{reactive-controller-host-Ai9l4S9S.js → reactive-controller-host-vy1TIIXv.js} +2 -2
- package/dist/collection/collection-manifest.json +14 -2
- package/dist/collection/components/lmvz-action/lmvz-action.js +1 -1
- package/dist/collection/components/lmvz-button/lmvz-button.css +2 -24
- package/dist/collection/components/lmvz-button/lmvz-button.js +2 -2
- package/dist/collection/components/lmvz-card/lmvz-card.css +2 -24
- package/dist/collection/components/lmvz-card/lmvz-card.js +3 -3
- package/dist/collection/components/lmvz-chip/lmvz-chip.js +2 -2
- package/dist/collection/components/lmvz-header/lmvz-header.js +12 -8
- package/dist/collection/components/lmvz-icon/lmvz-icon.js +7 -7
- package/dist/collection/components/lmvz-input/lmvz-input.css +2 -24
- package/dist/collection/components/lmvz-input/lmvz-input.js +31 -27
- package/dist/collection/components/lmvz-menuitem/lmvz-menuitem.css +2 -24
- package/dist/collection/components/lmvz-menuitem/lmvz-menuitem.js +4 -2
- package/dist/collection/components/lmvz-select/lmvz-select.css +3 -25
- package/dist/collection/components/lmvz-select/lmvz-select.js +4 -4
- package/dist/collection/integration/header-integration.js +3 -3
- package/dist/collection/utils/aria/list-keyboard-controller.js +6 -4
- package/dist/collection/utils/component.js +6 -4
- package/dist/components/index.js +1 -1
- package/dist/components/lmvz-action.js +1 -1
- package/dist/components/lmvz-button.js +1 -1
- package/dist/components/lmvz-card.js +1 -1
- package/dist/components/lmvz-chip.js +1 -1
- package/dist/components/lmvz-header.js +1 -1
- package/dist/components/lmvz-icon.js +1 -1
- package/dist/components/lmvz-input.js +1 -1
- package/dist/components/lmvz-menuitem.js +1 -1
- package/dist/components/lmvz-select.js +1 -1
- package/dist/components/p-BsHYIl56.js +1 -0
- package/dist/components/{p-DcMNH3fv.js → p-CKtksB0G.js} +1 -1
- package/dist/components/{p-B3JVFwO1.js → p-DQEkWkMh.js} +1 -1
- package/dist/components/p-GKEnURpp.js +1 -0
- package/dist/components/{p-DK2hpvEW.js → p-vIq2biqy.js} +1 -1
- package/dist/esm/{Effect-DyamyJqO.js → Effect-9SROYpxM.js} +121 -83
- package/dist/esm/{aria-loader-Ddn7Qz_6.js → aria-loader-JxXwTAe5.js} +45 -10
- package/dist/esm/{assets-CvV1KMMV.js → assets-CNHv_WMG.js} +1 -1
- package/dist/esm/{component-DpoTUPzl.js → component-DIrAQ4IB.js} +4 -2
- package/dist/esm/{icons-C69Um2xB.js → icons-B255FOe4.js} +2 -2
- package/dist/esm/{index-CekEw3_K.js → index-BW1YMEA3.js} +1 -1
- package/dist/esm/index-BfTCfPZ1.js +92 -0
- package/dist/esm/{index-smGPjoDX.js → index-CQb-mBBB.js} +1 -1
- package/dist/esm/index.js +5 -5
- package/dist/esm/lmvz-action.entry.js +2 -2
- package/dist/esm/lmvz-button.entry.js +71 -0
- package/dist/esm/lmvz-card.entry.js +3 -3
- package/dist/esm/lmvz-chip.entry.js +2 -2
- package/dist/esm/lmvz-components.js +4 -4
- package/dist/esm/{lmvz-header.entry.js → lmvz-header_2.entry.js} +23 -15
- package/dist/esm/lmvz-icon.entry.js +10 -10
- package/dist/esm/lmvz-input.entry.js +181 -0
- package/dist/esm/lmvz-menuitem.entry.js +7 -5
- package/dist/esm/lmvz-select.entry.js +69 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{reactive-controller-host-CdAJ3t-B.js → reactive-controller-host-OhKYwMvP.js} +2 -2
- package/dist/ext-libs.d.ts +1 -0
- package/dist/lmvz-components/index.esm.js +1 -1
- package/dist/lmvz-components/lmvz-components.esm.js +1 -1
- package/dist/lmvz-components/p-150ecfb6.entry.js +1 -0
- package/dist/lmvz-components/p-22f67eff.entry.js +1 -0
- package/dist/lmvz-components/p-4530f088.entry.js +1 -0
- package/dist/lmvz-components/p-47d7ed0e.entry.js +1 -0
- package/dist/lmvz-components/p-5c3f1404.entry.js +1 -0
- package/dist/lmvz-components/p-8d51e396.entry.js +1 -0
- package/dist/lmvz-components/p-9SROYpxM.js +1 -0
- package/dist/lmvz-components/p-BfTCfPZ1.js +6 -0
- package/dist/lmvz-components/p-Bx29-tJt.js +1 -0
- package/dist/lmvz-components/{p-B7KSylv_.js → p-Cp76bcGb.js} +1 -1
- package/dist/lmvz-components/{p-cM67HC0Z.js → p-Cp7cp10e.js} +1 -1
- package/dist/lmvz-components/{p-DpoTUPzl.js → p-DIrAQ4IB.js} +1 -1
- package/dist/lmvz-components/{p-D7GrtdQF.js → p-DyO6wO4l.js} +1 -1
- package/dist/lmvz-components/p-b8926640.entry.js +1 -0
- package/dist/lmvz-components/p-b9d1953f.entry.js +1 -0
- package/dist/lmvz-components/p-d9c3f542.entry.js +1 -0
- package/dist/lmvz-components/{p-BEoSvNlI.js → p-i2508Ct1.js} +1 -1
- package/dist/manifest.json +150 -66
- package/dist/stencil.config.base.js +44 -0
- package/dist/stencil.config.dev.js +21 -0
- package/dist/stencil.config.integration.js +26 -0
- package/dist/stencil.config.js +15 -0
- package/dist/stencil.config.prod.js +29 -0
- package/dist/types/components/lmvz-action/lmvz-action.d.ts +1 -1
- package/dist/types/components/lmvz-button/lmvz-button.d.ts +2 -2
- package/dist/types/components/lmvz-card/lmvz-card.d.ts +1 -1
- package/dist/types/components/lmvz-header/lmvz-header.d.ts +3 -3
- package/dist/types/components/lmvz-icon/lmvz-icon.d.ts +4 -4
- package/dist/types/components/lmvz-input/lmvz-input.d.ts +3 -3
- package/dist/types/components/lmvz-menuitem/lmvz-menuitem.d.ts +3 -3
- package/dist/types/components/lmvz-select/lmvz-select.d.ts +1 -1
- package/dist/types/components.d.ts +3 -3
- package/dist/types/index.d.ts +1 -1
- package/dist/types/opt/atlassian/pipelines/agent/build/packages/components/.stencil/stencil.config.base.d.ts +2 -0
- package/dist/types/opt/atlassian/pipelines/agent/build/packages/components/.stencil/stencil.config.d.ts +2 -0
- package/dist/types/opt/atlassian/pipelines/agent/build/packages/components/.stencil/stencil.config.dev.d.ts +2 -0
- package/dist/types/opt/atlassian/pipelines/agent/build/packages/components/.stencil/stencil.config.integration.d.ts +2 -0
- package/dist/types/opt/atlassian/pipelines/agent/build/packages/components/.stencil/stencil.config.prod.d.ts +2 -0
- package/dist/types/utils/aria/aria-validation-controller.d.ts +1 -1
- package/dist/types/utils/aria/element-activation-controller.d.ts +1 -1
- package/dist/types/utils/component.d.ts +2 -2
- package/dist/types/utils/http.d.ts +3 -3
- package/dist/types/utils/validation/svg.d.ts +1 -1
- package/hydrate/index.js +908 -441
- package/hydrate/index.mjs +908 -441
- package/package.json +33 -73
- package/readme.md +3 -3
- package/dist/cjs/lmvz-button_3.cjs.entry.js +0 -399
- package/dist/collection/utils/typing.js +0 -1
- package/dist/components/p-CSRpdnrt.js +0 -1
- package/dist/components/p-DR19QMDG.js +0 -1
- package/dist/esm/lmvz-button_3.entry.js +0 -395
- package/dist/lmvz-components/p-70ca3319.entry.js +0 -1
- package/dist/lmvz-components/p-73648317.entry.js +0 -1
- package/dist/lmvz-components/p-8ed959da.entry.js +0 -1
- package/dist/lmvz-components/p-9526c364.entry.js +0 -1
- package/dist/lmvz-components/p-9faac8f3.entry.js +0 -1
- package/dist/lmvz-components/p-D7RHrBYK.js +0 -1
- package/dist/lmvz-components/p-DyamyJqO.js +0 -1
- package/dist/lmvz-components/p-d4b68381.entry.js +0 -1
- package/dist/lmvz-components/p-ea1a9d4a.entry.js +0 -6
- package/dist/types/utils/typing.d.ts +0 -3
- /package/dist/components/{p-BaPwpeMs.js → p-CahBdGGN.js} +0 -0
- /package/dist/lmvz-components/{p-smGPjoDX.js → p-CQb-mBBB.js} +0 -0
|
@@ -1030,10 +1030,13 @@ function compareBoth(self, that) {
|
|
|
1030
1030
|
}
|
|
1031
1031
|
}
|
|
1032
1032
|
if (structuralRegionState.enabled) {
|
|
1033
|
+
if (self === null || that === null) {
|
|
1034
|
+
return false;
|
|
1035
|
+
}
|
|
1033
1036
|
if (Array.isArray(self) && Array.isArray(that)) {
|
|
1034
1037
|
return self.length === that.length && self.every((v, i) => compareBoth(v, that[i]));
|
|
1035
1038
|
}
|
|
1036
|
-
if (Object.getPrototypeOf(self) === Object.prototype && Object.getPrototypeOf(
|
|
1039
|
+
if (Object.getPrototypeOf(self) === Object.prototype && Object.getPrototypeOf(that) === Object.prototype) {
|
|
1037
1040
|
const keysSelf = Object.keys(self);
|
|
1038
1041
|
const keysThat = Object.keys(that);
|
|
1039
1042
|
if (keysSelf.length === keysThat.length) {
|
|
@@ -1216,7 +1219,7 @@ const OP_YIELD = "Yield";
|
|
|
1216
1219
|
/** @internal */
|
|
1217
1220
|
const OP_REVERT_FLAGS = "RevertFlags";
|
|
1218
1221
|
|
|
1219
|
-
let moduleVersion = "3.
|
|
1222
|
+
let moduleVersion = "3.21.0";
|
|
1220
1223
|
const getCurrentVersion = () => moduleVersion;
|
|
1221
1224
|
|
|
1222
1225
|
/** @internal */
|
|
@@ -7653,34 +7656,33 @@ const renderErrorCause = (cause, prefix) => {
|
|
|
7653
7656
|
return stack;
|
|
7654
7657
|
};
|
|
7655
7658
|
/** @internal */
|
|
7656
|
-
|
|
7657
|
-
|
|
7658
|
-
|
|
7659
|
-
|
|
7660
|
-
|
|
7661
|
-
|
|
7662
|
-
|
|
7663
|
-
|
|
7664
|
-
|
|
7665
|
-
|
|
7666
|
-
|
|
7659
|
+
const makePrettyError = originalError => {
|
|
7660
|
+
const originalErrorIsObject = typeof originalError === "object" && originalError !== null;
|
|
7661
|
+
const prevLimit = Error.stackTraceLimit;
|
|
7662
|
+
Error.stackTraceLimit = 1;
|
|
7663
|
+
const error = new Error(prettyErrorMessage(originalError), originalErrorIsObject && "cause" in originalError && typeof originalError.cause !== "undefined" ? {
|
|
7664
|
+
cause: makePrettyError(originalError.cause)
|
|
7665
|
+
} : undefined);
|
|
7666
|
+
Error.stackTraceLimit = prevLimit;
|
|
7667
|
+
if (error.message === "") {
|
|
7668
|
+
error.message = "An error has occurred";
|
|
7669
|
+
}
|
|
7670
|
+
Error.stackTraceLimit = prevLimit;
|
|
7671
|
+
error.name = originalError instanceof Error ? originalError.name : "Error";
|
|
7672
|
+
if (originalErrorIsObject) {
|
|
7673
|
+
if (spanSymbol in originalError) {
|
|
7674
|
+
error.span = originalError[spanSymbol];
|
|
7667
7675
|
}
|
|
7668
|
-
|
|
7669
|
-
|
|
7670
|
-
|
|
7671
|
-
|
|
7672
|
-
this.span = originalError[spanSymbol];
|
|
7676
|
+
Object.keys(originalError).forEach(key => {
|
|
7677
|
+
if (!(key in error)) {
|
|
7678
|
+
// @ts-expect-error
|
|
7679
|
+
error[key] = originalError[key];
|
|
7673
7680
|
}
|
|
7674
|
-
|
|
7675
|
-
if (!(key in this)) {
|
|
7676
|
-
// @ts-expect-error
|
|
7677
|
-
this[key] = originalError[key];
|
|
7678
|
-
}
|
|
7679
|
-
});
|
|
7680
|
-
}
|
|
7681
|
-
this.stack = prettyErrorStack(`${this.name}: ${this.message}`, originalError instanceof Error && originalError.stack ? originalError.stack : "", this.span);
|
|
7681
|
+
});
|
|
7682
7682
|
}
|
|
7683
|
-
}
|
|
7683
|
+
error.stack = prettyErrorStack(`${error.name}: ${error.message}`, originalError instanceof Error && originalError.stack ? originalError.stack : "", error.span);
|
|
7684
|
+
return error;
|
|
7685
|
+
};
|
|
7684
7686
|
/**
|
|
7685
7687
|
* A utility function for generating human-readable error messages from a generic error of type `unknown`.
|
|
7686
7688
|
*
|
|
@@ -7768,10 +7770,10 @@ const spanSymbol = /*#__PURE__*/Symbol.for("effect/SpanAnnotation");
|
|
|
7768
7770
|
const prettyErrors = cause => reduceWithContext(cause, void 0, {
|
|
7769
7771
|
emptyCase: () => [],
|
|
7770
7772
|
dieCase: (_, unknownError) => {
|
|
7771
|
-
return [
|
|
7773
|
+
return [makePrettyError(unknownError)];
|
|
7772
7774
|
},
|
|
7773
7775
|
failCase: (_, error) => {
|
|
7774
|
-
return [
|
|
7776
|
+
return [makePrettyError(error)];
|
|
7775
7777
|
},
|
|
7776
7778
|
interruptCase: () => [],
|
|
7777
7779
|
parallelCase: (_, l, r) => [...l, ...r],
|
|
@@ -10291,6 +10293,10 @@ const nativeTracer = /*#__PURE__*/make$b({
|
|
|
10291
10293
|
span: (name, parent, context, links, startTime, kind) => new NativeSpan(name, parent, context, links, startTime, kind),
|
|
10292
10294
|
context: f => f()
|
|
10293
10295
|
});
|
|
10296
|
+
/** @internal */
|
|
10297
|
+
const DisablePropagation = /*#__PURE__*/Reference()("effect/Tracer/DisablePropagation", {
|
|
10298
|
+
defaultValue: constFalse
|
|
10299
|
+
});
|
|
10294
10300
|
|
|
10295
10301
|
/** @internal */
|
|
10296
10302
|
const liveServices = /*#__PURE__*/pipe(/*#__PURE__*/empty$k(), /*#__PURE__*/add$2(clockTag, /*#__PURE__*/make$e()), /*#__PURE__*/add$2(consoleTag, defaultConsole), /*#__PURE__*/add$2(randomTag, /*#__PURE__*/make$c(/*#__PURE__*/Math.random())), /*#__PURE__*/add$2(configProviderTag, /*#__PURE__*/fromEnv()), /*#__PURE__*/add$2(tracerTag, nativeTracer));
|
|
@@ -10928,6 +10934,7 @@ const updateFiberRefs = f => withFiberRuntime$1(state => {
|
|
|
10928
10934
|
});
|
|
10929
10935
|
/* @internal */
|
|
10930
10936
|
const when$1 = /*#__PURE__*/dual(2, (self, condition) => suspend$2(() => condition() ? map$3(self, some) : succeed$4(none$4())));
|
|
10937
|
+
const filterDisablePropagation = /*#__PURE__*/flatMap$5(span => get$7(span.context, DisablePropagation) ? span._tag === "Span" ? filterDisablePropagation(span.parent) : none$4() : some(span));
|
|
10931
10938
|
|
|
10932
10939
|
/** @internal */
|
|
10933
10940
|
const OP_SEQUENTIAL = "Sequential";
|
|
@@ -11881,6 +11888,61 @@ const runFork$1 = (effect, options) => {
|
|
|
11881
11888
|
/**
|
|
11882
11889
|
* @since 2.0.0
|
|
11883
11890
|
*/
|
|
11891
|
+
/**
|
|
11892
|
+
* @since 3.20.0
|
|
11893
|
+
* @category models
|
|
11894
|
+
*/
|
|
11895
|
+
class SchedulerRunner {
|
|
11896
|
+
scheduleDrain;
|
|
11897
|
+
running = false;
|
|
11898
|
+
tasks = /*#__PURE__*/new PriorityBuckets();
|
|
11899
|
+
constructor(scheduleDrain) {
|
|
11900
|
+
this.scheduleDrain = scheduleDrain;
|
|
11901
|
+
}
|
|
11902
|
+
starveInternal = depth => {
|
|
11903
|
+
const tasks = this.tasks.buckets;
|
|
11904
|
+
this.tasks.buckets = [];
|
|
11905
|
+
for (const [_, toRun] of tasks) {
|
|
11906
|
+
for (let i = 0; i < toRun.length; i++) {
|
|
11907
|
+
toRun[i]();
|
|
11908
|
+
}
|
|
11909
|
+
}
|
|
11910
|
+
if (this.tasks.buckets.length === 0) {
|
|
11911
|
+
this.running = false;
|
|
11912
|
+
} else {
|
|
11913
|
+
this.starve(depth);
|
|
11914
|
+
}
|
|
11915
|
+
};
|
|
11916
|
+
starve(depth = 0) {
|
|
11917
|
+
this.scheduleDrain(depth, this.starveInternal);
|
|
11918
|
+
}
|
|
11919
|
+
scheduleTask(task, priority) {
|
|
11920
|
+
this.tasks.scheduleTask(task, priority);
|
|
11921
|
+
if (!this.running) {
|
|
11922
|
+
this.running = true;
|
|
11923
|
+
this.starve();
|
|
11924
|
+
}
|
|
11925
|
+
}
|
|
11926
|
+
/**
|
|
11927
|
+
* @since 3.20.0
|
|
11928
|
+
* @category constructors
|
|
11929
|
+
*/
|
|
11930
|
+
static cached(scheduleDrain) {
|
|
11931
|
+
const fallback = new SchedulerRunner(scheduleDrain);
|
|
11932
|
+
const runners = new WeakMap();
|
|
11933
|
+
return fiber => {
|
|
11934
|
+
if (fiber === undefined) {
|
|
11935
|
+
return fallback;
|
|
11936
|
+
}
|
|
11937
|
+
let runner = runners.get(fiber);
|
|
11938
|
+
if (runner === undefined) {
|
|
11939
|
+
runner = new SchedulerRunner(scheduleDrain);
|
|
11940
|
+
runners.set(fiber, runner);
|
|
11941
|
+
}
|
|
11942
|
+
return runner;
|
|
11943
|
+
};
|
|
11944
|
+
}
|
|
11945
|
+
}
|
|
11884
11946
|
/**
|
|
11885
11947
|
* @since 2.0.0
|
|
11886
11948
|
* @category utils
|
|
@@ -11919,14 +11981,13 @@ class PriorityBuckets {
|
|
|
11919
11981
|
*/
|
|
11920
11982
|
class MixedScheduler {
|
|
11921
11983
|
maxNextTickBeforeTimer;
|
|
11922
|
-
|
|
11923
|
-
|
|
11924
|
-
|
|
11925
|
-
|
|
11926
|
-
|
|
11927
|
-
|
|
11928
|
-
|
|
11929
|
-
tasks = /*#__PURE__*/new PriorityBuckets();
|
|
11984
|
+
getRunner = /*#__PURE__*/SchedulerRunner.cached((depth, drain) => {
|
|
11985
|
+
if (depth >= this.maxNextTickBeforeTimer) {
|
|
11986
|
+
setTimeout(() => drain(0), 0);
|
|
11987
|
+
} else {
|
|
11988
|
+
Promise.resolve(void 0).then(() => drain(depth + 1));
|
|
11989
|
+
}
|
|
11990
|
+
});
|
|
11930
11991
|
constructor(
|
|
11931
11992
|
/**
|
|
11932
11993
|
* @since 2.0.0
|
|
@@ -11934,33 +11995,6 @@ class MixedScheduler {
|
|
|
11934
11995
|
maxNextTickBeforeTimer) {
|
|
11935
11996
|
this.maxNextTickBeforeTimer = maxNextTickBeforeTimer;
|
|
11936
11997
|
}
|
|
11937
|
-
/**
|
|
11938
|
-
* @since 2.0.0
|
|
11939
|
-
*/
|
|
11940
|
-
starveInternal(depth) {
|
|
11941
|
-
const tasks = this.tasks.buckets;
|
|
11942
|
-
this.tasks.buckets = [];
|
|
11943
|
-
for (const [_, toRun] of tasks) {
|
|
11944
|
-
for (let i = 0; i < toRun.length; i++) {
|
|
11945
|
-
toRun[i]();
|
|
11946
|
-
}
|
|
11947
|
-
}
|
|
11948
|
-
if (this.tasks.buckets.length === 0) {
|
|
11949
|
-
this.running = false;
|
|
11950
|
-
} else {
|
|
11951
|
-
this.starve(depth);
|
|
11952
|
-
}
|
|
11953
|
-
}
|
|
11954
|
-
/**
|
|
11955
|
-
* @since 2.0.0
|
|
11956
|
-
*/
|
|
11957
|
-
starve(depth = 0) {
|
|
11958
|
-
if (depth >= this.maxNextTickBeforeTimer) {
|
|
11959
|
-
setTimeout(() => this.starveInternal(0), 0);
|
|
11960
|
-
} else {
|
|
11961
|
-
Promise.resolve(void 0).then(() => this.starveInternal(depth + 1));
|
|
11962
|
-
}
|
|
11963
|
-
}
|
|
11964
11998
|
/**
|
|
11965
11999
|
* @since 2.0.0
|
|
11966
12000
|
*/
|
|
@@ -11970,12 +12004,8 @@ class MixedScheduler {
|
|
|
11970
12004
|
/**
|
|
11971
12005
|
* @since 2.0.0
|
|
11972
12006
|
*/
|
|
11973
|
-
scheduleTask(task, priority) {
|
|
11974
|
-
this.
|
|
11975
|
-
if (!this.running) {
|
|
11976
|
-
this.running = true;
|
|
11977
|
-
this.starve();
|
|
11978
|
-
}
|
|
12007
|
+
scheduleTask(task, priority, fiber) {
|
|
12008
|
+
this.getRunner(fiber).scheduleTask(task, priority);
|
|
11979
12009
|
}
|
|
11980
12010
|
}
|
|
11981
12011
|
/**
|
|
@@ -13551,6 +13581,10 @@ class FiberRuntime extends Class {
|
|
|
13551
13581
|
get await() {
|
|
13552
13582
|
return async_(resume => {
|
|
13553
13583
|
const cb = exit => resume(succeed$4(exit));
|
|
13584
|
+
if (this._exitValue !== null) {
|
|
13585
|
+
cb(this._exitValue);
|
|
13586
|
+
return;
|
|
13587
|
+
}
|
|
13554
13588
|
this.tell(stateful((fiber, _) => {
|
|
13555
13589
|
if (fiber._exitValue !== null) {
|
|
13556
13590
|
cb(this._exitValue);
|
|
@@ -13770,7 +13804,7 @@ class FiberRuntime extends Class {
|
|
|
13770
13804
|
* **NOTE**: This method must be invoked by the fiber itself.
|
|
13771
13805
|
*/
|
|
13772
13806
|
drainQueueLaterOnExecutor() {
|
|
13773
|
-
this.currentScheduler.scheduleTask(this.run, this.getFiberRef(currentSchedulingPriority));
|
|
13807
|
+
this.currentScheduler.scheduleTask(this.run, this.getFiberRef(currentSchedulingPriority), this);
|
|
13774
13808
|
}
|
|
13775
13809
|
/**
|
|
13776
13810
|
* Drains the fiber's message queue while the fiber is actively running,
|
|
@@ -14434,7 +14468,7 @@ const tracerLogger = /*#__PURE__*/globalValue(/*#__PURE__*/Symbol.for("effect/Lo
|
|
|
14434
14468
|
logLevel,
|
|
14435
14469
|
message
|
|
14436
14470
|
}) => {
|
|
14437
|
-
const span = getOption(getOrDefault$1(context, currentContext), spanTag);
|
|
14471
|
+
const span = filterDisablePropagation(getOption(getOrDefault$1(context, currentContext), spanTag));
|
|
14438
14472
|
if (span._tag === "None" || span.value._tag === "ExternalSpan") {
|
|
14439
14473
|
return;
|
|
14440
14474
|
}
|
|
@@ -14561,7 +14595,7 @@ const forEachConcurrentDiscard = (self, f, batching, processAll, n) => uninterru
|
|
|
14561
14595
|
const interruptAll = () => fibers.forEach(fiber => {
|
|
14562
14596
|
fiber.currentScheduler.scheduleTask(() => {
|
|
14563
14597
|
fiber.unsafeInterruptAsFork(parent.id());
|
|
14564
|
-
}, 0);
|
|
14598
|
+
}, 0, fiber);
|
|
14565
14599
|
});
|
|
14566
14600
|
const startOrder = new Array();
|
|
14567
14601
|
const joinOrder = new Array();
|
|
@@ -14585,7 +14619,7 @@ const forEachConcurrentDiscard = (self, f, batching, processAll, n) => uninterru
|
|
|
14585
14619
|
fiber.unsafeInterruptAsFork(parent.id());
|
|
14586
14620
|
}
|
|
14587
14621
|
fiber.resume(runnable);
|
|
14588
|
-
}, 0);
|
|
14622
|
+
}, 0, fiber);
|
|
14589
14623
|
return fiber;
|
|
14590
14624
|
};
|
|
14591
14625
|
const onInterruptSignal = () => {
|
|
@@ -14636,7 +14670,7 @@ const forEachConcurrentDiscard = (self, f, batching, processAll, n) => uninterru
|
|
|
14636
14670
|
if (interrupted) {
|
|
14637
14671
|
fiber.currentScheduler.scheduleTask(() => {
|
|
14638
14672
|
fiber.unsafeInterruptAsFork(parent.id());
|
|
14639
|
-
}, 0);
|
|
14673
|
+
}, 0, fiber);
|
|
14640
14674
|
}
|
|
14641
14675
|
fiber.addObserver(wrapped => {
|
|
14642
14676
|
let exit;
|
|
@@ -15325,20 +15359,24 @@ class Semaphore {
|
|
|
15325
15359
|
take = n => asyncInterrupt(resume => {
|
|
15326
15360
|
if (this.free < n) {
|
|
15327
15361
|
const observer = () => {
|
|
15328
|
-
if (this.free < n)
|
|
15329
|
-
return;
|
|
15330
|
-
}
|
|
15362
|
+
if (this.free < n) return;
|
|
15331
15363
|
this.waiters.delete(observer);
|
|
15332
|
-
|
|
15333
|
-
|
|
15364
|
+
resume(suspend$2(() => {
|
|
15365
|
+
if (this.free < n) return this.take(n);
|
|
15366
|
+
this.taken += n;
|
|
15367
|
+
return succeed$4(n);
|
|
15368
|
+
}));
|
|
15334
15369
|
};
|
|
15335
15370
|
this.waiters.add(observer);
|
|
15336
15371
|
return sync$1(() => {
|
|
15337
15372
|
this.waiters.delete(observer);
|
|
15338
15373
|
});
|
|
15339
15374
|
}
|
|
15340
|
-
|
|
15341
|
-
|
|
15375
|
+
resume(suspend$2(() => {
|
|
15376
|
+
if (this.free < n) return this.take(n);
|
|
15377
|
+
this.taken += n;
|
|
15378
|
+
return succeed$4(n);
|
|
15379
|
+
}));
|
|
15342
15380
|
});
|
|
15343
15381
|
updateTakenUnsafe(fiber, f) {
|
|
15344
15382
|
this.taken = f(this.taken);
|
|
@@ -15350,7 +15388,7 @@ class Semaphore {
|
|
|
15350
15388
|
item.value();
|
|
15351
15389
|
item = iter.next();
|
|
15352
15390
|
}
|
|
15353
|
-
}, fiber.getFiberRef(currentSchedulingPriority));
|
|
15391
|
+
}, fiber.getFiberRef(currentSchedulingPriority), fiber);
|
|
15354
15392
|
}
|
|
15355
15393
|
return succeed$4(this.free);
|
|
15356
15394
|
}
|
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Verify whether a value is a Promise by duck-testing for a 'then' function
|
|
3
|
+
*/
|
|
4
|
+
function isPromise(value) {
|
|
5
|
+
if (!value)
|
|
6
|
+
return false;
|
|
7
|
+
return typeof value === 'object' && typeof value.then === 'function';
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Resolve the result of a function that may be async or not, as a Promise.
|
|
12
|
+
*/
|
|
13
|
+
function resolvePossiblyAsyncFunction(func, args = []) {
|
|
14
|
+
const res = func(...args);
|
|
15
|
+
if (isPromise(res)) {
|
|
16
|
+
return res;
|
|
17
|
+
}
|
|
18
|
+
return Promise.resolve(res);
|
|
19
|
+
}
|
|
20
|
+
|
|
1
21
|
const GLOBAL_STATE_KEY = Symbol('__lmvzAriaValidationRuntimeState');
|
|
2
22
|
const ARIA_VALIDATION_RUNTIME_CHANGED_EVENT = 'lmvz:aria-validation-runtime-changed';
|
|
3
23
|
function getRuntimeState() {
|
|
@@ -21,7 +41,7 @@ async function fetchRuntime() {
|
|
|
21
41
|
if (state.runtime)
|
|
22
42
|
return state.runtime;
|
|
23
43
|
if (!state.loadPromise) {
|
|
24
|
-
state.loadPromise = import('./index-
|
|
44
|
+
state.loadPromise = import('./index-BW1YMEA3.js').catch(() => null);
|
|
25
45
|
}
|
|
26
46
|
const runtime = await state.loadPromise;
|
|
27
47
|
if (runtime) {
|
|
@@ -60,20 +80,35 @@ const disableAriaValidation = () => {
|
|
|
60
80
|
notifyRuntimeChange();
|
|
61
81
|
};
|
|
62
82
|
function queueValidation(...args) {
|
|
63
|
-
const { enabled, runtime, loadPromise } = getRuntimeState();
|
|
83
|
+
const { enabled, runtime, loadPromise, lazyCondition } = getRuntimeState();
|
|
64
84
|
if (!enabled)
|
|
65
85
|
return;
|
|
66
|
-
if (!
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
86
|
+
if (!lazyCondition)
|
|
87
|
+
return q();
|
|
88
|
+
resolvePossiblyAsyncFunction(lazyCondition).then((shouldEnqueue) => {
|
|
89
|
+
if (!shouldEnqueue)
|
|
90
|
+
return;
|
|
91
|
+
q();
|
|
92
|
+
});
|
|
93
|
+
function q() {
|
|
94
|
+
if (runtime)
|
|
95
|
+
return runtime.enqueueValidation(...args);
|
|
96
|
+
if (!loadPromise) {
|
|
97
|
+
console.warn('neither runtime nor load promise found for aria validation. This should not happen, as enabling aria validation should have triggered the loading of the runtime.');
|
|
73
98
|
return;
|
|
74
99
|
}
|
|
100
|
+
loadPromise
|
|
101
|
+
.then((loadedRuntime) => {
|
|
102
|
+
if (!loadedRuntime?.enqueueValidation) {
|
|
103
|
+
console.error('Failed to load aria validation runtime');
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
loadedRuntime.enqueueValidation(...args);
|
|
107
|
+
})
|
|
108
|
+
.catch(() => {
|
|
109
|
+
console.error('Failed to enqueue validation due to an error while loading the runtime');
|
|
110
|
+
});
|
|
75
111
|
}
|
|
76
|
-
runtime.enqueueValidation(...args);
|
|
77
112
|
}
|
|
78
113
|
|
|
79
114
|
export { ARIA_VALIDATION_RUNTIME_CHANGED_EVENT as A, disableAriaValidation as d, enableAriaValidation as e, isAriaValidationEnabled as i, queueValidation as q, useVerboseLogging as u };
|
|
@@ -8,7 +8,7 @@ const componentOnReady = (el, callback) => {
|
|
|
8
8
|
};
|
|
9
9
|
const inheritAttributes = (el, attributes = []) => {
|
|
10
10
|
const attributeObject = {};
|
|
11
|
-
attributes.forEach(attr => {
|
|
11
|
+
attributes.forEach((attr) => {
|
|
12
12
|
if (el.hasAttribute(attr)) {
|
|
13
13
|
const value = el.getAttribute(attr);
|
|
14
14
|
if (value !== null) {
|
|
@@ -90,7 +90,7 @@ function getDeepActiveElement(root = document) {
|
|
|
90
90
|
if (!activeElement) {
|
|
91
91
|
return null;
|
|
92
92
|
}
|
|
93
|
-
while (activeElement
|
|
93
|
+
while (activeElement?.shadowRoot) {
|
|
94
94
|
const next = activeElement.shadowRoot.activeElement;
|
|
95
95
|
if (!next) {
|
|
96
96
|
break;
|
|
@@ -100,6 +100,8 @@ function getDeepActiveElement(root = document) {
|
|
|
100
100
|
return activeElement;
|
|
101
101
|
}
|
|
102
102
|
function canReceiveFocus(el) {
|
|
103
|
+
if (!el)
|
|
104
|
+
return false;
|
|
103
105
|
return (el instanceof HTMLElement && el.tabIndex >= 0 && !el.hasAttribute('disabled') && el.getAttribute('aria-hidden') !== 'true' && el.checkVisibility() && el.offsetParent !== null);
|
|
104
106
|
}
|
|
105
107
|
function findFormByRef(form, el) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as getOrThrowWith, a as right, b as left, i as identity, d as isRight, e as getRight, m as match, f as decode, h as map, j as all, k as merge, n as sync, o as suspend, p as get, q as succeed, u as none, v as getOrUndefined, w as unsafeMake, x as has, y as set, z as struct, A as flatMap, B as clockWith, C as offer, D as compareAndSet, E as poll, F as EmptyMutableQueue, G as remove, H as set$1, I as size, J as isSome, K as some, L as empty, M as make$2, N as unbounded, O as symbol, P as pipe, Q as cached, R as combine, S as hash, T as symbol$1, U as hasProperty, V as equals, W as asVoid, _ as _await, X as when, Y as succeed$1, Z as toMillis, $ as onInterrupt, a0 as zipRight, a1 as interrupt, a2 as done, a3 as exit, a4 as provideContext, a5 as context, a6 as fiberId, a7 as YieldableError, a8 as gen, a9 as tryPromise, aa as fail, ab as try_, ac as gen$1, ad as infinity, ae as logWarning } from './Effect-
|
|
2
|
-
import { c as createAssetUrlSafely } from './assets-
|
|
1
|
+
import { g as getOrThrowWith, a as right, b as left, i as identity, d as isRight, e as getRight, m as match, f as decode, h as map, j as all, k as merge, n as sync, o as suspend, p as get, q as succeed, u as none, v as getOrUndefined, w as unsafeMake, x as has, y as set, z as struct, A as flatMap, B as clockWith, C as offer, D as compareAndSet, E as poll, F as EmptyMutableQueue, G as remove, H as set$1, I as size, J as isSome, K as some, L as empty, M as make$2, N as unbounded, O as symbol, P as pipe, Q as cached, R as combine, S as hash, T as symbol$1, U as hasProperty, V as equals, W as asVoid, _ as _await, X as when, Y as succeed$1, Z as toMillis, $ as onInterrupt, a0 as zipRight, a1 as interrupt, a2 as done, a3 as exit, a4 as provideContext, a5 as context, a6 as fiberId, a7 as YieldableError, a8 as gen, a9 as tryPromise, aa as fail, ab as try_, ac as gen$1, ad as infinity, ae as logWarning } from './Effect-9SROYpxM.js';
|
|
2
|
+
import { c as createAssetUrlSafely } from './assets-CNHv_WMG.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* This module provides types and utility functions to create and work with branded types,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { af as make$4, ag as modify$1, ah as get$1, ai as update$1, aj as isInterrupted$1, ak as fail$2, al as failureOrCause$1, am as flipCauseOption$1, an as interrupt$2, ao as map$3, ap as die$1, aq as isDieType$1, ar as interruptors$1, as as isInterruptedOnly$1, at as join$1, au as interruptFiber, av as _await$1, aw as inheritAll$1, ax as interruptAsFiber, P as pipe, A as flatMap$2, n as sync$1, ay as dual, h as map$4, M as make$5, N as unbounded$2, az as deferredMake, aA as Class, aB as pipeArguments, o as suspend$2, aC as catchAll, aD as interrupt$3, aE as get$2, u as none, K as some, aF as length, aG as uninterruptible, aH as withFiberRuntime, H as set, W as asVoid, aI as whenEffect, aJ as deferredSucceed, a0 as zipRight$1, aK as forEachConcurrentDiscard, aL as deferredAwait, E as poll, F as EmptyMutableQueue, q as succeed$1, aM as fromIterable, aN as empty, aO as splitAt, aP as isEmpty, aQ as deferredUnsafeMake, $ as onInterrupt, C as offer$2, aR as fromIterable$1, aS as pollUpTo, aT as deferredUnsafeDone, aU as prepend, aV as isEmpty$1, aW as filter, aX as appendAll, aY as append, aZ as offerAll, a_ as deferredInterruptWith, a$ as empty$1, b0 as bounded$2, b1 as capacity, b2 as void_$1, a6 as fiberId, b3 as isFailure, U as hasProperty, b4 as isEffect, i as identity, b5 as match$1, b6 as _void, b7 as ignore, b8 as zipWith, b9 as exit, ba as zipRight$2, bb as sync$2, bc as provide, bd as matchCauseEffect, be as zipRight$3, bf as flatMap$3, bg as forkDaemon, bh as interruptible, bi as suspend$3, bj as ensuring$2, bk as uninterruptible$1, bl as map$5, bm as zip$1, Y as succeed$2, bn as failCause$3, bo as match$2, bp as forEach, s as succeed$3, J as isSome, bq as all, br as getOrElse, bs as void_$2, bt as dieMessage, bu as catchAllCause, bv as die$2, bw as map$6, bx as uninterruptibleMask, by as all$1, bz as fork, bA as make$6, bB as sequential, bC as acquireUseRelease, bD as forkIn, bE as isDone, bF as succeed$4, bG as size$2, bH as combineAll, _ as _await$2, bI as intoDeferred, bJ as zipLeft, bK as tapErrorCause, bL as addFinalizer, bM as failCause$4, bN as flatten$2, bO as fiberIdWith, bP as interrupt$4, b as left, a as right, bQ as failCause$5, bR as fail$3, bS as matchCause, bT as scopedWith$2, bU as unsafeGet, bV as constVoid, bW as scope, ac as gen, bX as withFiberRuntime$1, bY as make$7, bZ as extend, b_ as close, b$ as raceWith, c0 as runtime, c1 as tap, c2 as addFinalizerExit, c3 as makeSemaphore, c4 as when, c5 as race, c6 as as, m as match$3, c7 as repeat, c8 as asVoid$1, V as equals, c9 as zip$2, ca as raceFirst, cb as forever, cc as of$1, cd as fail$4, ce as mapError, cf as reduce, cg as map$7, ch as match$4, ci as splitWhere, cj as isSuccess, ck as head, cl as filterMap, c as catchAll$1, cm as catchSomeCause, cn as unsafeFromArray, co as async, cp as runFork, r as runPromise } from './Effect-
|
|
1
|
+
import { af as make$4, ag as modify$1, ah as get$1, ai as update$1, aj as isInterrupted$1, ak as fail$2, al as failureOrCause$1, am as flipCauseOption$1, an as interrupt$2, ao as map$3, ap as die$1, aq as isDieType$1, ar as interruptors$1, as as isInterruptedOnly$1, at as join$1, au as interruptFiber, av as _await$1, aw as inheritAll$1, ax as interruptAsFiber, P as pipe, A as flatMap$2, n as sync$1, ay as dual, h as map$4, M as make$5, N as unbounded$2, az as deferredMake, aA as Class, aB as pipeArguments, o as suspend$2, aC as catchAll, aD as interrupt$3, aE as get$2, u as none, K as some, aF as length, aG as uninterruptible, aH as withFiberRuntime, H as set, W as asVoid, aI as whenEffect, aJ as deferredSucceed, a0 as zipRight$1, aK as forEachConcurrentDiscard, aL as deferredAwait, E as poll, F as EmptyMutableQueue, q as succeed$1, aM as fromIterable, aN as empty, aO as splitAt, aP as isEmpty, aQ as deferredUnsafeMake, $ as onInterrupt, C as offer$2, aR as fromIterable$1, aS as pollUpTo, aT as deferredUnsafeDone, aU as prepend, aV as isEmpty$1, aW as filter, aX as appendAll, aY as append, aZ as offerAll, a_ as deferredInterruptWith, a$ as empty$1, b0 as bounded$2, b1 as capacity, b2 as void_$1, a6 as fiberId, b3 as isFailure, U as hasProperty, b4 as isEffect, i as identity, b5 as match$1, b6 as _void, b7 as ignore, b8 as zipWith, b9 as exit, ba as zipRight$2, bb as sync$2, bc as provide, bd as matchCauseEffect, be as zipRight$3, bf as flatMap$3, bg as forkDaemon, bh as interruptible, bi as suspend$3, bj as ensuring$2, bk as uninterruptible$1, bl as map$5, bm as zip$1, Y as succeed$2, bn as failCause$3, bo as match$2, bp as forEach, s as succeed$3, J as isSome, bq as all, br as getOrElse, bs as void_$2, bt as dieMessage, bu as catchAllCause, bv as die$2, bw as map$6, bx as uninterruptibleMask, by as all$1, bz as fork, bA as make$6, bB as sequential, bC as acquireUseRelease, bD as forkIn, bE as isDone, bF as succeed$4, bG as size$2, bH as combineAll, _ as _await$2, bI as intoDeferred, bJ as zipLeft, bK as tapErrorCause, bL as addFinalizer, bM as failCause$4, bN as flatten$2, bO as fiberIdWith, bP as interrupt$4, b as left, a as right, bQ as failCause$5, bR as fail$3, bS as matchCause, bT as scopedWith$2, bU as unsafeGet, bV as constVoid, bW as scope, ac as gen, bX as withFiberRuntime$1, bY as make$7, bZ as extend, b_ as close, b$ as raceWith, c0 as runtime, c1 as tap, c2 as addFinalizerExit, c3 as makeSemaphore, c4 as when, c5 as race, c6 as as, m as match$3, c7 as repeat, c8 as asVoid$1, V as equals, c9 as zip$2, ca as raceFirst, cb as forever, cc as of$1, cd as fail$4, ce as mapError, cf as reduce, cg as map$7, ch as match$4, ci as splitWhere, cj as isSuccess, ck as head, cl as filterMap, c as catchAll$1, cm as catchSomeCause, cn as unsafeFromArray, co as async, cp as runFork, r as runPromise } from './Effect-9SROYpxM.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @since 2.0.0
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
function getDefaultExportFromCjs (x) {
|
|
2
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
var classnames = {exports: {}};
|
|
6
|
+
|
|
7
|
+
/*!
|
|
8
|
+
Copyright (c) 2018 Jed Watson.
|
|
9
|
+
Licensed under the MIT License (MIT), see
|
|
10
|
+
http://jedwatson.github.io/classnames
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
var hasRequiredClassnames;
|
|
14
|
+
|
|
15
|
+
function requireClassnames () {
|
|
16
|
+
if (hasRequiredClassnames) return classnames.exports;
|
|
17
|
+
hasRequiredClassnames = 1;
|
|
18
|
+
(function (module) {
|
|
19
|
+
/* global define */
|
|
20
|
+
|
|
21
|
+
(function () {
|
|
22
|
+
|
|
23
|
+
var hasOwn = {}.hasOwnProperty;
|
|
24
|
+
|
|
25
|
+
function classNames () {
|
|
26
|
+
var classes = '';
|
|
27
|
+
|
|
28
|
+
for (var i = 0; i < arguments.length; i++) {
|
|
29
|
+
var arg = arguments[i];
|
|
30
|
+
if (arg) {
|
|
31
|
+
classes = appendClass(classes, parseValue(arg));
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return classes;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
function parseValue (arg) {
|
|
39
|
+
if (typeof arg === 'string' || typeof arg === 'number') {
|
|
40
|
+
return arg;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
if (typeof arg !== 'object') {
|
|
44
|
+
return '';
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
if (Array.isArray(arg)) {
|
|
48
|
+
return classNames.apply(null, arg);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
|
|
52
|
+
return arg.toString();
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
var classes = '';
|
|
56
|
+
|
|
57
|
+
for (var key in arg) {
|
|
58
|
+
if (hasOwn.call(arg, key) && arg[key]) {
|
|
59
|
+
classes = appendClass(classes, key);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
return classes;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
function appendClass (value, newClass) {
|
|
67
|
+
if (!newClass) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
if (value) {
|
|
72
|
+
return value + ' ' + newClass;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
return value + newClass;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
if (module.exports) {
|
|
79
|
+
classNames.default = classNames;
|
|
80
|
+
module.exports = classNames;
|
|
81
|
+
} else {
|
|
82
|
+
window.classNames = classNames;
|
|
83
|
+
}
|
|
84
|
+
}());
|
|
85
|
+
} (classnames));
|
|
86
|
+
return classnames.exports;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
var classnamesExports = requireClassnames();
|
|
90
|
+
var classNames = /*@__PURE__*/getDefaultExportFromCjs(classnamesExports);
|
|
91
|
+
|
|
92
|
+
export { classNames as c };
|
|
@@ -2,7 +2,7 @@ const NAMESPACE = 'lmvz-components';
|
|
|
2
2
|
const BUILD = /* lmvz-components */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, slotRelocation: true, state: true, updatable: true};
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.43.
|
|
5
|
+
Stencil Client Platform v4.43.3 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
var Build = {
|
package/dist/esm/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { A as ARIA_VALIDATION_RUNTIME_CHANGED_EVENT, d as disableAriaValidation, e as enableAriaValidation, i as isAriaValidationEnabled, q as queueValidation, u as useVerboseLogging } from './aria-loader-
|
|
2
|
-
export { c as clearIconCache } from './icons-
|
|
3
|
-
import { r as runPromise } from './Effect-
|
|
4
|
-
import './assets-
|
|
5
|
-
import './index-
|
|
1
|
+
export { A as ARIA_VALIDATION_RUNTIME_CHANGED_EVENT, d as disableAriaValidation, e as enableAriaValidation, i as isAriaValidationEnabled, q as queueValidation, u as useVerboseLogging } from './aria-loader-JxXwTAe5.js';
|
|
2
|
+
export { c as clearIconCache } from './icons-B255FOe4.js';
|
|
3
|
+
import { r as runPromise } from './Effect-9SROYpxM.js';
|
|
4
|
+
import './assets-CNHv_WMG.js';
|
|
5
|
+
import './index-CQb-mBBB.js';
|
|
6
6
|
|
|
7
7
|
const variants = ['primary', 'secondary', 'tertiary'];
|
|
8
8
|
const scaleValues = ['small', 'default', 'large'];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-CQb-mBBB.js';
|
|
2
2
|
|
|
3
3
|
const lmvzActionCss = () => `:host{display:block}`;
|
|
4
4
|
|
|
@@ -12,7 +12,7 @@ const LmvzAction = class {
|
|
|
12
12
|
this.actionClick.emit(event);
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: '00da873d80f00dc57e5a0d60f2b58a6c505e41f1', onClick: this._onClick.bind(this) }, h("slot", { key: '7938b5e172ef2b027180aac801b0d9962cd68fa5' })));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
LmvzAction.style = lmvzActionCss();
|