@tectra-ng/utils 0.0.1 → 0.2.1
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/LICENSE +21 -0
- package/README.md +40 -1
- package/auto-focus/README.md +19 -0
- package/breakpoint/README.md +23 -0
- package/clipboard/README.md +37 -0
- package/clock/README.md +21 -0
- package/currency/README.md +17 -0
- package/date/README.md +46 -0
- package/debounce-input/README.md +31 -0
- package/drag-scroll/README.md +25 -0
- package/fesm2022/tectra-ng-utils-auto-focus.mjs +100 -0
- package/fesm2022/tectra-ng-utils-auto-focus.mjs.map +1 -0
- package/fesm2022/tectra-ng-utils-breakpoint.mjs +54 -0
- package/fesm2022/tectra-ng-utils-breakpoint.mjs.map +1 -0
- package/fesm2022/tectra-ng-utils-clipboard.mjs +225 -0
- package/fesm2022/tectra-ng-utils-clipboard.mjs.map +1 -0
- package/fesm2022/tectra-ng-utils-clock.mjs +59 -0
- package/fesm2022/tectra-ng-utils-clock.mjs.map +1 -0
- package/fesm2022/tectra-ng-utils-currency.mjs +63 -0
- package/fesm2022/tectra-ng-utils-currency.mjs.map +1 -0
- package/fesm2022/tectra-ng-utils-date.mjs +200 -0
- package/fesm2022/tectra-ng-utils-date.mjs.map +1 -0
- package/fesm2022/tectra-ng-utils-debounce-input.mjs +156 -0
- package/fesm2022/tectra-ng-utils-debounce-input.mjs.map +1 -0
- package/fesm2022/tectra-ng-utils-drag-scroll.mjs +199 -0
- package/fesm2022/tectra-ng-utils-drag-scroll.mjs.map +1 -0
- package/fesm2022/tectra-ng-utils-file.mjs +78 -0
- package/fesm2022/tectra-ng-utils-file.mjs.map +1 -0
- package/fesm2022/tectra-ng-utils-filter-state.mjs +238 -0
- package/fesm2022/tectra-ng-utils-filter-state.mjs.map +1 -0
- package/fesm2022/tectra-ng-utils-filter.mjs +88 -0
- package/fesm2022/tectra-ng-utils-filter.mjs.map +1 -0
- package/fesm2022/tectra-ng-utils-form-changes.mjs +70 -0
- package/fesm2022/tectra-ng-utils-form-changes.mjs.map +1 -0
- package/fesm2022/tectra-ng-utils-form-validation.mjs +162 -0
- package/fesm2022/tectra-ng-utils-form-validation.mjs.map +1 -0
- package/fesm2022/tectra-ng-utils-go-back.mjs +117 -0
- package/fesm2022/tectra-ng-utils-go-back.mjs.map +1 -0
- package/fesm2022/tectra-ng-utils-http.mjs +189 -0
- package/fesm2022/tectra-ng-utils-http.mjs.map +1 -0
- package/fesm2022/tectra-ng-utils-in-view.mjs +297 -0
- package/fesm2022/tectra-ng-utils-in-view.mjs.map +1 -0
- package/fesm2022/tectra-ng-utils-plural.mjs +98 -0
- package/fesm2022/tectra-ng-utils-plural.mjs.map +1 -0
- package/fesm2022/tectra-ng-utils-polling.mjs +109 -0
- package/fesm2022/tectra-ng-utils-polling.mjs.map +1 -0
- package/fesm2022/tectra-ng-utils-random.mjs +20 -0
- package/fesm2022/tectra-ng-utils-random.mjs.map +1 -0
- package/fesm2022/tectra-ng-utils-relative-time.mjs +87 -0
- package/fesm2022/tectra-ng-utils-relative-time.mjs.map +1 -0
- package/fesm2022/tectra-ng-utils-scroll-end.mjs +136 -0
- package/fesm2022/tectra-ng-utils-scroll-end.mjs.map +1 -0
- package/fesm2022/tectra-ng-utils-selection.mjs +52 -0
- package/fesm2022/tectra-ng-utils-selection.mjs.map +1 -0
- package/fesm2022/tectra-ng-utils-stop-propagation.mjs +92 -0
- package/fesm2022/tectra-ng-utils-stop-propagation.mjs.map +1 -0
- package/fesm2022/tectra-ng-utils-stream.mjs +30 -0
- package/fesm2022/tectra-ng-utils-stream.mjs.map +1 -0
- package/fesm2022/tectra-ng-utils-style-class.mjs +350 -0
- package/fesm2022/tectra-ng-utils-style-class.mjs.map +1 -0
- package/fesm2022/tectra-ng-utils-text.mjs +173 -0
- package/fesm2022/tectra-ng-utils-text.mjs.map +1 -0
- package/fesm2022/tectra-ng-utils-title.mjs +99 -0
- package/fesm2022/tectra-ng-utils-title.mjs.map +1 -0
- package/fesm2022/tectra-ng-utils-validators.mjs +232 -0
- package/fesm2022/tectra-ng-utils-validators.mjs.map +1 -0
- package/fesm2022/tectra-ng-utils.mjs +4 -0
- package/fesm2022/tectra-ng-utils.mjs.map +1 -0
- package/file/README.md +19 -0
- package/filter/README.md +22 -0
- package/filter-state/README.md +36 -0
- package/form-changes/README.md +26 -0
- package/form-validation/README.md +40 -0
- package/go-back/README.md +28 -0
- package/http/README.md +34 -0
- package/in-view/README.md +34 -0
- package/package.json +173 -3
- package/plural/README.md +21 -0
- package/polling/README.md +34 -0
- package/random/README.md +10 -0
- package/relative-time/README.md +29 -0
- package/scroll-end/README.md +25 -0
- package/selection/README.md +24 -0
- package/stop-propagation/README.md +15 -0
- package/stream/README.md +14 -0
- package/style-class/README.md +34 -0
- package/text/README.md +25 -0
- package/title/README.md +26 -0
- package/types/tectra-ng-utils-auto-focus.d.ts +22 -0
- package/types/tectra-ng-utils-auto-focus.d.ts.map +1 -0
- package/types/tectra-ng-utils-breakpoint.d.ts +15 -0
- package/types/tectra-ng-utils-breakpoint.d.ts.map +1 -0
- package/types/tectra-ng-utils-clipboard.d.ts +48 -0
- package/types/tectra-ng-utils-clipboard.d.ts.map +1 -0
- package/types/tectra-ng-utils-clock.d.ts +18 -0
- package/types/tectra-ng-utils-clock.d.ts.map +1 -0
- package/types/tectra-ng-utils-currency.d.ts +11 -0
- package/types/tectra-ng-utils-currency.d.ts.map +1 -0
- package/types/tectra-ng-utils-date.d.ts +65 -0
- package/types/tectra-ng-utils-date.d.ts.map +1 -0
- package/types/tectra-ng-utils-debounce-input.d.ts +38 -0
- package/types/tectra-ng-utils-debounce-input.d.ts.map +1 -0
- package/types/tectra-ng-utils-drag-scroll.d.ts +41 -0
- package/types/tectra-ng-utils-drag-scroll.d.ts.map +1 -0
- package/types/tectra-ng-utils-file.d.ts +18 -0
- package/types/tectra-ng-utils-file.d.ts.map +1 -0
- package/types/tectra-ng-utils-filter-state.d.ts +55 -0
- package/types/tectra-ng-utils-filter-state.d.ts.map +1 -0
- package/types/tectra-ng-utils-filter.d.ts +21 -0
- package/types/tectra-ng-utils-filter.d.ts.map +1 -0
- package/types/tectra-ng-utils-form-changes.d.ts +22 -0
- package/types/tectra-ng-utils-form-changes.d.ts.map +1 -0
- package/types/tectra-ng-utils-form-validation.d.ts +45 -0
- package/types/tectra-ng-utils-form-validation.d.ts.map +1 -0
- package/types/tectra-ng-utils-go-back.d.ts +25 -0
- package/types/tectra-ng-utils-go-back.d.ts.map +1 -0
- package/types/tectra-ng-utils-http.d.ts +47 -0
- package/types/tectra-ng-utils-http.d.ts.map +1 -0
- package/types/tectra-ng-utils-in-view.d.ts +80 -0
- package/types/tectra-ng-utils-in-view.d.ts.map +1 -0
- package/types/tectra-ng-utils-plural.d.ts +21 -0
- package/types/tectra-ng-utils-plural.d.ts.map +1 -0
- package/types/tectra-ng-utils-polling.d.ts +61 -0
- package/types/tectra-ng-utils-polling.d.ts.map +1 -0
- package/types/tectra-ng-utils-random.d.ts +4 -0
- package/types/tectra-ng-utils-random.d.ts.map +1 -0
- package/types/tectra-ng-utils-relative-time.d.ts +22 -0
- package/types/tectra-ng-utils-relative-time.d.ts.map +1 -0
- package/types/tectra-ng-utils-scroll-end.d.ts +38 -0
- package/types/tectra-ng-utils-scroll-end.d.ts.map +1 -0
- package/types/tectra-ng-utils-selection.d.ts +21 -0
- package/types/tectra-ng-utils-selection.d.ts.map +1 -0
- package/types/tectra-ng-utils-stop-propagation.d.ts +22 -0
- package/types/tectra-ng-utils-stop-propagation.d.ts.map +1 -0
- package/types/tectra-ng-utils-stream.d.ts +3 -0
- package/types/tectra-ng-utils-stream.d.ts.map +1 -0
- package/types/tectra-ng-utils-style-class.d.ts +91 -0
- package/types/tectra-ng-utils-style-class.d.ts.map +1 -0
- package/types/tectra-ng-utils-text.d.ts +26 -0
- package/types/tectra-ng-utils-text.d.ts.map +1 -0
- package/types/tectra-ng-utils-title.d.ts +31 -0
- package/types/tectra-ng-utils-title.d.ts.map +1 -0
- package/types/tectra-ng-utils-validators.d.ts +67 -0
- package/types/tectra-ng-utils-validators.d.ts.map +1 -0
- package/types/tectra-ng-utils.d.ts +2 -0
- package/types/tectra-ng-utils.d.ts.map +1 -0
- package/validators/README.md +42 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Tectra contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,42 @@
|
|
|
1
1
|
# @tectra-ng/utils
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The utilities apps write again and again next to the components: pipes, directives, validators and small services on signals. They are safe for server rendering (no `window`, `document` or timers on the server), take their texts from the tectra locale, and use the kit components where they show something (the copy directive shows a kit toast).
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npm install @tectra-ng/utils
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
Part of `tectra-ng`. One entry point per utility, so you only bundle what you import:
|
|
10
|
+
|
|
11
|
+
| Entry point | What it holds |
|
|
12
|
+
|---|---|
|
|
13
|
+
| `@tectra-ng/utils/date` | `txDate` and `txDateRange` pipes, `provideTxDateFormat`, calendar functions (`addDays`, `startOfWeek`, `calendarDaysBetween` …), format presets and time constants |
|
|
14
|
+
| `@tectra-ng/utils/plural` | `txPluralForm` (`one` / `few` / `many` for translation keys) and `txPlural` pipes in the tectra locale |
|
|
15
|
+
| `@tectra-ng/utils/debounce-input` | `txDebounceInput` — reports a field's value after a pause, at once on Enter |
|
|
16
|
+
| `@tectra-ng/utils/form-validation` | `TxFormValidation.scrollToFirstInvalid`, `txScrollToInvalid` on a form, `markAllTouched` |
|
|
17
|
+
| `@tectra-ng/utils/filter-state` | `txFilterState` — filters in local storage and the URL; `TxUrlFilters` / `TxSaveFilters` base classes; `injectStorage`, `TxMemoryStorage` |
|
|
18
|
+
| `@tectra-ng/utils/http` | `buildHttpParams`, `retryHttpReads` (back-off, `Retry-After`), `txHttpStatusTone` / `txHttpStatusLabel` pipes |
|
|
19
|
+
| `@tectra-ng/utils/relative-time` | `txRelativeTime` — "5 minutes ago", "yesterday", "in 3 days" in the tectra locale |
|
|
20
|
+
| `@tectra-ng/utils/validators` | `TxValidators` — code, date, link, password, match, IP, domain, duplicate, time, JSON, price and more, with translated messages in `tx-field-error` |
|
|
21
|
+
| `@tectra-ng/utils/clipboard` | `txCopy` — copies on click with a kit toast; `TxClipboard`, `copyToClipboard` |
|
|
22
|
+
| `@tectra-ng/utils/polling` | `poll` (until a job is done, back-off, hidden-tab pause), `refreshEvery`, `TxPoller` with signals |
|
|
23
|
+
| `@tectra-ng/utils/clock` | `TxClock` — a shared `now` signal, countdowns as signals, `isInFuture` |
|
|
24
|
+
| `@tectra-ng/utils/go-back` | `txGoBack` — back in history, or a fallback route when the page was opened directly |
|
|
25
|
+
| `@tectra-ng/utils/currency` | `txCurrencySymbol` — the sign, code or name of any ISO currency in the tectra locale |
|
|
26
|
+
| `@tectra-ng/utils/in-view` | `txInView` (enter / leave classes, `entered` / `left`), `txVisibleOnScroll` (items seen in a scrolling list) |
|
|
27
|
+
| `@tectra-ng/utils/file` | `txFileSize`, `formatFileSize`, `downloadFile`, `downloadBlob` |
|
|
28
|
+
| `@tectra-ng/utils/title` | `provideTxTitle` — "Page · App" tab titles, a prefix for counters, translated keys |
|
|
29
|
+
| `@tectra-ng/utils/breakpoint` | `TxBreakpoints` — `isMobile`, `isTablet` and any media query as signals |
|
|
30
|
+
| `@tectra-ng/utils/selection` | `TxSelection` — checked rows by key with header checkbox state |
|
|
31
|
+
| `@tectra-ng/utils/stop-propagation` | `txStopPropagation` — keeps clicks or other events inside an element |
|
|
32
|
+
| `@tectra-ng/utils/filter` | `txSearch`, `txFilterBy`, `filterBySearch`, `filterBy` with the table match modes |
|
|
33
|
+
| `@tectra-ng/utils/text` | `txTruncate` (end or middle), `txCapitalize`, `txHttpPrefix`, `slugify`, `transliterate`, `escapeHtml` |
|
|
34
|
+
| `@tectra-ng/utils/stream` | `readTextStream`, `textChunks` — streamed text as it arrives |
|
|
35
|
+
| `@tectra-ng/utils/drag-scroll` | `txDragScroll` — drag a box to scroll it, or pan a canvas |
|
|
36
|
+
| `@tectra-ng/utils/form-changes` | `trackFormChanges` (`changed` signal, commit, revert), `TxFormChangeTracker` |
|
|
37
|
+
| `@tectra-ng/utils/scroll-end` | `txScrollEnd` — infinite scrolling for a box |
|
|
38
|
+
| `@tectra-ng/utils/random` | `pickRandom`, `pickRandomN`, `shuffle` |
|
|
39
|
+
| `@tectra-ng/utils/auto-focus` | `txAutoFocus` — focus a field or the first field inside after render |
|
|
40
|
+
| `@tectra-ng/utils/style-class` | `txStyleClass` — show, hide or toggle an element by classes with enter / leave animations |
|
|
41
|
+
|
|
42
|
+
Docs and examples: [tectra-ng.com](https://tectra-ng.com/components/date).
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Auto Focus
|
|
2
|
+
|
|
3
|
+
Moves the focus to a field once it is rendered — the first field of a dialog, a search box that opens, a code input. Put it on the field or on a wrapper (a kit field, a form section): the first focusable element inside gets the focus. It waits for the dialog's own focus handling, and does nothing on the server.
|
|
4
|
+
|
|
5
|
+
```html
|
|
6
|
+
<input txInput txAutoFocus aria-label="Search" />
|
|
7
|
+
<tx-input-otp txAutoFocus />
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
## Inputs
|
|
11
|
+
| Name | Description |
|
|
12
|
+
|---|---|
|
|
13
|
+
| txAutoFocus | `false` turns it off, e.g. `[txAutoFocus]="!isMobile()"` |
|
|
14
|
+
| select | Also selects the text of an input |
|
|
15
|
+
|
|
16
|
+
## Methods
|
|
17
|
+
| Name | Description |
|
|
18
|
+
|---|---|
|
|
19
|
+
| focus() | Focuses again (`exportAs: 'txAutoFocus'`) |
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Breakpoint
|
|
2
|
+
|
|
3
|
+
Screen size as signals: `isMobile` (up to 640px) and `isTablet` (up to 768px) — the breakpoints of the kit layouts — and `matches(query)` for any media query. One listener per query for the whole app; `false` on the server.
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
readonly breakpoints = inject(TxBreakpoints);
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
```html
|
|
10
|
+
@if (breakpoints.isMobile()) { <tx-drawer …/> } @else { <aside …></aside> }
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Methods
|
|
14
|
+
| Name | Description |
|
|
15
|
+
|---|---|
|
|
16
|
+
| isMobile | Signal: the viewport is at most 640px wide |
|
|
17
|
+
| isTablet | Signal: the viewport is at most 768px wide |
|
|
18
|
+
| matches(query) | Signal of any media query, e.g. `(prefers-reduced-motion: reduce)`; the same signal for the same query |
|
|
19
|
+
|
|
20
|
+
## Constants
|
|
21
|
+
| Name | Description |
|
|
22
|
+
|---|---|
|
|
23
|
+
| TX_BREAKPOINT_MOBILE / TX_BREAKPOINT_TABLET | `(max-width: 640px)`, `(max-width: 768px)` |
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Clipboard
|
|
2
|
+
|
|
3
|
+
Copies a value on click and says so with a kit toast — "Copied to clipboard" in the tectra locale, your own text, or nothing. Works outside a secure context too (falls back to a hidden selection), and turns a plain element into a keyboard-reachable button. Needs a `<tx-toast />` outlet in the app shell for the message.
|
|
4
|
+
|
|
5
|
+
```html
|
|
6
|
+
<button txButton icon="copy" aria-label="Copy link" [txCopy]="inviteUrl"></button>
|
|
7
|
+
<code [txCopy]="order.id">{{ order.id }}</code>
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
## Inputs
|
|
11
|
+
| Name | Description |
|
|
12
|
+
|---|---|
|
|
13
|
+
| txCopy | The value to copy; nothing happens when it is empty |
|
|
14
|
+
| copyMessage | Toast text after copying; translated "Copied to clipboard" by default, `false` for no toast |
|
|
15
|
+
| copyErrorMessage | Toast text when the browser refuses; translated "Could not copy" by default, `false` for none |
|
|
16
|
+
|
|
17
|
+
## Outputs
|
|
18
|
+
| Name | Description |
|
|
19
|
+
|---|---|
|
|
20
|
+
| copied | The copied text |
|
|
21
|
+
| copyFailed | The text that could not be copied |
|
|
22
|
+
|
|
23
|
+
## Methods
|
|
24
|
+
| Name | Description |
|
|
25
|
+
|---|---|
|
|
26
|
+
| copy() | Copies now (`exportAs: 'txCopy'`); resolves to `true` when it worked |
|
|
27
|
+
| TxClipboard.copy(value, { message?, errorMessage? }) | The same from code, with the same toasts |
|
|
28
|
+
|
|
29
|
+
## Functions
|
|
30
|
+
| Name | Description |
|
|
31
|
+
|---|---|
|
|
32
|
+
| copyToClipboard(text, document?) | Copies without a toast; resolves to `true` or `false` (always `false` on the server) |
|
|
33
|
+
|
|
34
|
+
## Keyboard
|
|
35
|
+
| Key | Action |
|
|
36
|
+
|---|---|
|
|
37
|
+
| Enter / Space | Copies, when the host is not a button or a link already |
|
package/clock/README.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Clock
|
|
2
|
+
|
|
3
|
+
One shared clock for the app: a `now` signal that ticks every second in the browser (no timer on the server, so prerendering stays fast), countdowns to a date as signals, and a check whether a date is still ahead. Everything that reads `now` updates together — times, countdowns, "5 minutes ago".
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
private clock = inject(TxClock);
|
|
7
|
+
|
|
8
|
+
readonly offer = this.clock.countdown(() => this.deal().endsAt, 10 * 60_000);
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
```html
|
|
12
|
+
{{ offer.remainingMs() | txRemainingTime }} <!-- txRemainingTime from @tectra-ng/ui/countdown -->
|
|
13
|
+
{{ comment.createdAt | txRelativeTime: { now: clock.now() } }}
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Methods
|
|
17
|
+
| Name | Description |
|
|
18
|
+
|---|---|
|
|
19
|
+
| now | Signal of `Date.now()`, updated every second in the browser |
|
|
20
|
+
| countdown(target, endingSoonMs?) | Signals `remainingMs`, `isExpired` (the target passed) and `isEndingSoon` (less than `endingSoonMs` left) for a date or a signal of one |
|
|
21
|
+
| isInFuture(value) | The date is later than `now()` |
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Currency
|
|
2
|
+
|
|
3
|
+
The sign of any ISO 4217 currency — `$`, `€`, `₴`, `¥`, `zł` — from the browser's `Intl` data in the tectra locale, the short code, or its name. An unknown code comes back as it is.
|
|
4
|
+
|
|
5
|
+
```html
|
|
6
|
+
<span>{{ price.amount }} {{ price.currency | txCurrencySymbol }}</span>
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## Pipes
|
|
10
|
+
| Name | Description |
|
|
11
|
+
|---|---|
|
|
12
|
+
| txCurrencySymbol: display?, locale? | `narrowSymbol` (default: `$`, `₴`), `symbol` (`CA$`, `UAH` in some locales), `code` or `name` ("Ukrainian Hryvnia"); follows the tectra locale |
|
|
13
|
+
|
|
14
|
+
## Functions
|
|
15
|
+
| Name | Description |
|
|
16
|
+
|---|---|
|
|
17
|
+
| currencySymbol(code, locale?, display?) | The function behind the pipe; `en-US` and `narrowSymbol` by default; cached |
|
package/date/README.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Date
|
|
2
|
+
|
|
3
|
+
Dates in templates and code: the `txDate` pipe formats with Angular date patterns and shows `-` instead of an error for an empty or broken value; small calendar functions work on copies and count calendar days, not 24-hour blocks, so daylight saving time does not shift them.
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
import { TxDatePipe, TX_DATE_FORMATS, addDays, toIsoRange } from '@tectra-ng/utils/date';
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
```html
|
|
10
|
+
{{ order.createdAt | txDate: TX_DATE_FORMATS.dateTime }} <!-- 11.11.26 09:05 -->
|
|
11
|
+
{{ order.paidAt | txDate }} <!-- Nov 11, 2026, or - when empty -->
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Pipes
|
|
15
|
+
| Name | Description |
|
|
16
|
+
|---|---|
|
|
17
|
+
| txDate: format?, timezone?, locale? | Formats a `Date`, ISO string or timestamp with an Angular date pattern (`'dd.MM.yyyy'`, `'mediumDate'`, `'shortTime'` …); the empty text for `null`, `''` or an invalid date |
|
|
18
|
+
| txDateRange | `[start, end]` of a range datepicker → `{ start, end }` ISO strings, or `null` until both ends are picked |
|
|
19
|
+
|
|
20
|
+
## Providers
|
|
21
|
+
| Name | Description |
|
|
22
|
+
|---|---|
|
|
23
|
+
| provideTxDateFormat(config) | App or component defaults of `txDate`: `format` (`'mediumDate'`), `empty` (`'-'`), `locale` (`'en-US'`; register the data of any other Angular locale), `timezone` |
|
|
24
|
+
|
|
25
|
+
## Functions
|
|
26
|
+
| Name | Description |
|
|
27
|
+
|---|---|
|
|
28
|
+
| toDate(value) | A new `Date` from a `Date`, string or number; `null` when empty or invalid |
|
|
29
|
+
| isValidDate(value) | `true` when the value is a real date |
|
|
30
|
+
| startOfDay(date) / middleOfDay(date) / endOfDay(date) | 00:00:00.000, 12:00 or 23:59:59.999 of the same day |
|
|
31
|
+
| addDays(date, days) | Calendar days forward or back; the time of day stays |
|
|
32
|
+
| addMonths(date, months) | Months forward or back; Jan 31 + 1 month → Feb 28 (29) |
|
|
33
|
+
| addYears(date, years) | Years forward or back; Feb 29 → Feb 28 |
|
|
34
|
+
| startOfWeek(date, firstDayOfWeek?) | Midnight of the first day of its week; Monday (`1`) by default, `0` for Sunday |
|
|
35
|
+
| calendarDaysBetween(from, to) | Whole calendar days from one date to another, negative when `to` is earlier |
|
|
36
|
+
| isSameDay(a, b) | Both values fall on the same calendar day |
|
|
37
|
+
| toIsoDay(date) | `yyyy-MM-dd` in local time |
|
|
38
|
+
| toIsoString(value) | ISO string of a date; a string is returned as it is; `undefined` when empty |
|
|
39
|
+
| toIsoRange(range) | The function behind `txDateRange` |
|
|
40
|
+
| isExpiringWithin(date, periodMs?, now?) | The date is past or comes within the period (a week by default) |
|
|
41
|
+
|
|
42
|
+
## Constants
|
|
43
|
+
| Name | Description |
|
|
44
|
+
|---|---|
|
|
45
|
+
| TX_DATE_FORMATS | Patterns: `dateTime` `dd.MM.yy HH:mm`, `date` `dd.MM.yyyy`, `time` `HH:mm:ss`, `timeShort` `HH:mm`, `isoDay` `yyyy-MM-dd`, `isoMonth` `yyyy-MM`, `day` `dd`, `dayMonth` `dd.MM` |
|
|
46
|
+
| MS_IN_SECOND … MS_IN_WEEK | `MS_IN_SECOND`, `MS_IN_MINUTE`, `MS_IN_HOUR`, `MS_IN_DAY`, `MS_IN_WEEK`, `SECONDS_IN_MINUTE`, `SECONDS_IN_HOUR`, `SECONDS_IN_DAY`, `MINUTES_IN_HOUR`, `HOURS_IN_DAY`, `DAYS_IN_WEEK`, `MONTHS_IN_YEAR` |
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Debounce Input
|
|
2
|
+
|
|
3
|
+
Waits until the user stops typing before it reports the value — search fields, filters, live validation. Put it on an input, a textarea or any element with a field inside (`tx-icon-field`, a kit field): it listens to the `input` events that bubble up. Enter reports at once.
|
|
4
|
+
|
|
5
|
+
```html
|
|
6
|
+
<input txInput txDebounceInput [debounceTime]="400" (debounceValue)="search($event)" aria-label="Search" />
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## Inputs
|
|
10
|
+
| Name | Description |
|
|
11
|
+
|---|---|
|
|
12
|
+
| debounceTime | Pause in ms after the last keystroke |
|
|
13
|
+
| distinct | Skips a value equal to the last reported one (Enter still reports) |
|
|
14
|
+
| minLength | Reports only from this many characters; an emptied field is always reported |
|
|
15
|
+
|
|
16
|
+
## Outputs
|
|
17
|
+
| Name | Description |
|
|
18
|
+
|---|---|
|
|
19
|
+
| debounceInput | The last `input` event (or the Enter `keydown`) after the pause |
|
|
20
|
+
| debounceValue | The text of the field after the pause |
|
|
21
|
+
|
|
22
|
+
## Methods
|
|
23
|
+
| Name | Description |
|
|
24
|
+
|---|---|
|
|
25
|
+
| flush() | Reports the pending value now (`exportAs: 'txDebounceInput'`) |
|
|
26
|
+
| cancel() | Drops the pending value |
|
|
27
|
+
|
|
28
|
+
## Keyboard
|
|
29
|
+
| Key | Action |
|
|
30
|
+
|---|---|
|
|
31
|
+
| Enter | Reports the current value at once |
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Drag Scroll
|
|
2
|
+
|
|
3
|
+
Scroll a wide or tall box by dragging it with the mouse — boards, timelines, wide tables, image strips. Buttons, links, fields and anything marked `data-drag-ignore` stay clickable; a click right after a drag is swallowed so a card does not open by accident. Touch keeps its native scrolling. In pan mode it reports the movement instead, for a canvas you move yourself.
|
|
4
|
+
|
|
5
|
+
```html
|
|
6
|
+
<div class="board" txDragScroll>…columns…</div>
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## Inputs
|
|
10
|
+
| Name | Description |
|
|
11
|
+
|---|---|
|
|
12
|
+
| panMode | Report `panMove` instead of scrolling the box |
|
|
13
|
+
| disabled | Turns dragging off |
|
|
14
|
+
|
|
15
|
+
## Outputs
|
|
16
|
+
| Name | Description |
|
|
17
|
+
|---|---|
|
|
18
|
+
| panMove | `{ dx, dy }` since the last move, in pan mode |
|
|
19
|
+
| dragStart | A drag began (after 4px of movement) |
|
|
20
|
+
| dragEnd | The drag ended |
|
|
21
|
+
|
|
22
|
+
## Methods
|
|
23
|
+
| Name | Description |
|
|
24
|
+
|---|---|
|
|
25
|
+
| isDragging | Signal (`exportAs: 'txDragScroll'`); the host also gets `tx-drag-scroll--dragging` |
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { DestroyRef, Directive, ElementRef, afterNextRender, booleanAttribute, inject, input } from "@angular/core";
|
|
3
|
+
const FOCUSABLE = "input:not([type=\"hidden\"]):not([disabled]), textarea:not([disabled]), select:not([disabled]), [contenteditable=\"true\"], [tabindex]:not([tabindex=\"-1\"]), button:not([disabled]), a[href]";
|
|
4
|
+
function toEnabled(value) {
|
|
5
|
+
return value === "" || booleanAttribute(value);
|
|
6
|
+
}
|
|
7
|
+
var TxAutoFocus = class TxAutoFocus {
|
|
8
|
+
host = inject(ElementRef).nativeElement;
|
|
9
|
+
enabled = input(true, {
|
|
10
|
+
...ngDevMode ? { debugName: "enabled" } : /* istanbul ignore next */ {},
|
|
11
|
+
alias: "txAutoFocus",
|
|
12
|
+
transform: toEnabled
|
|
13
|
+
});
|
|
14
|
+
select = input(false, {
|
|
15
|
+
...ngDevMode ? { debugName: "select" } : /* istanbul ignore next */ {},
|
|
16
|
+
transform: booleanAttribute
|
|
17
|
+
});
|
|
18
|
+
constructor() {
|
|
19
|
+
const destroyRef = inject(DestroyRef);
|
|
20
|
+
afterNextRender(() => {
|
|
21
|
+
if (!this.enabled()) return;
|
|
22
|
+
const timer = setTimeout(() => this.focus());
|
|
23
|
+
destroyRef.onDestroy(() => clearTimeout(timer));
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
focus() {
|
|
27
|
+
const target = this.host.matches(FOCUSABLE) ? this.host : this.host.querySelector(FOCUSABLE);
|
|
28
|
+
if (!target) return;
|
|
29
|
+
target.focus({ preventScroll: false });
|
|
30
|
+
if (this.select() && (target instanceof HTMLInputElement || target instanceof HTMLTextAreaElement)) target.select();
|
|
31
|
+
}
|
|
32
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
33
|
+
minVersion: "12.0.0",
|
|
34
|
+
version: "22.2.3",
|
|
35
|
+
ngImport: i0,
|
|
36
|
+
type: TxAutoFocus,
|
|
37
|
+
deps: [],
|
|
38
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
39
|
+
});
|
|
40
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
41
|
+
minVersion: "17.1.0",
|
|
42
|
+
version: "22.2.3",
|
|
43
|
+
type: TxAutoFocus,
|
|
44
|
+
isStandalone: true,
|
|
45
|
+
selector: "[txAutoFocus]",
|
|
46
|
+
inputs: {
|
|
47
|
+
enabled: {
|
|
48
|
+
classPropertyName: "enabled",
|
|
49
|
+
publicName: "txAutoFocus",
|
|
50
|
+
isSignal: true,
|
|
51
|
+
isRequired: false,
|
|
52
|
+
transformFunction: null
|
|
53
|
+
},
|
|
54
|
+
select: {
|
|
55
|
+
classPropertyName: "select",
|
|
56
|
+
publicName: "select",
|
|
57
|
+
isSignal: true,
|
|
58
|
+
isRequired: false,
|
|
59
|
+
transformFunction: null
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
exportAs: ["txAutoFocus"],
|
|
63
|
+
ngImport: i0
|
|
64
|
+
});
|
|
65
|
+
};
|
|
66
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
67
|
+
minVersion: "12.0.0",
|
|
68
|
+
version: "22.2.3",
|
|
69
|
+
ngImport: i0,
|
|
70
|
+
type: TxAutoFocus,
|
|
71
|
+
decorators: [{
|
|
72
|
+
type: Directive,
|
|
73
|
+
args: [{
|
|
74
|
+
selector: "[txAutoFocus]",
|
|
75
|
+
exportAs: "txAutoFocus"
|
|
76
|
+
}]
|
|
77
|
+
}],
|
|
78
|
+
ctorParameters: () => [],
|
|
79
|
+
propDecorators: {
|
|
80
|
+
enabled: [{
|
|
81
|
+
type: i0.Input,
|
|
82
|
+
args: [{
|
|
83
|
+
isSignal: true,
|
|
84
|
+
alias: "txAutoFocus",
|
|
85
|
+
required: false
|
|
86
|
+
}]
|
|
87
|
+
}],
|
|
88
|
+
select: [{
|
|
89
|
+
type: i0.Input,
|
|
90
|
+
args: [{
|
|
91
|
+
isSignal: true,
|
|
92
|
+
alias: "select",
|
|
93
|
+
required: false
|
|
94
|
+
}]
|
|
95
|
+
}]
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
export { TxAutoFocus };
|
|
99
|
+
|
|
100
|
+
//# sourceMappingURL=tectra-ng-utils-auto-focus.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tectra-ng-utils-auto-focus.mjs","names":[],"sources":["../../../../packages/utils/auto-focus/src/auto-focus.directive.ts"],"sourcesContent":["import { DestroyRef, Directive, ElementRef, afterNextRender, booleanAttribute, inject, input } from '@angular/core';\n\nconst FOCUSABLE = 'input:not([type=\"hidden\"]):not([disabled]), textarea:not([disabled]), select:not([disabled]), [contenteditable=\"true\"], [tabindex]:not([tabindex=\"-1\"]), button:not([disabled]), a[href]';\n\nfunction toEnabled(value: unknown): boolean {\n return value === '' || booleanAttribute(value);\n}\n\n@Directive({ selector: '[txAutoFocus]', exportAs: 'txAutoFocus' })\nexport class TxAutoFocus {\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n\n readonly enabled = input<boolean, unknown>(true, { alias: 'txAutoFocus', transform: toEnabled });\n readonly select = input<boolean, unknown>(false, { transform: booleanAttribute });\n\n constructor() {\n const destroyRef = inject(DestroyRef);\n afterNextRender(() => {\n if (!this.enabled()) {\n return;\n }\n const timer = setTimeout(() => this.focus());\n destroyRef.onDestroy(() => clearTimeout(timer));\n });\n }\n\n focus(): void {\n const target = this.host.matches(FOCUSABLE) ? this.host : this.host.querySelector<HTMLElement>(FOCUSABLE);\n if (!target) {\n return;\n }\n target.focus({ preventScroll: false });\n if (this.select() && (target instanceof HTMLInputElement || target instanceof HTMLTextAreaElement)) {\n target.select();\n }\n }\n}\n"],"mappings":";;AAEA,MAAM,YAAY;AAElB,SAAS,UAAU,OAAc;CAC/B,OAAO,UAAU,MAAM,iBAAiB,KAAK;AAC/C;AAGA,IAAa,cAAb,MAAa,YAAW;CACL,OAAO,OAAgC,UAAU,CAAC,CAAC;CAE3D,UAAU,MAAwB,MAAI;EAAA,GAAA,YAAA,EAAA,WAAA,UAAA,+BAAA,CAAA;EAAI,OAAO;EAAe,WAAW;CAAS,CAAA;CACpF,SAAS,MAAwB,OAAK;EAAA,GAAA,YAAA,EAAA,WAAA,SAAA,+BAAA,CAAA;EAAI,WAAW;CAAgB,CAAA;CAE9E,cAAA;EACE,MAAM,aAAa,OAAO,UAAU;EACpC,sBAAqB;GACnB,IAAI,CAAC,KAAK,QAAO,GACf;GAEF,MAAM,QAAQ,iBAAiB,KAAK,MAAK,CAAE;GAC3C,WAAW,gBAAgB,aAAa,KAAK,CAAC;EAChD,CAAC;CACH;CAEA,QAAK;EACH,MAAM,SAAS,KAAK,KAAK,QAAQ,SAAS,IAAI,KAAK,OAAO,KAAK,KAAK,cAA2B,SAAS;EACxG,IAAI,CAAC,QACH;EAEF,OAAO,MAAM,EAAE,eAAe,MAAK,CAAE;EACrC,IAAI,KAAK,OAAM,MAAO,kBAAkB,oBAAoB,kBAAkB,sBAC5E,OAAO,OAAM;CAEjB;CA1BW,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAW,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAX,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAW,cAAA;EAAA,UAAA;EAAA,QAAA;GAAA,SAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;GAAA,QAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;EAAA;EAAA,UAAA,CAAA,aAAA;EAAA,UAAA;CAAA,CAAA;;AAAX,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAW,YAAA,CAAA;EADvB,MAAA;EAAU,MAAA,CAAA;GAAE,UAAU;GAAiB,UAAU;EAAa,CAAE"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { DOCUMENT } from "@angular/common";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { DestroyRef, Injectable, inject, signal } from "@angular/core";
|
|
4
|
+
const TX_BREAKPOINT_MOBILE = "(max-width: 640px)";
|
|
5
|
+
const TX_BREAKPOINT_TABLET = "(max-width: 768px)";
|
|
6
|
+
var TxBreakpoints = class TxBreakpoints {
|
|
7
|
+
view = inject(DOCUMENT).defaultView;
|
|
8
|
+
destroyRef = inject(DestroyRef);
|
|
9
|
+
queries = /* @__PURE__ */ new Map();
|
|
10
|
+
isMobile = this.matches(TX_BREAKPOINT_MOBILE);
|
|
11
|
+
isTablet = this.matches(TX_BREAKPOINT_TABLET);
|
|
12
|
+
matches(query) {
|
|
13
|
+
const known = this.queries.get(query);
|
|
14
|
+
if (known) return known;
|
|
15
|
+
const list = this.view?.matchMedia?.(query);
|
|
16
|
+
const state = signal(list?.matches ?? false, ...ngDevMode ? [{ debugName: "state" }] : /* istanbul ignore next */ []);
|
|
17
|
+
if (list) {
|
|
18
|
+
const listener = (event) => state.set(event.matches);
|
|
19
|
+
list.addEventListener("change", listener);
|
|
20
|
+
this.destroyRef.onDestroy(() => list.removeEventListener("change", listener));
|
|
21
|
+
}
|
|
22
|
+
const readonly = state.asReadonly();
|
|
23
|
+
this.queries.set(query, readonly);
|
|
24
|
+
return readonly;
|
|
25
|
+
}
|
|
26
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
27
|
+
minVersion: "12.0.0",
|
|
28
|
+
version: "22.2.3",
|
|
29
|
+
ngImport: i0,
|
|
30
|
+
type: TxBreakpoints,
|
|
31
|
+
deps: [],
|
|
32
|
+
target: i0.ɵɵFactoryTarget.Injectable
|
|
33
|
+
});
|
|
34
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
35
|
+
minVersion: "12.0.0",
|
|
36
|
+
version: "22.2.3",
|
|
37
|
+
ngImport: i0,
|
|
38
|
+
type: TxBreakpoints,
|
|
39
|
+
providedIn: "root"
|
|
40
|
+
});
|
|
41
|
+
};
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
43
|
+
minVersion: "12.0.0",
|
|
44
|
+
version: "22.2.3",
|
|
45
|
+
ngImport: i0,
|
|
46
|
+
type: TxBreakpoints,
|
|
47
|
+
decorators: [{
|
|
48
|
+
type: Injectable,
|
|
49
|
+
args: [{ providedIn: "root" }]
|
|
50
|
+
}]
|
|
51
|
+
});
|
|
52
|
+
export { TX_BREAKPOINT_MOBILE, TX_BREAKPOINT_TABLET, TxBreakpoints };
|
|
53
|
+
|
|
54
|
+
//# sourceMappingURL=tectra-ng-utils-breakpoint.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tectra-ng-utils-breakpoint.mjs","names":[],"sources":["../../../../packages/utils/breakpoint/src/breakpoints.ts"],"sourcesContent":["import { DOCUMENT } from '@angular/common';\nimport { DestroyRef, Injectable, Signal, inject, signal } from '@angular/core';\n\nexport const TX_BREAKPOINT_MOBILE = '(max-width: 640px)';\nexport const TX_BREAKPOINT_TABLET = '(max-width: 768px)';\n\n@Injectable({ providedIn: 'root' })\nexport class TxBreakpoints {\n private readonly view = inject(DOCUMENT).defaultView;\n private readonly destroyRef = inject(DestroyRef);\n private readonly queries = new Map<string, Signal<boolean>>();\n\n readonly isMobile = this.matches(TX_BREAKPOINT_MOBILE);\n readonly isTablet = this.matches(TX_BREAKPOINT_TABLET);\n\n matches(query: string): Signal<boolean> {\n const known = this.queries.get(query);\n if (known) {\n return known;\n }\n const list = this.view?.matchMedia?.(query);\n const state = signal(list?.matches ?? false);\n if (list) {\n const listener = (event: MediaQueryListEvent) => state.set(event.matches);\n list.addEventListener('change', listener);\n this.destroyRef.onDestroy(() => list.removeEventListener('change', listener));\n }\n const readonly = state.asReadonly();\n this.queries.set(query, readonly);\n return readonly;\n }\n}\n"],"mappings":";;;AAGA,MAAa,uBAAuB;AACpC,MAAa,uBAAuB;AAGpC,IAAa,gBAAb,MAAa,cAAa;CACP,OAAO,OAAO,QAAQ,CAAC,CAAC;CACxB,aAAa,OAAO,UAAU;CAC9B,0BAAU,IAAI,IAAG;CAEzB,WAAW,KAAK,QAAQ,oBAAoB;CAC5C,WAAW,KAAK,QAAQ,oBAAoB;CAErD,QAAQ,OAAa;EACnB,MAAM,QAAQ,KAAK,QAAQ,IAAI,KAAK;EACpC,IAAI,OACF,OAAO;EAET,MAAM,OAAO,KAAK,MAAM,aAAa,KAAK;EAC1C,MAAM,QAAQ,OAAO,MAAM,WAAW,OAAM,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;EAC5C,IAAI,MAAM;GACR,MAAM,YAAY,UAA+B,MAAM,IAAI,MAAM,OAAO;GACxE,KAAK,iBAAiB,UAAU,QAAQ;GACxC,KAAK,WAAW,gBAAgB,KAAK,oBAAoB,UAAU,QAAQ,CAAC;EAC9E;EACA,MAAM,WAAW,MAAM,WAAU;EACjC,KAAK,QAAQ,IAAI,OAAO,QAAQ;EAChC,OAAO;CACT;CAvBW,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAa,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAb,OAAA,QAAA,GAAA,sBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAa,YADA;CAAM,CAAA;;AACnB,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAa,YAAA,CAAA;EADzB,MAAA;EAAW,MAAA,CAAA,EAAE,YAAY,OAAM,CAAE"}
|