@ixfx/components 0.10.5 → 0.10.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.
- package/bundle/index.d.ts +43 -1
- package/bundle/index.d.ts.map +1 -1
- package/bundle/index.js +293 -10
- package/bundle/index.js.map +1 -1
- package/dist/index.d.ts +44 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +287 -2
- package/dist/index.js.map +1 -1
- package/docs-user/README.md +1 -0
- package/docs-user/index.json +7 -2
- package/docs-user/llms.txt +1 -0
- package/docs-user/shapefill-value.md +125 -0
- package/llms.txt +1 -0
- package/package.json +1 -1
package/bundle/index.js
CHANGED
|
@@ -32471,7 +32471,7 @@ function clamp$2(value, min, max) {
|
|
|
32471
32471
|
/**
|
|
32472
32472
|
* Scale a value from one range to another
|
|
32473
32473
|
*/
|
|
32474
|
-
function scale$
|
|
32474
|
+
function scale$2(value, fromMin, fromMax, toMin, toMax) {
|
|
32475
32475
|
return toMin + (value - fromMin) / (fromMax - fromMin) * (toMax - toMin);
|
|
32476
32476
|
}
|
|
32477
32477
|
//#endregion
|
|
@@ -32530,7 +32530,7 @@ let RadialInputElement = class RadialInputElement extends WheelNudgeMixin(i) {
|
|
|
32530
32530
|
event.preventDefault();
|
|
32531
32531
|
const effectiveSensitivity = this.clientHeight * 2 * (event.shiftKey ? 10 : 1);
|
|
32532
32532
|
const deltaValue = (this.#dragStartY - event.clientY) / effectiveSensitivity * (this.max - this.min);
|
|
32533
|
-
const relativeValue = scale$
|
|
32533
|
+
const relativeValue = scale$2(this.#valueAtDragStart + deltaValue, this.min, this.max, 0, 1);
|
|
32534
32534
|
this.#setValueFromRelative(clamp$2(relativeValue, 0, 1), true);
|
|
32535
32535
|
};
|
|
32536
32536
|
this.#onPointerUp = () => {
|
|
@@ -32614,7 +32614,7 @@ let RadialInputElement = class RadialInputElement extends WheelNudgeMixin(i) {
|
|
|
32614
32614
|
return this.#lanes.get(key);
|
|
32615
32615
|
}
|
|
32616
32616
|
#getRelativeValue() {
|
|
32617
|
-
return scale$
|
|
32617
|
+
return scale$2(this.value, this.min, this.max, 0, 1);
|
|
32618
32618
|
}
|
|
32619
32619
|
#getEffectiveMarkerStyle() {
|
|
32620
32620
|
if (this.valueMode === `unipolar` && this.markerStyle === `needle`) return `none`;
|
|
@@ -32628,7 +32628,7 @@ let RadialInputElement = class RadialInputElement extends WheelNudgeMixin(i) {
|
|
|
32628
32628
|
return value;
|
|
32629
32629
|
}
|
|
32630
32630
|
#setValueFromRelative(relativeValue, isUserInteraction = false) {
|
|
32631
|
-
const newValue = scale$
|
|
32631
|
+
const newValue = scale$2(relativeValue, 0, 1, this.min, this.max);
|
|
32632
32632
|
const clampedValue = this.#quantise(clamp$2(newValue, this.min, this.max));
|
|
32633
32633
|
if (clampedValue === this.value) return;
|
|
32634
32634
|
const previousValue = this.value;
|
|
@@ -33389,7 +33389,7 @@ function clamp$1(value, min, max) {
|
|
|
33389
33389
|
/**
|
|
33390
33390
|
* Linear-reinterpolate `value` from [fromMin, fromMax] to [toMin, toMax].
|
|
33391
33391
|
*/
|
|
33392
|
-
function scale(value, fromMin, fromMax, toMin, toMax) {
|
|
33392
|
+
function scale$1(value, fromMin, fromMax, toMin, toMax) {
|
|
33393
33393
|
if (fromMax === fromMin) return toMin;
|
|
33394
33394
|
return toMin + (value - fromMin) / (fromMax - fromMin) * (toMax - toMin);
|
|
33395
33395
|
}
|
|
@@ -33397,7 +33397,7 @@ function scale(value, fromMin, fromMax, toMin, toMax) {
|
|
|
33397
33397
|
* Convert an absolute value to a relative (0..1) position.
|
|
33398
33398
|
*/
|
|
33399
33399
|
function valueToRelative(value, min, max) {
|
|
33400
|
-
return scale(value, min, max, 0, 1);
|
|
33400
|
+
return scale$1(value, min, max, 0, 1);
|
|
33401
33401
|
}
|
|
33402
33402
|
//#endregion
|
|
33403
33403
|
//#region src/slider-input/slider-input.ts
|
|
@@ -33956,7 +33956,7 @@ let SliderInputElement = class SliderInputElement extends WheelNudgeMixin(i) {
|
|
|
33956
33956
|
return value;
|
|
33957
33957
|
}
|
|
33958
33958
|
#setSingleValueFromRelative(relativeValue, isUserInteraction = false) {
|
|
33959
|
-
const newValue = scale(relativeValue, 0, 1, this.min, this.max);
|
|
33959
|
+
const newValue = scale$1(relativeValue, 0, 1, this.min, this.max);
|
|
33960
33960
|
const clampedValue = this.#quantise(clamp$1(newValue, this.min, this.max));
|
|
33961
33961
|
if (clampedValue === this.valueA) return;
|
|
33962
33962
|
const previousValue = this.valueA;
|
|
@@ -33972,7 +33972,7 @@ let SliderInputElement = class SliderInputElement extends WheelNudgeMixin(i) {
|
|
|
33972
33972
|
this.#emitInputAndChange({ previousValue }, isUserInteraction);
|
|
33973
33973
|
}
|
|
33974
33974
|
#setDualOrTripleValueFromRelative(relativeValue, handle, isUserInteraction = false) {
|
|
33975
|
-
const clamped = clamp$1(scale(relativeValue, 0, 1, this.min, this.max), this.min, this.max);
|
|
33975
|
+
const clamped = clamp$1(scale$1(relativeValue, 0, 1, this.min, this.max), this.min, this.max);
|
|
33976
33976
|
const result = this.#resolvePoleChange(handle, clamped, this.#lastInteractedHandle);
|
|
33977
33977
|
if (!result) return;
|
|
33978
33978
|
const previous = { ...this.#poles() };
|
|
@@ -34512,7 +34512,7 @@ let SliderInputElement = class SliderInputElement extends WheelNudgeMixin(i) {
|
|
|
34512
34512
|
if (handle === `c`) {
|
|
34513
34513
|
const lo = this.#low();
|
|
34514
34514
|
const hi = this.#high();
|
|
34515
|
-
const clamped = clamp$1(scale(clamp$1(targetRelative, 0, 1), 0, 1, this.min, this.max), lo, hi);
|
|
34515
|
+
const clamped = clamp$1(scale$1(clamp$1(targetRelative, 0, 1), 0, 1, this.min, this.max), lo, hi);
|
|
34516
34516
|
const q = this.#quantise(clamped);
|
|
34517
34517
|
if (q === this.#poleC) return;
|
|
34518
34518
|
const previous = this.#poles();
|
|
@@ -43277,6 +43277,289 @@ __decorate([property({
|
|
|
43277
43277
|
__decorate([property({ type: String })], SelectHorizElement.prototype, "selectedValue", null);
|
|
43278
43278
|
SelectHorizElement = __decorate([safeCustomElement(`ixfx-select-horiz`)], SelectHorizElement);
|
|
43279
43279
|
//#endregion
|
|
43280
|
+
//#region src/util/clamp.ts
|
|
43281
|
+
function clampValue(v, min, max) {
|
|
43282
|
+
return Math.min(Math.max(v, min), max);
|
|
43283
|
+
}
|
|
43284
|
+
//#endregion
|
|
43285
|
+
//#region src/util/geometry.ts
|
|
43286
|
+
function scale(v, fromMin, fromMax, toMin, toMax) {
|
|
43287
|
+
if (fromMax === fromMin) return toMin;
|
|
43288
|
+
return toMin + (v - fromMin) / (fromMax - fromMin) * (toMax - toMin);
|
|
43289
|
+
}
|
|
43290
|
+
//#endregion
|
|
43291
|
+
//#region src/shapefill-value/shapefill-value.ts
|
|
43292
|
+
let ShapefillValueElement = class ShapefillValueElement extends WheelNudgeMixin(i) {
|
|
43293
|
+
constructor(..._args) {
|
|
43294
|
+
super(..._args);
|
|
43295
|
+
this.display = `circle`;
|
|
43296
|
+
this.fillMode = `centre`;
|
|
43297
|
+
this.value = 0;
|
|
43298
|
+
this.min = 0;
|
|
43299
|
+
this.max = 100;
|
|
43300
|
+
this.step = void 0;
|
|
43301
|
+
this.disabled = false;
|
|
43302
|
+
this.#dragging = false;
|
|
43303
|
+
this.#dragStartY = 0;
|
|
43304
|
+
this.#valueAtDragStart = 0;
|
|
43305
|
+
this.#onPointerDown = (event) => {
|
|
43306
|
+
if (this.disabled) return;
|
|
43307
|
+
event.preventDefault();
|
|
43308
|
+
const svgEl = this.renderRoot.querySelector(`svg`);
|
|
43309
|
+
svgEl?.focus();
|
|
43310
|
+
this.#dragging = true;
|
|
43311
|
+
this.#dragStartY = event.clientY;
|
|
43312
|
+
this.#valueAtDragStart = this.value;
|
|
43313
|
+
this.toggleAttribute(`dragging`, true);
|
|
43314
|
+
if (svgEl) svgEl.setPointerCapture(event.pointerId);
|
|
43315
|
+
window.addEventListener(`pointermove`, this.#onPointerMove);
|
|
43316
|
+
window.addEventListener(`pointerup`, this.#onPointerUp);
|
|
43317
|
+
window.addEventListener(`pointercancel`, this.#onPointerUp);
|
|
43318
|
+
};
|
|
43319
|
+
this.#onPointerMove = (event) => {
|
|
43320
|
+
if (!this.#dragging) return;
|
|
43321
|
+
event.preventDefault();
|
|
43322
|
+
const effectiveSensitivity = this.clientHeight * 2 * (event.shiftKey ? 10 : 1);
|
|
43323
|
+
const deltaValue = (this.#dragStartY - event.clientY) / effectiveSensitivity * (this.max - this.min);
|
|
43324
|
+
const relativeValue = scale(this.#valueAtDragStart + deltaValue, this.min, this.max, 0, 1);
|
|
43325
|
+
this.#setValueFromRelative(clampValue(relativeValue, 0, 1), true);
|
|
43326
|
+
};
|
|
43327
|
+
this.#onPointerUp = () => {
|
|
43328
|
+
this.#dragging = false;
|
|
43329
|
+
this.toggleAttribute(`dragging`, false);
|
|
43330
|
+
const svgEl = this.renderRoot.querySelector(`svg`);
|
|
43331
|
+
if (svgEl && `hasPointerCapture` in svgEl && typeof svgEl.hasPointerCapture === `function`) {
|
|
43332
|
+
if (svgEl.hasPointerCapture(1)) svgEl.releasePointerCapture(1);
|
|
43333
|
+
}
|
|
43334
|
+
window.removeEventListener(`pointermove`, this.#onPointerMove);
|
|
43335
|
+
window.removeEventListener(`pointerup`, this.#onPointerUp);
|
|
43336
|
+
window.removeEventListener(`pointercancel`, this.#onPointerUp);
|
|
43337
|
+
};
|
|
43338
|
+
this.#onKeyDown = (event) => {
|
|
43339
|
+
if (this.disabled) return;
|
|
43340
|
+
const range = this.max - this.min;
|
|
43341
|
+
const effectiveStep = resolveAxisStep(range, this.stops, this.step, event.shiftKey);
|
|
43342
|
+
let handled = false;
|
|
43343
|
+
switch (event.key) {
|
|
43344
|
+
case `ArrowUp`:
|
|
43345
|
+
case `ArrowRight`:
|
|
43346
|
+
this.#stepByRelativeDelta(effectiveStep / range, true);
|
|
43347
|
+
handled = true;
|
|
43348
|
+
break;
|
|
43349
|
+
case `ArrowDown`:
|
|
43350
|
+
case `ArrowLeft`:
|
|
43351
|
+
this.#stepByRelativeDelta(-effectiveStep / range, true);
|
|
43352
|
+
handled = true;
|
|
43353
|
+
break;
|
|
43354
|
+
case `Home`:
|
|
43355
|
+
this.#setValueFromRelative(0, true);
|
|
43356
|
+
handled = true;
|
|
43357
|
+
break;
|
|
43358
|
+
case `End`:
|
|
43359
|
+
this.#setValueFromRelative(1, true);
|
|
43360
|
+
handled = true;
|
|
43361
|
+
}
|
|
43362
|
+
if (handled) event.preventDefault();
|
|
43363
|
+
};
|
|
43364
|
+
}
|
|
43365
|
+
#dragging;
|
|
43366
|
+
#dragStartY;
|
|
43367
|
+
#valueAtDragStart;
|
|
43368
|
+
#changeDebounceTimer;
|
|
43369
|
+
#getRelativeValue() {
|
|
43370
|
+
return scale(this.value, this.min, this.max, 0, 1);
|
|
43371
|
+
}
|
|
43372
|
+
#quantise(value) {
|
|
43373
|
+
if (this.stops && this.stops > 1) {
|
|
43374
|
+
const step = (this.max - this.min) / this.stops;
|
|
43375
|
+
return Math.round((value - this.min) / step) * step + this.min;
|
|
43376
|
+
}
|
|
43377
|
+
return value;
|
|
43378
|
+
}
|
|
43379
|
+
#setValueFromRelative(relativeValue, isUserInteraction = false) {
|
|
43380
|
+
const newValue = scale(relativeValue, 0, 1, this.min, this.max);
|
|
43381
|
+
const clampedValue = this.#quantise(clampValue(newValue, this.min, this.max));
|
|
43382
|
+
if (clampedValue === this.value) return;
|
|
43383
|
+
const previousValue = this.value;
|
|
43384
|
+
this.value = clampedValue;
|
|
43385
|
+
if (this.hasAttribute(`data-tooltip-live`)) {
|
|
43386
|
+
const percentage = Math.round(this.#getRelativeValue() * 100);
|
|
43387
|
+
this.setAttribute(`data-tooltip`, `${percentage}%`);
|
|
43388
|
+
}
|
|
43389
|
+
if (isUserInteraction) {
|
|
43390
|
+
this.dispatchEvent(new CustomEvent(`input`, {
|
|
43391
|
+
detail: {
|
|
43392
|
+
value: this.value,
|
|
43393
|
+
valueRelative: this.#getRelativeValue()
|
|
43394
|
+
},
|
|
43395
|
+
bubbles: true,
|
|
43396
|
+
composed: true
|
|
43397
|
+
}));
|
|
43398
|
+
this.#scheduleChangeEvent(previousValue);
|
|
43399
|
+
} else this.#fireChangeEvent(previousValue);
|
|
43400
|
+
}
|
|
43401
|
+
#scheduleChangeEvent(previousValue) {
|
|
43402
|
+
if (this.#changeDebounceTimer !== void 0) clearTimeout(this.#changeDebounceTimer);
|
|
43403
|
+
this.#changeDebounceTimer = window.setTimeout(() => {
|
|
43404
|
+
this.#fireChangeEvent(previousValue);
|
|
43405
|
+
this.#changeDebounceTimer = void 0;
|
|
43406
|
+
}, 150);
|
|
43407
|
+
}
|
|
43408
|
+
#fireChangeEvent(previousValue) {
|
|
43409
|
+
this.dispatchEvent(new CustomEvent(`change`, {
|
|
43410
|
+
detail: {
|
|
43411
|
+
value: this.value,
|
|
43412
|
+
valueRelative: this.#getRelativeValue(),
|
|
43413
|
+
previousValue
|
|
43414
|
+
},
|
|
43415
|
+
bubbles: true,
|
|
43416
|
+
composed: true
|
|
43417
|
+
}));
|
|
43418
|
+
}
|
|
43419
|
+
#onPointerDown;
|
|
43420
|
+
#onPointerMove;
|
|
43421
|
+
#onPointerUp;
|
|
43422
|
+
#onKeyDown;
|
|
43423
|
+
/**
|
|
43424
|
+
* Apply a relative-delta nudge to the current value, clamped to [min, max] and
|
|
43425
|
+
* quantised. Shared between keyboard arrow keys and the wheel handler.
|
|
43426
|
+
*/
|
|
43427
|
+
#stepByRelativeDelta(relativeDelta, isUserInteraction) {
|
|
43428
|
+
this.#setValueFromRelative(clampValue(this.#getRelativeValue() + relativeDelta, 0, 1), isUserInteraction);
|
|
43429
|
+
}
|
|
43430
|
+
_applyWheelDelta(direction, event) {
|
|
43431
|
+
const range = this.max - this.min;
|
|
43432
|
+
const effectiveStep = resolveAxisStep(range, this.stops, this.step, event.shiftKey);
|
|
43433
|
+
this.#stepByRelativeDelta(direction * effectiveStep / range, true);
|
|
43434
|
+
}
|
|
43435
|
+
#renderCircle() {
|
|
43436
|
+
const relativeValue = this.#getRelativeValue();
|
|
43437
|
+
const outerRadius = 45;
|
|
43438
|
+
const innerRadius = outerRadius * relativeValue;
|
|
43439
|
+
const outerCx = 50;
|
|
43440
|
+
const outerCy = 50;
|
|
43441
|
+
let cx = outerCx;
|
|
43442
|
+
if (this.fillMode === `left`) cx = 5 + outerRadius * relativeValue;
|
|
43443
|
+
else if (this.fillMode === `right`) cx = 95 - outerRadius * relativeValue;
|
|
43444
|
+
return w`
|
|
43445
|
+
<circle class="fill" cx="${cx}" cy="${outerCy}" r="${innerRadius}" />
|
|
43446
|
+
<circle class="outline" cx="${outerCx}" cy="${outerCy}" r="${outerRadius}" fill="none" />
|
|
43447
|
+
`;
|
|
43448
|
+
}
|
|
43449
|
+
#renderRectangle() {
|
|
43450
|
+
const relativeValue = this.#getRelativeValue();
|
|
43451
|
+
const outerSize = 90;
|
|
43452
|
+
const outerOffset = 5;
|
|
43453
|
+
if (this.fillMode === `left` || this.fillMode === `right`) {
|
|
43454
|
+
const innerWidth = outerSize * relativeValue;
|
|
43455
|
+
const x = this.fillMode === `left` ? outerOffset : 95 - innerWidth;
|
|
43456
|
+
return w`
|
|
43457
|
+
<rect class="fill" x="${x}" y="${outerOffset}" width="${innerWidth}" height="${outerSize}" />
|
|
43458
|
+
<rect class="outline" x="${outerOffset}" y="${outerOffset}" width="${outerSize}" height="${outerSize}" fill="none" />
|
|
43459
|
+
`;
|
|
43460
|
+
}
|
|
43461
|
+
const innerSize = outerSize * relativeValue;
|
|
43462
|
+
const innerOffset = (100 - innerSize) / 2;
|
|
43463
|
+
return w`
|
|
43464
|
+
<rect class="fill" x="${innerOffset}" y="${innerOffset}" width="${innerSize}" height="${innerSize}" />
|
|
43465
|
+
<rect class="outline" x="${outerOffset}" y="${outerOffset}" width="${outerSize}" height="${outerSize}" fill="none" />
|
|
43466
|
+
`;
|
|
43467
|
+
}
|
|
43468
|
+
render() {
|
|
43469
|
+
const preserveAspectRatio = this.display === `rectangle` ? `none` : `xMidYMid meet`;
|
|
43470
|
+
return b`
|
|
43471
|
+
<svg
|
|
43472
|
+
viewBox="0 0 100 100"
|
|
43473
|
+
preserveAspectRatio="${preserveAspectRatio}"
|
|
43474
|
+
tabindex="${this.disabled ? -1 : 0}"
|
|
43475
|
+
@pointerdown="${this.#onPointerDown}"
|
|
43476
|
+
@keydown="${this.#onKeyDown}"
|
|
43477
|
+
style="cursor: ${this.#dragging ? `ns-resize` : `grab`}"
|
|
43478
|
+
>
|
|
43479
|
+
${this.display === `rectangle` ? this.#renderRectangle() : this.#renderCircle()}
|
|
43480
|
+
</svg>
|
|
43481
|
+
`;
|
|
43482
|
+
}
|
|
43483
|
+
updated(changed) {
|
|
43484
|
+
super.updated(changed);
|
|
43485
|
+
this.style.setProperty(`--shapefill-value-relative`, this.#getRelativeValue().toString());
|
|
43486
|
+
}
|
|
43487
|
+
disconnectedCallback() {
|
|
43488
|
+
super.disconnectedCallback();
|
|
43489
|
+
if (this.#changeDebounceTimer !== void 0) clearTimeout(this.#changeDebounceTimer);
|
|
43490
|
+
this.#onPointerUp();
|
|
43491
|
+
}
|
|
43492
|
+
static {
|
|
43493
|
+
this.styles = [
|
|
43494
|
+
themeFallbacks,
|
|
43495
|
+
prominenceStyles,
|
|
43496
|
+
i$3`
|
|
43497
|
+
:host {
|
|
43498
|
+
display: inline-block;
|
|
43499
|
+
width: 2em;
|
|
43500
|
+
height: 2em;
|
|
43501
|
+
touch-action: none;
|
|
43502
|
+
user-select: none;
|
|
43503
|
+
|
|
43504
|
+
/* Dynamic value - set by JS */
|
|
43505
|
+
--shapefill-value-relative: 0;
|
|
43506
|
+
|
|
43507
|
+
/* Public styling variables — consumer customisable */
|
|
43508
|
+
--shapefill-value-outline-color: var(--surface-4);
|
|
43509
|
+
--shapefill-value-outline-width: 2;
|
|
43510
|
+
--shapefill-value-fill-color: var(--accent);
|
|
43511
|
+
}
|
|
43512
|
+
|
|
43513
|
+
:host([disabled]) {
|
|
43514
|
+
cursor: not-allowed;
|
|
43515
|
+
}
|
|
43516
|
+
|
|
43517
|
+
svg {
|
|
43518
|
+
width: 100%;
|
|
43519
|
+
height: 100%;
|
|
43520
|
+
outline: none;
|
|
43521
|
+
display: block;
|
|
43522
|
+
}
|
|
43523
|
+
|
|
43524
|
+
svg:active {
|
|
43525
|
+
cursor: grabbing;
|
|
43526
|
+
}
|
|
43527
|
+
|
|
43528
|
+
svg:focus-visible {
|
|
43529
|
+
outline: var(--shapefill-value-focus-outline, 2px solid var(--accent));
|
|
43530
|
+
outline-offset: var(--shapefill-value-focus-outline-offset, 2px);
|
|
43531
|
+
}
|
|
43532
|
+
|
|
43533
|
+
.outline {
|
|
43534
|
+
stroke: var(--shapefill-value-outline-color, var(--surface-4));
|
|
43535
|
+
stroke-width: var(--shapefill-value-outline-width, 2);
|
|
43536
|
+
vector-effect: non-scaling-stroke;
|
|
43537
|
+
}
|
|
43538
|
+
|
|
43539
|
+
.fill {
|
|
43540
|
+
fill: var(--shapefill-value-fill-color, var(--accent));
|
|
43541
|
+
transition: var(--shapefill-value-fill-transition, none);
|
|
43542
|
+
}
|
|
43543
|
+
`
|
|
43544
|
+
];
|
|
43545
|
+
}
|
|
43546
|
+
};
|
|
43547
|
+
__decorate([property({ type: String })], ShapefillValueElement.prototype, "display", void 0);
|
|
43548
|
+
__decorate([property({
|
|
43549
|
+
type: String,
|
|
43550
|
+
attribute: `fill-mode`
|
|
43551
|
+
})], ShapefillValueElement.prototype, "fillMode", void 0);
|
|
43552
|
+
__decorate([property({ type: Number })], ShapefillValueElement.prototype, "value", void 0);
|
|
43553
|
+
__decorate([property({ type: Number })], ShapefillValueElement.prototype, "min", void 0);
|
|
43554
|
+
__decorate([property({ type: Number })], ShapefillValueElement.prototype, "max", void 0);
|
|
43555
|
+
__decorate([property({ type: Number })], ShapefillValueElement.prototype, "step", void 0);
|
|
43556
|
+
__decorate([property({ type: Number })], ShapefillValueElement.prototype, "stops", void 0);
|
|
43557
|
+
__decorate([property({
|
|
43558
|
+
type: Boolean,
|
|
43559
|
+
reflect: true
|
|
43560
|
+
})], ShapefillValueElement.prototype, "disabled", void 0);
|
|
43561
|
+
ShapefillValueElement = __decorate([safeCustomElement(`ixfx-shapefill-value`)], ShapefillValueElement);
|
|
43562
|
+
//#endregion
|
|
43280
43563
|
//#region src/sliding-number/sliding-number.ts
|
|
43281
43564
|
const REEL_DIGITS = Array.from({ length: 30 }, (_, index) => index % 10);
|
|
43282
43565
|
const SECTION_RANK = {
|
|
@@ -50254,6 +50537,6 @@ function init() {
|
|
|
50254
50537
|
console.log(`Init`);
|
|
50255
50538
|
}
|
|
50256
50539
|
//#endregion
|
|
50257
|
-
export { AcTextElement, AcTokenElement, BottomDrawerElement, ButtonElement, Checkbox, ColourPicker, ColourPickerPopup, CrumbNavigationElement, CrumbPathController, CrumbPathElement, DataController, DataDisplayComponent, DataGridElement, DataTableElement, DetailListElement, DockHostElement, DockPanelElement, EditableLabel, EditableNumber, FormElement, FormGroupElement, FormPartElement, GridListElement, GroupedItemListerElement, ICON_CARET_RIGHT, ICON_CHECK, ICON_CHEVRON_DOWN, ICON_CLOSE, IcicleTreeListElement, IncrSearchTreeController as IncrSearchMillerController, IncrSearchTreeController, IxfxHexEditorElement, IxfxIconElement, IxfxTimelineElement, KeyedElementIndex, LIST_ITEM_MOTION_MS, LIST_SEARCH_COMMAND_IDS, LIST_SEARCH_MODES, LabelledRadialInput, LabelledRangeInput, LabelledSliderInput, LedElement, ListDragSelectController, ListNativeDragController, ListSearchController, ListSelectionController, menu_exports as Menu, MillerBaseElement, MillerListElement, MillerTreeController, MulticolListElement, NarrowedTextElement, NotificationManager, NotificationPillElement, PanTextElement, PanelElement, PanelGroupElement, PlotDataSeries, PlotHistogram, PlotMultiAxis, PlotSingleAxis, PlotXyAxis, PolarPad, RadialInputElement, RadioGroup, RangeElement, RangeInput, RangeMultiElement, RatingElement, SelectHorizElement, SliderInputElement, SlidingNumberElement, SnackbarElement, SnapContainer, SplitButton, SplitLayoutElement, SplitPanelElement, SwipeElement, TabController, TabListElement, TabListItemElement, TabPanelElement, TabPanelsElement, TextShimmerElement, TickledController, TimelineController, TimelineTrackTabElement, TitlebarElement, ToolbarElement, ToolbarGroupElement, TooltipElement, TransitoryLabelElement, TreeBaseElement, TreeController, TreeDataModel, TreeDropController, TreeKeyboardNavController, TreeListElement, TreemapListElement, TwoSplitLayoutElement, VerticalListElement, XyPad, addPanelToStack, animateListItemIn, animateListItemOut, applyAgeModification, applyHighlights, applySnapshot, applyTreeDrop, attachTimelineInteractions, bottomDrawerCommandId, buildHighlightTargets, buildModel, captionForEntry, clearHighlights, collectContainerNames, collectDataResult, collectPanelIds, collectStackPaths, computeColour, computeIcicleLayout, computeLeafGeoms, computeTreemapLayout, createAcCompletionProvider, createDataListSearchAdapter, createDefaultListDragPreview, createElementIncrSearch, createElementListSearchAdapter, createEmptyLayout, createEmptyStack, createFuzzySearch, createIncrSearch, createPillRenderer, createSplit, createStack, createTreeListAdapter, createTreeListSearchAdapter, createVerticalListAdapter, distribute, dropTargetFor, extractStack, findIcicleNode, findIciclePath, findNode, findParentOf, findStackOf, findStackPathByName, findTreemapNode, findTreemapPath, getActiveDragPanelId, getIcon, getIconEntry, getIconFont, getLeafNeighbours, hasIcon, iconBus, init, insertBeside, isDragging, isMultiMode, isSplit, isStack, keyForElement, listItemFadeKeyframes, listSearchStyles, monitorIndeterminate, moveLeafNodeToEdge, moveLeafStep, normalise, normaliseValue, normalize, panelGapIndex, parseColourScaleAttr, parseLayout, pointerOverAnyHost, prefersReducedMotion, pruneDraggedDescendants, readBaseColour, registerFontIcon, registerIcon, registerListSearchCommands, removePanelFromStack, resolveCssVars, resolveGrid, resolveLeafPath, resolveTracks, serializeLayout, setActive, setIconFont, startListItemOutAnimation, svgToDataUri, swapLeaves, tickledItemStyles, tickledStyles, timelineStyles, toSnapshot, toolbarGapIndex, walk, wrapRoot };
|
|
50540
|
+
export { AcTextElement, AcTokenElement, BottomDrawerElement, ButtonElement, Checkbox, ColourPicker, ColourPickerPopup, CrumbNavigationElement, CrumbPathController, CrumbPathElement, DataController, DataDisplayComponent, DataGridElement, DataTableElement, DetailListElement, DockHostElement, DockPanelElement, EditableLabel, EditableNumber, FormElement, FormGroupElement, FormPartElement, GridListElement, GroupedItemListerElement, ICON_CARET_RIGHT, ICON_CHECK, ICON_CHEVRON_DOWN, ICON_CLOSE, IcicleTreeListElement, IncrSearchTreeController as IncrSearchMillerController, IncrSearchTreeController, IxfxHexEditorElement, IxfxIconElement, IxfxTimelineElement, KeyedElementIndex, LIST_ITEM_MOTION_MS, LIST_SEARCH_COMMAND_IDS, LIST_SEARCH_MODES, LabelledRadialInput, LabelledRangeInput, LabelledSliderInput, LedElement, ListDragSelectController, ListNativeDragController, ListSearchController, ListSelectionController, menu_exports as Menu, MillerBaseElement, MillerListElement, MillerTreeController, MulticolListElement, NarrowedTextElement, NotificationManager, NotificationPillElement, PanTextElement, PanelElement, PanelGroupElement, PlotDataSeries, PlotHistogram, PlotMultiAxis, PlotSingleAxis, PlotXyAxis, PolarPad, RadialInputElement, RadioGroup, RangeElement, RangeInput, RangeMultiElement, RatingElement, SelectHorizElement, ShapefillValueElement, SliderInputElement, SlidingNumberElement, SnackbarElement, SnapContainer, SplitButton, SplitLayoutElement, SplitPanelElement, SwipeElement, TabController, TabListElement, TabListItemElement, TabPanelElement, TabPanelsElement, TextShimmerElement, TickledController, TimelineController, TimelineTrackTabElement, TitlebarElement, ToolbarElement, ToolbarGroupElement, TooltipElement, TransitoryLabelElement, TreeBaseElement, TreeController, TreeDataModel, TreeDropController, TreeKeyboardNavController, TreeListElement, TreemapListElement, TwoSplitLayoutElement, VerticalListElement, XyPad, addPanelToStack, animateListItemIn, animateListItemOut, applyAgeModification, applyHighlights, applySnapshot, applyTreeDrop, attachTimelineInteractions, bottomDrawerCommandId, buildHighlightTargets, buildModel, captionForEntry, clearHighlights, collectContainerNames, collectDataResult, collectPanelIds, collectStackPaths, computeColour, computeIcicleLayout, computeLeafGeoms, computeTreemapLayout, createAcCompletionProvider, createDataListSearchAdapter, createDefaultListDragPreview, createElementIncrSearch, createElementListSearchAdapter, createEmptyLayout, createEmptyStack, createFuzzySearch, createIncrSearch, createPillRenderer, createSplit, createStack, createTreeListAdapter, createTreeListSearchAdapter, createVerticalListAdapter, distribute, dropTargetFor, extractStack, findIcicleNode, findIciclePath, findNode, findParentOf, findStackOf, findStackPathByName, findTreemapNode, findTreemapPath, getActiveDragPanelId, getIcon, getIconEntry, getIconFont, getLeafNeighbours, hasIcon, iconBus, init, insertBeside, isDragging, isMultiMode, isSplit, isStack, keyForElement, listItemFadeKeyframes, listSearchStyles, monitorIndeterminate, moveLeafNodeToEdge, moveLeafStep, normalise, normaliseValue, normalize, panelGapIndex, parseColourScaleAttr, parseLayout, pointerOverAnyHost, prefersReducedMotion, pruneDraggedDescendants, readBaseColour, registerFontIcon, registerIcon, registerListSearchCommands, removePanelFromStack, resolveCssVars, resolveGrid, resolveLeafPath, resolveTracks, serializeLayout, setActive, setIconFont, startListItemOutAnimation, svgToDataUri, swapLeaves, tickledItemStyles, tickledStyles, timelineStyles, toSnapshot, toolbarGapIndex, walk, wrapRoot };
|
|
50258
50541
|
|
|
50259
50542
|
//# sourceMappingURL=index.js.map
|