@erplora/outfitkit 0.1.19 → 0.1.21
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/README.md +5 -6
- package/dist/cdn.d.ts +0 -5
- package/dist/index.d.ts +2 -9
- package/dist/index.js +8 -11
- package/dist/ok-data-table.js +1 -1
- package/dist/ok-file-manager.js +1 -1
- package/dist/ok-lightbox.js +1 -1
- package/dist/outfitkit.bundle.js +3634 -5572
- package/dist/outfitkit.js +0 -5
- package/dist/shared/icons.js +3 -3
- package/dist/showcase/auth-login-saas-parity.test.d.ts +1 -0
- package/dist/showcase/component-catalog-completeness.test.d.ts +1 -0
- package/dist/showcase/current-page-contract.test.d.ts +1 -0
- package/dist/showcase/hub-access-dashboard-parity.test.d.ts +1 -0
- package/dist/showcase/hub-apps-billing-pages-parity.test.d.ts +1 -0
- package/dist/showcase/hub-employee-forms-parity.test.d.ts +1 -0
- package/dist/showcase/hub-shell-parity.test.d.ts +1 -0
- package/dist/showcase/hub-system-settings-shell-parity.test.d.ts +1 -0
- package/dist/showcase/hub-table-pages-parity.test.d.ts +1 -0
- package/dist/showcase/ionic-boundary.test.d.ts +1 -0
- package/dist/showcase/ionic-ios-default.test.d.ts +1 -0
- package/dist/showcase/module-appointments-parity.test.d.ts +1 -0
- package/dist/showcase/module-backup-pages-parity.test.d.ts +1 -0
- package/dist/showcase/module-cart-checkout-pages-parity.test.d.ts +1 -0
- package/dist/showcase/module-cash-register-parity.test.d.ts +1 -0
- package/dist/showcase/module-customers-fields-parity.test.d.ts +1 -0
- package/dist/showcase/module-customers-groups-parity.test.d.ts +1 -0
- package/dist/showcase/module-customers-list-parity.test.d.ts +1 -0
- package/dist/showcase/module-customers-tags-parity.test.d.ts +1 -0
- package/dist/showcase/module-inventory-categories-parity.test.d.ts +1 -0
- package/dist/showcase/module-inventory-dashboard-parity.test.d.ts +1 -0
- package/dist/showcase/module-inventory-products-parity.test.d.ts +1 -0
- package/dist/showcase/module-invoice-list-parity.test.d.ts +1 -0
- package/dist/showcase/module-invoice-series-list-parity.test.d.ts +1 -0
- package/dist/showcase/module-invoice-settings-parity.test.d.ts +1 -0
- package/dist/showcase/module-kitchen-pages-parity.test.d.ts +1 -0
- package/dist/showcase/module-online-booking-pages-parity.test.d.ts +1 -0
- package/dist/showcase/module-pages-data.test.d.ts +1 -0
- package/dist/showcase/module-payment-gateways-parity.test.d.ts +1 -0
- package/dist/showcase/module-payments-list-parity.test.d.ts +1 -0
- package/dist/showcase/module-pricing-lists-parity.test.d.ts +1 -0
- package/dist/showcase/module-printing-pages-parity.test.d.ts +1 -0
- package/dist/showcase/module-reservations-availability-parity.test.d.ts +1 -0
- package/dist/showcase/module-reservations-list-parity.test.d.ts +1 -0
- package/dist/showcase/module-reservations-waitlist-parity.test.d.ts +1 -0
- package/dist/showcase/module-sales-list-parity.test.d.ts +1 -0
- package/dist/showcase/module-sales-pos-parity.test.d.ts +1 -0
- package/dist/showcase/module-schedules-hours-parity.test.d.ts +1 -0
- package/dist/showcase/module-services-parity.test.d.ts +1 -0
- package/dist/showcase/module-staff-members-parity.test.d.ts +1 -0
- package/dist/showcase/module-staff-roles-parity.test.d.ts +1 -0
- package/dist/showcase/module-staff-schedules-parity.test.d.ts +1 -0
- package/dist/showcase/module-staff-time-off-parity.test.d.ts +1 -0
- package/dist/showcase/module-tables-pages-parity.test.d.ts +1 -0
- package/dist/showcase/module-tasks-list-parity.test.d.ts +1 -0
- package/dist/showcase/module-tasks-projects-parity.test.d.ts +1 -0
- package/dist/showcase/module-taxes-pages-parity.test.d.ts +1 -0
- package/dist/showcase/module-tickets-list-parity.test.d.ts +1 -0
- package/dist/showcase/module-tickets-sla-parity.test.d.ts +1 -0
- package/dist/showcase/module-verifactu-pages-parity.test.d.ts +1 -0
- package/dist/showcase/module-whatsapp-inbox-pages-parity.test.d.ts +1 -0
- package/dist/showcase/page-catalog.test.d.ts +1 -0
- package/dist/showcase/page-navigation.test.d.ts +1 -0
- package/dist/showcase/saas-account-help-pages-parity.test.d.ts +1 -0
- package/dist/showcase/saas-auth-account-pages-parity.test.d.ts +1 -0
- package/dist/showcase/saas-billing-table-pages-parity.test.d.ts +1 -0
- package/dist/showcase/saas-dashboard-shell-parity.test.d.ts +1 -0
- package/dist/showcase/saas-developer-pages-parity.test.d.ts +1 -0
- package/dist/showcase/saas-developer-table-pages-parity.test.d.ts +1 -0
- package/dist/showcase/saas-hub-detail-pages-parity.test.d.ts +1 -0
- package/dist/showcase/saas-hubs-table-pages-parity.test.d.ts +1 -0
- package/dist/showcase/saas-operations-marketplace-pages-parity.test.d.ts +1 -0
- package/dist/showcase/saas-organizations-page-parity.test.d.ts +1 -0
- package/dist/showcase/saas-organizations-users-detail-pages-parity.test.d.ts +1 -0
- package/dist/showcase/saas-public-error-pages-parity.test.d.ts +1 -0
- package/dist/tabbar/tabbar.d.ts +69 -0
- package/dist/tabbar/tabbar.test.d.ts +1 -0
- package/dist/tabbar.css +72 -0
- package/dist/tabbar.js +76 -0
- package/package.json +7 -6
- package/dist/components/ok-date-picker/ok-date-picker.d.ts +0 -81
- package/dist/components/ok-drawer/ok-drawer.d.ts +0 -56
- package/dist/components/ok-range-dual/ok-range-dual.d.ts +0 -38
- package/dist/components/ok-skeleton/ok-skeleton.d.ts +0 -40
- package/dist/components/ok-time-picker/ok-time-picker.d.ts +0 -50
- package/dist/ok-date-picker.js +0 -737
- package/dist/ok-drawer.js +0 -358
- package/dist/ok-range-dual.js +0 -280
- package/dist/ok-skeleton.js +0 -345
- package/dist/ok-time-picker.js +0 -472
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { LitElement, type PropertyValues } from 'lit';
|
|
2
|
-
/** Lado del drawer ('end' = derecha en LTR). */
|
|
3
|
-
export type OkDrawerSide = 'end' | 'start';
|
|
4
|
-
/** Textos humanos de ok-drawer (i18n; default inglés, override vía prop `labels`). */
|
|
5
|
-
export interface OkDrawerLabels {
|
|
6
|
-
/** aria-label / tooltip del botón de cerrar (X). */
|
|
7
|
-
close: string;
|
|
8
|
-
}
|
|
9
|
-
export declare class OkDrawer extends LitElement {
|
|
10
|
-
static styles: import("lit").CSSResult;
|
|
11
|
-
/** Abierto/cerrado (reflejado). El padre puede controlarlo (señal/ref). */
|
|
12
|
-
open: boolean;
|
|
13
|
-
/** Lado del panel: 'end' (def, derecha en LTR) | 'start' (reflejado para CSS). */
|
|
14
|
-
side: OkDrawerSide;
|
|
15
|
-
/** Ancho del panel (def 420px; en móvil siempre 100%). */
|
|
16
|
-
width: string;
|
|
17
|
-
/** Título de la cabecera. */
|
|
18
|
-
heading?: string;
|
|
19
|
-
/** Nombre de un ionicon junto al título. */
|
|
20
|
-
icon?: string;
|
|
21
|
-
/** Fondo oscurecido clicable (def true). Para quitarlo: `.scrim=${false}`. */
|
|
22
|
-
scrim: boolean;
|
|
23
|
-
/** Si true (def), cierra con ESC / click en scrim / botón X. Si false, oculta la X. */
|
|
24
|
-
dismissible: boolean;
|
|
25
|
-
/** Overrides de textos humanos (i18n). Se fusionan sobre los defaults en inglés. */
|
|
26
|
-
labels: Partial<OkDrawerLabels>;
|
|
27
|
-
/** Textos efectivos (defaults inglés + overrides). */
|
|
28
|
-
private get t();
|
|
29
|
-
private panel?;
|
|
30
|
-
private previousFocus;
|
|
31
|
-
private hasFooter;
|
|
32
|
-
private readonly onDocKeydown;
|
|
33
|
-
disconnectedCallback(): void;
|
|
34
|
-
protected updated(changed: PropertyValues): void;
|
|
35
|
-
private afterOpen;
|
|
36
|
-
private afterClose;
|
|
37
|
-
/**
|
|
38
|
-
* Gesto de cierre (scrim/esc/botón): emite `ok-close` CANCELABLE con la razón. Si nadie hace
|
|
39
|
-
* `preventDefault()` se auto-cierra (fallback no-controlado); un padre controlado puede vetar.
|
|
40
|
-
*/
|
|
41
|
-
requestClose(reason: 'scrim' | 'esc' | 'button'): void;
|
|
42
|
-
/** Abre el drawer (azúcar imperativo; equivale a `open = true`). */
|
|
43
|
-
show(): void;
|
|
44
|
-
/** Cierra el drawer sin pasar por el gesto cancelable (azúcar imperativo). */
|
|
45
|
-
hide(): void;
|
|
46
|
-
private focusables;
|
|
47
|
-
private trapFocus;
|
|
48
|
-
private onScrimClick;
|
|
49
|
-
private onFooterSlotChange;
|
|
50
|
-
render(): unknown;
|
|
51
|
-
}
|
|
52
|
-
declare global {
|
|
53
|
-
interface HTMLElementTagNameMap {
|
|
54
|
-
'ok-drawer': OkDrawer;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
export declare class OkTimePicker extends LitElement {
|
|
3
|
-
static styles: import("lit").CSSResult;
|
|
4
|
-
/** Valor canónico "HH:MM" (24h). */
|
|
5
|
-
value: string;
|
|
6
|
-
/** Paso de minutos para la lista de minutos (default 5). */
|
|
7
|
-
step: number;
|
|
8
|
-
/** Presentación 12h con segmento AM/PM (el valor sigue siendo 24h). */
|
|
9
|
-
useAmpm: boolean;
|
|
10
|
-
/** Hora mínima seleccionable "HH:MM" (inclusive). */
|
|
11
|
-
min: string;
|
|
12
|
-
/** Hora máxima seleccionable "HH:MM" (inclusive). */
|
|
13
|
-
max: string;
|
|
14
|
-
/** Desactiva la interacción. */
|
|
15
|
-
disabled: boolean;
|
|
16
|
-
private open;
|
|
17
|
-
private end;
|
|
18
|
-
private above;
|
|
19
|
-
private readonly onDocPointer;
|
|
20
|
-
private readonly onKeydown;
|
|
21
|
-
disconnectedCallback(): void;
|
|
22
|
-
private bind;
|
|
23
|
-
private unbind;
|
|
24
|
-
private get current();
|
|
25
|
-
private get minMin();
|
|
26
|
-
private get maxMin();
|
|
27
|
-
private inRange;
|
|
28
|
-
private toggle;
|
|
29
|
-
private openPanel;
|
|
30
|
-
private close;
|
|
31
|
-
private reanchor;
|
|
32
|
-
private scrollToSelected;
|
|
33
|
-
private commit;
|
|
34
|
-
private pickHour;
|
|
35
|
-
private pickMinute;
|
|
36
|
-
private pickMeridiem;
|
|
37
|
-
private hourOptions;
|
|
38
|
-
private minuteOptions;
|
|
39
|
-
private displayHour;
|
|
40
|
-
private displayMinute;
|
|
41
|
-
private hourLabel;
|
|
42
|
-
private get isPm();
|
|
43
|
-
render(): unknown;
|
|
44
|
-
private panelTemplate;
|
|
45
|
-
}
|
|
46
|
-
declare global {
|
|
47
|
-
interface HTMLElementTagNameMap {
|
|
48
|
-
'ok-time-picker': OkTimePicker;
|
|
49
|
-
}
|
|
50
|
-
}
|