@win2win/shared-ui 0.3.14 → 0.3.16
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.
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export interface MenuItem {
|
|
2
|
+
show?: boolean;
|
|
3
|
+
label: string;
|
|
4
|
+
icon?: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
value?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
onClick?: (...args: any) => void;
|
|
9
|
+
}
|
|
10
|
+
export interface WinMenuButtonProps {
|
|
11
|
+
icon?: string;
|
|
12
|
+
color?: string;
|
|
13
|
+
textColor?: string;
|
|
14
|
+
flat?: boolean;
|
|
15
|
+
label?: string;
|
|
16
|
+
size?: string;
|
|
17
|
+
items: MenuItem[];
|
|
18
|
+
normalButton?: boolean;
|
|
19
|
+
loading?: boolean;
|
|
20
|
+
}
|
|
21
|
+
declare const _default: import("vue").DefineComponent<WinMenuButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
onItemClick: (...args: any[]) => void;
|
|
23
|
+
}, string, import("vue").PublicProps, Readonly<WinMenuButtonProps> & Readonly<{
|
|
24
|
+
onOnItemClick?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
loading: boolean;
|
|
27
|
+
size: string;
|
|
28
|
+
icon: string;
|
|
29
|
+
normalButton: boolean;
|
|
30
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
export default _default;
|
|
32
|
+
//# sourceMappingURL=MenuButton.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MenuButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Common/MenuButton.vue"],"names":[],"mappings":"AA6FA,MAAM,WAAW,QAAQ;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;CAClC;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;;;;;;aADW,OAAO;UAHV,MAAM;UALN,MAAM;kBAOE,OAAO;;AA8LxB,wBAQG"}
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import Card from "./components/Common/Card.vue";
|
|
|
4
4
|
import DynamicCarousel from "./components/Common/DynamicCarousel.vue";
|
|
5
5
|
import IconButton from "./components/Common/IconButton.vue";
|
|
6
6
|
import IndicatorColor from "./components/Common/IndicatorColor.vue";
|
|
7
|
+
import MenuButton from "./components/Common/MenuButton.vue";
|
|
7
8
|
import SectionSpinner from "./components/Common/SectionSpinner.vue";
|
|
8
9
|
import StateIndicator from "./components/Common/StateIndicator.vue";
|
|
9
10
|
import DynamicForm from "./components/DynamicForm/DynamicForm.vue";
|
|
@@ -18,5 +19,5 @@ export default W2WSharedUi;
|
|
|
18
19
|
export { WidgetsIndex } from "./components/widgets";
|
|
19
20
|
export * from "./components/widgets/interfaces";
|
|
20
21
|
export * from "./composables/index";
|
|
21
|
-
export { Button, Card, DynamicCarousel, DynamicForm, IconButton, IndicatorColor, ProductPrice, ProductProps, ProductTag, SectionsContainer, SectionSpinner, StateIndicator, };
|
|
22
|
+
export { Button, Card, DynamicCarousel, DynamicForm, IconButton, IndicatorColor, MenuButton, ProductPrice, ProductProps, ProductTag, SectionsContainer, SectionSpinner, StateIndicator, };
|
|
22
23
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,MAAM,MAAM,gCAAgC,CAAC;AACpD,OAAO,IAAI,MAAM,8BAA8B,CAAC;AAChD,OAAO,eAAe,MAAM,yCAAyC,CAAC;AACtE,OAAO,UAAU,MAAM,oCAAoC,CAAC;AAC5D,OAAO,cAAc,MAAM,wCAAwC,CAAC;AACpE,OAAO,cAAc,MAAM,wCAAwC,CAAC;AACpE,OAAO,cAAc,MAAM,wCAAwC,CAAC;AACpE,OAAO,WAAW,MAAM,0CAA0C,CAAC;AACnE,OAAO,iBAAiB,MAAM,wCAAwC,CAAC;AAEvE,OAAO,YAAY,MAAM,8CAA8C,CAAC;AACxE,OAAO,YAAY,MAAM,8CAA8C,CAAC;AACxE,OAAO,UAAU,MAAM,4CAA4C,CAAC;AAEpE,QAAA,MAAM,WAAW;iBACF,GAAG,WAAW,GAAG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,MAAM,MAAM,gCAAgC,CAAC;AACpD,OAAO,IAAI,MAAM,8BAA8B,CAAC;AAChD,OAAO,eAAe,MAAM,yCAAyC,CAAC;AACtE,OAAO,UAAU,MAAM,oCAAoC,CAAC;AAC5D,OAAO,cAAc,MAAM,wCAAwC,CAAC;AACpE,OAAO,UAAU,MAAM,oCAAoC,C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