@frollo/frollo-web-ui 7.0.1 → 8.0.0
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/cjs/index.js +34615 -34451
- package/esm/_rollupPluginBabelHelpers-DpC_oIQV.js +2566 -0
- package/esm/{check-94a5917a.js → check--YD4Ts6g.js} +4 -4
- package/esm/fw-accordion.js +27 -26
- package/esm/fw-animations.js +23 -26
- package/esm/fw-bar-chart.js +15289 -19
- package/esm/{fw-button-c8502414.js → fw-button-4QLZlu0U.js} +44 -44
- package/esm/fw-button.js +5 -10
- package/esm/{fw-card-1b6a67fe.js → fw-card-bsYbpPmW.js} +12 -12
- package/esm/fw-card.js +1 -1
- package/esm/fw-checkbox.js +23 -32
- package/esm/fw-date-picker.js +137 -80
- package/esm/fw-drawer.js +31 -34
- package/esm/fw-dropdown-nLtzu2fS.js +277 -0
- package/esm/fw-dropdown.js +7 -15
- package/esm/fw-form.js +1 -1
- package/esm/fw-image-DOgM8i8X.js +200 -0
- package/esm/fw-image.js +5 -21
- package/esm/{fw-input-8969b226.js → fw-input-Qiy53nRk.js} +61 -53
- package/esm/fw-input.js +6 -19
- package/esm/fw-loading-bar-DThRjdw1.js +22 -0
- package/esm/{fw-loading-spinner-72d70258.js → fw-loading-spinner-Dn52RI5h.js} +1 -1
- package/esm/fw-loading.js +3 -7
- package/esm/fw-modal.js +79 -53
- package/esm/fw-navigation-menu.js +15 -20
- package/esm/fw-popover.js +39 -375
- package/esm/fw-progress-bar.js +8 -11
- package/esm/fw-provider-list.js +41 -84
- package/esm/fw-sidebar-menu.js +33 -24
- package/esm/{fw-table-row-23f78218.js → fw-table-row-DkZaaMmE.js} +15 -301
- package/esm/fw-table.js +6 -16
- package/esm/fw-tabs.js +21 -103
- package/esm/{fw-tag-ac28200a.js → fw-tag-CPp1P480.js} +29 -20
- package/esm/fw-tag.js +7 -12
- package/esm/fw-toast.js +22 -37
- package/esm/fw-transactions-card.js +14 -30
- package/esm/index-CUPvK0Aa.js +586 -0
- package/esm/index.js +66 -228
- package/esm/vee-validate.esm-3ptvCDR1.js +4071 -0
- package/frollo-web-ui.esm.js +34134 -34388
- package/icons/chart-line-up.svg +3 -0
- package/icons/icons.stories.ts +24 -29
- package/icons/index.ts +5 -1
- package/icons/sack-dollar.svg +3 -0
- package/icons/xmark.svg +2 -2
- package/index.d.ts +2789 -2573
- package/package.json +75 -73
- package/styles/tailwind.scss +6 -0
- package/types/components/fw-accordion/fw-accordion.vue.d.ts +128 -128
- package/types/components/fw-accordion/index.d.ts +2 -2
- package/types/components/fw-accordion/index.types.d.ts +10 -10
- package/types/components/fw-animations/fw-email-pulse.vue.d.ts +24 -24
- package/types/components/fw-animations/fw-loading-spinner.vue.d.ts +2 -2
- package/types/components/fw-animations/fw-success-pulse.vue.d.ts +24 -24
- package/types/components/fw-animations/index.d.ts +4 -4
- package/types/components/fw-bar-chart/fw-bar-chart.vue.d.ts +83 -83
- package/types/components/fw-bar-chart/index.d.ts +2 -2
- package/types/components/fw-bar-chart/index.types.d.ts +11 -11
- package/types/components/fw-button/fw-button.vue.d.ts +190 -176
- package/types/components/fw-button/index.d.ts +2 -2
- package/types/components/fw-button/index.types.d.ts +27 -26
- package/types/components/fw-card/fw-card.vue.d.ts +82 -82
- package/types/components/fw-card/index.d.ts +2 -2
- package/types/components/fw-card/index.types.d.ts +8 -8
- package/types/components/fw-checkbox/fw-checkbox.vue.d.ts +108 -108
- package/types/components/fw-checkbox/index.d.ts +2 -2
- package/types/components/fw-checkbox/index.types.d.ts +9 -9
- package/types/components/fw-date-picker/fw-date-picker.vue.d.ts +249 -177
- package/types/components/fw-date-picker/index.d.ts +2 -2
- package/types/components/fw-date-picker/index.types.d.ts +21 -16
- package/types/components/fw-drawer/fw-drawer.vue.d.ts +165 -165
- package/types/components/fw-drawer/index.d.ts +2 -2
- package/types/components/fw-drawer/index.types.d.ts +13 -13
- package/types/components/fw-dropdown/fw-dropdown.vue.d.ts +154 -130
- package/types/components/fw-dropdown/index.d.ts +2 -2
- package/types/components/fw-dropdown/index.types.d.ts +16 -13
- package/types/components/fw-form/index.d.ts +2 -2
- package/types/components/fw-image/fw-image.vue.d.ts +103 -84
- package/types/components/fw-image/index.d.ts +2 -2
- package/types/components/fw-image/index.types.d.ts +9 -8
- package/types/components/fw-input/fw-input.vue.d.ts +214 -197
- package/types/components/fw-input/index.d.ts +2 -2
- package/types/components/fw-input/index.types.d.ts +18 -16
- package/types/components/fw-loading/fw-loading-bar.vue.d.ts +2 -2
- package/types/components/fw-loading/fw-loading-card.vue.d.ts +2 -2
- package/types/components/fw-loading/fw-loading-table.vue.d.ts +25 -25
- package/types/components/fw-loading/index.d.ts +4 -4
- package/types/components/fw-modal/fw-modal.vue.d.ts +205 -175
- package/types/components/fw-modal/index.d.ts +2 -2
- package/types/components/fw-modal/index.types.d.ts +16 -14
- package/types/components/fw-navigation-menu/fw-navigation-menu.vue.d.ts +57 -57
- package/types/components/fw-navigation-menu/index.d.ts +2 -2
- package/types/components/fw-navigation-menu/index.types.d.ts +7 -7
- package/types/components/fw-popover/fw-popover.vue.d.ts +157 -157
- package/types/components/fw-popover/index.d.ts +2 -2
- package/types/components/fw-popover/index.types.d.ts +11 -11
- package/types/components/fw-progress-bar/fw-progress-bar.vue.d.ts +52 -52
- package/types/components/fw-progress-bar/index.d.ts +2 -2
- package/types/components/fw-progress-bar/index.types.d.ts +5 -5
- package/types/components/fw-provider-list/fw-provider-list.vue.d.ts +100 -100
- package/types/components/fw-provider-list/index.d.ts +2 -2
- package/types/components/fw-provider-list/index.types.d.ts +11 -11
- package/types/components/fw-sidebar-menu/fw-sidebar-menu.vue.d.ts +88 -72
- package/types/components/fw-sidebar-menu/index.d.ts +2 -2
- package/types/components/fw-sidebar-menu/index.types.d.ts +9 -8
- package/types/components/fw-table/fw-table-head.vue.d.ts +2 -2
- package/types/components/fw-table/fw-table-row.vue.d.ts +2 -2
- package/types/components/fw-table/fw-table.vue.d.ts +71 -71
- package/types/components/fw-table/index.d.ts +4 -4
- package/types/components/fw-table/index.types.d.ts +16 -16
- package/types/components/fw-tabs/fw-tab.vue.d.ts +24 -32
- package/types/components/fw-tabs/fw-tabs.vue.d.ts +24 -24
- package/types/components/fw-tabs/index.d.ts +3 -3
- package/types/components/fw-tabs/index.types.d.ts +8 -0
- package/types/components/fw-tag/fw-tag.vue.d.ts +80 -70
- package/types/components/fw-tag/index.d.ts +2 -2
- package/types/components/fw-tag/index.types.d.ts +18 -18
- package/types/components/fw-toast/fw-toast.vue.d.ts +121 -121
- package/types/components/fw-toast/index.d.ts +2 -2
- package/types/components/fw-toast/index.types.d.ts +13 -13
- package/types/components/fw-transactions-card/fw-transactions-card.vue.d.ts +58 -58
- package/types/components/fw-transactions-card/index.d.ts +2 -2
- package/types/components/fw-transactions-card/index.types.d.ts +6 -6
- package/types/components/index.d.ts +24 -24
- package/types/components/index.types.d.ts +21 -20
- package/types/directives/index.d.ts +2 -2
- package/types/directives/lazy-loader.d.ts +3 -3
- package/types/helpers/get-root-colours.d.ts +17 -17
- package/types/icons/index.d.ts +43 -41
- package/types/index-types.esm.d.ts +6 -6
- package/types/index.browser-umd.d.ts +2 -1
- package/types/index.d.ts +3 -3
- package/types/index.esm.d.ts +5 -5
- package/types/services/index.d.ts +2 -2
- package/types/services/modal.d.ts +9 -9
- package/types/services/toast.d.ts +9 -9
- package/web-components/index.js +19662 -19720
- package/esm/add-to-unscopables-ee05b58f.js +0 -25
- package/esm/array-iteration-8267bf22.js +0 -92
- package/esm/array-method-has-species-support-6c675094.js +0 -23
- package/esm/array-method-is-strict-d313436f.js +0 -14
- package/esm/array-species-create-1c67e297.js +0 -97
- package/esm/classof-d44bf093.js +0 -42
- package/esm/create-property-eb329361.js +0 -14
- package/esm/defineProperty-b85f2e0f.js +0 -42
- package/esm/does-not-exceed-safe-integer-de37ce28.js +0 -11
- package/esm/es.array.concat-99b85557.js +0 -69
- package/esm/es.array.find-1ded15d5.js +0 -28
- package/esm/es.array.includes-08e25019.js +0 -27
- package/esm/es.array.map-c56ebffd.js +0 -22
- package/esm/es.date.to-string-15eb9936.js +0 -23
- package/esm/es.function.name-6cafd747.js +0 -29
- package/esm/es.number.constructor-fb16fe05.js +0 -204
- package/esm/es.object.to-string-4b07c4d1.js +0 -24
- package/esm/es.string.includes-061e8272.js +0 -66
- package/esm/es.string.iterator-25db8cd2.js +0 -469
- package/esm/export-10c4adbc.js +0 -95
- package/esm/function-apply-e17cf65b.js +0 -14
- package/esm/fw-dropdown-6856e66e.js +0 -224
- package/esm/fw-image-aca2c61d.js +0 -296
- package/esm/fw-loading-bar-f5ca605c.js +0 -22
- package/esm/index-6758f755.js +0 -15797
- package/esm/index-bced3b35.js +0 -560
- package/esm/is-forced-7cb3ee8f.js +0 -927
- package/esm/object-create-51bf02dc.js +0 -125
- package/esm/regexp-flags-c09864e5.js +0 -50
- package/esm/vee-validate.esm-a17a23c3.js +0 -3192
- package/esm/web.timers-e406c8e6.js +0 -72
- /package/esm/{get-root-colours-865a52ba.js → get-root-colours-DYEoJPEb.js} +0 -0
- /package/esm/{index-0c5cae4f.js → index-BVcOAKar.js} +0 -0
- /package/esm/{style-inject.es-1f59c1d0.js → style-inject.es-tgCJW-Cu.js} +0 -0
- /package/esm/{uniqueId-fe08534a.js → uniqueId-DK6xzFd8.js} +0 -0
|
@@ -1,27 +1,38 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import {
|
|
3
|
-
import { s as
|
|
4
|
-
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
1
|
+
import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, resolveDynamicComponent, normalizeClass, withCtx, createElementBlock, createElementVNode, Fragment, createTextVNode, toDisplayString, renderSlot, createCommentVNode, createVNode } from 'vue';
|
|
2
|
+
import { s as script$1 } from './fw-loading-spinner-Dn52RI5h.js';
|
|
3
|
+
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
|
5
4
|
|
|
6
5
|
var script = defineComponent({
|
|
7
6
|
name: 'FwButton',
|
|
8
|
-
emits: [
|
|
7
|
+
emits: [/** Fired on native click */
|
|
8
|
+
'click', /** Fired on native hover in */
|
|
9
|
+
'mouseover', /** Fired on native hover out */
|
|
10
|
+
'mouseout', /** Fired on native focus in */
|
|
11
|
+
'focusin', /** Fired on native focus out */
|
|
12
|
+
'focusout'],
|
|
9
13
|
components: {
|
|
10
14
|
FwLoadingSpinner: script$1
|
|
11
15
|
},
|
|
12
16
|
props: {
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
17
|
+
/**
|
|
18
|
+
* The label text of the button.
|
|
19
|
+
* Overrides the default slot content.
|
|
20
|
+
*/
|
|
21
|
+
label: {
|
|
22
|
+
type: String
|
|
23
|
+
},
|
|
24
|
+
/**
|
|
25
|
+
* A `router-link` path or object
|
|
15
26
|
*/
|
|
16
27
|
to: {
|
|
17
28
|
type: [String, Object]
|
|
18
29
|
},
|
|
19
|
-
/**
|
|
20
|
-
* A URL to link to using a native anchor element
|
|
30
|
+
/**
|
|
31
|
+
* A URL to link to using a native anchor element
|
|
21
32
|
*/
|
|
22
33
|
href: String,
|
|
23
|
-
/**
|
|
24
|
-
* The size of the button. Accepts: 'sm', 'md', 'lg', 'xl', '2xl'
|
|
34
|
+
/**
|
|
35
|
+
* The size of the button. Accepts: 'sm', 'md', 'lg', 'xl', '2xl'
|
|
25
36
|
*/
|
|
26
37
|
size: {
|
|
27
38
|
type: String,
|
|
@@ -30,9 +41,9 @@ var script = defineComponent({
|
|
|
30
41
|
return ['sm', 'md', 'lg', 'xl', '2xl'].includes(value);
|
|
31
42
|
}
|
|
32
43
|
},
|
|
33
|
-
/**
|
|
34
|
-
* The colour variant of the button.
|
|
35
|
-
* Accepts 'primary', 'secondary', 'tertiary', 'error', 'success', 'link', 'text', 'transparent'
|
|
44
|
+
/**
|
|
45
|
+
* The colour variant of the button.
|
|
46
|
+
* Accepts 'primary', 'secondary', 'tertiary', 'error', 'success', 'link', 'text', 'transparent'
|
|
36
47
|
*/
|
|
37
48
|
variant: {
|
|
38
49
|
type: String,
|
|
@@ -41,8 +52,8 @@ var script = defineComponent({
|
|
|
41
52
|
return ['primary', 'secondary', 'tertiary', 'error', 'success', 'link', 'text', 'transparent'].includes(value);
|
|
42
53
|
}
|
|
43
54
|
},
|
|
44
|
-
/**
|
|
45
|
-
* The type attribute of the button
|
|
55
|
+
/**
|
|
56
|
+
* The type attribute of the button
|
|
46
57
|
*/
|
|
47
58
|
buttonType: {
|
|
48
59
|
type: String,
|
|
@@ -51,9 +62,9 @@ var script = defineComponent({
|
|
|
51
62
|
return ['button', 'submit', 'reset'].includes(value);
|
|
52
63
|
}
|
|
53
64
|
},
|
|
54
|
-
/**
|
|
55
|
-
* The animation type of the hover & focus states.
|
|
56
|
-
* Accepts 'alternate' and 'fade'
|
|
65
|
+
/**
|
|
66
|
+
* The animation type of the hover & focus states.
|
|
67
|
+
* Accepts 'alternate' and 'fade'
|
|
57
68
|
*/
|
|
58
69
|
animation: {
|
|
59
70
|
type: String,
|
|
@@ -62,22 +73,22 @@ var script = defineComponent({
|
|
|
62
73
|
return ['alternate', 'fade'].includes(value);
|
|
63
74
|
}
|
|
64
75
|
},
|
|
65
|
-
/**
|
|
66
|
-
* Whether the button is rounded or not
|
|
76
|
+
/**
|
|
77
|
+
* Whether the button is rounded or not
|
|
67
78
|
*/
|
|
68
79
|
rounded: {
|
|
69
80
|
type: Boolean,
|
|
70
81
|
"default": true
|
|
71
82
|
},
|
|
72
|
-
/**
|
|
73
|
-
* Whether the loading animation is shown or not
|
|
83
|
+
/**
|
|
84
|
+
* Whether the loading animation is shown or not
|
|
74
85
|
*/
|
|
75
86
|
loading: {
|
|
76
87
|
type: Boolean,
|
|
77
88
|
"default": false
|
|
78
89
|
},
|
|
79
|
-
/**
|
|
80
|
-
* Whether the link should open in a new tab
|
|
90
|
+
/**
|
|
91
|
+
* Whether the link should open in a new tab
|
|
81
92
|
*/
|
|
82
93
|
external: {
|
|
83
94
|
type: Boolean
|
|
@@ -171,33 +182,18 @@ var script = defineComponent({
|
|
|
171
182
|
var loadingSize = computed(function () {
|
|
172
183
|
return loadingSizes.value[props.size];
|
|
173
184
|
});
|
|
174
|
-
/**
|
|
175
|
-
* @event Click - Native click
|
|
176
|
-
*/
|
|
177
185
|
var onClick = function onClick(e) {
|
|
178
186
|
return ctx.emit('click', e);
|
|
179
187
|
};
|
|
180
|
-
/**
|
|
181
|
-
* @event mouseover - Native hover
|
|
182
|
-
*/
|
|
183
188
|
var onMouseover = function onMouseover(e) {
|
|
184
189
|
return ctx.emit('mouseover', e);
|
|
185
190
|
};
|
|
186
|
-
/**
|
|
187
|
-
* @event mouseout - Native hover out
|
|
188
|
-
*/
|
|
189
191
|
var onMouseout = function onMouseout(e) {
|
|
190
192
|
return ctx.emit('mouseout', e);
|
|
191
193
|
};
|
|
192
|
-
/**
|
|
193
|
-
* @event focusin - Native focusin
|
|
194
|
-
*/
|
|
195
194
|
var onFocusin = function onFocusin(e) {
|
|
196
195
|
return ctx.emit('focusin', e);
|
|
197
196
|
};
|
|
198
|
-
/**
|
|
199
|
-
* @event focusout - Native focusout
|
|
200
|
-
*/
|
|
201
197
|
var onFocusout = function onFocusout(e) {
|
|
202
198
|
return ctx.emit('focusout', e);
|
|
203
199
|
};
|
|
@@ -244,9 +240,13 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
244
240
|
onMouseout: _ctx.onMouseout
|
|
245
241
|
}, {
|
|
246
242
|
"default": withCtx(function () {
|
|
247
|
-
return [_ctx.$slots["default"] ? (openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", {
|
|
243
|
+
return [_ctx.$slots["default"] || _ctx.label ? (openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", {
|
|
248
244
|
"class": normalizeClass(["fw-button--label-wrapper", _ctx.loading ? _ctx.loadingSize.spacing : 'pr-0 ml-0'])
|
|
249
|
-
}, [
|
|
245
|
+
}, [_ctx.label ? (openBlock(), createElementBlock(Fragment, {
|
|
246
|
+
key: 0
|
|
247
|
+
}, [createTextVNode(toDisplayString(_ctx.label), 1)], 64)) : _ctx.$slots["default"] ? renderSlot(_ctx.$slots, "default", {
|
|
248
|
+
key: 1
|
|
249
|
+
}) : createCommentVNode("", true)], 2), _ctx.loading ? (openBlock(), createElementBlock("div", {
|
|
250
250
|
key: 0,
|
|
251
251
|
"class": normalizeClass([_ctx.loadingSize.size, "inline-flex absolute top-2/4 -translate-y-2/4 left-full"])
|
|
252
252
|
}, [createVNode(_component_FwLoadingSpinner, {
|
|
@@ -257,8 +257,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
257
257
|
}, 40, ["class", "type", "to", "href", "tabindex", "disabled", "target", "onClick", "onFocusin", "onFocusout", "onMouseover", "onMouseout"]);
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
-
var css_248z = ".fw-button{line-height:normal}.fw-button--label-wrapper{-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:margin,padding;transition-property:margin,padding;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.fw-button--primary{background:var(--colorButtonPrimary);color:var(--colorButtonPrimaryText)}.fw-button--primary.fw-button--loading,.fw-button--primary:hover{background:var(--colorButtonPrimaryFade);border-color:var(--colorButtonPrimaryFade)}.fw-button--secondary{background:var(--colorButtonSecondary);color:var(--colorButtonSecondaryText)}.fw-button--secondary.animation--alternate.fw-button--loading,.fw-button--secondary.animation--alternate:hover{background:var(--colorButtonSecondaryText);color:var(--colorButtonSecondary)}.fw-button--secondary.animation--fade.fw-button--loading,.fw-button--secondary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}.fw-button--tertiary{background:var(--colorButtonTertiary);color:var(--colorButtonTertiaryText)}.fw-button--tertiary.animation--alternate.fw-button--loading,.fw-button--tertiary.animation--alternate:hover{background:var(--colorButtonTertiaryText);color:var(--colorButtonTertiary)}.fw-button--tertiary.animation--fade.fw-button--loading,.fw-button--tertiary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}";
|
|
261
|
-
var stylesheet = ".fw-button{line-height:normal}.fw-button--label-wrapper{-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:margin,padding;transition-property:margin,padding;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.fw-button--primary{background:var(--colorButtonPrimary);color:var(--colorButtonPrimaryText)}.fw-button--primary.fw-button--loading,.fw-button--primary:hover{background:var(--colorButtonPrimaryFade);border-color:var(--colorButtonPrimaryFade)}.fw-button--secondary{background:var(--colorButtonSecondary);color:var(--colorButtonSecondaryText)}.fw-button--secondary.animation--alternate.fw-button--loading,.fw-button--secondary.animation--alternate:hover{background:var(--colorButtonSecondaryText);color:var(--colorButtonSecondary)}.fw-button--secondary.animation--fade.fw-button--loading,.fw-button--secondary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}.fw-button--tertiary{background:var(--colorButtonTertiary);color:var(--colorButtonTertiaryText)}.fw-button--tertiary.animation--alternate.fw-button--loading,.fw-button--tertiary.animation--alternate:hover{background:var(--colorButtonTertiaryText);color:var(--colorButtonTertiary)}.fw-button--tertiary.animation--fade.fw-button--loading,.fw-button--tertiary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}";
|
|
260
|
+
var css_248z = ".fw-button{line-height:normal}.fw-button--label-wrapper{-webkit-transition-duration:.2s;-moz-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:margin,padding;-moz-transition-property:margin,padding;transition-property:margin,padding;-webkit-transition-timing-function:ease-in-out;-moz-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.fw-button--primary{background:var(--colorButtonPrimary);color:var(--colorButtonPrimaryText)}.fw-button--primary.fw-button--loading,.fw-button--primary:hover{background:var(--colorButtonPrimaryFade);border-color:var(--colorButtonPrimaryFade)}.fw-button--secondary{background:var(--colorButtonSecondary);color:var(--colorButtonSecondaryText)}.fw-button--secondary.animation--alternate.fw-button--loading,.fw-button--secondary.animation--alternate:hover{background:var(--colorButtonSecondaryText);color:var(--colorButtonSecondary)}.fw-button--secondary.animation--fade.fw-button--loading,.fw-button--secondary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}.fw-button--tertiary{background:var(--colorButtonTertiary);color:var(--colorButtonTertiaryText)}.fw-button--tertiary.animation--alternate.fw-button--loading,.fw-button--tertiary.animation--alternate:hover{background:var(--colorButtonTertiaryText);color:var(--colorButtonTertiary)}.fw-button--tertiary.animation--fade.fw-button--loading,.fw-button--tertiary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}";
|
|
261
|
+
var stylesheet = ".fw-button{line-height:normal}.fw-button--label-wrapper{-webkit-transition-duration:.2s;-moz-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:margin,padding;-moz-transition-property:margin,padding;transition-property:margin,padding;-webkit-transition-timing-function:ease-in-out;-moz-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.fw-button--primary{background:var(--colorButtonPrimary);color:var(--colorButtonPrimaryText)}.fw-button--primary.fw-button--loading,.fw-button--primary:hover{background:var(--colorButtonPrimaryFade);border-color:var(--colorButtonPrimaryFade)}.fw-button--secondary{background:var(--colorButtonSecondary);color:var(--colorButtonSecondaryText)}.fw-button--secondary.animation--alternate.fw-button--loading,.fw-button--secondary.animation--alternate:hover{background:var(--colorButtonSecondaryText);color:var(--colorButtonSecondary)}.fw-button--secondary.animation--fade.fw-button--loading,.fw-button--secondary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}.fw-button--tertiary{background:var(--colorButtonTertiary);color:var(--colorButtonTertiaryText)}.fw-button--tertiary.animation--alternate.fw-button--loading,.fw-button--tertiary.animation--alternate:hover{background:var(--colorButtonTertiaryText);color:var(--colorButtonTertiary)}.fw-button--tertiary.animation--fade.fw-button--loading,.fw-button--tertiary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}";
|
|
262
262
|
styleInject(css_248z);
|
|
263
263
|
|
|
264
264
|
script.render = render;
|
package/esm/fw-button.js
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
export { s as FwButton } from './fw-button-
|
|
2
|
-
import './es.array.includes-08e25019.js';
|
|
3
|
-
import './is-forced-7cb3ee8f.js';
|
|
4
|
-
import './export-10c4adbc.js';
|
|
5
|
-
import './add-to-unscopables-ee05b58f.js';
|
|
6
|
-
import './object-create-51bf02dc.js';
|
|
1
|
+
export { s as FwButton } from './fw-button-4QLZlu0U.js';
|
|
7
2
|
import 'vue';
|
|
8
|
-
import './fw-loading-spinner-
|
|
9
|
-
import './index-
|
|
10
|
-
import './check
|
|
11
|
-
import './style-inject.es-
|
|
3
|
+
import './fw-loading-spinner-Dn52RI5h.js';
|
|
4
|
+
import './index-CUPvK0Aa.js';
|
|
5
|
+
import './check--YD4Ts6g.js';
|
|
6
|
+
import './style-inject.es-tgCJW-Cu.js';
|
|
@@ -3,37 +3,37 @@ import { defineComponent, ref, computed, openBlock, createBlock, resolveDynamicC
|
|
|
3
3
|
var script = defineComponent({
|
|
4
4
|
name: 'FwCard',
|
|
5
5
|
props: {
|
|
6
|
-
/**
|
|
7
|
-
* The header title of the card
|
|
6
|
+
/**
|
|
7
|
+
* The header title of the card
|
|
8
8
|
*/
|
|
9
9
|
title: {
|
|
10
10
|
type: String
|
|
11
11
|
},
|
|
12
|
-
/**
|
|
13
|
-
* Title prefix with primary color
|
|
12
|
+
/**
|
|
13
|
+
* Title prefix with primary color
|
|
14
14
|
*/
|
|
15
15
|
prefixTitle: {
|
|
16
16
|
type: String
|
|
17
17
|
},
|
|
18
|
-
/**
|
|
19
|
-
* A `router-link` path or object
|
|
18
|
+
/**
|
|
19
|
+
* A `router-link` path or object
|
|
20
20
|
*/
|
|
21
21
|
to: {
|
|
22
22
|
type: [String, Object]
|
|
23
23
|
},
|
|
24
|
-
/**
|
|
25
|
-
* A URL to link to using a native anchor element
|
|
24
|
+
/**
|
|
25
|
+
* A URL to link to using a native anchor element
|
|
26
26
|
*/
|
|
27
27
|
href: String,
|
|
28
|
-
/**
|
|
29
|
-
* Whether padding should be applied around the default slot
|
|
28
|
+
/**
|
|
29
|
+
* Whether padding should be applied around the default slot
|
|
30
30
|
*/
|
|
31
31
|
slotPadding: {
|
|
32
32
|
type: Boolean,
|
|
33
33
|
"default": true
|
|
34
34
|
},
|
|
35
|
-
/**
|
|
36
|
-
* Whether the card has a border or shadow by default
|
|
35
|
+
/**
|
|
36
|
+
* Whether the card has a border or shadow by default
|
|
37
37
|
*/
|
|
38
38
|
isBordered: {
|
|
39
39
|
type: Boolean,
|
package/esm/fw-card.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { s as FwCard } from './fw-card-
|
|
1
|
+
export { s as FwCard } from './fw-card-bsYbpPmW.js';
|
|
2
2
|
import 'vue';
|
package/esm/fw-checkbox.js
CHANGED
|
@@ -1,16 +1,7 @@
|
|
|
1
1
|
import { defineComponent, pushScopeId, popScopeId, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, mergeProps, createCommentVNode, Transition, toDisplayString } from 'vue';
|
|
2
|
-
import { a as Field } from './vee-validate.esm-
|
|
3
|
-
import { u as uniqueId } from './uniqueId-
|
|
4
|
-
import './es
|
|
5
|
-
import './es.array.concat-99b85557.js';
|
|
6
|
-
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
7
|
-
import './is-forced-7cb3ee8f.js';
|
|
8
|
-
import './export-10c4adbc.js';
|
|
9
|
-
import './array-species-create-1c67e297.js';
|
|
10
|
-
import './classof-d44bf093.js';
|
|
11
|
-
import './does-not-exceed-safe-integer-de37ce28.js';
|
|
12
|
-
import './create-property-eb329361.js';
|
|
13
|
-
import './array-method-has-species-support-6c675094.js';
|
|
2
|
+
import { a as Field } from './vee-validate.esm-3ptvCDR1.js';
|
|
3
|
+
import { u as uniqueId } from './uniqueId-DK6xzFd8.js';
|
|
4
|
+
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
|
14
5
|
|
|
15
6
|
var script = defineComponent({
|
|
16
7
|
name: 'FwCheckbox',
|
|
@@ -18,49 +9,49 @@ var script = defineComponent({
|
|
|
18
9
|
InputField: Field
|
|
19
10
|
},
|
|
20
11
|
props: {
|
|
21
|
-
/**
|
|
22
|
-
* The name of the checkbox input field.
|
|
23
|
-
* Multiple checkboxes can use the same name with a unique value.
|
|
12
|
+
/**
|
|
13
|
+
* The name of the checkbox input field.
|
|
14
|
+
* Multiple checkboxes can use the same name with a unique value.
|
|
24
15
|
*/
|
|
25
16
|
name: {
|
|
26
17
|
type: String,
|
|
27
18
|
required: true
|
|
28
19
|
},
|
|
29
|
-
/**
|
|
30
|
-
* The value of the input field. Must be unique per name.
|
|
20
|
+
/**
|
|
21
|
+
* The value of the input field. Must be unique per name.
|
|
31
22
|
*/
|
|
32
23
|
value: {
|
|
33
24
|
type: String,
|
|
34
25
|
required: false
|
|
35
26
|
},
|
|
36
|
-
/**
|
|
37
|
-
* Label for the input. Also renders to an aria-label attribute
|
|
27
|
+
/**
|
|
28
|
+
* Label for the input. Also renders to an aria-label attribute
|
|
38
29
|
*/
|
|
39
30
|
label: {
|
|
40
31
|
type: String
|
|
41
32
|
},
|
|
42
|
-
/**
|
|
43
|
-
* Validation rules. Accepts an object, stringm schema or validation function.
|
|
33
|
+
/**
|
|
34
|
+
* Validation rules. Accepts an object, stringm schema or validation function.
|
|
44
35
|
*/
|
|
45
36
|
rules: {
|
|
46
37
|
type: [Object, String, Function]
|
|
47
38
|
},
|
|
48
|
-
/**
|
|
49
|
-
* The hint text shown below the input
|
|
39
|
+
/**
|
|
40
|
+
* The hint text shown below the input
|
|
50
41
|
*/
|
|
51
42
|
hint: {
|
|
52
43
|
type: String
|
|
53
44
|
},
|
|
54
|
-
/**
|
|
55
|
-
* Enable or disable the error hidden element
|
|
45
|
+
/**
|
|
46
|
+
* Enable or disable the error hidden element
|
|
56
47
|
*/
|
|
57
48
|
enableErrors: {
|
|
58
49
|
type: Boolean,
|
|
59
50
|
"default": true
|
|
60
51
|
},
|
|
61
|
-
/**
|
|
62
|
-
* Progmatically set the checked state of the input.
|
|
63
|
-
* Used outside a FwForm element
|
|
52
|
+
/**
|
|
53
|
+
* Progmatically set the checked state of the input.
|
|
54
|
+
* Used outside a FwForm element
|
|
64
55
|
*/
|
|
65
56
|
isChecked: {
|
|
66
57
|
type: Boolean,
|
|
@@ -77,7 +68,7 @@ var script = defineComponent({
|
|
|
77
68
|
});
|
|
78
69
|
|
|
79
70
|
var _withScopeId = function _withScopeId(n) {
|
|
80
|
-
return pushScopeId("data-v-
|
|
71
|
+
return pushScopeId("data-v-18f4083f"), n = n(), popScopeId(), n;
|
|
81
72
|
};
|
|
82
73
|
var _hoisted_1 = {
|
|
83
74
|
"class": "fw-checkbox w-full"
|
|
@@ -151,11 +142,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
151
142
|
}, 8, ["name", "value", "rules"])]);
|
|
152
143
|
}
|
|
153
144
|
|
|
154
|
-
var css_248z = ".fwFadeIn-enter-active[data-v-
|
|
155
|
-
var stylesheet = ".fwFadeIn-enter-active[data-v-
|
|
145
|
+
var css_248z = ".fwFadeIn-enter-active[data-v-18f4083f]{-webkit-animation:fwFadeIn-18f4083f .35s;-moz-animation:fwFadeIn-18f4083f .35s;animation:fwFadeIn-18f4083f .35s;-webkit-transition:opacity .35s ease-in;-moz-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-18f4083f]{animation:fwFadeIn-18f4083f .35s reverse;-webkit-transition:opacity .35s ease-out;-moz-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-18f4083f{0%{opacity:0}to{opacity:1}}@-moz-keyframes fwFadeIn-18f4083f{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-18f4083f{0%{opacity:0}to{opacity:1}}.fw-checkbox input[data-v-18f4083f]{-ms-flex-negative:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-origin:border-box;display:inline-block;-webkit-flex-shrink:0;flex-shrink:0;-webkit-transition:background .2s ease-in;-moz-transition:background .2s ease-in;transition:background .2s ease-in;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}.fw-checkbox input[data-v-18f4083f]:checked{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='3 3 10 10' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}";
|
|
146
|
+
var stylesheet = ".fwFadeIn-enter-active[data-v-18f4083f]{-webkit-animation:fwFadeIn-18f4083f .35s;-moz-animation:fwFadeIn-18f4083f .35s;animation:fwFadeIn-18f4083f .35s;-webkit-transition:opacity .35s ease-in;-moz-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-18f4083f]{animation:fwFadeIn-18f4083f .35s reverse;-webkit-transition:opacity .35s ease-out;-moz-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-18f4083f{0%{opacity:0}to{opacity:1}}@-moz-keyframes fwFadeIn-18f4083f{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-18f4083f{0%{opacity:0}to{opacity:1}}.fw-checkbox input[data-v-18f4083f]{-ms-flex-negative:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-origin:border-box;display:inline-block;-webkit-flex-shrink:0;flex-shrink:0;-webkit-transition:background .2s ease-in;-moz-transition:background .2s ease-in;transition:background .2s ease-in;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}.fw-checkbox input[data-v-18f4083f]:checked{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='3 3 10 10' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}";
|
|
156
147
|
styleInject(css_248z);
|
|
157
148
|
|
|
158
149
|
script.render = render;
|
|
159
|
-
script.__scopeId = "data-v-
|
|
150
|
+
script.__scopeId = "data-v-18f4083f";
|
|
160
151
|
|
|
161
152
|
export { script as FwCheckbox };
|