@wra-gov/vue-components 0.26.8 → 0.27.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/index.d.ts +87 -21
- package/dist/vue-components.js +584 -462
- package/dist/vue-components.umd.cjs +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,12 @@ export declare interface AutocompleteOption {
|
|
|
14
14
|
clickable?: boolean;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
export declare type CheckboxOption =
|
|
17
|
+
export declare type CheckboxOption = {
|
|
18
|
+
label: string;
|
|
19
|
+
value: any;
|
|
20
|
+
info?: string;
|
|
21
|
+
id?: string;
|
|
22
|
+
} | string;
|
|
18
23
|
|
|
19
24
|
export declare type DataTableHeader = {
|
|
20
25
|
key: string;
|
|
@@ -507,9 +512,12 @@ default: boolean;
|
|
|
507
512
|
};
|
|
508
513
|
}>, {}, {
|
|
509
514
|
checked: Record<string, boolean>;
|
|
510
|
-
value: CheckboxOption[];
|
|
511
515
|
}, {
|
|
512
516
|
validOptions(): CheckboxOption[];
|
|
517
|
+
localModelValue: {
|
|
518
|
+
get(): any;
|
|
519
|
+
set(value: CheckboxOption[]): void;
|
|
520
|
+
};
|
|
513
521
|
}, {
|
|
514
522
|
checkInput(value: string): void;
|
|
515
523
|
checkForObjectLabel(input: CheckboxOption): string;
|
|
@@ -569,43 +577,101 @@ itemValue: string;
|
|
|
569
577
|
itemLabel: string;
|
|
570
578
|
itemInfo: string;
|
|
571
579
|
returnObject: boolean;
|
|
572
|
-
}, {}, {
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
};
|
|
577
|
-
label: {
|
|
580
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
581
|
+
|
|
582
|
+
export declare const WraContentAccordion: DefineComponent<ExtractPropTypes< {
|
|
583
|
+
title: {
|
|
578
584
|
type: PropType<string>;
|
|
579
585
|
required: true;
|
|
580
586
|
};
|
|
581
|
-
|
|
587
|
+
/**
|
|
588
|
+
* Description text displayed below the title
|
|
589
|
+
*/
|
|
590
|
+
description: {
|
|
582
591
|
type: PropType<string>;
|
|
592
|
+
required: false;
|
|
583
593
|
};
|
|
584
|
-
|
|
594
|
+
/**
|
|
595
|
+
* A unique string used to generate ARIA attributes for accessibility.
|
|
596
|
+
*/
|
|
597
|
+
ariaTitle: {
|
|
585
598
|
type: PropType<string>;
|
|
586
599
|
required: true;
|
|
587
600
|
};
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
601
|
+
/**
|
|
602
|
+
* Text to display when the panel is collapsed
|
|
603
|
+
*/
|
|
604
|
+
showText: {
|
|
605
|
+
type: PropType<string>;
|
|
606
|
+
default: string;
|
|
607
|
+
};
|
|
608
|
+
/**
|
|
609
|
+
* Text to display when the panel is expanded
|
|
610
|
+
*/
|
|
611
|
+
hideText: {
|
|
612
|
+
type: PropType<string>;
|
|
613
|
+
default: string;
|
|
614
|
+
};
|
|
615
|
+
/**
|
|
616
|
+
* If set, overrides the expanded/collapsed state programmatically
|
|
617
|
+
*/
|
|
618
|
+
expandOverride: {
|
|
594
619
|
type: PropType<boolean>;
|
|
620
|
+
default: any;
|
|
595
621
|
};
|
|
596
|
-
|
|
622
|
+
}>, {}, {
|
|
623
|
+
internalPanel: boolean;
|
|
624
|
+
}, {
|
|
625
|
+
showPanel(): boolean;
|
|
626
|
+
}, {
|
|
627
|
+
togglePanel(): void;
|
|
628
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, "update:expanded"[], "update:expanded", PublicProps, Readonly<ExtractPropTypes< {
|
|
629
|
+
title: {
|
|
597
630
|
type: PropType<string>;
|
|
598
631
|
required: true;
|
|
599
632
|
};
|
|
600
|
-
|
|
633
|
+
/**
|
|
634
|
+
* Description text displayed below the title
|
|
635
|
+
*/
|
|
636
|
+
description: {
|
|
601
637
|
type: PropType<string>;
|
|
638
|
+
required: false;
|
|
602
639
|
};
|
|
603
|
-
|
|
640
|
+
/**
|
|
641
|
+
* A unique string used to generate ARIA attributes for accessibility.
|
|
642
|
+
*/
|
|
643
|
+
ariaTitle: {
|
|
604
644
|
type: PropType<string>;
|
|
605
645
|
required: true;
|
|
606
646
|
};
|
|
607
|
-
|
|
608
|
-
|
|
647
|
+
/**
|
|
648
|
+
* Text to display when the panel is collapsed
|
|
649
|
+
*/
|
|
650
|
+
showText: {
|
|
651
|
+
type: PropType<string>;
|
|
652
|
+
default: string;
|
|
653
|
+
};
|
|
654
|
+
/**
|
|
655
|
+
* Text to display when the panel is expanded
|
|
656
|
+
*/
|
|
657
|
+
hideText: {
|
|
658
|
+
type: PropType<string>;
|
|
659
|
+
default: string;
|
|
660
|
+
};
|
|
661
|
+
/**
|
|
662
|
+
* If set, overrides the expanded/collapsed state programmatically
|
|
663
|
+
*/
|
|
664
|
+
expandOverride: {
|
|
665
|
+
type: PropType<boolean>;
|
|
666
|
+
default: any;
|
|
667
|
+
};
|
|
668
|
+
}>> & Readonly<{
|
|
669
|
+
"onUpdate:expanded"?: (...args: any[]) => any;
|
|
670
|
+
}>, {
|
|
671
|
+
showText: string;
|
|
672
|
+
hideText: string;
|
|
673
|
+
expandOverride: boolean;
|
|
674
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
609
675
|
|
|
610
676
|
export declare const WraContentSectionTitle: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
611
677
|
|