brutx-ui-vue 0.1.0 → 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/README.md CHANGED
@@ -19,8 +19,6 @@
19
19
 
20
20
  使用 CLI 将组件添加到你的项目:
21
21
 
22
- > ⚠️ CLI 尚未发布到 npm,以下命令暂不可用。
23
-
24
22
  ```bash
25
23
  # 初始化你的项目
26
24
  npx brutx@latest init
@@ -1,7 +1,13 @@
1
1
  interface CheckboxProps {
2
2
  class?: string;
3
+ checked?: boolean;
4
+ defaultChecked?: boolean;
3
5
  disabled?: boolean;
4
6
  }
5
- declare const _default: import('vue').DefineComponent<CheckboxProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CheckboxProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: import('vue').DefineComponent<CheckboxProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ "update:checked": (value: boolean) => any;
9
+ }, string, import('vue').PublicProps, Readonly<CheckboxProps> & Readonly<{
10
+ "onUpdate:checked"?: ((value: boolean) => any) | undefined;
11
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
6
12
  export default _default;
7
13
  //# sourceMappingURL=Checkbox.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.vue.d.ts","sourceRoot":"","sources":["../../src/components/Checkbox.vue"],"names":[],"mappings":"AA+CA,UAAU,aAAa;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;CACrB;;AAiGD,wBAOG"}
1
+ {"version":3,"file":"Checkbox.vue.d.ts","sourceRoot":"","sources":["../../src/components/Checkbox.vue"],"names":[],"mappings":"AA2DA,UAAU,aAAa;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACrB;;;;;;AAqHD,wBAQG"}
@@ -1,5 +1,5 @@
1
1
  interface DropdownMenuCheckboxItemProps {
2
- checked?: boolean | 'indeterminate';
2
+ modelValue?: boolean | 'indeterminate';
3
3
  class?: string;
4
4
  }
5
5
  declare function __VLS_template(): {
@@ -11,7 +11,11 @@ declare function __VLS_template(): {
11
11
  rootEl: any;
12
12
  };
13
13
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
- declare const __VLS_component: import('vue').DefineComponent<DropdownMenuCheckboxItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DropdownMenuCheckboxItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ declare const __VLS_component: import('vue').DefineComponent<DropdownMenuCheckboxItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
+ "update:modelValue": (value: boolean) => any;
16
+ }, string, import('vue').PublicProps, Readonly<DropdownMenuCheckboxItemProps> & Readonly<{
17
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
18
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
19
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
20
  export default _default;
17
21
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownMenuCheckboxItem.vue.d.ts","sourceRoot":"","sources":["../../src/components/DropdownMenuCheckboxItem.vue"],"names":[],"mappings":"AA+CA,UAAU,6BAA6B;IACnC,OAAO,CAAC,EAAE,OAAO,GAAG,eAAe,CAAA;IACnC,KAAK,CAAC,EAAE,MAAM,CAAA;CACjB;AAiBD,iBAAS,cAAc;WAwDT,OAAO,IAA6B;;yBAVpB,GAAG;;;;EAehC;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,sUAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"DropdownMenuCheckboxItem.vue.d.ts","sourceRoot":"","sources":["../../src/components/DropdownMenuCheckboxItem.vue"],"names":[],"mappings":"AAmDA,UAAU,6BAA6B;IACnC,UAAU,CAAC,EAAE,OAAO,GAAG,eAAe,CAAA;IACtC,KAAK,CAAC,EAAE,MAAM,CAAA;CACjB;AAsBD,iBAAS,cAAc;WAiET,OAAO,IAA6B;;yBAVpB,GAAG;;;;EAehC;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;kFAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}