@erplora/outfitkit 0.1.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 +457 -0
- package/dist/base/anchor.d.ts +13 -0
- package/dist/base/define.d.ts +1 -0
- package/dist/base/relay.d.ts +1 -0
- package/dist/cdn.d.ts +96 -0
- package/dist/components/ok-app-launcher/ok-app-launcher.d.ts +57 -0
- package/dist/components/ok-audio/ok-audio.d.ts +45 -0
- package/dist/components/ok-avatar/ok-avatar.d.ts +36 -0
- package/dist/components/ok-avatar-group/ok-avatar-group.d.ts +38 -0
- package/dist/components/ok-bar-list/ok-bar-list.d.ts +36 -0
- package/dist/components/ok-bento/ok-bento.d.ts +17 -0
- package/dist/components/ok-bento-item/ok-bento-item.d.ts +34 -0
- package/dist/components/ok-calculator/ok-calculator.d.ts +46 -0
- package/dist/components/ok-calendar/ok-calendar.d.ts +63 -0
- package/dist/components/ok-carousel/ok-carousel.d.ts +48 -0
- package/dist/components/ok-chart/ok-chart.d.ts +55 -0
- package/dist/components/ok-chat/ok-chat.d.ts +54 -0
- package/dist/components/ok-coachmark/ok-coachmark.d.ts +69 -0
- package/dist/components/ok-code/ok-code.d.ts +28 -0
- package/dist/components/ok-color-picker/ok-color-picker.d.ts +63 -0
- package/dist/components/ok-combo/ok-combo.d.ts +46 -0
- package/dist/components/ok-command-palette/ok-command-palette.d.ts +72 -0
- package/dist/components/ok-contact-form/ok-contact-form.d.ts +54 -0
- package/dist/components/ok-cropper/ok-cropper.d.ts +60 -0
- package/dist/components/ok-cta-band/ok-cta-band.d.ts +18 -0
- package/dist/components/ok-currency/ok-currency.d.ts +31 -0
- package/dist/components/ok-data-table/ok-data-table.d.ts +312 -0
- package/dist/components/ok-date-picker/ok-date-picker.d.ts +81 -0
- package/dist/components/ok-detail-list/ok-detail-list.d.ts +30 -0
- package/dist/components/ok-diff/ok-diff.d.ts +38 -0
- package/dist/components/ok-donut/ok-donut.d.ts +38 -0
- package/dist/components/ok-drawer/ok-drawer.d.ts +56 -0
- package/dist/components/ok-dropzone/ok-dropzone.d.ts +48 -0
- package/dist/components/ok-empty-state/ok-empty-state.d.ts +16 -0
- package/dist/components/ok-error-page/ok-error-page.d.ts +77 -0
- package/dist/components/ok-event-card/ok-event-card.d.ts +56 -0
- package/dist/components/ok-feature-card/ok-feature-card.d.ts +23 -0
- package/dist/components/ok-file-item/ok-file-item.d.ts +31 -0
- package/dist/components/ok-file-manager/ok-file-manager.d.ts +145 -0
- package/dist/components/ok-footer/ok-footer.d.ts +10 -0
- package/dist/components/ok-funnel/ok-funnel.d.ts +31 -0
- package/dist/components/ok-gallery/ok-gallery.d.ts +34 -0
- package/dist/components/ok-gauge/ok-gauge.d.ts +49 -0
- package/dist/components/ok-heatmap/ok-heatmap.d.ts +45 -0
- package/dist/components/ok-hero/ok-hero.d.ts +10 -0
- package/dist/components/ok-hover-card/ok-hover-card.d.ts +76 -0
- package/dist/components/ok-icon-tile/ok-icon-tile.d.ts +24 -0
- package/dist/components/ok-image/ok-image.d.ts +56 -0
- package/dist/components/ok-inline-feedback/ok-inline-feedback.d.ts +33 -0
- package/dist/components/ok-invoice/ok-invoice.d.ts +137 -0
- package/dist/components/ok-json-viewer/ok-json-viewer.d.ts +31 -0
- package/dist/components/ok-kanban/ok-kanban.d.ts +56 -0
- package/dist/components/ok-kbd/ok-kbd.d.ts +21 -0
- package/dist/components/ok-keyboard/ok-keyboard.d.ts +35 -0
- package/dist/components/ok-kpi/ok-kpi.d.ts +24 -0
- package/dist/components/ok-language-select/ok-language-select.d.ts +31 -0
- package/dist/components/ok-lightbox/ok-lightbox.d.ts +59 -0
- package/dist/components/ok-logo-cloud/ok-logo-cloud.d.ts +14 -0
- package/dist/components/ok-loyalty-card/ok-loyalty-card.d.ts +35 -0
- package/dist/components/ok-mail/ok-mail.d.ts +117 -0
- package/dist/components/ok-menu/ok-menu.d.ts +75 -0
- package/dist/components/ok-menubar/ok-menubar.d.ts +75 -0
- package/dist/components/ok-navbar/ok-navbar.d.ts +42 -0
- package/dist/components/ok-notification-center/ok-notification-center.d.ts +79 -0
- package/dist/components/ok-org-chart/ok-org-chart.d.ts +67 -0
- package/dist/components/ok-otp/ok-otp.d.ts +31 -0
- package/dist/components/ok-page-header/ok-page-header.d.ts +23 -0
- package/dist/components/ok-pagination/ok-pagination.d.ts +44 -0
- package/dist/components/ok-pdf/ok-pdf.d.ts +32 -0
- package/dist/components/ok-phone/ok-phone.d.ts +48 -0
- package/dist/components/ok-pinpad/ok-pinpad.d.ts +29 -0
- package/dist/components/ok-pricing-card/ok-pricing-card.d.ts +31 -0
- package/dist/components/ok-product-card/ok-product-card.d.ts +25 -0
- package/dist/components/ok-qr/ok-qr.d.ts +24 -0
- package/dist/components/ok-qty-stepper/ok-qty-stepper.d.ts +35 -0
- package/dist/components/ok-range-dual/ok-range-dual.d.ts +38 -0
- package/dist/components/ok-rating/ok-rating.d.ts +33 -0
- package/dist/components/ok-receipt/ok-receipt.d.ts +103 -0
- package/dist/components/ok-reveal/ok-reveal.d.ts +21 -0
- package/dist/components/ok-rich-text/ok-rich-text.d.ts +46 -0
- package/dist/components/ok-scheduler/ok-scheduler.d.ts +74 -0
- package/dist/components/ok-select-card/ok-select-card.d.ts +37 -0
- package/dist/components/ok-signature/ok-signature.d.ts +55 -0
- package/dist/components/ok-skeleton/ok-skeleton.d.ts +40 -0
- package/dist/components/ok-sparkline/ok-sparkline.d.ts +27 -0
- package/dist/components/ok-split-button/ok-split-button.d.ts +49 -0
- package/dist/components/ok-splitter/ok-splitter.d.ts +36 -0
- package/dist/components/ok-stat/ok-stat.d.ts +16 -0
- package/dist/components/ok-status-dot/ok-status-dot.d.ts +24 -0
- package/dist/components/ok-status-pill/ok-status-pill.d.ts +22 -0
- package/dist/components/ok-stepper/ok-stepper.d.ts +33 -0
- package/dist/components/ok-store/ok-store.d.ts +33 -0
- package/dist/components/ok-tag-input/ok-tag-input.d.ts +39 -0
- package/dist/components/ok-testimonial/ok-testimonial.d.ts +21 -0
- package/dist/components/ok-time-picker/ok-time-picker.d.ts +50 -0
- package/dist/components/ok-timeline/ok-timeline.d.ts +33 -0
- package/dist/components/ok-tree/ok-tree.d.ts +46 -0
- package/dist/components/ok-video/ok-video.d.ts +49 -0
- package/dist/components/ok-widget-board/ok-widget-board.d.ts +71 -0
- package/dist/components/ok-wizard/ok-wizard.d.ts +30 -0
- package/dist/define.js +8 -0
- package/dist/erplora.css +112 -0
- package/dist/index.d.ts +158 -0
- package/dist/index.js +197 -0
- package/dist/layout.css +338 -0
- package/dist/ok-app-launcher.js +396 -0
- package/dist/ok-audio.js +308 -0
- package/dist/ok-avatar-group.js +158 -0
- package/dist/ok-avatar.js +179 -0
- package/dist/ok-bar-list.js +189 -0
- package/dist/ok-bento-item.js +168 -0
- package/dist/ok-bento.js +63 -0
- package/dist/ok-calculator.js +406 -0
- package/dist/ok-calendar.js +541 -0
- package/dist/ok-carousel.js +352 -0
- package/dist/ok-chart.js +325 -0
- package/dist/ok-chat.js +320 -0
- package/dist/ok-coachmark.js +500 -0
- package/dist/ok-code.js +190 -0
- package/dist/ok-color-picker.js +569 -0
- package/dist/ok-combo.js +294 -0
- package/dist/ok-command-palette.js +448 -0
- package/dist/ok-contact-form.js +288 -0
- package/dist/ok-cropper.js +404 -0
- package/dist/ok-cta-band.js +134 -0
- package/dist/ok-currency.js +172 -0
- package/dist/ok-data-table.js +1281 -0
- package/dist/ok-date-picker.js +736 -0
- package/dist/ok-detail-list.js +156 -0
- package/dist/ok-diff.js +200 -0
- package/dist/ok-donut.js +280 -0
- package/dist/ok-drawer.js +357 -0
- package/dist/ok-dropzone.js +376 -0
- package/dist/ok-empty-state.js +104 -0
- package/dist/ok-error-page.js +547 -0
- package/dist/ok-event-card.js +384 -0
- package/dist/ok-feature-card.js +152 -0
- package/dist/ok-file-item.js +259 -0
- package/dist/ok-file-manager.js +1116 -0
- package/dist/ok-footer.js +67 -0
- package/dist/ok-funnel.js +181 -0
- package/dist/ok-gallery.js +293 -0
- package/dist/ok-gauge.js +385 -0
- package/dist/ok-heatmap.js +268 -0
- package/dist/ok-hero.js +43 -0
- package/dist/ok-hover-card.js +480 -0
- package/dist/ok-icon-tile.js +123 -0
- package/dist/ok-image.js +471 -0
- package/dist/ok-inline-feedback.js +221 -0
- package/dist/ok-invoice.js +229 -0
- package/dist/ok-json-viewer.js +330 -0
- package/dist/ok-kanban.js +427 -0
- package/dist/ok-kbd.js +159 -0
- package/dist/ok-keyboard.js +402 -0
- package/dist/ok-kpi.js +147 -0
- package/dist/ok-language-select.js +188 -0
- package/dist/ok-lightbox.js +490 -0
- package/dist/ok-logo-cloud.js +92 -0
- package/dist/ok-loyalty-card.js +353 -0
- package/dist/ok-mail.js +562 -0
- package/dist/ok-menu.js +529 -0
- package/dist/ok-menubar.js +628 -0
- package/dist/ok-navbar.js +306 -0
- package/dist/ok-notification-center.js +545 -0
- package/dist/ok-org-chart.js +619 -0
- package/dist/ok-otp.js +199 -0
- package/dist/ok-page-header.js +202 -0
- package/dist/ok-pagination.js +366 -0
- package/dist/ok-pdf.js +160 -0
- package/dist/ok-phone.js +225 -0
- package/dist/ok-pinpad.js +171 -0
- package/dist/ok-pricing-card.js +184 -0
- package/dist/ok-product-card.js +178 -0
- package/dist/ok-qr.js +652 -0
- package/dist/ok-qty-stepper.js +212 -0
- package/dist/ok-range-dual.js +280 -0
- package/dist/ok-rating.js +199 -0
- package/dist/ok-receipt.js +183 -0
- package/dist/ok-reveal.js +94 -0
- package/dist/ok-rich-text.js +538 -0
- package/dist/ok-scheduler.js +518 -0
- package/dist/ok-select-card.js +231 -0
- package/dist/ok-signature.js +267 -0
- package/dist/ok-skeleton.js +345 -0
- package/dist/ok-sparkline.js +150 -0
- package/dist/ok-split-button.js +251 -0
- package/dist/ok-splitter.js +289 -0
- package/dist/ok-stat.js +77 -0
- package/dist/ok-status-dot.js +163 -0
- package/dist/ok-status-pill.js +123 -0
- package/dist/ok-stepper.js +299 -0
- package/dist/ok-store.js +83 -0
- package/dist/ok-tag-input.js +358 -0
- package/dist/ok-testimonial.js +136 -0
- package/dist/ok-time-picker.js +472 -0
- package/dist/ok-timeline.js +251 -0
- package/dist/ok-tree.js +266 -0
- package/dist/ok-video.js +362 -0
- package/dist/ok-widget-board.js +265 -0
- package/dist/ok-wizard.js +153 -0
- package/dist/outfitkit.js +96 -0
- package/dist/shared/anchor.js +14 -0
- package/dist/store/controller.d.ts +17 -0
- package/dist/store/idb.d.ts +16 -0
- package/dist/store/store.d.ts +39 -0
- package/dist/store-controller.js +31 -0
- package/dist/store.js +182 -0
- package/dist/theme.example.css +70 -0
- package/package.json +147 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export interface OkPdfLabels {
|
|
3
|
+
/** Título por defecto en la barra cuando no se pasa `title`. */
|
|
4
|
+
documentTitle: string;
|
|
5
|
+
/** Texto del botón de abrir el PDF. */
|
|
6
|
+
open: string;
|
|
7
|
+
/** aria-label del botón de abrir/descargar. */
|
|
8
|
+
openAria: string;
|
|
9
|
+
/** Texto del fallback cuando el navegador no incrusta el PDF. */
|
|
10
|
+
cannotDisplay: string;
|
|
11
|
+
/** Texto del botón de descarga en el fallback. */
|
|
12
|
+
download: string;
|
|
13
|
+
}
|
|
14
|
+
export declare class OkPdf extends LitElement {
|
|
15
|
+
static styles: import("lit").CSSResult;
|
|
16
|
+
/** URL del PDF a mostrar. */
|
|
17
|
+
src: string;
|
|
18
|
+
/** Título opcional en la barra superior. */
|
|
19
|
+
title: string;
|
|
20
|
+
/** Alto del visor (cualquier unidad CSS válida). */
|
|
21
|
+
height: string;
|
|
22
|
+
/** Textos i18n (parcial; se mezclan sobre los defaults en inglés). */
|
|
23
|
+
labels: Partial<OkPdfLabels>;
|
|
24
|
+
private get t();
|
|
25
|
+
private open;
|
|
26
|
+
render(): unknown;
|
|
27
|
+
}
|
|
28
|
+
declare global {
|
|
29
|
+
interface HTMLElementTagNameMap {
|
|
30
|
+
'ok-pdf': OkPdf;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export interface OkPhoneCountry {
|
|
3
|
+
/** Código ISO 3166-1 alpha-2 (ej. 'ES'). Clave del país. */
|
|
4
|
+
iso: string;
|
|
5
|
+
/** Nombre legible del país. */
|
|
6
|
+
name: string;
|
|
7
|
+
/** Prefijo telefónico internacional con '+' (ej. '+34'). */
|
|
8
|
+
dial: string;
|
|
9
|
+
}
|
|
10
|
+
export interface OkPhoneLabels {
|
|
11
|
+
/** aria-label del selector de país. */
|
|
12
|
+
country: string;
|
|
13
|
+
/** aria-label del input de número. */
|
|
14
|
+
number: string;
|
|
15
|
+
}
|
|
16
|
+
export declare class OkPhone extends LitElement {
|
|
17
|
+
static styles: import("lit").CSSResult;
|
|
18
|
+
private static DEFAULT_COUNTRIES;
|
|
19
|
+
/** Número nacional (sin prefijo). */
|
|
20
|
+
value: string;
|
|
21
|
+
/** ISO2 del país seleccionado. */
|
|
22
|
+
country: string;
|
|
23
|
+
/** Lista de países (si no se pasa, se usa el set por defecto). */
|
|
24
|
+
countries?: OkPhoneCountry[];
|
|
25
|
+
/** Placeholder del input de número. */
|
|
26
|
+
placeholder: string;
|
|
27
|
+
/** Etiqueta opcional sobre el grupo. */
|
|
28
|
+
label?: string;
|
|
29
|
+
/** Textos traducibles (merge sobre los defaults en inglés). */
|
|
30
|
+
labels: Partial<OkPhoneLabels>;
|
|
31
|
+
private get t();
|
|
32
|
+
private number;
|
|
33
|
+
protected willUpdate(changed: Map<string, unknown>): void;
|
|
34
|
+
private get list();
|
|
35
|
+
private get current();
|
|
36
|
+
private onlyDigits;
|
|
37
|
+
private flag;
|
|
38
|
+
private e164;
|
|
39
|
+
private emit;
|
|
40
|
+
private onCountry;
|
|
41
|
+
private onNumber;
|
|
42
|
+
render(): unknown;
|
|
43
|
+
}
|
|
44
|
+
declare global {
|
|
45
|
+
interface HTMLElementTagNameMap {
|
|
46
|
+
'ok-phone': OkPhone;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export interface OkPinpadLabels {
|
|
3
|
+
/** aria-label del grupo de teclas. */
|
|
4
|
+
keypad: string;
|
|
5
|
+
/** aria-label de la tecla de borrado. */
|
|
6
|
+
backspace: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class OkPinpad extends LitElement {
|
|
9
|
+
static styles: import("lit").CSSResult;
|
|
10
|
+
/** Valor actual (string de dígitos). */
|
|
11
|
+
value: string;
|
|
12
|
+
/** Longitud objetivo opcional; al alcanzarla emite `ok-complete`. */
|
|
13
|
+
length?: number;
|
|
14
|
+
/** Enmascara la pantalla con •. */
|
|
15
|
+
masked: boolean;
|
|
16
|
+
/** Textos traducibles (merge sobre los defaults en inglés). */
|
|
17
|
+
labels: Partial<OkPinpadLabels>;
|
|
18
|
+
private get t();
|
|
19
|
+
private press;
|
|
20
|
+
private backspace;
|
|
21
|
+
private emitInput;
|
|
22
|
+
private renderDisplay;
|
|
23
|
+
render(): unknown;
|
|
24
|
+
}
|
|
25
|
+
declare global {
|
|
26
|
+
interface HTMLElementTagNameMap {
|
|
27
|
+
'ok-pinpad': OkPinpad;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export interface OkPricingCardLabels {
|
|
3
|
+
/** Texto por defecto del badge cuando `featured` y no se pasa `badge`. */
|
|
4
|
+
popular: string;
|
|
5
|
+
}
|
|
6
|
+
export declare class OkPricingCard extends LitElement {
|
|
7
|
+
static styles: import("lit").CSSResult;
|
|
8
|
+
/** Nombre del plan. */
|
|
9
|
+
name?: string;
|
|
10
|
+
/** Precio (ya formateado, p.ej. "€49"). */
|
|
11
|
+
price?: string;
|
|
12
|
+
/** Periodo, p.ej. "/ mes". */
|
|
13
|
+
period: string;
|
|
14
|
+
/** Descripción corta. */
|
|
15
|
+
description?: string;
|
|
16
|
+
/** Lista de características (texto). Alternativa: slot default con un <ul>. */
|
|
17
|
+
features: string[];
|
|
18
|
+
/** Plan destacado (borde de marca + badge). */
|
|
19
|
+
featured: boolean;
|
|
20
|
+
/** Texto del badge flotante (def "Popular" si featured y sin texto). */
|
|
21
|
+
badge?: string;
|
|
22
|
+
/** Textos traducibles (merge sobre los defaults en inglés). */
|
|
23
|
+
labels: Partial<OkPricingCardLabels>;
|
|
24
|
+
private get t();
|
|
25
|
+
render(): unknown;
|
|
26
|
+
}
|
|
27
|
+
declare global {
|
|
28
|
+
interface HTMLElementTagNameMap {
|
|
29
|
+
'ok-pricing-card': OkPricingCard;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class OkProductCard extends LitElement {
|
|
3
|
+
static styles: import("lit").CSSResult;
|
|
4
|
+
/** Icono (iconify) o usa slot="icon" para una <img>. */
|
|
5
|
+
icon?: string;
|
|
6
|
+
/** Categoría / unidad funcional. */
|
|
7
|
+
category?: string;
|
|
8
|
+
/** Nombre del producto/módulo. */
|
|
9
|
+
name?: string;
|
|
10
|
+
/** Badge (precio/estado, p.ej. "Premium" o "Incluido"). */
|
|
11
|
+
badge?: string;
|
|
12
|
+
/** Precio mostrado en el pie. */
|
|
13
|
+
price?: string;
|
|
14
|
+
/** Enlace de la tarjeta. */
|
|
15
|
+
href?: string;
|
|
16
|
+
/** "lucide:box" → "https://api.iconify.design/lucide/box.svg". */
|
|
17
|
+
private iconUrl;
|
|
18
|
+
private inner;
|
|
19
|
+
render(): unknown;
|
|
20
|
+
}
|
|
21
|
+
declare global {
|
|
22
|
+
interface HTMLElementTagNameMap {
|
|
23
|
+
'ok-product-card': OkProductCard;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
type EcLevel = 'L' | 'M' | 'Q' | 'H';
|
|
3
|
+
export declare class OkQr extends LitElement {
|
|
4
|
+
static styles: import("lit").CSSResult;
|
|
5
|
+
/** Contenido a codificar (texto/URL). Si vacío, no pinta nada. */
|
|
6
|
+
value: string;
|
|
7
|
+
/** Nivel de corrección de errores. */
|
|
8
|
+
ec: EcLevel;
|
|
9
|
+
/** Lado del SVG en px. */
|
|
10
|
+
size: number;
|
|
11
|
+
/** Color de los módulos (override directo del token). */
|
|
12
|
+
color: string;
|
|
13
|
+
/** Color de fondo (override directo del token). */
|
|
14
|
+
background: string;
|
|
15
|
+
/** Quiet zone en módulos alrededor del símbolo. */
|
|
16
|
+
margin: number;
|
|
17
|
+
render(): unknown;
|
|
18
|
+
}
|
|
19
|
+
declare global {
|
|
20
|
+
interface HTMLElementTagNameMap {
|
|
21
|
+
'ok-qr': OkQr;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export interface OkQtyStepperLabels {
|
|
3
|
+
/** aria-label del botón restar (−). */
|
|
4
|
+
decrement: string;
|
|
5
|
+
/** aria-label del botón sumar (+). */
|
|
6
|
+
increment: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class OkQtyStepper extends LitElement {
|
|
9
|
+
static styles: import("lit").CSSResult;
|
|
10
|
+
/** Valor actual. */
|
|
11
|
+
value: number;
|
|
12
|
+
/** Mínimo permitido. */
|
|
13
|
+
min: number;
|
|
14
|
+
/** Máximo permitido (sin tope si es undefined). */
|
|
15
|
+
max?: number;
|
|
16
|
+
/** Incremento de cada pulsación. */
|
|
17
|
+
step: number;
|
|
18
|
+
/** Deshabilita toda la interacción. */
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
/** Textos traducibles (merge sobre los defaults en inglés). */
|
|
21
|
+
labels: Partial<OkQtyStepperLabels>;
|
|
22
|
+
private get t();
|
|
23
|
+
private clamp;
|
|
24
|
+
private commit;
|
|
25
|
+
private decrement;
|
|
26
|
+
private increment;
|
|
27
|
+
private onInput;
|
|
28
|
+
private onBlur;
|
|
29
|
+
render(): unknown;
|
|
30
|
+
}
|
|
31
|
+
declare global {
|
|
32
|
+
interface HTMLElementTagNameMap {
|
|
33
|
+
'ok-qty-stepper': OkQtyStepper;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
/** Detalle del evento ok-change emitido al mover cualquiera de los dos thumbs. */
|
|
3
|
+
export interface OkRangeDualChangeDetail {
|
|
4
|
+
low: number;
|
|
5
|
+
high: number;
|
|
6
|
+
}
|
|
7
|
+
export declare class OkRangeDual extends LitElement {
|
|
8
|
+
static styles: import("lit").CSSResult;
|
|
9
|
+
/** Etiqueta opcional mostrada a la izquierda del readout. */
|
|
10
|
+
label?: string;
|
|
11
|
+
/** Mínimo del rango. */
|
|
12
|
+
min: number;
|
|
13
|
+
/** Máximo del rango. */
|
|
14
|
+
max: number;
|
|
15
|
+
/** Paso de incremento. */
|
|
16
|
+
step: number;
|
|
17
|
+
/** Valor inferior actual. */
|
|
18
|
+
low: number;
|
|
19
|
+
/** Valor superior actual. */
|
|
20
|
+
high: number;
|
|
21
|
+
/** Prefijo del valor en el readout (p.ej. "€"). */
|
|
22
|
+
prefix: string;
|
|
23
|
+
/** Sufijo del valor en el readout (p.ej. "%", " kg"). */
|
|
24
|
+
suffix: string;
|
|
25
|
+
/** Deshabilita la interacción. */
|
|
26
|
+
disabled: boolean;
|
|
27
|
+
private clamp;
|
|
28
|
+
private onLow;
|
|
29
|
+
private onHigh;
|
|
30
|
+
private emit;
|
|
31
|
+
private fmt;
|
|
32
|
+
render(): unknown;
|
|
33
|
+
}
|
|
34
|
+
declare global {
|
|
35
|
+
interface HTMLElementTagNameMap {
|
|
36
|
+
'ok-range-dual': OkRangeDual;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export interface OkRatingLabels {
|
|
3
|
+
/** aria-label de cada estrella / del grupo. Recibe el valor y el máximo. */
|
|
4
|
+
starLabel: (value: number, max: number) => string;
|
|
5
|
+
}
|
|
6
|
+
export declare class OkRating extends LitElement {
|
|
7
|
+
static styles: import("lit").CSSResult;
|
|
8
|
+
/** Valor actual de la valoración. */
|
|
9
|
+
value: number;
|
|
10
|
+
/** Número total de estrellas. */
|
|
11
|
+
max: number;
|
|
12
|
+
/** Solo lectura: sin hover ni interacción. */
|
|
13
|
+
readonly: boolean;
|
|
14
|
+
/** Permite seleccionar medias estrellas. */
|
|
15
|
+
allowHalf: boolean;
|
|
16
|
+
/** Textos traducibles (merge sobre los defaults en inglés). */
|
|
17
|
+
labels: Partial<OkRatingLabels>;
|
|
18
|
+
private get t();
|
|
19
|
+
private hoverValue;
|
|
20
|
+
private get displayValue();
|
|
21
|
+
private setValue;
|
|
22
|
+
private onEnter;
|
|
23
|
+
private onLeave;
|
|
24
|
+
private iconFor;
|
|
25
|
+
private renderHalfStar;
|
|
26
|
+
private renderFullStar;
|
|
27
|
+
render(): unknown;
|
|
28
|
+
}
|
|
29
|
+
declare global {
|
|
30
|
+
interface HTMLElementTagNameMap {
|
|
31
|
+
'ok-rating': OkRating;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import '../ok-qr/ok-qr.js';
|
|
3
|
+
/** Cabecera del negocio (lo que va arriba del tiquet). */
|
|
4
|
+
export interface ReceiptBusiness {
|
|
5
|
+
name: string;
|
|
6
|
+
address?: string;
|
|
7
|
+
/** NIF / CIF. */
|
|
8
|
+
tax_id?: string;
|
|
9
|
+
phone?: string;
|
|
10
|
+
/** URL del logo (opcional; alternativamente usa el slot `logo`). */
|
|
11
|
+
logo_url?: string;
|
|
12
|
+
}
|
|
13
|
+
/** Una línea de venta. */
|
|
14
|
+
export interface ReceiptLine {
|
|
15
|
+
name: string;
|
|
16
|
+
qty: number;
|
|
17
|
+
unit_price: number;
|
|
18
|
+
total: number;
|
|
19
|
+
/** Nota/observación bajo la línea (opcional). */
|
|
20
|
+
note?: string;
|
|
21
|
+
}
|
|
22
|
+
/** Desglose de un impuesto (p.ej. IVA 21%). */
|
|
23
|
+
export interface ReceiptTax {
|
|
24
|
+
label: string;
|
|
25
|
+
base: number;
|
|
26
|
+
amount: number;
|
|
27
|
+
}
|
|
28
|
+
/** Datos del cobro. */
|
|
29
|
+
export interface ReceiptPayment {
|
|
30
|
+
method: string;
|
|
31
|
+
paid?: number;
|
|
32
|
+
change?: number;
|
|
33
|
+
}
|
|
34
|
+
export interface OkReceiptLabels {
|
|
35
|
+
/** Mensaje cuando no hay datos de tiquet. */
|
|
36
|
+
empty: string;
|
|
37
|
+
/** Prefijo del teléfono del negocio (p.ej. 'Tel.'). */
|
|
38
|
+
phone: string;
|
|
39
|
+
/** Etiqueta del nº de tiquet. */
|
|
40
|
+
receipt: string;
|
|
41
|
+
/** Etiqueta de quien atiende (cajero/a). */
|
|
42
|
+
servedBy: string;
|
|
43
|
+
/** Etiqueta del cliente. */
|
|
44
|
+
customer: string;
|
|
45
|
+
/** Cabecera de columna: concepto/artículo. */
|
|
46
|
+
item: string;
|
|
47
|
+
/** Cabecera de columna: importe. */
|
|
48
|
+
amount: string;
|
|
49
|
+
/** Mensaje cuando no hay líneas. */
|
|
50
|
+
noLines: string;
|
|
51
|
+
/** Etiqueta del subtotal. */
|
|
52
|
+
subtotal: string;
|
|
53
|
+
/** Etiqueta del total. */
|
|
54
|
+
total: string;
|
|
55
|
+
/** Etiqueta del cambio devuelto. */
|
|
56
|
+
change: string;
|
|
57
|
+
}
|
|
58
|
+
/** JSON completo del tiquet. */
|
|
59
|
+
export interface ReceiptData {
|
|
60
|
+
business: ReceiptBusiness;
|
|
61
|
+
/** Nº de tiquet/ticket. */
|
|
62
|
+
number: string;
|
|
63
|
+
/** Fecha/hora ya formateada o ISO (se muestra tal cual si es string legible). */
|
|
64
|
+
datetime?: string;
|
|
65
|
+
cashier?: string;
|
|
66
|
+
customer?: string;
|
|
67
|
+
lines: ReceiptLine[];
|
|
68
|
+
subtotal?: number;
|
|
69
|
+
taxes?: ReceiptTax[];
|
|
70
|
+
total: number;
|
|
71
|
+
payment?: ReceiptPayment;
|
|
72
|
+
/** Símbolo de moneda (def. '€'). */
|
|
73
|
+
currency?: string;
|
|
74
|
+
/** Mensaje de pie (gracias / leyenda legal). */
|
|
75
|
+
footer?: string;
|
|
76
|
+
/** Payload del QR (VeriFactu / URL de verificación). Si vacío, no se pinta QR. */
|
|
77
|
+
qr?: string;
|
|
78
|
+
/** Leyenda bajo el QR. */
|
|
79
|
+
qr_note?: string;
|
|
80
|
+
}
|
|
81
|
+
export declare class OkReceipt extends LitElement {
|
|
82
|
+
static styles: import("lit").CSSResult;
|
|
83
|
+
/** JSON del tiquet a renderizar. */
|
|
84
|
+
receipt?: ReceiptData;
|
|
85
|
+
/** Tamaño del QR en px (lado). */
|
|
86
|
+
qrSize: number;
|
|
87
|
+
/** Textos traducibles (merge sobre los defaults en inglés). */
|
|
88
|
+
labels: Partial<OkReceiptLabels>;
|
|
89
|
+
private get t();
|
|
90
|
+
private cur;
|
|
91
|
+
private money;
|
|
92
|
+
render(): import("lit").TemplateResult<1>;
|
|
93
|
+
private renderHeader;
|
|
94
|
+
private renderMeta;
|
|
95
|
+
private renderLines;
|
|
96
|
+
private renderTotals;
|
|
97
|
+
private renderQr;
|
|
98
|
+
}
|
|
99
|
+
declare global {
|
|
100
|
+
interface HTMLElementTagNameMap {
|
|
101
|
+
'ok-receipt': OkReceipt;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
type RevealVariant = 'up' | 'fade' | 'scale' | 'left' | 'right';
|
|
3
|
+
export declare class OkReveal extends LitElement {
|
|
4
|
+
static styles: import("lit").CSSResult;
|
|
5
|
+
/** Variante de entrada. */
|
|
6
|
+
variant: RevealVariant;
|
|
7
|
+
/** Retardo en ms (para escalonar). */
|
|
8
|
+
delay: number;
|
|
9
|
+
/** Revelar solo una vez (def true). */
|
|
10
|
+
once: boolean;
|
|
11
|
+
private _io?;
|
|
12
|
+
connectedCallback(): void;
|
|
13
|
+
disconnectedCallback(): void;
|
|
14
|
+
render(): unknown;
|
|
15
|
+
}
|
|
16
|
+
declare global {
|
|
17
|
+
interface HTMLElementTagNameMap {
|
|
18
|
+
'ok-reveal': OkReveal;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
/** Tamaño del editor. `minimal` = sin toolbar/footer, edición inline. */
|
|
3
|
+
export type OkRichTextSize = 'sm' | 'md' | 'lg' | 'minimal';
|
|
4
|
+
export declare class OkRichText extends LitElement {
|
|
5
|
+
static styles: import("lit").CSSResult;
|
|
6
|
+
/** Contenido HTML del editor. */
|
|
7
|
+
value: string;
|
|
8
|
+
/** Placeholder cuando el área está vacía. */
|
|
9
|
+
placeholder: string;
|
|
10
|
+
/** Tamaño / modo. `minimal` oculta toolbar y footer. */
|
|
11
|
+
size: OkRichTextSize;
|
|
12
|
+
/** Muestra la toolbar de formato (ignorado en minimal). */
|
|
13
|
+
toolbar: boolean;
|
|
14
|
+
/** Muestra el footer con contador de palabras (ignorado en minimal). */
|
|
15
|
+
footer: boolean;
|
|
16
|
+
private focused;
|
|
17
|
+
private activeFmts;
|
|
18
|
+
private activeBlock;
|
|
19
|
+
private words;
|
|
20
|
+
private contentEl?;
|
|
21
|
+
private syncingFromInput;
|
|
22
|
+
private static readonly icons;
|
|
23
|
+
private get inlineButtons();
|
|
24
|
+
private get listButtons();
|
|
25
|
+
protected firstUpdated(): void;
|
|
26
|
+
protected updated(changed: Map<string, unknown>): void;
|
|
27
|
+
private renderValueIntoDom;
|
|
28
|
+
private recountWords;
|
|
29
|
+
private refreshActiveState;
|
|
30
|
+
private exec;
|
|
31
|
+
private onHeadingChange;
|
|
32
|
+
private onLink;
|
|
33
|
+
private onInput;
|
|
34
|
+
private onFocus;
|
|
35
|
+
private onBlur;
|
|
36
|
+
private onSelect;
|
|
37
|
+
private toolBtn;
|
|
38
|
+
private renderToolbar;
|
|
39
|
+
private renderFooter;
|
|
40
|
+
render(): unknown;
|
|
41
|
+
}
|
|
42
|
+
declare global {
|
|
43
|
+
interface HTMLElementTagNameMap {
|
|
44
|
+
'ok-rich-text': OkRichText;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export interface OkSchedulerResource {
|
|
3
|
+
/** Identificador único del recurso (clave para asociar eventos). */
|
|
4
|
+
id: string;
|
|
5
|
+
/** Texto visible del recurso (columna izquierda sticky). */
|
|
6
|
+
label: string;
|
|
7
|
+
/** URL opcional de avatar/imagen mostrada antes del label. */
|
|
8
|
+
avatar?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface OkSchedulerEvent {
|
|
11
|
+
/** Identificador único del evento. */
|
|
12
|
+
id: string;
|
|
13
|
+
/** Id del recurso (fila) al que pertenece el evento. */
|
|
14
|
+
resourceId: string;
|
|
15
|
+
/** Hora de inicio: ISO (`...THH:MM`) o `HH:MM`. Se usa solo la hora local. */
|
|
16
|
+
start: string;
|
|
17
|
+
/** Hora de fin: ISO o `HH:MM`. */
|
|
18
|
+
end: string;
|
|
19
|
+
/** Texto visible dentro del bloque. */
|
|
20
|
+
title: string;
|
|
21
|
+
/** Color del bloque; cadena CSS (hex, var, etc.). Por defecto, el primario. */
|
|
22
|
+
color?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface OkSchedulerLabels {
|
|
25
|
+
/** aria-label del botón "día anterior". */
|
|
26
|
+
prevDay: string;
|
|
27
|
+
/** aria-label del botón "día siguiente". */
|
|
28
|
+
nextDay: string;
|
|
29
|
+
/** Texto cuando no hay recursos que mostrar. */
|
|
30
|
+
empty: string;
|
|
31
|
+
}
|
|
32
|
+
export declare class OkScheduler extends LitElement {
|
|
33
|
+
static styles: import("lit").CSSResult;
|
|
34
|
+
/** Recursos (filas); el consumidor los pasa por propiedad. */
|
|
35
|
+
resources: OkSchedulerResource[];
|
|
36
|
+
/** Eventos/turnos; el consumidor los pasa por propiedad. */
|
|
37
|
+
events: OkSchedulerEvent[];
|
|
38
|
+
/** Día mostrado (`YYYY-MM-DD`). Vacío = hoy. */
|
|
39
|
+
date: string;
|
|
40
|
+
/** Primera hora visible de la franja (0–23). */
|
|
41
|
+
startHour: number;
|
|
42
|
+
/** Última hora visible de la franja (1–24). */
|
|
43
|
+
endHour: number;
|
|
44
|
+
/** Minutos por celda/columna. (attr `slot-minutes`: `slot` colisiona con HTMLElement.slot.) */
|
|
45
|
+
slotMin: number;
|
|
46
|
+
/** Locale BCP-47 para formatear la fecha del día (Intl). Default 'en-US'. */
|
|
47
|
+
locale: string;
|
|
48
|
+
/** Textos humanos sobreescribibles (i18n). Default INGLÉS. */
|
|
49
|
+
labels: Partial<OkSchedulerLabels>;
|
|
50
|
+
/** Textos efectivos: defaults INGLÉS mezclados con los del consumidor. */
|
|
51
|
+
private get t();
|
|
52
|
+
private cursor;
|
|
53
|
+
private seeded;
|
|
54
|
+
private dayKey;
|
|
55
|
+
private parseDay;
|
|
56
|
+
private minutesOf;
|
|
57
|
+
private fmtTime;
|
|
58
|
+
private get rangeMinutes();
|
|
59
|
+
private get slotCount();
|
|
60
|
+
private navDay;
|
|
61
|
+
private clickEvent;
|
|
62
|
+
private clickSlot;
|
|
63
|
+
private dayLabel;
|
|
64
|
+
private initials;
|
|
65
|
+
private renderTimelineHead;
|
|
66
|
+
private renderLane;
|
|
67
|
+
private renderRow;
|
|
68
|
+
render(): unknown;
|
|
69
|
+
}
|
|
70
|
+
declare global {
|
|
71
|
+
interface HTMLElementTagNameMap {
|
|
72
|
+
'ok-scheduler': OkScheduler;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export interface OkSelectCardChangeDetail {
|
|
3
|
+
/** Si la tarjeta queda marcada tras el cambio. */
|
|
4
|
+
checked: boolean;
|
|
5
|
+
/** Valor asociado a la tarjeta. */
|
|
6
|
+
value: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class OkSelectCard extends LitElement {
|
|
9
|
+
static styles: import("lit").CSSResult;
|
|
10
|
+
/** Tipo de control: 'checkbox' (independiente) o 'radio' (exclusivo por grupo). */
|
|
11
|
+
mode: 'checkbox' | 'radio';
|
|
12
|
+
/** Nombre del grupo de radios (necesario para exclusión mutua en modo radio). */
|
|
13
|
+
name?: string;
|
|
14
|
+
/** Valor asociado a la tarjeta (se emite en ok-change). */
|
|
15
|
+
value: string;
|
|
16
|
+
/** Si la tarjeta está marcada. */
|
|
17
|
+
checked: boolean;
|
|
18
|
+
/** Deshabilita la interacción. */
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
/** Título principal de la tarjeta. */
|
|
21
|
+
label?: string;
|
|
22
|
+
/** Texto secundario opcional (muted) bajo el label. */
|
|
23
|
+
description?: string;
|
|
24
|
+
/** Nombre de icono Iconify/Ionicons opcional a la izquierda. */
|
|
25
|
+
icon?: string;
|
|
26
|
+
private onToggle;
|
|
27
|
+
/** Desmarca el resto de ok-select-card del mismo name (grupo radio). */
|
|
28
|
+
private uncheckSiblings;
|
|
29
|
+
private emitChange;
|
|
30
|
+
private onKeydown;
|
|
31
|
+
render(): unknown;
|
|
32
|
+
}
|
|
33
|
+
declare global {
|
|
34
|
+
interface HTMLElementTagNameMap {
|
|
35
|
+
'ok-select-card': OkSelectCard;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export interface OkSignatureLabels {
|
|
3
|
+
/** Texto del botón de limpiar el lienzo. */
|
|
4
|
+
clear: string;
|
|
5
|
+
/** Texto del botón de exportar la firma. */
|
|
6
|
+
export: string;
|
|
7
|
+
/** Nombre de fichero al descargar la firma exportada. */
|
|
8
|
+
exportFilename: string;
|
|
9
|
+
}
|
|
10
|
+
export declare class OkSignature extends LitElement {
|
|
11
|
+
static styles: import("lit").CSSResult;
|
|
12
|
+
/** Color del trazo. */
|
|
13
|
+
penColor: string;
|
|
14
|
+
/** Grosor del trazo en px. */
|
|
15
|
+
lineWidth: number;
|
|
16
|
+
/** Color de fondo del lienzo (vacío = transparente). */
|
|
17
|
+
background: string;
|
|
18
|
+
/** Altura del pad en px. */
|
|
19
|
+
height: number;
|
|
20
|
+
/** Muestra el botón de exportar. */
|
|
21
|
+
showExport: boolean;
|
|
22
|
+
/** Textos i18n (parcial; se mezclan sobre los defaults en inglés). */
|
|
23
|
+
labels: Partial<OkSignatureLabels>;
|
|
24
|
+
private get t();
|
|
25
|
+
private canvas;
|
|
26
|
+
private ctx;
|
|
27
|
+
private drawing;
|
|
28
|
+
private lastX;
|
|
29
|
+
private lastY;
|
|
30
|
+
private hasInk;
|
|
31
|
+
private ro?;
|
|
32
|
+
firstUpdated(): void;
|
|
33
|
+
updated(changed: Map<string, unknown>): void;
|
|
34
|
+
disconnectedCallback(): void;
|
|
35
|
+
private setupCanvas;
|
|
36
|
+
private paintBackground;
|
|
37
|
+
private applyStroke;
|
|
38
|
+
private pos;
|
|
39
|
+
private onPointerDown;
|
|
40
|
+
private onPointerMove;
|
|
41
|
+
private onPointerUp;
|
|
42
|
+
/** Limpia el lienzo y emite `ok-clear`. */
|
|
43
|
+
clear(): void;
|
|
44
|
+
/** Devuelve la firma como data URL (def 'image/png'). */
|
|
45
|
+
toDataURL(type?: string): string;
|
|
46
|
+
/** True si no se ha dibujado nada todavía. */
|
|
47
|
+
isEmpty(): boolean;
|
|
48
|
+
render(): unknown;
|
|
49
|
+
private onExport;
|
|
50
|
+
}
|
|
51
|
+
declare global {
|
|
52
|
+
interface HTMLElementTagNameMap {
|
|
53
|
+
'ok-signature': OkSignature;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export type OkSkeletonVariant = 'text' | 'title' | 'circle' | 'avatar' | 'button' | 'chip' | 'card' | 'row';
|
|
3
|
+
export type OkSkeletonPreset = 'none' | 'card' | 'table' | 'chart';
|
|
4
|
+
export declare class OkSkeleton extends LitElement {
|
|
5
|
+
static styles: import("lit").CSSResult;
|
|
6
|
+
/** Variante de forma del bloque individual. */
|
|
7
|
+
variant: OkSkeletonVariant;
|
|
8
|
+
/** Nº de líneas apiladas (solo aplica a variant="text"/"title"; >1 activa el stack). */
|
|
9
|
+
lines: number;
|
|
10
|
+
/** Ancho CSS explícito (override de la variante), p.ej. "120px" o "40%". */
|
|
11
|
+
width?: string;
|
|
12
|
+
/** Alto CSS explícito (override de la variante). */
|
|
13
|
+
height?: string;
|
|
14
|
+
/** Radio de borde CSS explícito (override de la variante). */
|
|
15
|
+
radius?: string;
|
|
16
|
+
/** Preset compuesto: scaffold de placeholder. */
|
|
17
|
+
preset: OkSkeletonPreset;
|
|
18
|
+
/** Nº de filas del preset table (incluye la cabecera). */
|
|
19
|
+
rows: number;
|
|
20
|
+
/** Nº de columnas del preset table / nº de barras del preset chart. */
|
|
21
|
+
cols: number;
|
|
22
|
+
/** Estilos inline (width/height/radius) aplicados al bloque. */
|
|
23
|
+
private blockStyle;
|
|
24
|
+
/** Bloque base con la clase de variante. */
|
|
25
|
+
private renderBlock;
|
|
26
|
+
/** Stack de líneas con anchos decrecientes (la 1ª al 100%). */
|
|
27
|
+
private renderStack;
|
|
28
|
+
/** Preset card: avatar + dos líneas de meta + bloque de cuerpo + acciones. */
|
|
29
|
+
private renderPresetCard;
|
|
30
|
+
/** Preset table: replica la rejilla de ok-data-table (cabecera + filas). */
|
|
31
|
+
private renderPresetTable;
|
|
32
|
+
/** Preset chart: barras con alturas pseudo-variadas. */
|
|
33
|
+
private renderPresetChart;
|
|
34
|
+
render(): unknown;
|
|
35
|
+
}
|
|
36
|
+
declare global {
|
|
37
|
+
interface HTMLElementTagNameMap {
|
|
38
|
+
'ok-skeleton': OkSkeleton;
|
|
39
|
+
}
|
|
40
|
+
}
|