buefy 3.0.5 → 3.0.7
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/buefy.d.ts +63 -3
- package/dist/buefy.esm.js +209 -46
- package/dist/buefy.esm.min.js +2 -2
- package/dist/buefy.js +209 -44
- package/dist/buefy.min.js +2 -2
- package/dist/cjs/{Autocomplete-DEUs3z7g.js → Autocomplete-b0JUESTO.js} +3 -3
- package/dist/cjs/{Button-Cq7yqI8p.js → Button-Dw6VG6n7.js} +2 -2
- package/dist/cjs/{Checkbox-GPzAMQqM.js → Checkbox-cujzPKDl.js} +31 -3
- package/dist/cjs/{CompatFallthroughMixin-hhK0Gkhr.js → CompatFallthroughMixin-DI5L88ey.js} +1 -1
- package/dist/cjs/{Datepicker-DhsJpauU.js → Datepicker-DVB975q3.js} +9 -9
- package/dist/cjs/{Dropdown-BAXMPUCZ.js → Dropdown-CFh_lLvm.js} +1 -1
- package/dist/cjs/{DropdownItem-BOAAPdrW.js → DropdownItem-D2Ky1QIH.js} +1 -1
- package/dist/cjs/{Field-19ZCJFF8.js → Field-Dy73xhhY.js} +1 -1
- package/dist/cjs/{FormElementMixin-DavX4iOv.js → FormElementMixin-17PQ7TPR.js} +1 -1
- package/dist/cjs/{Icon-lsDKE2wQ.js → Icon-DrFLI3Zg.js} +48 -6
- package/dist/cjs/{Image-CocPwU3n.js → Image-D4AGl_2Z.js} +1 -1
- package/dist/cjs/{Input-BcloGeZ3.js → Input-z4Vlmbj8.js} +4 -4
- package/dist/cjs/{Modal-D1aZUehE.js → Modal-CVyLPawO.js} +1 -1
- package/dist/cjs/{NoticeMixin--3RjH43z.js → NoticeMixin-BlwAiMRV.js} +1 -1
- package/dist/cjs/{Pagination-D1MVdiLp.js → Pagination-54NHaQvi.js} +2 -2
- package/dist/cjs/{Progress-DT9Qc8Id.js → Progress-BlXLJ3zb.js} +1 -1
- package/dist/cjs/{Select-DayPKwCY.js → Select-DRXaEjlP.js} +3 -3
- package/dist/cjs/{TabbedChildMixin-B3JUUwcf.js → TabbedChildMixin-BFHsIyg6.js} +1 -1
- package/dist/cjs/{Tag-BprnwJJ1.js → Tag-BdL2uH8x.js} +1 -1
- package/dist/cjs/{Timepicker-DDYkLeNV.js → Timepicker-ujQPxzDF.js} +6 -6
- package/dist/cjs/{TimepickerMixin-C9WVvcUL.js → TimepickerMixin-C9OA8jWF.js} +3 -3
- package/dist/cjs/{Tooltip-Cgighv0j.js → Tooltip-j_3eF7QD.js} +1 -1
- package/dist/cjs/autocomplete.js +7 -6
- package/dist/cjs/breadcrumb.js +2 -2
- package/dist/cjs/button.js +4 -3
- package/dist/cjs/carousel.js +4 -3
- package/dist/cjs/checkbox.js +3 -1
- package/dist/cjs/clockpicker.js +8 -7
- package/dist/cjs/colorpicker.js +12 -11
- package/dist/cjs/{config-DR826Ki2.js → config-CXSF5Vky.js} +2 -1
- package/dist/cjs/config.js +1 -1
- package/dist/cjs/datepicker.js +11 -10
- package/dist/cjs/datetimepicker.js +13 -12
- package/dist/cjs/dialog.js +5 -4
- package/dist/cjs/dropdown.js +3 -3
- package/dist/cjs/field.js +2 -2
- package/dist/cjs/icon.js +5 -2
- package/dist/cjs/iconAliases-DoayKo0q.js +100 -0
- package/dist/cjs/image.js +2 -2
- package/dist/cjs/{index-BkFyTNWp.js → index-N35FRTpu.js} +8 -8
- package/dist/cjs/index.js +27 -24
- package/dist/cjs/input.js +6 -5
- package/dist/cjs/menu.js +4 -3
- package/dist/cjs/message.js +4 -3
- package/dist/cjs/modal.js +2 -2
- package/dist/cjs/navbar.js +2 -2
- package/dist/cjs/notification.js +5 -4
- package/dist/cjs/numberinput.js +6 -5
- package/dist/cjs/pagination.js +4 -3
- package/dist/cjs/progress.js +2 -2
- package/dist/cjs/rate.js +3 -2
- package/dist/cjs/select.js +6 -5
- package/dist/cjs/sidebar.js +1 -1
- package/dist/cjs/slider.js +3 -3
- package/dist/cjs/snackbar.js +2 -2
- package/dist/cjs/steps.js +4 -3
- package/dist/cjs/switch.js +1 -1
- package/dist/cjs/table.js +9 -8
- package/dist/cjs/tabs.js +4 -3
- package/dist/cjs/tag.js +4 -3
- package/dist/cjs/taginput.js +8 -7
- package/dist/cjs/timepicker.js +12 -11
- package/dist/cjs/toast.js +2 -2
- package/dist/cjs/tooltip.js +2 -2
- package/dist/cjs/upload.js +3 -3
- package/dist/components/autocomplete/index.js +122 -6
- package/dist/components/autocomplete/index.min.js +2 -2
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/breadcrumb/index.min.js +1 -1
- package/dist/components/button/index.js +122 -6
- package/dist/components/button/index.min.js +2 -2
- package/dist/components/carousel/index.js +122 -6
- package/dist/components/carousel/index.min.js +2 -2
- package/dist/components/checkbox/index.js +106 -4
- package/dist/components/checkbox/index.min.js +2 -2
- package/dist/components/clockpicker/index.js +126 -10
- package/dist/components/clockpicker/index.min.js +2 -2
- package/dist/components/collapse/index.js +1 -1
- package/dist/components/collapse/index.min.js +1 -1
- package/dist/components/colorpicker/index.js +126 -10
- package/dist/components/colorpicker/index.min.js +2 -2
- package/dist/components/datepicker/index.js +134 -18
- package/dist/components/datepicker/index.min.js +2 -2
- package/dist/components/datetimepicker/index.js +126 -10
- package/dist/components/datetimepicker/index.min.js +2 -2
- package/dist/components/dialog/index.js +122 -6
- package/dist/components/dialog/index.min.js +2 -2
- package/dist/components/dropdown/index.js +1 -1
- package/dist/components/dropdown/index.min.js +1 -1
- package/dist/components/field/index.js +1 -1
- package/dist/components/field/index.min.js +1 -1
- package/dist/components/icon/index.js +124 -6
- package/dist/components/icon/index.min.js +2 -2
- package/dist/components/image/index.js +1 -1
- package/dist/components/image/index.min.js +1 -1
- package/dist/components/input/index.js +122 -6
- package/dist/components/input/index.min.js +2 -2
- package/dist/components/loading/index.js +1 -1
- package/dist/components/loading/index.min.js +1 -1
- package/dist/components/menu/index.js +124 -8
- package/dist/components/menu/index.min.js +2 -2
- package/dist/components/message/index.js +122 -6
- package/dist/components/message/index.min.js +2 -2
- package/dist/components/modal/index.js +1 -1
- package/dist/components/modal/index.min.js +1 -1
- package/dist/components/navbar/index.js +1 -1
- package/dist/components/navbar/index.min.js +1 -1
- package/dist/components/notification/index.js +122 -6
- package/dist/components/notification/index.min.js +2 -2
- package/dist/components/numberinput/index.js +122 -6
- package/dist/components/numberinput/index.min.js +2 -2
- package/dist/components/pagination/index.js +122 -6
- package/dist/components/pagination/index.min.js +2 -2
- package/dist/components/progress/index.js +1 -1
- package/dist/components/progress/index.min.js +1 -1
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio/index.min.js +1 -1
- package/dist/components/rate/index.js +122 -6
- package/dist/components/rate/index.min.js +2 -2
- package/dist/components/select/index.js +122 -6
- package/dist/components/select/index.min.js +2 -2
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sidebar/index.min.js +1 -1
- package/dist/components/skeleton/index.js +1 -1
- package/dist/components/skeleton/index.min.js +1 -1
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/index.min.js +1 -1
- package/dist/components/snackbar/index.js +1 -1
- package/dist/components/snackbar/index.min.js +1 -1
- package/dist/components/steps/index.js +122 -6
- package/dist/components/steps/index.min.js +2 -2
- package/dist/components/switch/index.js +1 -1
- package/dist/components/switch/index.min.js +1 -1
- package/dist/components/table/index.js +156 -13
- package/dist/components/table/index.min.js +2 -2
- package/dist/components/tabs/index.js +122 -6
- package/dist/components/tabs/index.min.js +2 -2
- package/dist/components/tag/index.js +122 -6
- package/dist/components/tag/index.min.js +2 -2
- package/dist/components/taginput/index.js +122 -6
- package/dist/components/taginput/index.min.js +2 -2
- package/dist/components/timepicker/index.js +134 -18
- package/dist/components/timepicker/index.min.js +2 -2
- package/dist/components/toast/index.js +1 -1
- package/dist/components/toast/index.min.js +1 -1
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooltip/index.min.js +1 -1
- package/dist/components/upload/index.js +1 -1
- package/dist/components/upload/index.min.js +1 -1
- package/dist/css/buefy.css +21 -38
- package/dist/css/buefy.css.map +1 -1
- package/dist/css/buefy.min.css +1 -1
- package/dist/css/versions/buefy-no-reset.css +21 -38
- package/dist/css/versions/buefy-no-reset.css.map +1 -1
- package/dist/css/versions/buefy-no-reset.min.css +1 -1
- package/dist/css/versions/buefy-standalone.css +21 -38
- package/dist/css/versions/buefy-standalone.css.map +1 -1
- package/dist/css/versions/buefy-standalone.min.css +1 -1
- package/dist/esm/{Autocomplete-HsHD-6pc.js → Autocomplete-BsBIH0Mj.js} +3 -3
- package/dist/esm/{Button-Bvib75up.js → Button-BTP__-p5.js} +2 -2
- package/dist/esm/{Checkbox-u861Rije.js → Checkbox-C6pO3IzG.js} +31 -3
- package/dist/esm/{CompatFallthroughMixin-C8LPuwDr.js → CompatFallthroughMixin-LfFRwwlz.js} +1 -1
- package/dist/esm/{Datepicker-BZ5ORu0F.js → Datepicker-CrVKrZBF.js} +9 -9
- package/dist/esm/{Dropdown-BLadix4L.js → Dropdown-GHauDDcD.js} +1 -1
- package/dist/esm/{DropdownItem-Crhb4RQp.js → DropdownItem-By3tSZk2.js} +1 -1
- package/dist/esm/{Field-DZCOQuRO.js → Field-CU8ZBgMh.js} +1 -1
- package/dist/esm/{FormElementMixin-Dd_wkBN5.js → FormElementMixin-CKI7b4I4.js} +1 -1
- package/dist/esm/{Icon-iqPKMem5.js → Icon-pQAdaqZb.js} +49 -7
- package/dist/esm/{Image-By9o7ryD.js → Image-COmzg-EK.js} +1 -1
- package/dist/esm/{Input-JL4LWKyL.js → Input-CErQ1Jyw.js} +4 -4
- package/dist/esm/{Modal-BF2kchNd.js → Modal-C13NJijf.js} +1 -1
- package/dist/esm/{NoticeMixin-ByNlva3T.js → NoticeMixin-TQEF1Kx6.js} +1 -1
- package/dist/esm/{Pagination-BWFVCGiz.js → Pagination-DvgzxH87.js} +2 -2
- package/dist/esm/{Progress-BxT2PFEw.js → Progress-AeKn1Ttq.js} +1 -1
- package/dist/esm/{Select-dYTVc9W4.js → Select-CbkuxvSQ.js} +3 -3
- package/dist/esm/{TabbedChildMixin-BsuDQmWE.js → TabbedChildMixin-Bdu5A4iY.js} +1 -1
- package/dist/esm/{Tag-BFgiw0Ac.js → Tag-Dx_-Tavp.js} +1 -1
- package/dist/esm/{Timepicker-CYqyLHE9.js → Timepicker-0ojuPkqd.js} +6 -6
- package/dist/esm/{TimepickerMixin-Bikh6_Fg.js → TimepickerMixin-oNahYGFZ.js} +3 -3
- package/dist/esm/{Tooltip-Ds5fe3ZP.js → Tooltip-BnzQFdnQ.js} +1 -1
- package/dist/esm/autocomplete.js +7 -6
- package/dist/esm/breadcrumb.js +2 -2
- package/dist/esm/button.js +4 -3
- package/dist/esm/carousel.js +4 -3
- package/dist/esm/checkbox.js +3 -1
- package/dist/esm/clockpicker.js +8 -7
- package/dist/esm/colorpicker.js +12 -11
- package/dist/esm/{config-CKuo-p6e.js → config-f4Dyy8TN.js} +2 -1
- package/dist/esm/config.js +1 -1
- package/dist/esm/datepicker.js +11 -10
- package/dist/esm/datetimepicker.js +13 -12
- package/dist/esm/dialog.js +5 -4
- package/dist/esm/dropdown.js +3 -3
- package/dist/esm/field.js +2 -2
- package/dist/esm/icon.js +3 -2
- package/dist/esm/iconAliases-B-CydxNj.js +97 -0
- package/dist/esm/image.js +2 -2
- package/dist/esm/{index-mnzTDKh9.js → index-BYVep8cv.js} +8 -8
- package/dist/esm/index.js +26 -25
- package/dist/esm/input.js +6 -5
- package/dist/esm/menu.js +4 -3
- package/dist/esm/message.js +4 -3
- package/dist/esm/modal.js +2 -2
- package/dist/esm/navbar.js +2 -2
- package/dist/esm/notification.js +5 -4
- package/dist/esm/numberinput.js +6 -5
- package/dist/esm/pagination.js +4 -3
- package/dist/esm/progress.js +2 -2
- package/dist/esm/rate.js +3 -2
- package/dist/esm/select.js +6 -5
- package/dist/esm/sidebar.js +1 -1
- package/dist/esm/slider.js +3 -3
- package/dist/esm/snackbar.js +2 -2
- package/dist/esm/steps.js +4 -3
- package/dist/esm/switch.js +1 -1
- package/dist/esm/table.js +9 -8
- package/dist/esm/tabs.js +4 -3
- package/dist/esm/tag.js +4 -3
- package/dist/esm/taginput.js +8 -7
- package/dist/esm/timepicker.js +12 -11
- package/dist/esm/toast.js +2 -2
- package/dist/esm/tooltip.js +2 -2
- package/dist/esm/upload.js +3 -3
- package/package.json +2 -2
- package/src/components/checkbox/Checkbox.spec.ts +56 -26
- package/src/components/checkbox/Checkbox.vue +25 -1
- package/src/components/checkbox/__snapshots__/Checkbox.spec.ts.snap +1 -1
- package/src/components/datepicker/__snapshots__/Datepicker.spec.ts.snap +2 -2
- package/src/components/icon/Icon.spec.ts +67 -0
- package/src/components/icon/Icon.vue +40 -5
- package/src/components/icon/__snapshots__/Icon.spec.ts.snap +1 -1
- package/src/components/icon/index.ts +10 -0
- package/src/components/table/__snapshots__/TableMobileSort.spec.ts.snap +1 -1
- package/src/scss/components/_checkbox.scss +13 -15
- package/src/utils/config.ts +104 -2
- package/src/utils/iconAliases.ts +86 -0
package/dist/buefy.d.ts
CHANGED
|
@@ -1083,7 +1083,10 @@ inputId: {
|
|
|
1083
1083
|
type: StringConstructor;
|
|
1084
1084
|
default: string;
|
|
1085
1085
|
};
|
|
1086
|
-
}, unknown, unknown, {
|
|
1086
|
+
}, unknown, unknown, {
|
|
1087
|
+
isChecked(): boolean;
|
|
1088
|
+
checkmarkAlias(): SvgIconAlias;
|
|
1089
|
+
}, {}, DefineComponent< {
|
|
1087
1090
|
modelValue: (ArrayConstructor | NumberConstructor | StringConstructor | ObjectConstructor | BooleanConstructor | FunctionConstructor)[];
|
|
1088
1091
|
nativeValue: (ArrayConstructor | NumberConstructor | StringConstructor | ObjectConstructor | BooleanConstructor | FunctionConstructor)[];
|
|
1089
1092
|
type: StringConstructor;
|
|
@@ -4206,13 +4209,21 @@ component: StringConstructor;
|
|
|
4206
4209
|
pack: StringConstructor;
|
|
4207
4210
|
icon: {
|
|
4208
4211
|
type: StringConstructor;
|
|
4209
|
-
required:
|
|
4212
|
+
required: false;
|
|
4213
|
+
default: undefined;
|
|
4210
4214
|
};
|
|
4215
|
+
/** Key into IconAliases (e.g. "chevronLeft"). Takes precedence over icon/pack. */
|
|
4216
|
+
alias: StringConstructor;
|
|
4211
4217
|
size: StringConstructor;
|
|
4212
4218
|
customSize: StringConstructor;
|
|
4213
4219
|
customClass: StringConstructor;
|
|
4214
4220
|
both: BooleanConstructor;
|
|
4215
4221
|
}, unknown, unknown, {
|
|
4222
|
+
resolvedAlias(): IconAlias | null;
|
|
4223
|
+
isSvgAlias(): boolean;
|
|
4224
|
+
isComponentAlias(): boolean;
|
|
4225
|
+
resolvedAliasSvg(): SvgIconAlias;
|
|
4226
|
+
resolvedAliasComponent(): ComponentIconAlias;
|
|
4216
4227
|
iconConfig(): IconPack;
|
|
4217
4228
|
iconPrefix(): string;
|
|
4218
4229
|
newIcon(): string;
|
|
@@ -4229,13 +4240,17 @@ component: StringConstructor;
|
|
|
4229
4240
|
pack: StringConstructor;
|
|
4230
4241
|
icon: {
|
|
4231
4242
|
type: StringConstructor;
|
|
4232
|
-
required:
|
|
4243
|
+
required: false;
|
|
4244
|
+
default: undefined;
|
|
4233
4245
|
};
|
|
4246
|
+
/** Key into IconAliases (e.g. "chevronLeft"). Takes precedence over icon/pack. */
|
|
4247
|
+
alias: StringConstructor;
|
|
4234
4248
|
size: StringConstructor;
|
|
4235
4249
|
customSize: StringConstructor;
|
|
4236
4250
|
customClass: StringConstructor;
|
|
4237
4251
|
both: BooleanConstructor;
|
|
4238
4252
|
}>>, {
|
|
4253
|
+
icon: string;
|
|
4239
4254
|
both: boolean;
|
|
4240
4255
|
}, {}>;
|
|
4241
4256
|
|
|
@@ -10465,6 +10480,7 @@ export declare interface BuefyConfig {
|
|
|
10465
10480
|
defaultBreadcrumbSeparator: string;
|
|
10466
10481
|
defaultBreadcrumbSize: string;
|
|
10467
10482
|
customIconPacks?: Record<string, IconPack> | null;
|
|
10483
|
+
iconAliases?: Partial<IconAliases> | null;
|
|
10468
10484
|
}
|
|
10469
10485
|
|
|
10470
10486
|
export declare type BuefyConfigOptions = Partial<BuefyConfig>;
|
|
@@ -10903,6 +10919,12 @@ export declare const Colorpicker: {
|
|
|
10903
10919
|
install(Vue: App): void;
|
|
10904
10920
|
};
|
|
10905
10921
|
|
|
10922
|
+
export declare type ComponentIconAlias = {
|
|
10923
|
+
type: 'component';
|
|
10924
|
+
component: string | object;
|
|
10925
|
+
icon: any;
|
|
10926
|
+
};
|
|
10927
|
+
|
|
10906
10928
|
declare interface ConfigComponent {
|
|
10907
10929
|
getOptions(): BuefyConfigOptions;
|
|
10908
10930
|
setOptions(options: BuefyConfigOptions): void;
|
|
@@ -10924,6 +10946,12 @@ export declare function createAbsoluteElement(el: Element): HTMLElement;
|
|
|
10924
10946
|
|
|
10925
10947
|
export declare function createNewEvent(eventName: string): Event;
|
|
10926
10948
|
|
|
10949
|
+
export declare type CssIconAlias = {
|
|
10950
|
+
type: 'css';
|
|
10951
|
+
pack: string;
|
|
10952
|
+
icon: string;
|
|
10953
|
+
};
|
|
10954
|
+
|
|
10927
10955
|
declare type CustomFormatter = (value: number) => string;
|
|
10928
10956
|
|
|
10929
10957
|
declare type CustomSearchFunction = (row: TableRow, input: string | number) => boolean;
|
|
@@ -11043,6 +11071,8 @@ declare interface FocusedDate {
|
|
|
11043
11071
|
|
|
11044
11072
|
export declare function getComponentFromVNode(vnode: VNode): ComponentPublicInstance | Record<string, any> | null | undefined;
|
|
11045
11073
|
|
|
11074
|
+
export declare function getIconAliases(): IconAliases;
|
|
11075
|
+
|
|
11046
11076
|
export declare function getValueByPath(obj: any, path: string): any;
|
|
11047
11077
|
|
|
11048
11078
|
declare const HOUR_FORMAT_12 = "12";
|
|
@@ -11072,6 +11102,28 @@ export declare const Icon: {
|
|
|
11072
11102
|
install(Vue: App): void;
|
|
11073
11103
|
};
|
|
11074
11104
|
|
|
11105
|
+
export declare type IconAlias = SvgIconAlias | ComponentIconAlias | CssIconAlias;
|
|
11106
|
+
|
|
11107
|
+
export declare interface IconAliases {
|
|
11108
|
+
checkboxOn: IconAlias;
|
|
11109
|
+
checkboxIndeterminate: IconAlias;
|
|
11110
|
+
chevronLeft: IconAlias;
|
|
11111
|
+
chevronRight: IconAlias;
|
|
11112
|
+
chevronDown: IconAlias;
|
|
11113
|
+
chevronUp: IconAlias;
|
|
11114
|
+
menuDown: IconAlias;
|
|
11115
|
+
menuUp: IconAlias;
|
|
11116
|
+
check: IconAlias;
|
|
11117
|
+
alertCircle: IconAlias;
|
|
11118
|
+
alert: IconAlias;
|
|
11119
|
+
information: IconAlias;
|
|
11120
|
+
close: IconAlias;
|
|
11121
|
+
closeCircle: IconAlias;
|
|
11122
|
+
eye: IconAlias;
|
|
11123
|
+
eyeOff: IconAlias;
|
|
11124
|
+
[key: string]: IconAlias;
|
|
11125
|
+
}
|
|
11126
|
+
|
|
11075
11127
|
export declare interface IconPack {
|
|
11076
11128
|
sizes: Record<string, string | null>;
|
|
11077
11129
|
iconPrefix?: string;
|
|
@@ -11544,6 +11596,8 @@ export declare const Rate: {
|
|
|
11544
11596
|
|
|
11545
11597
|
export declare function removeElement(el: Element): void;
|
|
11546
11598
|
|
|
11599
|
+
export declare function resolveAlias(name: string): IconAlias | undefined;
|
|
11600
|
+
|
|
11547
11601
|
declare type Rgb = Omit<Rgba, 'alpha'>;
|
|
11548
11602
|
|
|
11549
11603
|
declare type Rgba = {
|
|
@@ -11635,6 +11689,12 @@ declare type StyleValue_2 = StyleValueUnit | StyleValueUnit[];
|
|
|
11635
11689
|
|
|
11636
11690
|
declare type StyleValueUnit = string | Record<string, string | undefined> | undefined;
|
|
11637
11691
|
|
|
11692
|
+
export declare type SvgIconAlias = {
|
|
11693
|
+
type: 'svg';
|
|
11694
|
+
path: string;
|
|
11695
|
+
viewBox?: string;
|
|
11696
|
+
};
|
|
11697
|
+
|
|
11638
11698
|
export declare const Switch: {
|
|
11639
11699
|
install(Vue: App): void;
|
|
11640
11700
|
};
|
package/dist/buefy.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! Buefy v3.0.
|
|
2
|
-
import { Fragment, Comment, Text, Static, inject, defineComponent, h, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createBlock, withCtx, createVNode, renderList, resolveDynamicComponent, mergeProps, withDirectives, vModelDynamic, vModelText, withKeys, withModifiers, Transition,
|
|
1
|
+
/*! Buefy v3.0.7 | MIT License | github.com/buefy/buefy */
|
|
2
|
+
import { Fragment, Comment, Text, Static, inject, defineComponent, h, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createBlock, withCtx, createVNode, renderList, createElementVNode, resolveDynamicComponent, mergeProps, withDirectives, vModelDynamic, vModelText, withKeys, withModifiers, Transition, normalizeStyle, vShow, normalizeProps, guardReactiveProps, vModelCheckbox, resolveDirective, createSlots, vModelSelect, toHandlers, createApp, vModelRadio, toHandlerKey, camelize, toRaw } from 'vue';
|
|
3
3
|
|
|
4
|
-
var __defProp$
|
|
4
|
+
var __defProp$e = Object.defineProperty;
|
|
5
5
|
var __pow = Math.pow;
|
|
6
|
-
var __defNormalProp$
|
|
7
|
-
var __publicField$6 = (obj, key, value) => __defNormalProp$
|
|
6
|
+
var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7
|
+
var __publicField$6 = (obj, key, value) => __defNormalProp$e(obj, key + "" , value);
|
|
8
8
|
const colorChannels = ["red", "green", "blue", "alpha"];
|
|
9
9
|
const colorsNammed = {
|
|
10
10
|
transparent: "#00000000",
|
|
@@ -502,25 +502,26 @@ let config = {
|
|
|
502
502
|
defaultBreadcrumbAlign: "is-left",
|
|
503
503
|
defaultBreadcrumbSeparator: "",
|
|
504
504
|
defaultBreadcrumbSize: "is-medium",
|
|
505
|
-
customIconPacks: null
|
|
505
|
+
customIconPacks: null,
|
|
506
|
+
iconAliases: null
|
|
506
507
|
};
|
|
507
508
|
const setOptions = (options) => {
|
|
508
509
|
config = options;
|
|
509
510
|
};
|
|
510
511
|
|
|
511
|
-
var __defProp$
|
|
512
|
-
var __getOwnPropSymbols$
|
|
513
|
-
var __hasOwnProp$
|
|
514
|
-
var __propIsEnum$
|
|
515
|
-
var __defNormalProp$
|
|
516
|
-
var __spreadValues$
|
|
512
|
+
var __defProp$d = Object.defineProperty;
|
|
513
|
+
var __getOwnPropSymbols$e = Object.getOwnPropertySymbols;
|
|
514
|
+
var __hasOwnProp$e = Object.prototype.hasOwnProperty;
|
|
515
|
+
var __propIsEnum$e = Object.prototype.propertyIsEnumerable;
|
|
516
|
+
var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
517
|
+
var __spreadValues$d = (a, b) => {
|
|
517
518
|
for (var prop in b || (b = {}))
|
|
518
|
-
if (__hasOwnProp$
|
|
519
|
-
__defNormalProp$
|
|
520
|
-
if (__getOwnPropSymbols$
|
|
521
|
-
for (var prop of __getOwnPropSymbols$
|
|
522
|
-
if (__propIsEnum$
|
|
523
|
-
__defNormalProp$
|
|
519
|
+
if (__hasOwnProp$e.call(b, prop))
|
|
520
|
+
__defNormalProp$d(a, prop, b[prop]);
|
|
521
|
+
if (__getOwnPropSymbols$e)
|
|
522
|
+
for (var prop of __getOwnPropSymbols$e(b)) {
|
|
523
|
+
if (__propIsEnum$e.call(b, prop))
|
|
524
|
+
__defNormalProp$d(a, prop, b[prop]);
|
|
524
525
|
}
|
|
525
526
|
return a;
|
|
526
527
|
};
|
|
@@ -558,11 +559,11 @@ const mergeFn = (target, source, deep = false) => {
|
|
|
558
559
|
const replaced = Object.getOwnPropertyNames(source).map((prop) => ({
|
|
559
560
|
[prop]: isDeep(prop) ? mergeFn(target[prop], source[prop] || {}, deep) : source[prop]
|
|
560
561
|
})).reduce(
|
|
561
|
-
(a, b) => __spreadValues$
|
|
562
|
+
(a, b) => __spreadValues$d(__spreadValues$d({}, a), b),
|
|
562
563
|
// eslint-disable-next-line no-use-before-define
|
|
563
564
|
{}
|
|
564
565
|
);
|
|
565
|
-
return __spreadValues$
|
|
566
|
+
return __spreadValues$d(__spreadValues$d({}, target), replaced);
|
|
566
567
|
} else {
|
|
567
568
|
return Object.assign(target, source);
|
|
568
569
|
}
|
|
@@ -765,17 +766,17 @@ var ConfigComponent = {
|
|
|
765
766
|
}
|
|
766
767
|
};
|
|
767
768
|
|
|
768
|
-
var __getOwnPropSymbols$
|
|
769
|
-
var __hasOwnProp$
|
|
770
|
-
var __propIsEnum$
|
|
769
|
+
var __getOwnPropSymbols$d = Object.getOwnPropertySymbols;
|
|
770
|
+
var __hasOwnProp$d = Object.prototype.hasOwnProperty;
|
|
771
|
+
var __propIsEnum$d = Object.prototype.propertyIsEnumerable;
|
|
771
772
|
var __objRest$3 = (source, exclude) => {
|
|
772
773
|
var target = {};
|
|
773
774
|
for (var prop in source)
|
|
774
|
-
if (__hasOwnProp$
|
|
775
|
+
if (__hasOwnProp$d.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
775
776
|
target[prop] = source[prop];
|
|
776
|
-
if (source != null && __getOwnPropSymbols$
|
|
777
|
-
for (var prop of __getOwnPropSymbols$
|
|
778
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
777
|
+
if (source != null && __getOwnPropSymbols$d)
|
|
778
|
+
for (var prop of __getOwnPropSymbols$d(source)) {
|
|
779
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$d.call(source, prop))
|
|
779
780
|
target[prop] = source[prop];
|
|
780
781
|
}
|
|
781
782
|
return target;
|
|
@@ -1075,8 +1076,8 @@ var _export_sfc = (sfc, props) => {
|
|
|
1075
1076
|
return target;
|
|
1076
1077
|
};
|
|
1077
1078
|
|
|
1078
|
-
const _hoisted_1$
|
|
1079
|
-
const _hoisted_2$
|
|
1079
|
+
const _hoisted_1$U = ["for"];
|
|
1080
|
+
const _hoisted_2$K = ["for"];
|
|
1080
1081
|
const _hoisted_3$u = {
|
|
1081
1082
|
key: 3,
|
|
1082
1083
|
class: "field-body"
|
|
@@ -1115,7 +1116,7 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1115
1116
|
64
|
|
1116
1117
|
/* STABLE_FRAGMENT */
|
|
1117
1118
|
))
|
|
1118
|
-
], 10, _hoisted_1$
|
|
1119
|
+
], 10, _hoisted_1$U)) : createCommentVNode("v-if", true)
|
|
1119
1120
|
],
|
|
1120
1121
|
2
|
|
1121
1122
|
/* CLASS */
|
|
@@ -1141,7 +1142,7 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1141
1142
|
64
|
|
1142
1143
|
/* STABLE_FRAGMENT */
|
|
1143
1144
|
))
|
|
1144
|
-
], 10, _hoisted_2$
|
|
1145
|
+
], 10, _hoisted_2$K)) : createCommentVNode("v-if", true)
|
|
1145
1146
|
],
|
|
1146
1147
|
64
|
|
1147
1148
|
/* STABLE_FRAGMENT */
|
|
@@ -1431,6 +1432,100 @@ const getIcons = () => {
|
|
|
1431
1432
|
return icons;
|
|
1432
1433
|
};
|
|
1433
1434
|
|
|
1435
|
+
var __defProp$c = Object.defineProperty;
|
|
1436
|
+
var __getOwnPropSymbols$c = Object.getOwnPropertySymbols;
|
|
1437
|
+
var __hasOwnProp$c = Object.prototype.hasOwnProperty;
|
|
1438
|
+
var __propIsEnum$c = Object.prototype.propertyIsEnumerable;
|
|
1439
|
+
var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1440
|
+
var __spreadValues$c = (a, b) => {
|
|
1441
|
+
for (var prop in b || (b = {}))
|
|
1442
|
+
if (__hasOwnProp$c.call(b, prop))
|
|
1443
|
+
__defNormalProp$c(a, prop, b[prop]);
|
|
1444
|
+
if (__getOwnPropSymbols$c)
|
|
1445
|
+
for (var prop of __getOwnPropSymbols$c(b)) {
|
|
1446
|
+
if (__propIsEnum$c.call(b, prop))
|
|
1447
|
+
__defNormalProp$c(a, prop, b[prop]);
|
|
1448
|
+
}
|
|
1449
|
+
return a;
|
|
1450
|
+
};
|
|
1451
|
+
const defaultIconAliases = {
|
|
1452
|
+
checkboxOn: {
|
|
1453
|
+
type: "svg",
|
|
1454
|
+
viewBox: "0 0 1 1",
|
|
1455
|
+
path: "M 0.04038059,0.6267767 0.14644661,0.52071068 0.42928932,0.80355339 0.3232233,0.90961941 z M 0.21715729,0.80355339 0.85355339,0.16715729 0.95961941,0.2732233 0.3232233,0.90961941 z"
|
|
1456
|
+
},
|
|
1457
|
+
checkboxIndeterminate: {
|
|
1458
|
+
type: "svg",
|
|
1459
|
+
viewBox: "0 0 1 1",
|
|
1460
|
+
path: "M 0.15,0.4 L 0.85,0.4 L 0.85,0.6 L 0.15,0.6 Z"
|
|
1461
|
+
},
|
|
1462
|
+
chevronLeft: {
|
|
1463
|
+
type: "svg",
|
|
1464
|
+
path: "M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z"
|
|
1465
|
+
},
|
|
1466
|
+
chevronRight: {
|
|
1467
|
+
type: "svg",
|
|
1468
|
+
path: "M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"
|
|
1469
|
+
},
|
|
1470
|
+
chevronDown: {
|
|
1471
|
+
type: "svg",
|
|
1472
|
+
path: "M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"
|
|
1473
|
+
},
|
|
1474
|
+
chevronUp: {
|
|
1475
|
+
type: "svg",
|
|
1476
|
+
path: "M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"
|
|
1477
|
+
},
|
|
1478
|
+
menuDown: {
|
|
1479
|
+
type: "svg",
|
|
1480
|
+
path: "M7,10L12,15L17,10H7Z"
|
|
1481
|
+
},
|
|
1482
|
+
menuUp: {
|
|
1483
|
+
type: "svg",
|
|
1484
|
+
path: "M7,14L12,9L17,14H7Z"
|
|
1485
|
+
},
|
|
1486
|
+
check: {
|
|
1487
|
+
type: "svg",
|
|
1488
|
+
path: "M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"
|
|
1489
|
+
},
|
|
1490
|
+
alertCircle: {
|
|
1491
|
+
type: "svg",
|
|
1492
|
+
path: "M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"
|
|
1493
|
+
},
|
|
1494
|
+
alert: {
|
|
1495
|
+
type: "svg",
|
|
1496
|
+
path: "M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z"
|
|
1497
|
+
},
|
|
1498
|
+
information: {
|
|
1499
|
+
type: "svg",
|
|
1500
|
+
path: "M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"
|
|
1501
|
+
},
|
|
1502
|
+
close: {
|
|
1503
|
+
type: "svg",
|
|
1504
|
+
path: "M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"
|
|
1505
|
+
},
|
|
1506
|
+
closeCircle: {
|
|
1507
|
+
type: "svg",
|
|
1508
|
+
path: "M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z"
|
|
1509
|
+
},
|
|
1510
|
+
eye: {
|
|
1511
|
+
type: "svg",
|
|
1512
|
+
path: "M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z"
|
|
1513
|
+
},
|
|
1514
|
+
eyeOff: {
|
|
1515
|
+
type: "svg",
|
|
1516
|
+
path: "M11.83,9L15,12.16C15,12.11 15,12.05 15,12A3,3 0 0,0 12,9C11.94,9 11.89,9 11.83,9M7.53,9.8L9.08,11.35C9.03,11.56 9,11.77 9,12A3,3 0 0,0 12,15C12.22,15 12.44,14.97 12.65,14.92L14.2,16.47C13.53,16.8 12.79,17 12,17A5,5 0 0,1 7,12C7,11.21 7.2,10.47 7.53,9.8M2,4.27L4.28,6.55L4.73,7C3.08,8.3 1.78,10 1,12C2.73,16.39 7,19.5 12,19.5C13.55,19.5 15.03,19.18 16.38,18.6L16.81,19L19.73,22L21,20.73L3.27,3M12,7A5,5 0 0,1 17,12C17,12.64 16.87,13.26 16.64,13.82L19.57,16.75C21.07,15.5 22.27,13.86 23,12C21.27,7.61 17,4.5 12,4.5C10.6,4.5 9.26,4.75 8,5.2L10.17,7.35C10.74,7.13 11.35,7 12,7Z"
|
|
1517
|
+
}
|
|
1518
|
+
};
|
|
1519
|
+
function getIconAliases() {
|
|
1520
|
+
if (config.iconAliases) {
|
|
1521
|
+
return __spreadValues$c(__spreadValues$c({}, defaultIconAliases), config.iconAliases);
|
|
1522
|
+
}
|
|
1523
|
+
return defaultIconAliases;
|
|
1524
|
+
}
|
|
1525
|
+
function resolveAlias(name) {
|
|
1526
|
+
return getIconAliases()[name];
|
|
1527
|
+
}
|
|
1528
|
+
|
|
1434
1529
|
var _sfc_main$R = defineComponent({
|
|
1435
1530
|
name: "BIcon",
|
|
1436
1531
|
props: {
|
|
@@ -1439,8 +1534,11 @@ var _sfc_main$R = defineComponent({
|
|
|
1439
1534
|
pack: String,
|
|
1440
1535
|
icon: {
|
|
1441
1536
|
type: String,
|
|
1442
|
-
required:
|
|
1537
|
+
required: false,
|
|
1538
|
+
default: void 0
|
|
1443
1539
|
},
|
|
1540
|
+
/** Key into IconAliases (e.g. "chevronLeft"). Takes precedence over icon/pack. */
|
|
1541
|
+
alias: String,
|
|
1444
1542
|
size: String,
|
|
1445
1543
|
customSize: String,
|
|
1446
1544
|
customClass: String,
|
|
@@ -1448,6 +1546,26 @@ var _sfc_main$R = defineComponent({
|
|
|
1448
1546
|
// This is used internally to show both MDI and FA icon
|
|
1449
1547
|
},
|
|
1450
1548
|
computed: {
|
|
1549
|
+
resolvedAlias() {
|
|
1550
|
+
var _a;
|
|
1551
|
+
if (!this.alias) return null;
|
|
1552
|
+
return (_a = resolveAlias(this.alias)) != null ? _a : null;
|
|
1553
|
+
},
|
|
1554
|
+
isSvgAlias() {
|
|
1555
|
+
var _a;
|
|
1556
|
+
return ((_a = this.resolvedAlias) == null ? void 0 : _a.type) === "svg";
|
|
1557
|
+
},
|
|
1558
|
+
isComponentAlias() {
|
|
1559
|
+
var _a;
|
|
1560
|
+
return ((_a = this.resolvedAlias) == null ? void 0 : _a.type) === "component";
|
|
1561
|
+
},
|
|
1562
|
+
// Typed accessors used in the template
|
|
1563
|
+
resolvedAliasSvg() {
|
|
1564
|
+
return this.resolvedAlias;
|
|
1565
|
+
},
|
|
1566
|
+
resolvedAliasComponent() {
|
|
1567
|
+
return this.resolvedAlias;
|
|
1568
|
+
},
|
|
1451
1569
|
iconConfig() {
|
|
1452
1570
|
const allIcons = getIcons();
|
|
1453
1571
|
return allIcons[this.newPack];
|
|
@@ -1464,7 +1582,8 @@ var _sfc_main$R = defineComponent({
|
|
|
1464
1582
|
* internal icons are always MDI.
|
|
1465
1583
|
*/
|
|
1466
1584
|
newIcon() {
|
|
1467
|
-
|
|
1585
|
+
var _a;
|
|
1586
|
+
return `${this.iconPrefix}${this.getEquivalentIconOf((_a = this.icon) != null ? _a : "")}`;
|
|
1468
1587
|
},
|
|
1469
1588
|
newPack() {
|
|
1470
1589
|
return this.pack || config.defaultIconPack;
|
|
@@ -1523,6 +1642,8 @@ var _sfc_main$R = defineComponent({
|
|
|
1523
1642
|
}
|
|
1524
1643
|
});
|
|
1525
1644
|
|
|
1645
|
+
const _hoisted_1$T = ["viewBox"];
|
|
1646
|
+
const _hoisted_2$J = ["d"];
|
|
1526
1647
|
function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1527
1648
|
return openBlock(), createElementBlock(
|
|
1528
1649
|
"span",
|
|
@@ -1530,17 +1651,32 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1530
1651
|
class: normalizeClass(["icon", [_ctx.newType, _ctx.size]])
|
|
1531
1652
|
},
|
|
1532
1653
|
[
|
|
1533
|
-
|
|
1654
|
+
_ctx.isSvgAlias ? (openBlock(), createElementBlock("svg", {
|
|
1655
|
+
key: 0,
|
|
1656
|
+
viewBox: _ctx.resolvedAliasSvg.viewBox || "0 0 24 24",
|
|
1657
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1658
|
+
class: normalizeClass(_ctx.customClass),
|
|
1659
|
+
"aria-hidden": "true"
|
|
1660
|
+
}, [
|
|
1661
|
+
createElementVNode("path", {
|
|
1662
|
+
fill: "currentColor",
|
|
1663
|
+
d: _ctx.resolvedAliasSvg.path
|
|
1664
|
+
}, null, 8, _hoisted_2$J)
|
|
1665
|
+
], 10, _hoisted_1$T)) : _ctx.isComponentAlias ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.resolvedAliasComponent.component), {
|
|
1666
|
+
key: 1,
|
|
1667
|
+
icon: _ctx.resolvedAliasComponent.icon,
|
|
1668
|
+
class: normalizeClass(_ctx.customClass)
|
|
1669
|
+
}, null, 8, ["icon", "class"])) : !_ctx.useIconComponent ? (openBlock(), createElementBlock(
|
|
1534
1670
|
"i",
|
|
1535
1671
|
{
|
|
1536
|
-
key:
|
|
1672
|
+
key: 2,
|
|
1537
1673
|
class: normalizeClass([_ctx.newPack, _ctx.newIcon, _ctx.newCustomSize, _ctx.customClass])
|
|
1538
1674
|
},
|
|
1539
1675
|
null,
|
|
1540
1676
|
2
|
|
1541
1677
|
/* CLASS */
|
|
1542
1678
|
)) : (openBlock(), createBlock(resolveDynamicComponent(_ctx.useIconComponent), {
|
|
1543
|
-
key:
|
|
1679
|
+
key: 3,
|
|
1544
1680
|
icon: [_ctx.newPack, _ctx.newIcon],
|
|
1545
1681
|
size: _ctx.newCustomSize,
|
|
1546
1682
|
class: normalizeClass([_ctx.customClass])
|
|
@@ -1765,7 +1901,7 @@ var _sfc_main$Q = defineComponent({
|
|
|
1765
1901
|
const _hoisted_1$S = ["type", "autocomplete", "maxlength"];
|
|
1766
1902
|
const _hoisted_2$I = ["maxlength"];
|
|
1767
1903
|
const _hoisted_3$t = ["type", "autocomplete", "maxlength"];
|
|
1768
|
-
const _hoisted_4$
|
|
1904
|
+
const _hoisted_4$m = ["maxlength"];
|
|
1769
1905
|
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1770
1906
|
const _component_b_icon = resolveComponent("b-icon");
|
|
1771
1907
|
return openBlock(), createElementBlock(
|
|
@@ -1850,7 +1986,7 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1850
1986
|
onChange: _cache[17] || (_cache[17] = (...args) => _ctx.onChange && _ctx.onChange(...args)),
|
|
1851
1987
|
onBlur: _cache[18] || (_cache[18] = (...args) => _ctx.onBlur && _ctx.onBlur(...args)),
|
|
1852
1988
|
onFocus: _cache[19] || (_cache[19] = (...args) => _ctx.onFocus && _ctx.onFocus(...args))
|
|
1853
|
-
}), null, 16, _hoisted_4$
|
|
1989
|
+
}), null, 16, _hoisted_4$m)), [
|
|
1854
1990
|
[vModelText, _ctx.computedValue]
|
|
1855
1991
|
])
|
|
1856
1992
|
],
|
|
@@ -2571,7 +2707,7 @@ const _hoisted_1$R = {
|
|
|
2571
2707
|
};
|
|
2572
2708
|
const _hoisted_2$H = ["onClick"];
|
|
2573
2709
|
const _hoisted_3$s = { key: 1 };
|
|
2574
|
-
const _hoisted_4$
|
|
2710
|
+
const _hoisted_4$l = {
|
|
2575
2711
|
key: 1,
|
|
2576
2712
|
class: "dropdown-item is-disabled"
|
|
2577
2713
|
};
|
|
@@ -2705,7 +2841,7 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2705
2841
|
256
|
|
2706
2842
|
/* UNKEYED_FRAGMENT */
|
|
2707
2843
|
)),
|
|
2708
|
-
_ctx.isEmpty && _ctx.hasEmptySlot ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
2844
|
+
_ctx.isEmpty && _ctx.hasEmptySlot ? (openBlock(), createElementBlock("div", _hoisted_4$l, [
|
|
2709
2845
|
renderSlot(_ctx.$slots, "empty")
|
|
2710
2846
|
])) : createCommentVNode("v-if", true),
|
|
2711
2847
|
_ctx.hasFooterSlot ? (openBlock(), createElementBlock(
|
|
@@ -3857,7 +3993,7 @@ var _sfc_main$J = defineComponent({
|
|
|
3857
3993
|
const _hoisted_1$N = { key: 0 };
|
|
3858
3994
|
const _hoisted_2$E = ["srcset", "src", "alt", "width", "sizes", "loading"];
|
|
3859
3995
|
const _hoisted_3$q = ["src", "alt"];
|
|
3860
|
-
const _hoisted_4$
|
|
3996
|
+
const _hoisted_4$k = { key: 1 };
|
|
3861
3997
|
function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3862
3998
|
return openBlock(), createElementBlock(
|
|
3863
3999
|
"figure",
|
|
@@ -3900,7 +4036,7 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3900
4036
|
_: 3
|
|
3901
4037
|
/* FORWARDED */
|
|
3902
4038
|
}),
|
|
3903
|
-
_ctx.isCaptionLast ? (openBlock(), createElementBlock("figcaption", _hoisted_4$
|
|
4039
|
+
_ctx.isCaptionLast ? (openBlock(), createElementBlock("figcaption", _hoisted_4$k, [
|
|
3904
4040
|
renderSlot(_ctx.$slots, "caption")
|
|
3905
4041
|
])) : createCommentVNode("v-if", true)
|
|
3906
4042
|
],
|
|
@@ -4348,12 +4484,27 @@ var _sfc_main$H = defineComponent({
|
|
|
4348
4484
|
type: String,
|
|
4349
4485
|
default: ""
|
|
4350
4486
|
}
|
|
4487
|
+
},
|
|
4488
|
+
computed: {
|
|
4489
|
+
isChecked() {
|
|
4490
|
+
const val = this.computedValue;
|
|
4491
|
+
if (Array.isArray(val)) {
|
|
4492
|
+
return val.includes(this.nativeValue);
|
|
4493
|
+
}
|
|
4494
|
+
return val === this.trueValue;
|
|
4495
|
+
},
|
|
4496
|
+
checkmarkAlias() {
|
|
4497
|
+
const key = this.indeterminate ? "checkboxIndeterminate" : "checkboxOn";
|
|
4498
|
+
return resolveAlias(key);
|
|
4499
|
+
}
|
|
4351
4500
|
}
|
|
4352
4501
|
});
|
|
4353
4502
|
|
|
4354
4503
|
const _hoisted_1$L = ["disabled"];
|
|
4355
4504
|
const _hoisted_2$D = ["id", ".indeterminate", "autocomplete", "disabled", "required", "name", "value", "true-value", "false-value", "aria-labelledby"];
|
|
4356
|
-
const _hoisted_3$p = ["
|
|
4505
|
+
const _hoisted_3$p = ["viewBox"];
|
|
4506
|
+
const _hoisted_4$j = ["d"];
|
|
4507
|
+
const _hoisted_5$c = ["id"];
|
|
4357
4508
|
function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4358
4509
|
return openBlock(), createElementBlock("label", {
|
|
4359
4510
|
class: normalizeClass(["b-checkbox checkbox", [_ctx.size, { "is-disabled": _ctx.disabled }]]),
|
|
@@ -4390,7 +4541,19 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4390
4541
|
{
|
|
4391
4542
|
class: normalizeClass(["check", _ctx.type])
|
|
4392
4543
|
},
|
|
4393
|
-
|
|
4544
|
+
[
|
|
4545
|
+
_ctx.isChecked || _ctx.indeterminate ? (openBlock(), createElementBlock("svg", {
|
|
4546
|
+
key: 0,
|
|
4547
|
+
viewBox: _ctx.checkmarkAlias.viewBox || "0 0 1 1",
|
|
4548
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4549
|
+
"aria-hidden": "true"
|
|
4550
|
+
}, [
|
|
4551
|
+
createElementVNode("path", {
|
|
4552
|
+
fill: "currentColor",
|
|
4553
|
+
d: _ctx.checkmarkAlias.path
|
|
4554
|
+
}, null, 8, _hoisted_4$j)
|
|
4555
|
+
], 8, _hoisted_3$p)) : createCommentVNode("v-if", true)
|
|
4556
|
+
],
|
|
4394
4557
|
2
|
|
4395
4558
|
/* CLASS */
|
|
4396
4559
|
),
|
|
@@ -4399,7 +4562,7 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4399
4562
|
class: "control-label"
|
|
4400
4563
|
}, [
|
|
4401
4564
|
renderSlot(_ctx.$slots, "default")
|
|
4402
|
-
], 8,
|
|
4565
|
+
], 8, _hoisted_5$c)
|
|
4403
4566
|
], 42, _hoisted_1$L);
|
|
4404
4567
|
}
|
|
4405
4568
|
var BCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$R]]);
|
|
@@ -21140,4 +21303,4 @@ const Buefy = {
|
|
|
21140
21303
|
}
|
|
21141
21304
|
};
|
|
21142
21305
|
|
|
21143
|
-
export { Plugin$F as Autocomplete, BAutocomplete, Breadcrumb as BBreadcrumb, BreadcrumbItem as BBreadcrumbItem, BButton, Carousel as BCarousel, CarouselItem as BCarouselItem, CarouselList as BCarouselList, BCheckbox, CheckboxButton as BCheckboxButton, Clockpicker as BClockpicker, _sfc_main$F as BCollapse, Colorpicker as BColorpicker, BDatepicker, Datetimepicker as BDatetimepicker, Dialog as BDialog, BDropdown, BDropdownItem, Field as BField, BIcon, Image$1 as BImage, BInput, BLoading, Menu as BMenu, MenuItem as BMenuItem, MenuList as BMenuList, Message as BMessage, Modal as BModal, _sfc_main$k as BNavbar, NavbarDropdown as BNavbarDropdown, NavbarItem as BNavbarItem, Notification as BNotification, Numberinput as BNumberinput, BPagination, PaginationButton as BPaginationButton, Progress as BProgress, ProgressBar as BProgressBar, Radio as BRadio, RadioButton as BRadioButton, Rate as BRate, BSelect, Sidebar as BSidebar, BSkeleton, Slider as BSlider, SliderTick as BSliderTick, Snackbar as BSnackbar, _sfc_main$9 as BStepItem, Steps as BSteps, Switch as BSwitch, _sfc_main$3 as BTabItem, Table as BTable, _sfc_main$5 as BTableColumn, Tabs as BTabs, BTag, Taginput as BTaginput, Taglist as BTaglist, Timepicker as BTimepicker, Toast as BToast, Tooltip as BTooltip, Upload as BUpload, Plugin$E as Breadcrumb, Plugin$D as Button, Plugin$C as Carousel, Plugin$B as Checkbox, Plugin$x as Clockpicker, Plugin$A as Collapse, Color, Plugin$w as Colorpicker, ConfigComponent as ConfigProgrammatic, Plugin$v as Datepicker, Plugin$u as Datetimepicker, Plugin$t as Dialog, DialogProgrammatic, Plugin$z as Dropdown, Plugin$s as Field, Plugin$r as Icon, Plugin$q as Image, Plugin$y as Input, Plugin$p as Loading, LoadingProgrammatic, Plugin$o as Menu, Plugin$n as Message, Plugin$m as Modal, ModalProgrammatic, Plugin$k as Navbar, Plugin$l as Notification, NotificationProgrammatic, Plugin$j as Numberinput, Plugin$i as Pagination, Plugin$h as Progress, Plugin$g as Radio, Plugin$f as Rate, Plugin$e as Select, Plugin$c as Sidebar, Plugin$d as Skeleton, Plugin$b as Slider, Plugin$a as Snackbar, SnackbarProgrammatic, Plugin$9 as Steps, Plugin$8 as Switch, Plugin$7 as Table, Plugin$6 as Tabs, Plugin$5 as Tag, Plugin$4 as Taginput, Plugin$3 as Timepicker, Plugin$2 as Toast, ToastProgrammatic, Plugin$1 as Tooltip, Plugin as Upload, bound, copyAppContext, createAbsoluteElement, createNewEvent, Buefy as default, escapeRegExpChars, getComponentFromVNode, getMonthNames, getValueByPath, getWeekdayNames, hasFlag, indexOf, isCustomElement, isDefined, isFragment, isMobile, isNil, isTag, isVueComponent, isWebpSupported, matchWithGroups, merge, mod, multiColumnSort, removeDiacriticsFromString, removeElement, sign, toCssWidth, translateTouchAsDragEvent, useConfigComponent, useDialog, useLoading, useModal, useNotification, useSnackbar, useToast };
|
|
21306
|
+
export { Plugin$F as Autocomplete, BAutocomplete, Breadcrumb as BBreadcrumb, BreadcrumbItem as BBreadcrumbItem, BButton, Carousel as BCarousel, CarouselItem as BCarouselItem, CarouselList as BCarouselList, BCheckbox, CheckboxButton as BCheckboxButton, Clockpicker as BClockpicker, _sfc_main$F as BCollapse, Colorpicker as BColorpicker, BDatepicker, Datetimepicker as BDatetimepicker, Dialog as BDialog, BDropdown, BDropdownItem, Field as BField, BIcon, Image$1 as BImage, BInput, BLoading, Menu as BMenu, MenuItem as BMenuItem, MenuList as BMenuList, Message as BMessage, Modal as BModal, _sfc_main$k as BNavbar, NavbarDropdown as BNavbarDropdown, NavbarItem as BNavbarItem, Notification as BNotification, Numberinput as BNumberinput, BPagination, PaginationButton as BPaginationButton, Progress as BProgress, ProgressBar as BProgressBar, Radio as BRadio, RadioButton as BRadioButton, Rate as BRate, BSelect, Sidebar as BSidebar, BSkeleton, Slider as BSlider, SliderTick as BSliderTick, Snackbar as BSnackbar, _sfc_main$9 as BStepItem, Steps as BSteps, Switch as BSwitch, _sfc_main$3 as BTabItem, Table as BTable, _sfc_main$5 as BTableColumn, Tabs as BTabs, BTag, Taginput as BTaginput, Taglist as BTaglist, Timepicker as BTimepicker, Toast as BToast, Tooltip as BTooltip, Upload as BUpload, Plugin$E as Breadcrumb, Plugin$D as Button, Plugin$C as Carousel, Plugin$B as Checkbox, Plugin$x as Clockpicker, Plugin$A as Collapse, Color, Plugin$w as Colorpicker, ConfigComponent as ConfigProgrammatic, Plugin$v as Datepicker, Plugin$u as Datetimepicker, Plugin$t as Dialog, DialogProgrammatic, Plugin$z as Dropdown, Plugin$s as Field, Plugin$r as Icon, Plugin$q as Image, Plugin$y as Input, Plugin$p as Loading, LoadingProgrammatic, Plugin$o as Menu, Plugin$n as Message, Plugin$m as Modal, ModalProgrammatic, Plugin$k as Navbar, Plugin$l as Notification, NotificationProgrammatic, Plugin$j as Numberinput, Plugin$i as Pagination, Plugin$h as Progress, Plugin$g as Radio, Plugin$f as Rate, Plugin$e as Select, Plugin$c as Sidebar, Plugin$d as Skeleton, Plugin$b as Slider, Plugin$a as Snackbar, SnackbarProgrammatic, Plugin$9 as Steps, Plugin$8 as Switch, Plugin$7 as Table, Plugin$6 as Tabs, Plugin$5 as Tag, Plugin$4 as Taginput, Plugin$3 as Timepicker, Plugin$2 as Toast, ToastProgrammatic, Plugin$1 as Tooltip, Plugin as Upload, bound, copyAppContext, createAbsoluteElement, createNewEvent, Buefy as default, escapeRegExpChars, getComponentFromVNode, getIconAliases, getMonthNames, getValueByPath, getWeekdayNames, hasFlag, indexOf, isCustomElement, isDefined, isFragment, isMobile, isNil, isTag, isVueComponent, isWebpSupported, matchWithGroups, merge, mod, multiColumnSort, removeDiacriticsFromString, removeElement, resolveAlias, sign, toCssWidth, translateTouchAsDragEvent, useConfigComponent, useDialog, useLoading, useModal, useNotification, useSnackbar, useToast };
|