@wra-gov/vue-components 0.26.8 → 0.26.9

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 CHANGED
@@ -14,7 +14,12 @@ export declare interface AutocompleteOption {
14
14
  clickable?: boolean;
15
15
  }
16
16
 
17
- export declare type CheckboxOption = Record<string, InputHTMLAttributes["value"]> | string;
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,7 @@ itemValue: string;
569
577
  itemLabel: string;
570
578
  itemInfo: string;
571
579
  returnObject: boolean;
572
- }, {}, {
573
- WraCheckbox: DefineComponent<ExtractPropTypes< {
574
- modelValue: {
575
- type: PropType<boolean>;
576
- };
577
- label: {
578
- type: PropType<string>;
579
- required: true;
580
- };
581
- info: {
582
- type: PropType<string>;
583
- };
584
- id: {
585
- type: PropType<string>;
586
- required: true;
587
- };
588
- }>, {}, {
589
- isChecked: boolean | undefined;
590
- }, {}, {
591
- checkInput(): void;
592
- }, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
593
- modelValue: {
594
- type: PropType<boolean>;
595
- };
596
- label: {
597
- type: PropType<string>;
598
- required: true;
599
- };
600
- info: {
601
- type: PropType<string>;
602
- };
603
- id: {
604
- type: PropType<string>;
605
- required: true;
606
- };
607
- }>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
608
- }, {}, string, ComponentProvideOptions, true, {}, any>;
580
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
609
581
 
610
582
  export declare const WraContentSectionTitle: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
611
583