@fusion.dev/helix-headless 0.182.1 → 0.183.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/custom-elements.json +7851 -5810
- package/dist/accordion/item/accordion-item.js +1 -6
- package/dist/accordion/root/accordion-root.js +1 -6
- package/dist/announcement/root/announcement-root.js +1 -6
- package/dist/app-header/root/app-header-root.js +1 -6
- package/dist/area-chart/root/area-chart-root.d.ts +1 -0
- package/dist/area-chart/root/area-chart-root.js +3 -7
- package/dist/avatar/group/avatar-group.js +1 -6
- package/dist/avatar/root/avatar-root.js +1 -6
- package/dist/badge/root/badge-root.js +1 -6
- package/dist/bar-chart/root/bar-chart-root.d.ts +2 -0
- package/dist/bar-chart/root/bar-chart-root.js +6 -9
- package/dist/blockquote/root/blockquote-root.js +1 -6
- package/dist/breadcrumbs/breadcrumb/breadcrumb.d.ts +1 -0
- package/dist/breadcrumbs/breadcrumb/breadcrumb.js +3 -7
- package/dist/breadcrumbs/root/breadcrumbs-root.js +1 -6
- package/dist/button/root/button-root.d.ts +7 -3
- package/dist/button/root/button-root.js +5 -11
- package/dist/button-group/root/button-group-root.js +1 -6
- package/dist/callout/root/callout-root.js +1 -6
- package/dist/canvas/edge/canvas-edge.js +1 -6
- package/dist/canvas/node/canvas-node.js +1 -6
- package/dist/canvas/root/canvas-root.js +1 -6
- package/dist/card/root/card-root.js +1 -6
- package/dist/carousel/root/carousel-root.d.ts +1 -0
- package/dist/carousel/root/carousel-root.js +3 -7
- package/dist/chat/composer/chat-composer.js +1 -6
- package/dist/chat/message/chat-message.js +1 -6
- package/dist/chat/root/chat-root.d.ts +1 -0
- package/dist/chat/root/chat-root.js +3 -7
- package/dist/checkbox/root/checkbox-root.js +1 -6
- package/dist/checkbox-group/root/checkbox-group-root.js +1 -6
- package/dist/code/root/code-root.js +1 -6
- package/dist/code-block/root/code-block-root.js +1 -6
- package/dist/color-input/root/color-input-root.js +1 -6
- package/dist/color-picker/root/color-picker-root.js +1 -6
- package/dist/combobox/root/combobox-root.js +1 -6
- package/dist/command/root/command-root.js +1 -6
- package/dist/copy-button/root/copy-button-root.js +1 -6
- package/dist/data-table/root/data-table-root.d.ts +1 -0
- package/dist/data-table/root/data-table-root.js +3 -7
- package/dist/date-input/root/date-input-root.js +1 -6
- package/dist/date-picker/root/date-picker-root.d.ts +1 -0
- package/dist/date-picker/root/date-picker-root.js +3 -7
- package/dist/description-list/item/description-list-item.js +1 -6
- package/dist/description-list/root/description-list-root.js +1 -6
- package/dist/dialog/root/dialog-root.js +1 -6
- package/dist/divider/root/divider-root.js +1 -6
- package/dist/donut-chart/root/donut-chart-root.d.ts +1 -0
- package/dist/donut-chart/root/donut-chart-root.js +3 -7
- package/dist/drawer/root/drawer-root.js +1 -6
- package/dist/drilldown/item/drilldown-item.d.ts +1 -0
- package/dist/drilldown/item/drilldown-item.js +3 -7
- package/dist/drilldown/root/drilldown-root.d.ts +1 -0
- package/dist/drilldown/root/drilldown-root.js +3 -7
- package/dist/empty/root/empty-root.js +1 -6
- package/dist/file-input/root/file-input-root.js +1 -6
- package/dist/filter-input/chip/filter-chip.js +1 -6
- package/dist/filter-input/field/filter-field.js +1 -6
- package/dist/filter-input/menu/filter-menu.js +1 -6
- package/dist/filter-input/operator/filter-operator.js +1 -6
- package/dist/filter-input/root/filter-input-root.js +1 -6
- package/dist/format-date/root/format-date-root.js +1 -6
- package/dist/graph/root/graph-root.d.ts +1 -0
- package/dist/graph/root/graph-root.js +3 -7
- package/dist/heatmap/root/heatmap-root.d.ts +11 -1
- package/dist/heatmap/root/heatmap-root.js +18 -15
- package/dist/icon/root/icon-root.d.ts +1 -0
- package/dist/icon/root/icon-root.js +3 -7
- package/dist/icon-button/root/icon-button-root.js +1 -6
- package/dist/image/root/image-root.js +1 -6
- package/dist/input/root/input-root.js +1 -6
- package/dist/kbd/root/kbd-root.d.ts +1 -0
- package/dist/kbd/root/kbd-root.js +3 -7
- package/dist/legend/root/legend-root.js +1 -6
- package/dist/lightbox/item/lightbox-item.js +1 -6
- package/dist/lightbox/root/lightbox-root.d.ts +1 -0
- package/dist/lightbox/root/lightbox-root.js +3 -7
- package/dist/line-chart/root/line-chart-root.d.ts +1 -0
- package/dist/line-chart/root/line-chart-root.js +3 -7
- package/dist/list/item/list-item.js +1 -6
- package/dist/list/root/list-root.js +1 -6
- package/dist/listbox/root/listbox-root.d.ts +1 -0
- package/dist/listbox/root/listbox-root.js +3 -7
- package/dist/loader/root/loader-root.js +1 -6
- package/dist/map/area/map-area.js +1 -6
- package/dist/map/buildings/map-buildings.js +1 -6
- package/dist/map/contours/map-contours.js +1 -6
- package/dist/map/landcover/map-landcover.js +1 -6
- package/dist/map/marker/map-marker.js +1 -6
- package/dist/map/points/map-points.js +1 -6
- package/dist/map/position/map-position.js +1 -6
- package/dist/map/raster/map-raster.js +1 -6
- package/dist/map/root/map-root.js +1 -6
- package/dist/map/route/map-route.js +1 -6
- package/dist/map/terrain/map-terrain.js +1 -6
- package/dist/megamenu/root/megamenu-root.js +1 -6
- package/dist/menu/item/menu-item.d.ts +1 -0
- package/dist/menu/item/menu-item.js +3 -7
- package/dist/menu/root/menu-root.d.ts +1 -0
- package/dist/menu/root/menu-root.js +3 -7
- package/dist/menu/section/menu-section.js +1 -6
- package/dist/meter/root/meter-root.js +1 -6
- package/dist/navigation/root/navigation-root.js +1 -6
- package/dist/notifications/group/notification-group.js +1 -6
- package/dist/notifications/notification/notification.js +1 -6
- package/dist/notifications/root/notifications-root.js +1 -6
- package/dist/number-input/root/number-input-root.js +1 -6
- package/dist/object-inspector/root/object-inspector-root.d.ts +1 -0
- package/dist/object-inspector/root/object-inspector-root.js +3 -7
- package/dist/option/group/option-group.js +1 -6
- package/dist/option/root/option-root.js +1 -6
- package/dist/option/separator/option-separator.js +1 -6
- package/dist/outline/root/outline-root.js +1 -6
- package/dist/pagination/root/pagination-root.d.ts +1 -0
- package/dist/pagination/root/pagination-root.js +3 -7
- package/dist/pagination/size/pagination-size.js +1 -6
- package/dist/pagination/summary/pagination-summary.js +1 -6
- package/dist/pin-input/root/pin-input-root.js +1 -6
- package/dist/popover/root/popover-root.js +1 -6
- package/dist/progress/root/progress-root.js +1 -6
- package/dist/qr-code/root/qr-code-root.js +1 -6
- package/dist/quote/root/quote-root.js +1 -6
- package/dist/radio/group/radio-group.js +1 -6
- package/dist/radio/root/radio-root.js +1 -6
- package/dist/rating/root/rating-root.js +1 -6
- package/dist/scatter-chart/root/scatter-chart-root.js +1 -6
- package/dist/scroll-area/root/scroll-area-root.d.ts +1 -0
- package/dist/scroll-area/root/scroll-area-root.js +3 -7
- package/dist/select/root/select-root.js +1 -6
- package/dist/skeleton/root/skeleton-root.js +1 -6
- package/dist/skip-link/root/skip-link-root.js +1 -6
- package/dist/slider/root/slider-root.js +1 -6
- package/dist/sparkline/root/sparkline-root.d.ts +1 -0
- package/dist/sparkline/root/sparkline-root.js +3 -7
- package/dist/speed-dial/group/speed-dial-group.js +1 -6
- package/dist/speed-dial/item/speed-dial-item.js +1 -6
- package/dist/speed-dial/root/speed-dial-root.js +1 -6
- package/dist/splitter/root/splitter-root.js +1 -6
- package/dist/stat/group/stat-group.js +1 -6
- package/dist/stat/root/stat-root.js +1 -6
- package/dist/steps/root/steps-root.js +1 -6
- package/dist/steps/step/step.js +1 -6
- package/dist/switch/root/switch-root.js +1 -6
- package/dist/table/cell/table-cell.js +1 -6
- package/dist/table/column/table-column.js +1 -6
- package/dist/table/root/table-root.d.ts +1 -0
- package/dist/table/root/table-root.js +3 -7
- package/dist/table/row/table-row.d.ts +1 -0
- package/dist/table/row/table-row.js +3 -7
- package/dist/tabs/panel/tab-panel.js +1 -6
- package/dist/tabs/root/tabs-root.d.ts +1 -0
- package/dist/tabs/root/tabs-root.js +3 -7
- package/dist/tabs/tab/tab.js +1 -6
- package/dist/tag/group/tag-group.js +1 -6
- package/dist/tag/root/tag-root.js +1 -6
- package/dist/textarea/root/textarea-root.js +1 -6
- package/dist/time-input/root/time-input-root.js +1 -6
- package/dist/time-picker/root/time-picker-root.js +1 -6
- package/dist/timeline/group/timeline-group.js +1 -6
- package/dist/timeline/item/timeline-item.js +1 -6
- package/dist/timeline/root/timeline-root.js +1 -6
- package/dist/toast/item/toast-item.js +1 -6
- package/dist/toast/root/toast-root.js +1 -6
- package/dist/toggle/group/toggle-group.js +1 -6
- package/dist/toggle/root/toggle-root.js +1 -6
- package/dist/toolbar/root/toolbar-root.js +1 -6
- package/dist/tooltip/root/tooltip-root.js +1 -6
- package/dist/tour/root/tour-root.js +1 -6
- package/dist/tour/stop/tour-stop.js +1 -6
- package/dist/tree/item/tree-item.js +1 -6
- package/dist/tree/root/tree-root.js +1 -6
- package/dist/trend/root/trend-root.js +1 -6
- package/dist/video/root/video-root.js +1 -6
- package/dist/video-playlist/item/video-playlist-item.js +1 -6
- package/dist/video-playlist/menu/video-playlist-menu.js +1 -6
- package/dist/video-playlist/root/video-playlist-root.js +1 -6
- package/dist/virtual-list/reorder/virtual-list-reorder.js +5 -1
- package/dist/virtual-list/root/virtual-list-root.d.ts +96 -17
- package/dist/virtual-list/root/virtual-list-root.js +126 -35
- package/lint.json +1 -1
- package/package.json +6 -5
- package/types/jsx.d.ts +318 -222
- package/types/vue.d.ts +11 -3
|
@@ -235,6 +235,7 @@ declare const HelixHeadlessDataTable_base: (new (...args: any[]) => import("@fus
|
|
|
235
235
|
* @cssstate loading - While `loading` is set, as the rows are on their way.
|
|
236
236
|
*/
|
|
237
237
|
export declare class HelixHeadlessDataTable extends HelixHeadlessDataTable_base {
|
|
238
|
+
protected static markRules: string[];
|
|
238
239
|
/**
|
|
239
240
|
* Nothing is assigned by name, so the columns can be put in a header row.
|
|
240
241
|
*
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
1
|
var HelixHeadlessDataTable_1;
|
|
8
|
-
import {
|
|
2
|
+
import { __decorate } from "tslib";
|
|
3
|
+
import { anchorAt, arranged, auditChildren, auditServed, commaList, countLabel, customElement, cycle, deepActiveElement, deepContains, everyState, format, formatWords, gridMove, HelixActivateEvent, HelixElement, HelixExpandEvent, HelixFilterEvent, HelixFilteredEvent, HelixLoadMoreEvent, HelixNavigateEvent, HelixReorderEvent, HelixReorderedEvent, HelixSelectEvent, HelixSelectedEvent, HelixSortEvent, HelixSortedEvent, handedLocale, hostAria, inlineStep, inRowOrder, MIRROR_RULE, MixinCollection, markRegion, onAndroid, ordered, pageRows, parse, placeKey, ReorderController, rangeAdd, reportRuntime, requestChange, requestReorder, SCROLLER_RULE, scrollingAncestor, scrollRoom, selectsAll, Typeahead, toggleEvery, treeArrow, typesCharacter, VIRTUAL_RULE, VirtualizeController, valueAt, whenHydrated, window_, words, wordsLocale, writtenList, } from '@fusion.dev/helix-core';
|
|
9
4
|
import { caretDown, caretRight, dotsSixVertical } from '@fusion.dev/helix-icons';
|
|
10
5
|
import { nothing } from 'lit';
|
|
11
6
|
import { property, state } from 'lit/decorators.js';
|
|
@@ -327,6 +322,7 @@ let HelixHeadlessDataTable = class HelixHeadlessDataTable extends MixinCollectio
|
|
|
327
322
|
};
|
|
328
323
|
}
|
|
329
324
|
static { HelixHeadlessDataTable_1 = this; }
|
|
325
|
+
static { this.markRules = [SCROLLER_RULE, VIRTUAL_RULE, MIRROR_RULE]; }
|
|
330
326
|
static { this.shadowRootOptions = {
|
|
331
327
|
...HelixElement.shadowRootOptions,
|
|
332
328
|
slotAssignment: 'manual',
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
1
|
+
import { __decorate } from "tslib";
|
|
7
2
|
import { AriaForwardController, valueAsDate as asDate, barredBy, calendarLocale, customElement, drawIcon, formatWords, dateAsValue as fromDate, HelixClearEvent, HelixFormElement, handedLocale, isDateValue, MixinControllerOpen, MixinControllerValue, MixinField, MixinPickerEditing, MixinPickerField, MixinSegmentedField, MixinTokens, MONTH_CALENDARS, monthSystem, readWrittenDate, words, wordsLocale, } from '@fusion.dev/helix-core';
|
|
8
3
|
import { calendarBlank, x } from '@fusion.dev/helix-icons';
|
|
9
4
|
import { nothing } from 'lit';
|
|
@@ -107,6 +107,7 @@ declare const HelixHeadlessDatePicker_base: (new (...args: any[]) => import("@fu
|
|
|
107
107
|
* @cssstate year-view - While a page of years is shown, where `max-view` is `year`.
|
|
108
108
|
*/
|
|
109
109
|
export declare class HelixHeadlessDatePicker extends HelixHeadlessDatePicker_base {
|
|
110
|
+
protected static markRules: string[];
|
|
110
111
|
/**
|
|
111
112
|
* The key this family's words are registered under, its styled tag:
|
|
112
113
|
* `registerWords('de', { 'helix-date-picker': { nextLabel: 'Nächster Monat' } })`.
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { addDays, addMonths, valueAsDate as asDate, barredBy, calendarLocale, customElement, formatWords, dateAsValue as fromDate, HelixFormElement, HelixNavigateEvent, handedLocale, hostAria, inlineStep, commaList as list, MixinControllerValue, MixinPickerFeedback, monthOut, monthSystem, periodCells, periodKey, reportValues, requestChange, todayIn, weekendOf, weekStartOf, words, wordsLocale, YEARS_SHOWN, yearOut, yearPageOf, } from '@fusion.dev/helix-core';
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { addDays, addMonths, valueAsDate as asDate, barredBy, calendarLocale, customElement, formatWords, dateAsValue as fromDate, HelixFormElement, HelixNavigateEvent, handedLocale, hostAria, inlineStep, commaList as list, MIRROR_RULE, MixinControllerValue, MixinPickerFeedback, monthOut, monthSystem, periodCells, periodKey, reportValues, requestChange, SPOKEN_RULE, todayIn, weekendOf, weekStartOf, words, wordsLocale, YEARS_SHOWN, yearOut, yearPageOf, } from '@fusion.dev/helix-core';
|
|
8
3
|
import { caretLeft, caretRight } from '@fusion.dev/helix-icons';
|
|
9
4
|
import { html, nothing } from 'lit';
|
|
10
5
|
import { property, state } from 'lit/decorators.js';
|
|
@@ -120,6 +115,7 @@ let HelixHeadlessDatePicker = class HelixHeadlessDatePicker extends MixinPickerF
|
|
|
120
115
|
this.view = 'day';
|
|
121
116
|
this.yearViewLabel = '{heading}. Choose a year';
|
|
122
117
|
}
|
|
118
|
+
static { this.markRules = [SPOKEN_RULE, MIRROR_RULE]; }
|
|
123
119
|
static { this.words = 'helix-date-picker'; }
|
|
124
120
|
get language() {
|
|
125
121
|
return wordsLocale(this);
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
1
|
+
import { __decorate } from "tslib";
|
|
7
2
|
import { customElement, HelixElement } from '@fusion.dev/helix-core';
|
|
8
3
|
import { html } from 'lit';
|
|
9
4
|
import { property } from 'lit/decorators.js';
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
1
|
+
import { __decorate } from "tslib";
|
|
7
2
|
import { customElement, HelixElement, hostAria } from '@fusion.dev/helix-core';
|
|
8
3
|
import { html } from 'lit';
|
|
9
4
|
import { property } from 'lit/decorators.js';
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
1
|
+
import { __decorate } from "tslib";
|
|
7
2
|
import { AriaForwardController, auditName, CommandController, customElement, drawDismiss, drawDismissGlyph, FocusScopeController, HelixElement, headingsIn, hostAria, lockScroll, MixinControllerOpen, OpenPhaseController, reflectElements, unlockScroll, words, } from '@fusion.dev/helix-core';
|
|
8
3
|
import { html, nothing } from 'lit';
|
|
9
4
|
import { property } from 'lit/decorators.js';
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
1
|
+
import { __decorate } from "tslib";
|
|
7
2
|
import { customElement, HelixElement, markRegion, reportRuntime, toolbarAround, toolbarAxis, } from '@fusion.dev/helix-core';
|
|
8
3
|
import { html, nothing } from 'lit';
|
|
9
4
|
import { property } from 'lit/decorators.js';
|
|
@@ -105,6 +105,7 @@ declare const HelixHeadlessDonutChart_base: typeof HelixElement & (new (...args:
|
|
|
105
105
|
* @cssstate loading - While the `loading` part stands in place of the ring.
|
|
106
106
|
*/
|
|
107
107
|
export declare class HelixHeadlessDonutChart extends HelixHeadlessDonutChart_base {
|
|
108
|
+
protected static markRules: string[];
|
|
108
109
|
/**
|
|
109
110
|
* The key this family's words are registered under, its styled tag:
|
|
110
111
|
* `registerWords('de', { 'helix-donut-chart': { positionLabel: '{position} von {count}' } })`.
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { CHART_PLOT, customElement, drawTooltip, HelixElement, HelixReadingChangeEvent, HelixReadingPressEvent, MixinChartSource, MixinChartStatus, PLOT_HEIGHT, PLOT_WIDTH, seriesIndex, wordsLocale, } from '@fusion.dev/helix-core';
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { CHART_PLOT, customElement, drawTooltip, HelixElement, HelixReadingChangeEvent, HelixReadingPressEvent, MIRROR_RULE, MixinChartSource, MixinChartStatus, PLOT_HEIGHT, PLOT_WIDTH, seriesIndex, wordsLocale, } from '@fusion.dev/helix-core';
|
|
8
3
|
import { html, nothing, svg } from 'lit';
|
|
9
4
|
import { property } from 'lit/decorators.js';
|
|
10
5
|
import '../../tooltip/index.js';
|
|
@@ -35,6 +30,7 @@ let HelixHeadlessDonutChart = class HelixHeadlessDonutChart extends MixinChartSt
|
|
|
35
30
|
super(...arguments);
|
|
36
31
|
this.sliceLabels = false;
|
|
37
32
|
}
|
|
33
|
+
static { this.markRules = [MIRROR_RULE]; }
|
|
38
34
|
static { this.words = 'helix-donut-chart'; }
|
|
39
35
|
connectedCallback() {
|
|
40
36
|
super.connectedCallback();
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
1
|
+
import { __decorate } from "tslib";
|
|
7
2
|
import { AriaForwardController, auditName, CommandController, customElement, drawDismiss, drawDismissGlyph, edgeOffset, FocusScopeController, HelixElement, headingsIn, isRtl, lockScroll, MixinControllerOpen, nearest, OpenPhaseController, onUnlessFalse, parseSnapPoints, reflectElements, SwipeController, settleSwipe, snapTravel, swipeAxis, swipeEdge, towardEdge, unlockScroll, words, } from '@fusion.dev/helix-core';
|
|
8
3
|
import { html, nothing } from 'lit';
|
|
9
4
|
import { property } from 'lit/decorators.js';
|
|
@@ -58,6 +58,7 @@ import { nothing, type PropertyValues, type TemplateResult } from 'lit';
|
|
|
58
58
|
* @csspart mark - The caret at the end of a row that opens a page, after the `end` slot. The caret points, so a stylesheet mirrors it in a right-to-left document.
|
|
59
59
|
*/
|
|
60
60
|
export declare class HelixHeadlessDrilldownItem extends HelixElement {
|
|
61
|
+
protected static markRules: string[];
|
|
61
62
|
/**
|
|
62
63
|
* Whether the row can be reached at all.
|
|
63
64
|
*/
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { auditName, customElement, deepActiveElement, HelixElement, HelixSelectEvent, hostAria, slotFilled, slotNamed, } from '@fusion.dev/helix-core';
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { auditName, customElement, deepActiveElement, HelixElement, HelixSelectEvent, hostAria, MIRROR_RULE, slotFilled, slotNamed, } from '@fusion.dev/helix-core';
|
|
8
3
|
import { caretRight } from '@fusion.dev/helix-icons';
|
|
9
4
|
import { html, nothing } from 'lit';
|
|
10
5
|
import { property, state } from 'lit/decorators.js';
|
|
@@ -48,6 +43,7 @@ let HelixHeadlessDrilldownItem = class HelixHeadlessDrilldownItem extends HelixE
|
|
|
48
43
|
event.currentTarget.click();
|
|
49
44
|
};
|
|
50
45
|
}
|
|
46
|
+
static { this.markRules = [MIRROR_RULE]; }
|
|
51
47
|
willUpdate(changed) {
|
|
52
48
|
super.willUpdate(changed);
|
|
53
49
|
const item = this.listed && this.onPage && !this.showingPage && !this.onPath;
|
|
@@ -80,6 +80,7 @@ declare const HelixHeadlessDrilldown_base: (new (...args: any[]) => import("@fus
|
|
|
80
80
|
* @cssstate forward - The last move went into a page.
|
|
81
81
|
*/
|
|
82
82
|
export declare class HelixHeadlessDrilldown extends HelixHeadlessDrilldown_base {
|
|
83
|
+
protected static markRules: string[];
|
|
83
84
|
/**
|
|
84
85
|
* The key this family's words are registered under, its styled tag:
|
|
85
86
|
* `registerWords('de', { 'helix-drilldown': { backLabel: 'Zurück' } })`.
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { AriaForwardController, customElement, DrilldownController, HelixElement, HelixNavigateEvent, hostAria, inlineStep, KeyboardNavigationController, keyClaimed, MixinCollection, slottedWords, typeaheadByWords, words, } from '@fusion.dev/helix-core';
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { AriaForwardController, customElement, DrilldownController, HelixElement, HelixNavigateEvent, hostAria, inlineStep, KeyboardNavigationController, keyClaimed, MIRROR_RULE, MixinCollection, slottedWords, typeaheadByWords, words, } from '@fusion.dev/helix-core';
|
|
8
3
|
import { caretLeft } from '@fusion.dev/helix-icons';
|
|
9
4
|
import { html, nothing } from 'lit';
|
|
10
5
|
import { property, state } from 'lit/decorators.js';
|
|
@@ -87,6 +82,7 @@ let HelixHeadlessDrilldown = class HelixHeadlessDrilldown extends MixinCollectio
|
|
|
87
82
|
}
|
|
88
83
|
};
|
|
89
84
|
}
|
|
85
|
+
static { this.markRules = [MIRROR_RULE]; }
|
|
90
86
|
static { this.words = 'helix-drilldown'; }
|
|
91
87
|
get items() {
|
|
92
88
|
return this.drilldown.rows;
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
1
|
+
import { __decorate } from "tslib";
|
|
7
2
|
import { ArrivalController, customElement, HelixElement, headingIn, headingLevel, slotFilled, slottedWords, } from '@fusion.dev/helix-core';
|
|
8
3
|
import { html, nothing } from 'lit';
|
|
9
4
|
import { property } from 'lit/decorators.js';
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
1
|
+
import { __decorate } from "tslib";
|
|
7
2
|
import { AriaForwardController, customElement, drawIcon, drawStatus, formatWords, HelixBeforeChangeEvent, HelixFormElement, HelixRejectEvent, labelWith, MixinField, requestChange, restoreValue, SlottedGlyph, StatusController, words, wordsLocale, } from '@fusion.dev/helix-core';
|
|
8
3
|
import { trash } from '@fusion.dev/helix-icons';
|
|
9
4
|
import { nothing } from 'lit';
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
1
|
+
import { __decorate } from "tslib";
|
|
7
2
|
import { customElement, HelixElement, labelWith, MixinDismissible, slottedWords, words, } from '@fusion.dev/helix-core';
|
|
8
3
|
import { x } from '@fusion.dev/helix-icons';
|
|
9
4
|
import { html, nothing } from 'lit';
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
1
|
+
import { __decorate } from "tslib";
|
|
7
2
|
import { customElement, HelixElement, reportRuntime } from '@fusion.dev/helix-core';
|
|
8
3
|
import { nothing } from 'lit';
|
|
9
4
|
import { property } from 'lit/decorators.js';
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
1
|
+
import { __decorate } from "tslib";
|
|
7
2
|
import { customElement, HelixElement, HelixFacetEvent, words } from '@fusion.dev/helix-core';
|
|
8
3
|
import { nothing } from 'lit';
|
|
9
4
|
import { property } from 'lit/decorators.js';
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
1
|
+
import { __decorate } from "tslib";
|
|
7
2
|
import { customElement, HelixElement } from '@fusion.dev/helix-core';
|
|
8
3
|
import { nothing } from 'lit';
|
|
9
4
|
import { property } from 'lit/decorators.js';
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
1
|
+
import { __decorate } from "tslib";
|
|
7
2
|
import { AriaForwardController, auditChildren, countLabel, customElement, DelayController, drawIcon, drawStatus, formatWords, HelixFacetEvent, HelixFormElement, holdCaret, MixinControllerOpen, MixinControllerValue, MixinField, MixinTokens, PopoverController, reportRuntime, restoreValue, StatusController, scrollItemIntoView, words, wordsLocale, } from '@fusion.dev/helix-core';
|
|
8
3
|
import { x } from '@fusion.dev/helix-icons';
|
|
9
4
|
import { html, nothing } from 'lit';
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
1
|
+
import { __decorate } from "tslib";
|
|
7
2
|
import { calendarLocale, customElement, elapsedTime, HelixElement, RelativeClockController, relativeTime, wordsLocale, } from '@fusion.dev/helix-core';
|
|
8
3
|
import { html, nothing } from 'lit';
|
|
9
4
|
import { property } from 'lit/decorators.js';
|
|
@@ -134,6 +134,7 @@ declare const HelixHeadlessGraph_base: (new (...args: any[]) => import("@fusion.
|
|
|
134
134
|
* @cssstate using - A graph with `gestures="activate"` has been pressed and has the gestures.
|
|
135
135
|
*/
|
|
136
136
|
export declare class HelixHeadlessGraph extends HelixHeadlessGraph_base {
|
|
137
|
+
protected static markRules: string[];
|
|
137
138
|
/**
|
|
138
139
|
* The key this family's words are registered under, its styled tag:
|
|
139
140
|
* `registerWords('de', { 'helix-graph': { searchLabel: 'Notiz suchen' } })`.
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { auditName, customElement, focusItemOf, formatWords, HelixElement, HelixGraphFilterEvent, HelixGraphLayoutEvent, HelixGraphPanEvent, HelixGraphPartChangeEvent, HelixGraphReadyEvent, HelixGraphSignalEvent, HelixGraphZoomEvent, isRtl, KeyboardNavigationController, MixinControllerActive, MixinViewport, scrollItemIntoView, scrollRoom, Typeahead, typeaheadBy, VirtualizeController, words, wordsLocale, } from '@fusion.dev/helix-core';
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { auditName, customElement, focusItemOf, formatWords, HelixElement, HelixGraphFilterEvent, HelixGraphLayoutEvent, HelixGraphPanEvent, HelixGraphPartChangeEvent, HelixGraphReadyEvent, HelixGraphSignalEvent, HelixGraphZoomEvent, isRtl, KeyboardNavigationController, MixinControllerActive, MixinViewport, SCROLLER_RULE, scrollItemIntoView, scrollRoom, Typeahead, typeaheadBy, VIRTUAL_RULE, VirtualizeController, words, wordsLocale, } from '@fusion.dev/helix-core';
|
|
8
3
|
import { list, magnifyingGlass } from '@fusion.dev/helix-icons';
|
|
9
4
|
import { html, nothing } from 'lit';
|
|
10
5
|
import { property, state } from 'lit/decorators.js';
|
|
@@ -167,6 +162,7 @@ let HelixHeadlessGraph = class HelixHeadlessGraph extends MixinViewport(MixinCon
|
|
|
167
162
|
this.fieldKeys = false;
|
|
168
163
|
};
|
|
169
164
|
}
|
|
165
|
+
static { this.markRules = [SCROLLER_RULE, VIRTUAL_RULE]; }
|
|
170
166
|
static { this.words = 'helix-graph'; }
|
|
171
167
|
get shown() {
|
|
172
168
|
return this.kept;
|
|
@@ -333,7 +333,15 @@ export declare class HelixHeadlessHeatmap extends HelixHeadlessHeatmap_base {
|
|
|
333
333
|
protected readonly aria: AriaForwardController;
|
|
334
334
|
private observer;
|
|
335
335
|
private announced;
|
|
336
|
-
/**
|
|
336
|
+
/**
|
|
337
|
+
* Where a range taken in with Shift starts: the row of the table whose cell
|
|
338
|
+
* was last pressed, or none.
|
|
339
|
+
*
|
|
340
|
+
* **The row, and not the cell's place among those drawn.** A narrow strip
|
|
341
|
+
* draws the newest whole columns, so a resize that drops or adds a column
|
|
342
|
+
* moves every cell's place, and an anchor kept as a place started the next
|
|
343
|
+
* range on another day.
|
|
344
|
+
*/
|
|
337
345
|
private anchor;
|
|
338
346
|
/** The cell the keys rested on before the key now being handled moved them. */
|
|
339
347
|
private left;
|
|
@@ -436,6 +444,8 @@ export declare class HelixHeadlessHeatmap extends HelixHeadlessHeatmap_base {
|
|
|
436
444
|
* keep the oldest is answering a question nobody asked.
|
|
437
445
|
*/
|
|
438
446
|
private get drawn();
|
|
447
|
+
/** How many of the oldest rows a narrow strip leaves undrawn. */
|
|
448
|
+
private get dropped();
|
|
439
449
|
/**
|
|
440
450
|
* The number of cells drawn, which the keys walk.
|
|
441
451
|
*
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
1
|
+
import { __decorate } from "tslib";
|
|
7
2
|
import { AriaForwardController, byRow, CHART_PLOT, commaList, customElement, drawTooltip, formatWords, HelixElement, HelixReadingChangeEvent, HelixReadingPressEvent, HelixResizeEvent, MixinChartSource, MixinChartStatus, markRegion, pressedValue, rangeAdd, requestValue, StatusController, spokenReading, words, writtenList, writtenNumbers, } from '@fusion.dev/helix-core';
|
|
8
3
|
import { html, nothing } from 'lit';
|
|
9
4
|
import { property, state } from 'lit/decorators.js';
|
|
@@ -59,8 +54,9 @@ let HelixHeadlessHeatmap = class HelixHeadlessHeatmap extends MixinChartStatus(M
|
|
|
59
54
|
this.stretch(at);
|
|
60
55
|
return;
|
|
61
56
|
}
|
|
62
|
-
const keys = this.keysOf(this.
|
|
63
|
-
const
|
|
57
|
+
const keys = this.keysOf(this.points);
|
|
58
|
+
const from = keys[this.anchor] === undefined ? -1 : this.anchor;
|
|
59
|
+
const added = rangeAdd(commaList(this.value), keys, from, this.dropped + at);
|
|
64
60
|
if (added) {
|
|
65
61
|
this.choose(added.join(', '));
|
|
66
62
|
}
|
|
@@ -130,21 +126,25 @@ let HelixHeadlessHeatmap = class HelixHeadlessHeatmap extends MixinChartStatus(M
|
|
|
130
126
|
if (!mode || key === undefined || key === '') {
|
|
131
127
|
return;
|
|
132
128
|
}
|
|
133
|
-
this.anchor = index;
|
|
129
|
+
this.anchor = this.dropped + index;
|
|
134
130
|
this.base = undefined;
|
|
135
131
|
this.choose(pressedValue(mode, this.value, key));
|
|
136
132
|
}
|
|
137
133
|
stretch(to) {
|
|
138
|
-
const
|
|
139
|
-
|
|
140
|
-
|
|
134
|
+
const all = this.keysOf(this.points);
|
|
135
|
+
const dropped = this.dropped;
|
|
136
|
+
if (all[this.anchor] === undefined) {
|
|
137
|
+
this.anchor = dropped + (this.left < 0 ? to : this.left);
|
|
141
138
|
}
|
|
142
139
|
if (this.base === undefined || this.value !== this.shaped) {
|
|
143
|
-
const corner =
|
|
140
|
+
const corner = all[this.anchor];
|
|
144
141
|
this.base = commaList(this.value).filter((one) => one !== corner);
|
|
145
142
|
}
|
|
146
|
-
const
|
|
147
|
-
const
|
|
143
|
+
const rows = this.rowCount;
|
|
144
|
+
const shift = (rows - (dropped % rows)) % rows;
|
|
145
|
+
const taken = rectangleOf(all.length + shift, rows, this.anchor + shift, dropped + to + shift)
|
|
146
|
+
.filter((at) => at >= shift)
|
|
147
|
+
.map((at) => all[at - shift] ?? '');
|
|
148
148
|
this.choose(inSequence([...this.base, ...taken].filter(Boolean), all).join(', '));
|
|
149
149
|
this.shaped = this.value;
|
|
150
150
|
}
|
|
@@ -187,6 +187,9 @@ let HelixHeadlessHeatmap = class HelixHeadlessHeatmap extends MixinChartStatus(M
|
|
|
187
187
|
const all = this.points;
|
|
188
188
|
return all.slice(Math.max(0, all.length - this.room));
|
|
189
189
|
}
|
|
190
|
+
get dropped() {
|
|
191
|
+
return Math.max(0, this.points.length - this.room);
|
|
192
|
+
}
|
|
190
193
|
get readings() {
|
|
191
194
|
return this.drawn.length;
|
|
192
195
|
}
|
|
@@ -64,6 +64,7 @@ import { nothing, type PropertyValues, type TemplateResult } from 'lit';
|
|
|
64
64
|
* @csspart svg - The rendered SVG.
|
|
65
65
|
*/
|
|
66
66
|
export declare class HelixHeadlessIcon extends HelixElement {
|
|
67
|
+
protected static markRules: string[];
|
|
67
68
|
/**
|
|
68
69
|
* The icon to draw, as an object you import.
|
|
69
70
|
*
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { auditName, customElement, HelixElement, hostAria, reportRuntime, } from '@fusion.dev/helix-core';
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { auditName, customElement, HelixElement, hostAria, MIRROR_RULE, reportRuntime, } from '@fusion.dev/helix-core';
|
|
8
3
|
import { html, nothing } from 'lit';
|
|
9
4
|
import { property } from 'lit/decorators.js';
|
|
10
5
|
import { unsafeSVG } from 'lit/directives/unsafe-svg.js';
|
|
@@ -23,6 +18,7 @@ let HelixHeadlessIcon = class HelixHeadlessIcon extends HelixElement {
|
|
|
23
18
|
this.arrived = '';
|
|
24
19
|
this.pending = '';
|
|
25
20
|
}
|
|
21
|
+
static { this.markRules = [MIRROR_RULE]; }
|
|
26
22
|
static get observedAttributes() {
|
|
27
23
|
return [...super.observedAttributes, 'aria-label'];
|
|
28
24
|
}
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
1
|
+
import { __decorate } from "tslib";
|
|
7
2
|
import { customElement } from '@fusion.dev/helix-core';
|
|
8
3
|
import { HelixHeadlessButton } from '../../button/root/button-root.js';
|
|
9
4
|
let HelixHeadlessIconButton = class HelixHeadlessIconButton extends HelixHeadlessButton {
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
1
|
+
import { __decorate } from "tslib";
|
|
7
2
|
import { customElement, DelayController, HelixElement, reportRuntime } from '@fusion.dev/helix-core';
|
|
8
3
|
import { html, nothing } from 'lit';
|
|
9
4
|
import { property, state } from 'lit/decorators.js';
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
1
|
+
import { __decorate } from "tslib";
|
|
7
2
|
import { AriaForwardController, applyOwnRule, customElement, drawIcon, HelixClearEvent, HelixFormElement, holdCaret, MixinControllerValue, MixinField, restoreValue, submitImplicitly, words, } from '@fusion.dev/helix-core';
|
|
8
3
|
import { eye, eyeSlash, x } from '@fusion.dev/helix-icons';
|
|
9
4
|
import { html, nothing } from 'lit';
|
|
@@ -54,6 +54,7 @@ import { type PropertyValues, type TemplateResult } from 'lit';
|
|
|
54
54
|
* @csspart separator - The `+` between two keys of a chord under `keys` and `caps`, drawn where the platform writes one: on Windows and Linux. An Apple keyboard writes none between glyphs, and a hyphen between words from `key-labels`.
|
|
55
55
|
*/
|
|
56
56
|
export declare class HelixHeadlessKbd extends HelixElement {
|
|
57
|
+
protected static markRules: string[];
|
|
57
58
|
/**
|
|
58
59
|
* What the chord does to the control `for` names once it is pressed:
|
|
59
60
|
* `focus` moves focus to the control and `click` presses it.
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { ariaChord, chordParts, customElement, elementById, HelixElement, HelixShortcutEvent, keyNames, matchesChord, onApple, printableChord, wordsConverter, } from '@fusion.dev/helix-core';
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { ariaChord, chordParts, customElement, elementById, HelixElement, HelixShortcutEvent, keyNames, matchesChord, onApple, printableChord, SPOKEN_RULE, wordsConverter, } from '@fusion.dev/helix-core';
|
|
8
3
|
import { html, nothing } from 'lit';
|
|
9
4
|
import { property } from 'lit/decorators.js';
|
|
10
5
|
import { claimShortcut, releaseShortcut } from '../shortcut.js';
|
|
@@ -58,6 +53,7 @@ let HelixHeadlessKbd = class HelixHeadlessKbd extends HelixElement {
|
|
|
58
53
|
this.act();
|
|
59
54
|
};
|
|
60
55
|
}
|
|
56
|
+
static { this.markRules = [SPOKEN_RULE]; }
|
|
61
57
|
connectedCallback() {
|
|
62
58
|
super.connectedCallback();
|
|
63
59
|
this.listen();
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
1
|
+
import { __decorate } from "tslib";
|
|
7
2
|
import { customElement, focusItemOf, HelixElement, KeyboardNavigationController, requestValue, SourceController, seriesIndex, seriesKey, typeaheadBy, } from '@fusion.dev/helix-core';
|
|
8
3
|
import { html, nothing } from 'lit';
|
|
9
4
|
import { property, state } from 'lit/decorators.js';
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
1
|
+
import { __decorate } from "tslib";
|
|
7
2
|
import { customElement, HelixElement } from '@fusion.dev/helix-core';
|
|
8
3
|
import { html, nothing } from 'lit';
|
|
9
4
|
import { property, state } from 'lit/decorators.js';
|
|
@@ -121,6 +121,7 @@ declare const HelixHeadlessLightbox_base: (new (...args: any[]) => import("@fusi
|
|
|
121
121
|
* @cssstate zoomed - While the shown item is zoomed past its own size.
|
|
122
122
|
*/
|
|
123
123
|
export declare class HelixHeadlessLightbox extends HelixHeadlessLightbox_base {
|
|
124
|
+
protected static markRules: string[];
|
|
124
125
|
/**
|
|
125
126
|
* The key this family's words are registered under, its styled tag:
|
|
126
127
|
* `registerWords('de', { 'helix-lightbox': { nextLabel: 'Weiter' } })`.
|