fluekit 2.2.1 → 2.2.3
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/Icons.d.ts +3 -0
- package/dist/InputDecoration.d.ts +13 -0
- package/dist/RatingBar.d.ts +23 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +118 -46
- package/package.json +1 -1
package/dist/Icons.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { BorderRadius } from './BorderRadius';
|
|
|
4
4
|
import { Color } from './Color';
|
|
5
5
|
import { EdgeInsetsProps } from './EdgeInsets';
|
|
6
6
|
import { TextStyle } from './TextStyle';
|
|
7
|
+
import { BoxConstraints } from './BoxConstraints';
|
|
7
8
|
export interface InputBorder {
|
|
8
9
|
borderSide?: BorderSide;
|
|
9
10
|
borderRadius?: BorderRadius;
|
|
@@ -62,6 +63,11 @@ export interface InputDecoration {
|
|
|
62
63
|
contentPadding?: number | number[] | EdgeInsetsProps;
|
|
63
64
|
isDense?: boolean;
|
|
64
65
|
isCollapsed?: boolean;
|
|
66
|
+
constraints?: BoxConstraints;
|
|
67
|
+
helperMaxLines?: number;
|
|
68
|
+
errorMaxLines?: number;
|
|
69
|
+
helperConstraints?: BoxConstraints;
|
|
70
|
+
errorConstraints?: BoxConstraints;
|
|
65
71
|
floatingLabelBehavior?: keyof typeof FloatingLabelBehavior;
|
|
66
72
|
counterText?: string;
|
|
67
73
|
labelStyle?: TextStyle;
|
|
@@ -70,5 +76,12 @@ export interface InputDecoration {
|
|
|
70
76
|
helperStyle?: TextStyle;
|
|
71
77
|
errorStyle?: TextStyle;
|
|
72
78
|
counterStyle?: TextStyle;
|
|
79
|
+
errorTextAlign?: "left" | "right" | "center" | "justify" | "start" | "end";
|
|
80
|
+
helperTextAlign?: "left" | "right" | "center" | "justify" | "start" | "end";
|
|
81
|
+
/**
|
|
82
|
+
* Whether the error text should always be shown (reserving space),
|
|
83
|
+
* even if [errorText] is null or empty.
|
|
84
|
+
*/
|
|
85
|
+
alwaysShowError?: boolean;
|
|
73
86
|
}
|
|
74
87
|
export declare function InputDecoration(options?: InputDecoration): InputDecoration;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Color } from './Color';
|
|
2
|
+
interface Props {
|
|
3
|
+
modelValue: number;
|
|
4
|
+
max?: number;
|
|
5
|
+
size?: number | string;
|
|
6
|
+
color?: string | Color;
|
|
7
|
+
unselectedColor?: string | Color;
|
|
8
|
+
allowHalfRating?: boolean;
|
|
9
|
+
readonly?: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
12
|
+
"update:modelValue": (value: number) => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
color: string | Color;
|
|
17
|
+
size: number | string;
|
|
18
|
+
max: number;
|
|
19
|
+
readonly: boolean;
|
|
20
|
+
unselectedColor: string | Color;
|
|
21
|
+
allowHalfRating: boolean;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
23
|
+
export default _default;
|
package/dist/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.fluekit-button[data-v-6944da7c]{appearance:none;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;font-family:inherit;font-size:inherit;line-height:inherit;color:inherit;text-align:inherit;box-sizing:border-box;background:0 0;border:0;outline:0;margin:0;padding:0}.fluekit-button[data-v-6944da7c]:disabled{cursor:default}.fluekit-image[data-v-ce382550]{display:block}.fluekit-icon[data-v-96834c76]{-webkit-user-select:none;user-select:none;pointer-events:none}.icon-svg[data-v-96834c76]{fill:currentColor;width:100%;height:100%;display:block}[data-v-96834c76] svg{fill:currentColor;width:100%;height:100%}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:before{content:"";position:html;background-color:var(--v52d32946);border-radius:10px;width:100%;height:25%;display:block}.flue-cupertino-activity-indicator-blade[data-v-bf681109]{opacity:0;animation:1s linear infinite flue-cupertino-fade-bf681109}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:first-child{animation-delay:-1s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(2){animation-delay:-.9167s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(3){animation-delay:-.8333s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(4){animation-delay:-.75s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(5){animation-delay:-.6667s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(6){animation-delay:-.5833s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(7){animation-delay:-.5s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(8){animation-delay:-.4167s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(9){animation-delay:-.3333s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(10){animation-delay:-.25s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(11){animation-delay:-.1667s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(12){animation-delay:-.0833s}@keyframes flue-cupertino-fade-bf681109{0%{opacity:1}to{opacity:.3}}.fluekit-refresh-indicator[data-v-2456a3bd]{height:100%;position:relative;overflow:hidden}.fluekit-refresh-spinner[data-v-2456a3bd]{z-index:10;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;margin-left:-20px;transition:top .2s,opacity .2s;display:flex;position:absolute;left:50%}.fluekit-refresh-content[data-v-2456a3bd]{height:100%}.fluekit-list-view-wrapper[data-v-2eabca74]{width:100%;height:100%;display:block;overflow:hidden}.flutter-stack[data-v-aefe47c2]>*{grid-area:1/1/2/2}.fluekit-text-field-wrapper[data-v-
|
|
1
|
+
.fluekit-button[data-v-6944da7c]{appearance:none;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;font-family:inherit;font-size:inherit;line-height:inherit;color:inherit;text-align:inherit;box-sizing:border-box;background:0 0;border:0;outline:0;margin:0;padding:0}.fluekit-button[data-v-6944da7c]:disabled{cursor:default}.fluekit-image[data-v-ce382550]{display:block}.fluekit-icon[data-v-96834c76]{-webkit-user-select:none;user-select:none;pointer-events:none}.icon-svg[data-v-96834c76]{fill:currentColor;width:100%;height:100%;display:block}[data-v-96834c76] svg{fill:currentColor;width:100%;height:100%}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:before{content:"";position:html;background-color:var(--v52d32946);border-radius:10px;width:100%;height:25%;display:block}.flue-cupertino-activity-indicator-blade[data-v-bf681109]{opacity:0;animation:1s linear infinite flue-cupertino-fade-bf681109}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:first-child{animation-delay:-1s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(2){animation-delay:-.9167s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(3){animation-delay:-.8333s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(4){animation-delay:-.75s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(5){animation-delay:-.6667s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(6){animation-delay:-.5833s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(7){animation-delay:-.5s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(8){animation-delay:-.4167s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(9){animation-delay:-.3333s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(10){animation-delay:-.25s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(11){animation-delay:-.1667s}.flue-cupertino-activity-indicator-blade[data-v-bf681109]:nth-child(12){animation-delay:-.0833s}@keyframes flue-cupertino-fade-bf681109{0%{opacity:1}to{opacity:.3}}.fluekit-refresh-indicator[data-v-2456a3bd]{height:100%;position:relative;overflow:hidden}.fluekit-refresh-spinner[data-v-2456a3bd]{z-index:10;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;margin-left:-20px;transition:top .2s,opacity .2s;display:flex;position:absolute;left:50%}.fluekit-refresh-content[data-v-2456a3bd]{height:100%}.fluekit-list-view-wrapper[data-v-2eabca74]{width:100%;height:100%;display:block;overflow:hidden}.flutter-stack[data-v-aefe47c2]>*{grid-area:1/1/2/2}.fluekit-text-field-wrapper[data-v-4fd366e1]{flex-direction:row;align-items:flex-start;width:100%;margin-top:16px;font-family:inherit;display:flex;position:relative}.fluekit-input-icon[data-v-4fd366e1]{color:var(--v25dbf6f2);align-items:center;margin-top:12px;margin-right:16px;display:flex}.fluekit-text-field-content[data-v-4fd366e1]{flex-direction:column;flex:1;display:flex;position:relative}.fluekit-input-container[data-v-4fd366e1]{box-sizing:border-box;width:100%}.fluekit-input-prefix-icon[data-v-4fd366e1],.fluekit-input-suffix-icon[data-v-4fd366e1]{color:#666;align-items:center;padding:0 8px;display:flex}.fluekit-input-prefix-icon[data-v-4fd366e1]{color:var(--v30bb9beb);padding-left:0}.fluekit-input-suffix-icon[data-v-4fd366e1]{color:var(--v824be9ac);padding-right:0}.fluekit-input-element[data-v-4fd366e1]{width:100%;color:inherit;resize:none;background:0 0;border:none;outline:none;flex:1;margin:0;padding:0;font-family:inherit;font-size:16px}.fluekit-input-element[data-v-4fd366e1]::placeholder{color:var(--f433d54e);font-size:var(--v7d5d7598);opacity:1}.fluekit-input-label[data-v-4fd366e1]{z-index:1}.fluekit-input-footer[data-v-4fd366e1]{justify-content:space-between;margin-top:4px;display:flex}.fluekit-input-helper[data-v-4fd366e1]{color:#666;font-size:12px}.fluekit-input-helper-spacer[data-v-4fd366e1]{flex:1}.fluekit-input-counter[data-v-4fd366e1]{color:#666;margin-left:auto;font-size:12px}.fluekit-input-helper.is-error[data-v-4fd366e1]{color:#f44336}.is-invisible[data-v-4fd366e1]{visibility:hidden}.flutter-transform[data-v-c4ab6ce1]{box-sizing:border-box}.ink-well[data-v-a5c5a2ad]{cursor:pointer;display:block;position:relative;overflow:hidden}.ink-well.disabled[data-v-a5c5a2ad]{cursor:default}.ripple[data-v-a5c5a2ad]{pointer-events:none;border-radius:50%;animation:.6s linear ripple-a5c5a2ad;position:absolute;transform:scale(0)}@keyframes ripple-a5c5a2ad{to{opacity:0;transform:scale(4)}}.slider-container[data-v-18cb2b41],.range-slider-container[data-v-f10382ff]{width:100%;position:relative}.bottom-sheet-overlay[data-v-6948b23d]{z-index:9999;background-color:#0000008a;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.flue-cupertino-navigation-bar[data-v-a51399c0]{-webkit-backdrop-filter:blur(20px);z-index:100;width:100%}.flue-nav-bar-middle[data-v-a51399c0]{justify-content:center;align-items:center;max-width:60%;display:flex}.snackbar-overlay[data-v-d8abf3ed]{z-index:9999;pointer-events:none;justify-content:center;display:flex;position:fixed;bottom:0;left:0;right:0}.snackbar-overlay[data-v-d8abf3ed]>*{pointer-events:auto}.flue-app-bar-leading[data-v-1fed62cd]{align-items:center;margin-right:16px;display:flex}.flue-app-bar-actions[data-v-1fed62cd]{align-items:center;margin-left:16px;display:flex}.fluekit-bottom-navigation-bar-ios[data-v-11798dea]{-webkit-backdrop-filter:blur(20px)}.fluekit-context-menu-anchor[data-v-8f6a31d2]{display:inline-block}.fluekit-context-menu-overlay[data-v-8f6a31d2]{z-index:9999;flex-direction:column;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.fluekit-context-menu-backdrop[data-v-8f6a31d2]{-webkit-backdrop-filter:blur(10px);background:#0006;width:100%;height:100%;position:absolute;top:0;left:0}.fluekit-context-menu-content[data-v-8f6a31d2]{z-index:10001;width:250px;animation:.2s ease-out scale-in-8f6a31d2;position:relative}.fluekit-action-group[data-v-8f6a31d2]{-webkit-backdrop-filter:blur(20px);background:#f9f9f9c7;border-radius:14px;margin-bottom:16px;overflow:hidden}.fluekit-context-menu-action[data-v-8f6a31d2]{text-align:center;cursor:pointer;background:0 0;border-bottom:.5px solid #0000001a;justify-content:center;align-items:center;gap:8px;padding:16px;display:flex}.fluekit-context-menu-action[data-v-8f6a31d2]:last-child{border-bottom:none}.fluekit-context-menu-action[data-v-8f6a31d2]:active{background:#0000001a}.action-text[data-v-8f6a31d2]{color:#007aff;font-family:-apple-system,BlinkMacSystemFont,sans-serif;font-size:17px}.is-destructive .action-text[data-v-8f6a31d2]{color:#ff3b30}.is-default .action-text[data-v-8f6a31d2]{font-weight:600}.cancel-group[data-v-8f6a31d2]{margin-top:8px}.cancel-action .action-text[data-v-8f6a31d2]{font-weight:600}.fade-enter-active[data-v-8f6a31d2],.fade-leave-active[data-v-8f6a31d2]{transition:opacity .2s}.fade-enter-from[data-v-8f6a31d2],.fade-leave-to[data-v-8f6a31d2]{opacity:0}@keyframes scale-in-8f6a31d2{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.flue-aspect-ratio[data-v-e23e6712]{grid-template-rows:100%;grid-template-columns:100%;display:grid}.flue-image-color-background[data-v-de3ea6be]{box-sizing:border-box;flex-direction:column;display:flex}.flue-linear-progress-indicator[data-v-111d0e67]{border-radius:0}@keyframes flue-linear-indeterminate-111d0e67{0%{transform:translate(0)scaleX(0)}40%{transform:translate(0)scaleX(.4)}to{transform:translate(100%)scaleX(.5)}}@keyframes flue-circular-rotate-bb62fbeb{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes flue-circular-dash-bb62fbeb{0%{stroke-dasharray:1 200;stroke-dashoffset:0}50%{stroke-dasharray:89 200;stroke-dashoffset:-35px}to{stroke-dasharray:89 200;stroke-dashoffset:-124px}}.fluekit-overlay-fade-enter-active[data-v-ca626865],.fluekit-overlay-fade-leave-active[data-v-ca626865]{transition:opacity .25s}.fluekit-overlay-fade-enter-from[data-v-ca626865],.fluekit-overlay-fade-leave-to[data-v-ca626865]{opacity:0}.fluekit-drawer-root[data-v-7181dfec]{pointer-events:none;z-index:1000;position:absolute;inset:0}.fluekit-drawer-slide-enter-active[data-v-7181dfec],.fluekit-drawer-slide-leave-active[data-v-7181dfec]{transition:transform .3s}.fluekit-drawer-slide-enter-from[data-v-7181dfec],.fluekit-drawer-slide-leave-to[data-v-7181dfec]{transform:translate(-100%)}.fluekit-drawer-slide-end-enter-active[data-v-7181dfec],.fluekit-drawer-slide-end-leave-active[data-v-7181dfec]{transition:transform .3s}.fluekit-drawer-slide-end-enter-from[data-v-7181dfec],.fluekit-drawer-slide-end-leave-to[data-v-7181dfec]{transform:translate(100%)}.popup-scale-enter-active[data-v-5d7cdcaa],.popup-scale-leave-active[data-v-5d7cdcaa]{transform-origin:100% 0;transition:opacity .2s,transform .2s}.popup-scale-enter-from[data-v-5d7cdcaa],.popup-scale-leave-to[data-v-5d7cdcaa]{opacity:0;transform:scale(.9)}.fluekit-chip-avatar[data-v-4a66cf54]{border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;display:flex;overflow:hidden}.fluekit-chip-delete-icon[data-v-4a66cf54]{cursor:pointer;opacity:.54;justify-content:center;align-items:center;margin-left:4px;display:flex}.fluekit-chip-delete-icon[data-v-4a66cf54]:hover{opacity:.87}.fluekit-tab-bar-view[data-v-e20dd01b]{flex:1;width:100%;height:100%;display:flex;overflow:hidden}.fluekit-tab-bar-view-content[data-v-e20dd01b]{width:100%;height:100%;transition:transform .3s cubic-bezier(.25,.8,.25,1);display:flex}[data-v-e20dd01b]>*{flex:0 0 100%;width:100%;height:100%}.fluekit-rating-bar[data-v-6b4f086d]{-webkit-user-select:none;user-select:none}.fluekit-rating-item[data-v-6b4f086d]{justify-content:center;align-items:center;display:flex}
|
|
2
2
|
/*$vite$:1*/
|
package/dist/index.d.ts
CHANGED
|
@@ -79,6 +79,7 @@ export { default as CircleAvatar } from './CircleAvatar';
|
|
|
79
79
|
export { default as TabBar } from './TabBar';
|
|
80
80
|
export { default as TabBarView } from './TabBarView';
|
|
81
81
|
export { default as RefreshIndicator } from './RefreshIndicator';
|
|
82
|
+
export { default as RatingBar } from './RatingBar';
|
|
82
83
|
export { default as FlueConfigProvider } from './FlueConfigProvider';
|
|
83
84
|
export * from './Color';
|
|
84
85
|
export * from './ImageUtils';
|
package/dist/index.js
CHANGED
|
@@ -1154,7 +1154,7 @@ var GestureDetector_default = defineComponent({
|
|
|
1154
1154
|
return e ? e.type === Text ? h("span", g, [e]) : isHtmlTag(e) ? cloneVNode(e, g) : e : null;
|
|
1155
1155
|
};
|
|
1156
1156
|
}
|
|
1157
|
-
}), _hoisted_1$
|
|
1157
|
+
}), _hoisted_1$16 = ["disabled"], Button_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
1158
1158
|
inheritAttrs: !1,
|
|
1159
1159
|
__name: "Button",
|
|
1160
1160
|
props: {
|
|
@@ -1216,7 +1216,7 @@ var GestureDetector_default = defineComponent({
|
|
|
1216
1216
|
class: "fluekit-button",
|
|
1217
1217
|
style: C.value,
|
|
1218
1218
|
disabled: e.disabled
|
|
1219
|
-
}, unref(_)), [renderSlot(f.$slots, "default", {}, () => [createTextVNode(toDisplayString(p.text), 1)], !0)], 16, _hoisted_1$
|
|
1219
|
+
}, unref(_)), [renderSlot(f.$slots, "default", {}, () => [createTextVNode(toDisplayString(p.text), 1)], !0)], 16, _hoisted_1$16)]),
|
|
1220
1220
|
_: 3
|
|
1221
1221
|
}, 8, [
|
|
1222
1222
|
"behavior",
|
|
@@ -1658,7 +1658,7 @@ function ImageProvider(e) {
|
|
|
1658
1658
|
[IMAGE_PROVIDER_SYMBOL]: !0
|
|
1659
1659
|
} : e.startsWith("http") ? NetworkImage(e) : e.startsWith("data:") ? MemoryImage(e) : AssetImage(e);
|
|
1660
1660
|
}
|
|
1661
|
-
var _hoisted_1$
|
|
1661
|
+
var _hoisted_1$15 = ["src", "alt"], Image_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
1662
1662
|
inheritAttrs: !1,
|
|
1663
1663
|
__name: "Image",
|
|
1664
1664
|
props: {
|
|
@@ -1716,9 +1716,9 @@ var _hoisted_1$14 = ["src", "alt"], Image_default = /* @__PURE__ */ __plugin_vue
|
|
|
1716
1716
|
alt: e.alt,
|
|
1717
1717
|
onLoad: w,
|
|
1718
1718
|
onError: T
|
|
1719
|
-
}, null, 44, _hoisted_1$
|
|
1719
|
+
}, null, 44, _hoisted_1$15)], 16));
|
|
1720
1720
|
}
|
|
1721
|
-
}), [["__scopeId", "data-v-ce382550"]]), _hoisted_1$
|
|
1721
|
+
}), [["__scopeId", "data-v-ce382550"]]), _hoisted_1$14 = ["aria-label"], _hoisted_2$5 = ["width", "height"], _hoisted_3$4 = ["d"], Icon_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
1722
1722
|
inheritAttrs: !1,
|
|
1723
1723
|
__name: "Icon",
|
|
1724
1724
|
props: {
|
|
@@ -1765,7 +1765,7 @@ var _hoisted_1$14 = ["src", "alt"], Image_default = /* @__PURE__ */ __plugin_vue
|
|
|
1765
1765
|
fill: "currentColor",
|
|
1766
1766
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1767
1767
|
class: "icon-svg"
|
|
1768
|
-
}, [createElementVNode("path", { d: e.icon }, null, 8, _hoisted_3$4)], 8, _hoisted_2$5)) : createCommentVNode("", !0)], !0)], 16, _hoisted_1$
|
|
1768
|
+
}, [createElementVNode("path", { d: e.icon }, null, 8, _hoisted_3$4)], 8, _hoisted_2$5)) : createCommentVNode("", !0)], !0)], 16, _hoisted_1$14));
|
|
1769
1769
|
}
|
|
1770
1770
|
}), [["__scopeId", "data-v-96834c76"]]);
|
|
1771
1771
|
const Colors = {
|
|
@@ -2224,7 +2224,7 @@ var CupertinoActivityIndicator_default = /* @__PURE__ */ __plugin_vue_export_hel
|
|
|
2224
2224
|
style: normalizeStyle(C.value)
|
|
2225
2225
|
}, [renderSlot(f.$slots, "default", {}, void 0, !0)], 4)], 544));
|
|
2226
2226
|
}
|
|
2227
|
-
}), [["__scopeId", "data-v-2456a3bd"]]), _hoisted_1$
|
|
2227
|
+
}), [["__scopeId", "data-v-2456a3bd"]]), _hoisted_1$13 = {
|
|
2228
2228
|
key: 0,
|
|
2229
2229
|
class: "list-view-separator"
|
|
2230
2230
|
}, ListView_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
@@ -2271,7 +2271,7 @@ var CupertinoActivityIndicator_default = /* @__PURE__ */ __plugin_vue_export_hel
|
|
|
2271
2271
|
default: withCtx(() => [createElementVNode("div", {
|
|
2272
2272
|
class: "list-view-content",
|
|
2273
2273
|
style: normalizeStyle(m.value)
|
|
2274
|
-
}, [e.itemCount ? (openBlock(!0), createElementBlock(Fragment, { key: 1 }, renderList(e.itemCount, (m) => (openBlock(), createElementBlock(Fragment, { key: m - 1 }, [renderSlot(p.$slots, "item", { index: m - 1 }, void 0, !0), e.separator && m < e.itemCount ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
2274
|
+
}, [e.itemCount ? (openBlock(!0), createElementBlock(Fragment, { key: 1 }, renderList(e.itemCount, (m) => (openBlock(), createElementBlock(Fragment, { key: m - 1 }, [renderSlot(p.$slots, "item", { index: m - 1 }, void 0, !0), e.separator && m < e.itemCount ? (openBlock(), createElementBlock("div", _hoisted_1$13, [renderSlot(p.$slots, "separator", { index: m - 1 }, void 0, !0)])) : createCommentVNode("", !0)], 64))), 128)) : renderSlot(p.$slots, "default", { key: 0 }, void 0, !0)], 4)]),
|
|
2275
2275
|
_: 3
|
|
2276
2276
|
}, 8, [
|
|
2277
2277
|
"scroll-direction",
|
|
@@ -2588,7 +2588,7 @@ const FloatingLabelBehavior = {
|
|
|
2588
2588
|
function InputDecoration(e = {}) {
|
|
2589
2589
|
return e.floatingLabelBehavior = e.floatingLabelBehavior || FloatingLabelBehavior.never, e;
|
|
2590
2590
|
}
|
|
2591
|
-
var _hoisted_1$
|
|
2591
|
+
var _hoisted_1$12 = {
|
|
2592
2592
|
key: 0,
|
|
2593
2593
|
class: "fluekit-input-icon"
|
|
2594
2594
|
}, _hoisted_2$4 = { class: "fluekit-text-field-content" }, _hoisted_3$3 = {
|
|
@@ -2651,11 +2651,11 @@ var _hoisted_1$11 = {
|
|
|
2651
2651
|
],
|
|
2652
2652
|
setup(e, { emit: f }) {
|
|
2653
2653
|
useCssVars((e) => ({
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2654
|
+
v25dbf6f2: unref(resolveColor)(e.decoration?.iconColor) || "inherit",
|
|
2655
|
+
v30bb9beb: unref(resolveColor)(e.decoration?.prefixIconColor) || "#666",
|
|
2656
|
+
v824be9ac: unref(resolveColor)(e.decoration?.suffixIconColor) || "#666",
|
|
2657
|
+
f433d54e: q.value,
|
|
2658
|
+
v7d5d7598: J.value
|
|
2659
2659
|
}));
|
|
2660
2660
|
let p = e, m = useSlots(), g = f, _ = ref(null), C = ref(!1), E = ref(null), D = ref(0), O = null, k = () => {
|
|
2661
2661
|
let e = _.value;
|
|
@@ -2703,7 +2703,8 @@ var _hoisted_1$11 = {
|
|
|
2703
2703
|
alignItems: A.value ? "flex-start" : "center",
|
|
2704
2704
|
position: "relative",
|
|
2705
2705
|
transition: "all 0.2s ease",
|
|
2706
|
-
width: "100%"
|
|
2706
|
+
width: "100%",
|
|
2707
|
+
...boxConstraintsToStyle(p.decoration?.constraints)
|
|
2707
2708
|
}, f = B.value || UnderlineInputBorder();
|
|
2708
2709
|
if (f.isOutline) {
|
|
2709
2710
|
let m = f.borderSide || BorderSide({
|
|
@@ -2738,7 +2739,19 @@ var _hoisted_1$11 = {
|
|
|
2738
2739
|
...toCSSStyle(p.decoration?.labelStyle)
|
|
2739
2740
|
};
|
|
2740
2741
|
return L.value && (e.top = "0", e.transform = "translateY(-100%) scale(0.75)", e.transformOrigin = "left bottom", C.value && (e.color = "#2196F3"), p.decoration?.floatingLabelStyle && Object.assign(e, toCSSStyle(p.decoration.floatingLabelStyle))), e;
|
|
2741
|
-
}), W = computed(() =>
|
|
2742
|
+
}), W = computed(() => {
|
|
2743
|
+
let e = {
|
|
2744
|
+
flex: 1,
|
|
2745
|
+
...toCSSStyle(p.decoration?.helperStyle)
|
|
2746
|
+
};
|
|
2747
|
+
return p.decoration?.helperTextAlign && (e.textAlign = p.decoration.helperTextAlign), p.decoration?.helperMaxLines && (e.display = "-webkit-box", e.WebkitLineClamp = p.decoration.helperMaxLines.toString(), e.WebkitBoxOrient = "vertical", e.overflow = "hidden"), p.decoration?.helperConstraints && Object.assign(e, boxConstraintsToStyle(p.decoration.helperConstraints)), e;
|
|
2748
|
+
}), G = computed(() => {
|
|
2749
|
+
let e = {
|
|
2750
|
+
flex: 1,
|
|
2751
|
+
...toCSSStyle(p.decoration?.errorStyle)
|
|
2752
|
+
};
|
|
2753
|
+
return p.decoration?.errorTextAlign && (e.textAlign = p.decoration.errorTextAlign), p.decoration?.errorMaxLines && (e.display = "-webkit-box", e.WebkitLineClamp = p.decoration.errorMaxLines.toString(), e.WebkitBoxOrient = "vertical", e.overflow = "hidden"), p.decoration?.errorConstraints && Object.assign(e, boxConstraintsToStyle(p.decoration.errorConstraints)), e;
|
|
2754
|
+
}), K = computed(() => toCSSStyle(p.decoration?.counterStyle)), q = computed(() => p.decoration?.hintStyle?.color ? resolveColor(p.decoration.hintStyle.color) : "#999"), J = computed(() => p.decoration?.hintStyle?.fontSize ? `${p.decoration.hintStyle.fontSize}px` : "inherit"), Y = computed(() => p.maxLength && p.maxLength > 0 || p.decoration?.counterText), X = computed(() => p.decoration?.errorText || p.decoration?.helperText || Y.value || p.decoration?.alwaysShowError), Z = (e) => {
|
|
2742
2755
|
let f = e.target;
|
|
2743
2756
|
g("update:modelValue", f.value), nextTick(k);
|
|
2744
2757
|
}, Q = (e) => {
|
|
@@ -2752,7 +2765,7 @@ var _hoisted_1$11 = {
|
|
|
2752
2765
|
"has-error": !!e.decoration?.errorText,
|
|
2753
2766
|
"is-collapsed": e.decoration?.isCollapsed,
|
|
2754
2767
|
"is-dense": e.decoration?.isDense
|
|
2755
|
-
}]) }, [f.$slots.icon || e.decoration?.icon ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
2768
|
+
}]) }, [f.$slots.icon || e.decoration?.icon ? (openBlock(), createElementBlock("div", _hoisted_1$12, [renderSlot(f.$slots, "icon", {}, () => [createVNode(Icon_default, {
|
|
2756
2769
|
icon: e.decoration?.icon,
|
|
2757
2770
|
size: e.decoration?.iconSize,
|
|
2758
2771
|
color: e.decoration?.iconColor
|
|
@@ -2826,11 +2839,11 @@ var _hoisted_1$11 = {
|
|
|
2826
2839
|
"size",
|
|
2827
2840
|
"color"
|
|
2828
2841
|
])], !0)])) : createCommentVNode("", !0)
|
|
2829
|
-
], 4), X.value ? (openBlock(), createElementBlock("div", _hoisted_6, [e.decoration?.errorText ? (openBlock(), createElementBlock("div", {
|
|
2842
|
+
], 4), X.value ? (openBlock(), createElementBlock("div", _hoisted_6, [e.decoration?.errorText || e.decoration?.alwaysShowError ? (openBlock(), createElementBlock("div", {
|
|
2830
2843
|
key: 0,
|
|
2831
|
-
class: "fluekit-input-helper is-error",
|
|
2844
|
+
class: normalizeClass(["fluekit-input-helper is-error", { "is-invisible": !e.decoration?.errorText }]),
|
|
2832
2845
|
style: normalizeStyle(G.value)
|
|
2833
|
-
}, toDisplayString(e.decoration
|
|
2846
|
+
}, toDisplayString(e.decoration?.errorText || "\xA0"), 7)) : e.decoration?.helperText ? (openBlock(), createElementBlock("div", {
|
|
2834
2847
|
key: 1,
|
|
2835
2848
|
class: "fluekit-input-helper",
|
|
2836
2849
|
style: normalizeStyle(W.value)
|
|
@@ -2840,7 +2853,7 @@ var _hoisted_1$11 = {
|
|
|
2840
2853
|
style: normalizeStyle(K.value)
|
|
2841
2854
|
}, toDisplayString(e.decoration?.counterText || `${String(e.modelValue).length} / ${e.maxLength}`), 5)) : createCommentVNode("", !0)])) : createCommentVNode("", !0)])], 2));
|
|
2842
2855
|
}
|
|
2843
|
-
}), [["__scopeId", "data-v-
|
|
2856
|
+
}), [["__scopeId", "data-v-4fd366e1"]]), TextArea_default = /* @__PURE__ */ defineComponent({
|
|
2844
2857
|
inheritAttrs: !1,
|
|
2845
2858
|
__name: "TextArea",
|
|
2846
2859
|
props: { maxLines: { default: 4 } },
|
|
@@ -3380,7 +3393,7 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
|
|
|
3380
3393
|
}
|
|
3381
3394
|
});
|
|
3382
3395
|
const CheckboxGroupKey = Symbol("CheckboxGroup");
|
|
3383
|
-
var _hoisted_1$
|
|
3396
|
+
var _hoisted_1$11 = ["fill"], Checkbox_default = /* @__PURE__ */ defineComponent({
|
|
3384
3397
|
__name: "Checkbox",
|
|
3385
3398
|
props: {
|
|
3386
3399
|
value: {},
|
|
@@ -3433,7 +3446,7 @@ var _hoisted_1$10 = ["fill"], Checkbox_default = /* @__PURE__ */ defineComponent
|
|
|
3433
3446
|
height: 14,
|
|
3434
3447
|
fill: unref(resolveColor)(e.checkColor),
|
|
3435
3448
|
style: { display: "block" }
|
|
3436
|
-
}, [...p[0] ||= [createElementVNode("path", { d: "M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" }, null, -1)]], 8, _hoisted_1$
|
|
3449
|
+
}, [...p[0] ||= [createElementVNode("path", { d: "M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" }, null, -1)]], 8, _hoisted_1$11)) : createCommentVNode("", !0)]),
|
|
3437
3450
|
_: 1
|
|
3438
3451
|
}, 8, ["decoration"])),
|
|
3439
3452
|
e.labelPosition === "right" ? renderSlot(f.$slots, "default", { key: 2 }) : createCommentVNode("", !0)
|
|
@@ -3443,7 +3456,7 @@ var _hoisted_1$10 = ["fill"], Checkbox_default = /* @__PURE__ */ defineComponent
|
|
|
3443
3456
|
_: 3
|
|
3444
3457
|
}));
|
|
3445
3458
|
}
|
|
3446
|
-
}), _hoisted_1$
|
|
3459
|
+
}), _hoisted_1$10 = { class: "flue-checkbox-group" }, CheckboxGroup_default = /* @__PURE__ */ defineComponent({
|
|
3447
3460
|
__name: "CheckboxGroup",
|
|
3448
3461
|
props: {
|
|
3449
3462
|
value: { default: () => [] },
|
|
@@ -3462,7 +3475,7 @@ var _hoisted_1$10 = ["fill"], Checkbox_default = /* @__PURE__ */ defineComponent
|
|
|
3462
3475
|
value: _,
|
|
3463
3476
|
disabled: v,
|
|
3464
3477
|
updateValue: g
|
|
3465
|
-
}), (e, f) => (openBlock(), createElementBlock("div", _hoisted_1$
|
|
3478
|
+
}), (e, f) => (openBlock(), createElementBlock("div", _hoisted_1$10, [renderSlot(e.$slots, "default")]));
|
|
3466
3479
|
}
|
|
3467
3480
|
});
|
|
3468
3481
|
const RadioGroupKey = Symbol("RadioGroup");
|
|
@@ -3527,7 +3540,7 @@ var Radio_default = /* @__PURE__ */ defineComponent({
|
|
|
3527
3540
|
_: 3
|
|
3528
3541
|
}));
|
|
3529
3542
|
}
|
|
3530
|
-
}), _hoisted_1$
|
|
3543
|
+
}), _hoisted_1$9 = { class: "flue-radio-group" }, RadioGroup_default = /* @__PURE__ */ defineComponent({
|
|
3531
3544
|
__name: "RadioGroup",
|
|
3532
3545
|
props: {
|
|
3533
3546
|
value: {},
|
|
@@ -3547,7 +3560,7 @@ var Radio_default = /* @__PURE__ */ defineComponent({
|
|
|
3547
3560
|
updateValue: g,
|
|
3548
3561
|
activeColor: v,
|
|
3549
3562
|
disabled: y
|
|
3550
|
-
}), (e, f) => (openBlock(), createElementBlock("div", _hoisted_1$
|
|
3563
|
+
}), (e, f) => (openBlock(), createElementBlock("div", _hoisted_1$9, [renderSlot(e.$slots, "default")]));
|
|
3551
3564
|
}
|
|
3552
3565
|
}), RadioListTile_default = /* @__PURE__ */ defineComponent({
|
|
3553
3566
|
__name: "RadioListTile",
|
|
@@ -4438,7 +4451,7 @@ var MediaQuery_default = /* @__PURE__ */ defineComponent({
|
|
|
4438
4451
|
_: 3
|
|
4439
4452
|
}, 8, ["color"]));
|
|
4440
4453
|
}
|
|
4441
|
-
}), _hoisted_1$
|
|
4454
|
+
}), _hoisted_1$8 = { class: "flue-cupertino-navigation-bar" }, _hoisted_2$3 = {
|
|
4442
4455
|
key: 0,
|
|
4443
4456
|
class: "flue-nav-bar-leading"
|
|
4444
4457
|
}, _hoisted_3$2 = { class: "flue-nav-bar-middle" }, _hoisted_4$1 = {
|
|
@@ -4463,7 +4476,7 @@ var MediaQuery_default = /* @__PURE__ */ defineComponent({
|
|
|
4463
4476
|
color: "#000000",
|
|
4464
4477
|
fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif"
|
|
4465
4478
|
});
|
|
4466
|
-
return (f, _) => (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4479
|
+
return (f, _) => (openBlock(), createElementBlock("div", _hoisted_1$8, [createVNode(Container_default, {
|
|
4467
4480
|
height: 44,
|
|
4468
4481
|
width: "100%",
|
|
4469
4482
|
color: e.backgroundColor,
|
|
@@ -4522,7 +4535,7 @@ var MediaQuery_default = /* @__PURE__ */ defineComponent({
|
|
|
4522
4535
|
"padding"
|
|
4523
4536
|
])]));
|
|
4524
4537
|
}
|
|
4525
|
-
}), [["__scopeId", "data-v-a51399c0"]]), _hoisted_1$
|
|
4538
|
+
}), [["__scopeId", "data-v-a51399c0"]]), _hoisted_1$7 = { class: "snackbar-overlay" }, SnackBarComponent_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
4526
4539
|
__name: "SnackBarComponent",
|
|
4527
4540
|
props: {
|
|
4528
4541
|
content: {},
|
|
@@ -4551,7 +4564,7 @@ var MediaQuery_default = /* @__PURE__ */ defineComponent({
|
|
|
4551
4564
|
}
|
|
4552
4565
|
}]
|
|
4553
4566
|
}));
|
|
4554
|
-
return (f, p) => (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4567
|
+
return (f, p) => (openBlock(), createElementBlock("div", _hoisted_1$7, [createVNode(Container_default, {
|
|
4555
4568
|
margin: unref(EdgeInsets).all(8),
|
|
4556
4569
|
padding: unref(EdgeInsets).symmetric({
|
|
4557
4570
|
horizontal: 16,
|
|
@@ -4758,9 +4771,12 @@ const Icons = {
|
|
|
4758
4771
|
add: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z",
|
|
4759
4772
|
create: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z",
|
|
4760
4773
|
refresh: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z",
|
|
4761
|
-
settings: "M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.3-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.5.45l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.04.27.25.45.5.45h4c.25 0 .46-.18.5-.45l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.23.09.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12 15.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5z"
|
|
4774
|
+
settings: "M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.3-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.5.45l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.04.27.25.45.5.45h4c.25 0 .46-.18.5-.45l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.23.09.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12 15.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5z",
|
|
4775
|
+
star: "M12 17.27l4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.72 3.67-3.18c.67-.58.31-1.68-.57-1.75l-4.83-.41-1.89-4.46c-.34-.81-1.5-.81-1.84 0L9.19 8.63l-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08l4.15-2.5z",
|
|
4776
|
+
starBorder: "M19.65 9.04l-4.84-.42-1.89-4.45c-.34-.81-1.5-.81-1.84 0L9.19 8.63l-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08l4.15-2.5 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.73 3.68-3.18c.67-.58.32-1.68-.56-1.75zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.01 4.38.38-3.32 2.88 1 4.28L12 15.4z",
|
|
4777
|
+
starHalf: "M19.65 9.04l-4.84-.42-1.89-4.45c-.34-.81-1.5-.81-1.84 0L9.19 8.63l-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08l4.15-2.5 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.73 3.68-3.18c.67-.58.32-1.68-.56-1.75zM12 15.4V6.1l1.71 4.01 4.38.38-3.32 2.88 1 4.28L12 15.4z"
|
|
4762
4778
|
};
|
|
4763
|
-
var _hoisted_1$
|
|
4779
|
+
var _hoisted_1$6 = {
|
|
4764
4780
|
key: 0,
|
|
4765
4781
|
class: "flue-app-bar-leading"
|
|
4766
4782
|
}, _hoisted_2$2 = {
|
|
@@ -4810,7 +4826,7 @@ var _hoisted_1$5 = {
|
|
|
4810
4826
|
expanded: ""
|
|
4811
4827
|
}, {
|
|
4812
4828
|
default: withCtx(() => [
|
|
4813
|
-
f.$slots.leading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4829
|
+
f.$slots.leading ? (openBlock(), createElementBlock("div", _hoisted_1$6, [renderSlot(f.$slots, "leading", {}, void 0, !0)])) : unref(p) ? (openBlock(), createElementBlock("div", _hoisted_2$2, [createVNode(IconButton_default, {
|
|
4814
4830
|
icon: unref(Icons).menu,
|
|
4815
4831
|
color: "blue",
|
|
4816
4832
|
onPressed: unref(m)
|
|
@@ -4943,7 +4959,7 @@ var _hoisted_1$5 = {
|
|
|
4943
4959
|
"padding"
|
|
4944
4960
|
]));
|
|
4945
4961
|
}
|
|
4946
|
-
}), [["__scopeId", "data-v-11798dea"]]), _hoisted_1$
|
|
4962
|
+
}), [["__scopeId", "data-v-11798dea"]]), _hoisted_1$5 = { class: "fluekit-context-menu-anchor" }, _hoisted_2$1 = { class: "fluekit-action-group" }, _hoisted_3 = ["onClick"], _hoisted_4 = { class: "action-text" }, CupertinoContextMenu_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
4947
4963
|
__name: "CupertinoContextMenu",
|
|
4948
4964
|
props: { actions: {} },
|
|
4949
4965
|
setup(e) {
|
|
@@ -4954,7 +4970,7 @@ var _hoisted_1$5 = {
|
|
|
4954
4970
|
}, C = (e) => {
|
|
4955
4971
|
e.onPressed && e.onPressed(), v();
|
|
4956
4972
|
};
|
|
4957
|
-
return (w, E) => (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4973
|
+
return (w, E) => (openBlock(), createElementBlock("div", _hoisted_1$5, [createVNode(GestureDetector_default, { onLongPress: _ }, {
|
|
4958
4974
|
default: withCtx(() => [renderSlot(w.$slots, "default", {}, void 0, !0)]),
|
|
4959
4975
|
_: 3
|
|
4960
4976
|
}), (openBlock(), createBlock(Teleport, { to: "body" }, [createVNode(Transition, { name: "fade" }, {
|
|
@@ -5109,7 +5125,7 @@ var ImageColorBackground_default = /* @__PURE__ */ __plugin_vue_export_helper_de
|
|
|
5109
5125
|
style: normalizeStyle(m.value)
|
|
5110
5126
|
}, null, 4)], 4));
|
|
5111
5127
|
}
|
|
5112
|
-
}), [["__scopeId", "data-v-111d0e67"]]), _hoisted_1$
|
|
5128
|
+
}), [["__scopeId", "data-v-111d0e67"]]), _hoisted_1$4 = ["stroke", "stroke-width"], _hoisted_2 = [
|
|
5113
5129
|
"stroke",
|
|
5114
5130
|
"stroke-width",
|
|
5115
5131
|
"stroke-dasharray",
|
|
@@ -5152,7 +5168,7 @@ var ImageColorBackground_default = /* @__PURE__ */ __plugin_vue_export_helper_de
|
|
|
5152
5168
|
fill: "none",
|
|
5153
5169
|
stroke: unref(resolveColor)(e.backgroundColor) || "transparent",
|
|
5154
5170
|
"stroke-width": e.strokeWidth
|
|
5155
|
-
}, null, 8, _hoisted_1$
|
|
5171
|
+
}, null, 8, _hoisted_1$4), createElementVNode("circle", {
|
|
5156
5172
|
class: "flue-circular-progress-value",
|
|
5157
5173
|
cx: "20",
|
|
5158
5174
|
cy: "20",
|
|
@@ -5197,7 +5213,7 @@ var ImageColorBackground_default = /* @__PURE__ */ __plugin_vue_export_helper_de
|
|
|
5197
5213
|
_: 3
|
|
5198
5214
|
}));
|
|
5199
5215
|
}
|
|
5200
|
-
}), [["__scopeId", "data-v-ca626865"]]), _hoisted_1$
|
|
5216
|
+
}), [["__scopeId", "data-v-ca626865"]]), _hoisted_1$3 = { class: "fluekit-drawer-root" }, Drawer_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
5201
5217
|
inheritAttrs: !1,
|
|
5202
5218
|
__name: "Drawer",
|
|
5203
5219
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -5258,7 +5274,7 @@ var ImageColorBackground_default = /* @__PURE__ */ __plugin_vue_export_helper_de
|
|
|
5258
5274
|
let e = {};
|
|
5259
5275
|
return p.edge === "end" ? e.right = 0 : e.left = 0, e.top = 0, e.bottom = 0, e.zIndex = p.elevation, e;
|
|
5260
5276
|
});
|
|
5261
|
-
return (f, p) => (openBlock(), createElementBlock("div", _hoisted_1$
|
|
5277
|
+
return (f, p) => (openBlock(), createElementBlock("div", _hoisted_1$3, [createVNode(Stack_default, { fit: unref(StackFit).expand }, {
|
|
5262
5278
|
default: withCtx(() => [createVNode(Transition, { name: e.edge === "end" ? "fluekit-drawer-slide-end" : "fluekit-drawer-slide" }, {
|
|
5263
5279
|
default: withCtx(() => [m.value ? (openBlock(), createBlock(unref(Positioned_default), normalizeProps(mergeProps({ key: 0 }, E.value)), {
|
|
5264
5280
|
default: withCtx(() => [createVNode(Container_default, {
|
|
@@ -5521,7 +5537,7 @@ var ImageColorBackground_default = /* @__PURE__ */ __plugin_vue_export_helper_de
|
|
|
5521
5537
|
_: 3
|
|
5522
5538
|
}));
|
|
5523
5539
|
}
|
|
5524
|
-
}), [["__scopeId", "data-v-5d7cdcaa"]]), _hoisted_1$
|
|
5540
|
+
}), [["__scopeId", "data-v-5d7cdcaa"]]), _hoisted_1$2 = {
|
|
5525
5541
|
key: 0,
|
|
5526
5542
|
class: "fluekit-chip-avatar"
|
|
5527
5543
|
}, Chip_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
@@ -5557,7 +5573,7 @@ var ImageColorBackground_default = /* @__PURE__ */ __plugin_vue_export_helper_de
|
|
|
5557
5573
|
gap: 8
|
|
5558
5574
|
}, {
|
|
5559
5575
|
default: withCtx(() => [
|
|
5560
|
-
e.avatar || f.$slots.avatar ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
5576
|
+
e.avatar || f.$slots.avatar ? (openBlock(), createElementBlock("div", _hoisted_1$2, [renderSlot(f.$slots, "avatar", {}, () => [e.avatar ? (openBlock(), createBlock(resolveDynamicComponent(e.avatar), { key: 0 })) : createCommentVNode("", !0)], !0)])) : createCommentVNode("", !0),
|
|
5561
5577
|
createVNode(Text_default, { style: normalizeStyle(E.value) }, {
|
|
5562
5578
|
default: withCtx(() => [createTextVNode(toDisplayString(e.label), 1)]),
|
|
5563
5579
|
_: 1
|
|
@@ -5878,17 +5894,73 @@ var CircleAvatar_default = /* @__PURE__ */ defineComponent({
|
|
|
5878
5894
|
_: 1
|
|
5879
5895
|
}));
|
|
5880
5896
|
}
|
|
5881
|
-
}), _hoisted_1 = { class: "fluekit-tab-bar-view" }, TabBarView_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
5897
|
+
}), _hoisted_1$1 = { class: "fluekit-tab-bar-view" }, TabBarView_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
5882
5898
|
inheritAttrs: !1,
|
|
5883
5899
|
__name: "TabBarView",
|
|
5884
5900
|
props: { modelValue: {} },
|
|
5885
5901
|
setup(e) {
|
|
5886
|
-
return (f, p) => (openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", {
|
|
5902
|
+
return (f, p) => (openBlock(), createElementBlock("div", _hoisted_1$1, [createElementVNode("div", {
|
|
5887
5903
|
class: "fluekit-tab-bar-view-content",
|
|
5888
5904
|
style: normalizeStyle({ transform: `translateX(-${e.modelValue * 100}%)` })
|
|
5889
5905
|
}, [renderSlot(f.$slots, "default", {}, void 0, !0)], 4)]));
|
|
5890
5906
|
}
|
|
5891
|
-
}), [["__scopeId", "data-v-e20dd01b"]]),
|
|
5907
|
+
}), [["__scopeId", "data-v-e20dd01b"]]), _hoisted_1 = ["onClick", "onMousemove"], RatingBar_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
5908
|
+
__name: "RatingBar",
|
|
5909
|
+
props: {
|
|
5910
|
+
modelValue: {},
|
|
5911
|
+
max: { default: 5 },
|
|
5912
|
+
size: { default: 24 },
|
|
5913
|
+
color: { default: "#FFC107" },
|
|
5914
|
+
unselectedColor: { default: "#E0E0E0" },
|
|
5915
|
+
allowHalfRating: {
|
|
5916
|
+
type: Boolean,
|
|
5917
|
+
default: !1
|
|
5918
|
+
},
|
|
5919
|
+
readonly: {
|
|
5920
|
+
type: Boolean,
|
|
5921
|
+
default: !1
|
|
5922
|
+
}
|
|
5923
|
+
},
|
|
5924
|
+
emits: ["update:modelValue"],
|
|
5925
|
+
setup(e, { emit: p }) {
|
|
5926
|
+
let m = e, g = p, _ = ref(null), y = computed(() => ({
|
|
5927
|
+
display: "inline-flex",
|
|
5928
|
+
alignItems: "center",
|
|
5929
|
+
cursor: m.readonly ? "default" : "pointer"
|
|
5930
|
+
})), b = (e) => {
|
|
5931
|
+
let f = _.value === null ? m.modelValue : _.value;
|
|
5932
|
+
return f >= e ? Icons.star : f >= e - .5 ? Icons.starHalf : Icons.starBorder;
|
|
5933
|
+
}, S = (e) => (_.value === null ? m.modelValue : _.value) >= e - .5 ? resolveColor(m.color) : resolveColor(m.unselectedColor), C = (e, f) => {
|
|
5934
|
+
m.readonly || g("update:modelValue", D(e, f));
|
|
5935
|
+
}, w = (e, f) => {
|
|
5936
|
+
m.readonly || (_.value = D(e, f));
|
|
5937
|
+
}, E = () => {
|
|
5938
|
+
m.readonly || (_.value = null);
|
|
5939
|
+
}, D = (e, f) => {
|
|
5940
|
+
if (!m.allowHalfRating) return e;
|
|
5941
|
+
let p = f.currentTarget.getBoundingClientRect();
|
|
5942
|
+
return f.clientX - p.left < p.width / 2 ? e - .5 : e;
|
|
5943
|
+
};
|
|
5944
|
+
return (p, m) => (openBlock(), createElementBlock("div", {
|
|
5945
|
+
class: "fluekit-rating-bar",
|
|
5946
|
+
style: normalizeStyle(y.value),
|
|
5947
|
+
onMouseleave: E
|
|
5948
|
+
}, [(openBlock(!0), createElementBlock(Fragment, null, renderList(e.max, (f) => (openBlock(), createElementBlock("div", {
|
|
5949
|
+
key: f,
|
|
5950
|
+
class: "fluekit-rating-item",
|
|
5951
|
+
onClick: (e) => C(f, e),
|
|
5952
|
+
onMousemove: (e) => w(f, e)
|
|
5953
|
+
}, [createVNode(Icon_default, {
|
|
5954
|
+
icon: b(f),
|
|
5955
|
+
size: e.size,
|
|
5956
|
+
color: S(f)
|
|
5957
|
+
}, null, 8, [
|
|
5958
|
+
"icon",
|
|
5959
|
+
"size",
|
|
5960
|
+
"color"
|
|
5961
|
+
])], 40, _hoisted_1))), 128))], 36));
|
|
5962
|
+
}
|
|
5963
|
+
}), [["__scopeId", "data-v-6b4f086d"]]), FlueConfigProvider_default = /* @__PURE__ */ defineComponent({
|
|
5892
5964
|
__name: "FlueConfigProvider",
|
|
5893
5965
|
props: {
|
|
5894
5966
|
transform: {
|
|
@@ -6227,4 +6299,4 @@ function setDefaultVW(e) {
|
|
|
6227
6299
|
function setTransform(e) {
|
|
6228
6300
|
console.warn("setTransform is no longer supported. Please use <FlueConfigProvider :transform='transform'/> instead.");
|
|
6229
6301
|
}
|
|
6230
|
-
export { ActionChip_default as ActionChip, AlertDialog_default as AlertDialog, Align_default as Align, Alignment, AnimatedContainer_default as AnimatedContainer, AnimatedOpacity_default as AnimatedOpacity, AppBar_default as AppBar, AspectRatio_default as AspectRatio, AssetImage, BackdropFilter_default as BackdropFilter, BlurStyle, Border, BorderRadius, BorderSide, BottomNavigationBar_default as BottomNavigationBar, BottomSheet_default as BottomSheet, Box_default as Box, BoxAlignment, BoxConstraints, BoxDecoration, BoxFit, BoxShadow, BoxShape, Builder_default as Builder, Button_default as Button, ButtonStyle, Card_default as Card, Center_default as Center, Checkbox_default as Checkbox, CheckboxGroup_default as CheckboxGroup, Chip_default as Chip, ChoiceChip_default as ChoiceChip, CircleAvatar_default as CircleAvatar, CircularProgressIndicator_default as CircularProgressIndicator, Clip, ClipOval_default as ClipOval, ClipRRect_default as ClipRRect, Color, ColorUtils, Colors, Column_default as Column, ConstrainedBox_default as ConstrainedBox, Container_default as Container, CrossAxisAlignment, CupertinoActivityIndicator_default as CupertinoActivityIndicator, CupertinoColors, CupertinoContextMenu_default as CupertinoContextMenu, CupertinoNavigationBar_default as CupertinoNavigationBar, CupertinoPageScaffold_default as CupertinoPageScaffold, DecorationImage, Divider_default as Divider, Drawer_default as Drawer, EdgeInsets, ElevatedButton_default as ElevatedButton, Expanded_default as Expanded, Fixed_default as Fixed, FlexBox_default as FlexBox, FloatingLabelBehavior, FlueConfigProvider_default as FlueConfigProvider, FontStyle, FontWeight, GestureDetector_default as GestureDetector, GridView_default as GridView, Icon_default as Icon, IconButton_default as IconButton, Icons, IgnorePointer_default as IgnorePointer, Image_default as Image, ImageColorBackground_default as ImageColorBackground, ImageFilter, ImageProvider, ImageUtils, InkWell_default as InkWell, InputDecoration, LayoutBuilder_default as LayoutBuilder, LinearGradient, LinearProgressIndicator_default as LinearProgressIndicator, ListTile_default as ListTile, ListView_default as ListView, MainAxisAlignment, Matrix4, MediaQuery_default as MediaQuery, MediaQueryKey, MemoryImage, NetworkImage, Opacity_default as Opacity, Orientation, OutlineInputBorder, OutlinedButton_default as OutlinedButton, Overlay_default as Overlay, Padding_default as Padding, PopupMenuButton_default as PopupMenuButton, Positioned_default as Positioned, RadialGradient, Radio_default as Radio, RadioGroup_default as RadioGroup, RadioListTile_default as RadioListTile, RangeSlider_default as RangeSlider, RefreshIndicator_default as RefreshIndicator, Row_default as Row, SafeArea_default as SafeArea, Scaffold_default as Scaffold, ScrollView_default as ScrollView, SegmentedControl_default as SegmentedControl, Size, SizedBox_default as SizedBox, Slider_default as Slider, SlidingSegmentedControl_default as SlidingSegmentedControl, SnackBar, Spacer_default as Spacer, Stack_default as Stack, StackFit, Sticky_default as Sticky, Switch_default as Switch, TabBar_default as TabBar, TabBarView_default as TabBarView, Text_default as Text, TextAlign, TextArea_default as TextArea, TextBaseline, TextButton_default as TextButton, TextDecoration, TextDecorationStyle, TextDirection, TextField_default as TextField, TextOverflow, TextStyle, TextStylePreset, TileMode, Transform_default as Transform, UnderlineInputBorder, Wrap_default as Wrap, borderRadiusToStyle, borderSideToStyle, borderToStyle, boxConstraintsToStyle, boxDecorationToStyle, boxShadowToCSS, buttonStyleToStyle, computeLuminance, createAssetImageProvider, createNetworkImageProvider, darken, decorationImageToStyle, edgeInsetsToStyle, extractDominantColor, isBorderRadius, isBorderSide, isBorders, isBoxConstraints, isBoxDecoration, isBoxShadow, isEdgeInsets, isImageFilter, isImageProvider, isTextStyle, keep, lighten, marginToStyle, matrix4ToCSSStyle, normalizeSrc, paddingToStyle, px2vw, resolveColor, setAssetBaseURL, setDefaultVW, setTransform, sizeToStyle, toCSSStyle as textStyleToCSSStyle, toCSSStyle, useMediaQuery, withAlpha, withBlue, withGreen, withOpacity, withRed };
|
|
6302
|
+
export { ActionChip_default as ActionChip, AlertDialog_default as AlertDialog, Align_default as Align, Alignment, AnimatedContainer_default as AnimatedContainer, AnimatedOpacity_default as AnimatedOpacity, AppBar_default as AppBar, AspectRatio_default as AspectRatio, AssetImage, BackdropFilter_default as BackdropFilter, BlurStyle, Border, BorderRadius, BorderSide, BottomNavigationBar_default as BottomNavigationBar, BottomSheet_default as BottomSheet, Box_default as Box, BoxAlignment, BoxConstraints, BoxDecoration, BoxFit, BoxShadow, BoxShape, Builder_default as Builder, Button_default as Button, ButtonStyle, Card_default as Card, Center_default as Center, Checkbox_default as Checkbox, CheckboxGroup_default as CheckboxGroup, Chip_default as Chip, ChoiceChip_default as ChoiceChip, CircleAvatar_default as CircleAvatar, CircularProgressIndicator_default as CircularProgressIndicator, Clip, ClipOval_default as ClipOval, ClipRRect_default as ClipRRect, Color, ColorUtils, Colors, Column_default as Column, ConstrainedBox_default as ConstrainedBox, Container_default as Container, CrossAxisAlignment, CupertinoActivityIndicator_default as CupertinoActivityIndicator, CupertinoColors, CupertinoContextMenu_default as CupertinoContextMenu, CupertinoNavigationBar_default as CupertinoNavigationBar, CupertinoPageScaffold_default as CupertinoPageScaffold, DecorationImage, Divider_default as Divider, Drawer_default as Drawer, EdgeInsets, ElevatedButton_default as ElevatedButton, Expanded_default as Expanded, Fixed_default as Fixed, FlexBox_default as FlexBox, FloatingLabelBehavior, FlueConfigProvider_default as FlueConfigProvider, FontStyle, FontWeight, GestureDetector_default as GestureDetector, GridView_default as GridView, Icon_default as Icon, IconButton_default as IconButton, Icons, IgnorePointer_default as IgnorePointer, Image_default as Image, ImageColorBackground_default as ImageColorBackground, ImageFilter, ImageProvider, ImageUtils, InkWell_default as InkWell, InputDecoration, LayoutBuilder_default as LayoutBuilder, LinearGradient, LinearProgressIndicator_default as LinearProgressIndicator, ListTile_default as ListTile, ListView_default as ListView, MainAxisAlignment, Matrix4, MediaQuery_default as MediaQuery, MediaQueryKey, MemoryImage, NetworkImage, Opacity_default as Opacity, Orientation, OutlineInputBorder, OutlinedButton_default as OutlinedButton, Overlay_default as Overlay, Padding_default as Padding, PopupMenuButton_default as PopupMenuButton, Positioned_default as Positioned, RadialGradient, Radio_default as Radio, RadioGroup_default as RadioGroup, RadioListTile_default as RadioListTile, RangeSlider_default as RangeSlider, RatingBar_default as RatingBar, RefreshIndicator_default as RefreshIndicator, Row_default as Row, SafeArea_default as SafeArea, Scaffold_default as Scaffold, ScrollView_default as ScrollView, SegmentedControl_default as SegmentedControl, Size, SizedBox_default as SizedBox, Slider_default as Slider, SlidingSegmentedControl_default as SlidingSegmentedControl, SnackBar, Spacer_default as Spacer, Stack_default as Stack, StackFit, Sticky_default as Sticky, Switch_default as Switch, TabBar_default as TabBar, TabBarView_default as TabBarView, Text_default as Text, TextAlign, TextArea_default as TextArea, TextBaseline, TextButton_default as TextButton, TextDecoration, TextDecorationStyle, TextDirection, TextField_default as TextField, TextOverflow, TextStyle, TextStylePreset, TileMode, Transform_default as Transform, UnderlineInputBorder, Wrap_default as Wrap, borderRadiusToStyle, borderSideToStyle, borderToStyle, boxConstraintsToStyle, boxDecorationToStyle, boxShadowToCSS, buttonStyleToStyle, computeLuminance, createAssetImageProvider, createNetworkImageProvider, darken, decorationImageToStyle, edgeInsetsToStyle, extractDominantColor, isBorderRadius, isBorderSide, isBorders, isBoxConstraints, isBoxDecoration, isBoxShadow, isEdgeInsets, isImageFilter, isImageProvider, isTextStyle, keep, lighten, marginToStyle, matrix4ToCSSStyle, normalizeSrc, paddingToStyle, px2vw, resolveColor, setAssetBaseURL, setDefaultVW, setTransform, sizeToStyle, toCSSStyle as textStyleToCSSStyle, toCSSStyle, useMediaQuery, withAlpha, withBlue, withGreen, withOpacity, withRed };
|