@hotelinking/ui 16.48.13 → 16.49.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/dist/ui.cjs +1 -1
- package/dist/ui.d.ts +37 -0
- package/dist/ui.es.js +907 -802
- package/package.json +1 -1
package/dist/ui.d.ts
CHANGED
|
@@ -189,6 +189,15 @@ export declare type StepType = {
|
|
|
189
189
|
status?: StepStatus;
|
|
190
190
|
};
|
|
191
191
|
|
|
192
|
+
export declare type StepV4Type = {
|
|
193
|
+
/** Step unique identifier (displayed in the circle, e.g., "01", "02") */
|
|
194
|
+
id?: string | number;
|
|
195
|
+
/** Step name */
|
|
196
|
+
name: string;
|
|
197
|
+
/** Step status. If not provided or not "complete" or "current", defaults to "upcoming" */
|
|
198
|
+
status?: StepStatus;
|
|
199
|
+
};
|
|
200
|
+
|
|
192
201
|
export declare type TableItemType = {
|
|
193
202
|
/** item checkbox is disabled */
|
|
194
203
|
disabled?: boolean;
|
|
@@ -1729,6 +1738,34 @@ export declare interface UiStepsInterface {
|
|
|
1729
1738
|
steps: StepType[];
|
|
1730
1739
|
}
|
|
1731
1740
|
|
|
1741
|
+
export declare const uiStepsV4: DefineComponent<UiStepsV4Interface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1742
|
+
stepCompleted: (step: StepV4Type) => any;
|
|
1743
|
+
stepCurrent: (step: StepV4Type) => any;
|
|
1744
|
+
stepUpcoming: (step: StepV4Type) => any;
|
|
1745
|
+
stepClick: (step: StepV4Type, index: number) => any;
|
|
1746
|
+
}, string, PublicProps, Readonly<UiStepsV4Interface> & Readonly<{
|
|
1747
|
+
onStepCompleted?: ((step: StepV4Type) => any) | undefined;
|
|
1748
|
+
onStepCurrent?: ((step: StepV4Type) => any) | undefined;
|
|
1749
|
+
onStepUpcoming?: ((step: StepV4Type) => any) | undefined;
|
|
1750
|
+
onStepClick?: ((step: StepV4Type, index: number) => any) | undefined;
|
|
1751
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
1752
|
+
|
|
1753
|
+
export declare interface UiStepsV4EventsInterface {
|
|
1754
|
+
/** Emitted when a completed step is clicked */
|
|
1755
|
+
(e: "stepCompleted", step: StepV4Type): void;
|
|
1756
|
+
/** Emitted when the current step is clicked */
|
|
1757
|
+
(e: "stepCurrent", step: StepV4Type): void;
|
|
1758
|
+
/** Emitted when an upcoming step is clicked */
|
|
1759
|
+
(e: "stepUpcoming", step: StepV4Type): void;
|
|
1760
|
+
/** Emitted when any step is clicked (includes step and index) */
|
|
1761
|
+
(e: "stepClick", step: StepV4Type, index: number): void;
|
|
1762
|
+
}
|
|
1763
|
+
|
|
1764
|
+
export declare interface UiStepsV4Interface {
|
|
1765
|
+
/** Array of steps */
|
|
1766
|
+
steps: StepV4Type[];
|
|
1767
|
+
}
|
|
1768
|
+
|
|
1732
1769
|
export declare const uiStripedCard: DefineComponent<UiStripedCardInterface, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1733
1770
|
itemClicked: (T: string) => any;
|
|
1734
1771
|
}, string, PublicProps, Readonly<UiStripedCardInterface> & Readonly<{
|