@frollo/frollo-web-ui 7.0.1 → 8.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/index.js +34629 -34457
- 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 +134 -80
- package/esm/fw-drawer.js +32 -35
- 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 +93 -56
- 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 +34401 -34647
- 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 +2815 -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 +229 -175
- package/types/components/fw-modal/index.d.ts +2 -2
- package/types/components/fw-modal/index.types.d.ts +18 -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 +19670 -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,12 +1,8 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import './
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { u as uniqueId } from './uniqueId-fe08534a.js';
|
|
7
|
-
import './es.function.name-6cafd747.js';
|
|
8
|
-
import './es.array.concat-99b85557.js';
|
|
9
|
-
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
1
|
+
import { defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, createTextVNode, toDisplayString, createCommentVNode, renderSlot, mergeProps, createBlock, Transition, normalizeClass } from 'vue';
|
|
2
|
+
import { f as render$1 } from './index-CUPvK0Aa.js';
|
|
3
|
+
import { a as Field } from './vee-validate.esm-3ptvCDR1.js';
|
|
4
|
+
import { u as uniqueId } from './uniqueId-DK6xzFd8.js';
|
|
5
|
+
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
|
10
6
|
|
|
11
7
|
var script = defineComponent({
|
|
12
8
|
name: 'FwInput',
|
|
@@ -16,22 +12,22 @@ var script = defineComponent({
|
|
|
16
12
|
ErrorFilledSvg: render$1
|
|
17
13
|
},
|
|
18
14
|
props: {
|
|
19
|
-
/**
|
|
20
|
-
* The input v-model
|
|
15
|
+
/**
|
|
16
|
+
* The input v-model
|
|
21
17
|
*/
|
|
22
18
|
modelValue: {
|
|
23
19
|
type: String,
|
|
24
20
|
"default": ''
|
|
25
21
|
},
|
|
26
|
-
/**
|
|
27
|
-
* The name of the input field. Must be unique per form.
|
|
22
|
+
/**
|
|
23
|
+
* The name of the input field. Must be unique per form.
|
|
28
24
|
*/
|
|
29
25
|
name: {
|
|
30
26
|
type: String,
|
|
31
27
|
required: true
|
|
32
28
|
},
|
|
33
|
-
/**
|
|
34
|
-
* The input type. Accepts `text` | `password`
|
|
29
|
+
/**
|
|
30
|
+
* The input type. Accepts `text` | `password`
|
|
35
31
|
*/
|
|
36
32
|
type: {
|
|
37
33
|
type: String,
|
|
@@ -40,72 +36,80 @@ var script = defineComponent({
|
|
|
40
36
|
return ['text', 'password', 'email', 'tel', 'time', 'url', 'week', 'month'].includes(value);
|
|
41
37
|
}
|
|
42
38
|
},
|
|
43
|
-
/**
|
|
44
|
-
* Label for the input. Also renders to an aria-label attribute
|
|
39
|
+
/**
|
|
40
|
+
* Label for the input. Also renders to an aria-label attribute
|
|
45
41
|
*/
|
|
46
42
|
label: {
|
|
47
43
|
type: String
|
|
48
44
|
},
|
|
49
|
-
/**
|
|
50
|
-
* The placeholder text of the input
|
|
45
|
+
/**
|
|
46
|
+
* The placeholder text of the input
|
|
51
47
|
*/
|
|
52
48
|
placeholder: {
|
|
53
49
|
type: String
|
|
54
50
|
},
|
|
55
|
-
/**
|
|
56
|
-
* Validation rules. Accepts an object, string schema or validation function.
|
|
51
|
+
/**
|
|
52
|
+
* Validation rules. Accepts an object, string schema or validation function.
|
|
57
53
|
*/
|
|
58
54
|
rules: {
|
|
59
55
|
type: [Object, String, Function]
|
|
60
56
|
},
|
|
61
|
-
/**
|
|
62
|
-
* Converts the input into a readonly disabled field
|
|
57
|
+
/**
|
|
58
|
+
* Converts the input into a readonly disabled field
|
|
63
59
|
*/
|
|
64
60
|
readonly: {
|
|
65
61
|
type: Boolean,
|
|
66
62
|
"default": false
|
|
67
63
|
},
|
|
68
|
-
/**
|
|
69
|
-
* The hint text shown below the input
|
|
64
|
+
/**
|
|
65
|
+
* The hint text shown below the input
|
|
70
66
|
*/
|
|
71
67
|
hint: {
|
|
72
68
|
type: String
|
|
73
69
|
},
|
|
74
|
-
/**
|
|
75
|
-
* The autocomplete input attribute
|
|
70
|
+
/**
|
|
71
|
+
* The autocomplete input attribute
|
|
76
72
|
*/
|
|
77
73
|
autocomplete: {
|
|
78
74
|
type: String
|
|
79
75
|
},
|
|
80
|
-
/**
|
|
81
|
-
* The logical tab order of the input.
|
|
82
|
-
* Defaults to 0
|
|
76
|
+
/**
|
|
77
|
+
* The logical tab order of the input.
|
|
78
|
+
* Defaults to 0
|
|
83
79
|
*/
|
|
84
80
|
tabindex: {
|
|
85
81
|
type: String,
|
|
86
82
|
"default": '0'
|
|
87
83
|
},
|
|
88
|
-
/**
|
|
89
|
-
* Whether the input is rounded.
|
|
90
|
-
* Defaults to false
|
|
84
|
+
/**
|
|
85
|
+
* Whether the input is rounded.
|
|
86
|
+
* Defaults to false
|
|
91
87
|
*/
|
|
92
88
|
rounded: {
|
|
93
89
|
type: Boolean,
|
|
94
90
|
"default": false
|
|
95
91
|
},
|
|
96
|
-
/**
|
|
97
|
-
* Enable the error section UI.
|
|
98
|
-
* Defaults to true
|
|
92
|
+
/**
|
|
93
|
+
* Enable the error section UI.
|
|
94
|
+
* Defaults to true
|
|
99
95
|
*/
|
|
100
96
|
enableErrors: {
|
|
101
97
|
type: Boolean,
|
|
102
98
|
"default": true
|
|
103
99
|
},
|
|
104
|
-
/**
|
|
105
|
-
* The inputs `maxlength` attribute.
|
|
100
|
+
/**
|
|
101
|
+
* The inputs `maxlength` attribute.
|
|
106
102
|
*/
|
|
107
103
|
maxLength: {
|
|
108
104
|
type: Number
|
|
105
|
+
},
|
|
106
|
+
/**
|
|
107
|
+
* Enables the required asterisk. (UI only)
|
|
108
|
+
* Use the field validation rule to validate input.
|
|
109
|
+
*/
|
|
110
|
+
required: {
|
|
111
|
+
type: Boolean,
|
|
112
|
+
"default": false
|
|
109
113
|
}
|
|
110
114
|
},
|
|
111
115
|
setup: function setup(props, ctx) {
|
|
@@ -138,29 +142,33 @@ var _hoisted_3 = {
|
|
|
138
142
|
};
|
|
139
143
|
var _hoisted_4 = ["for"];
|
|
140
144
|
var _hoisted_5 = {
|
|
141
|
-
key:
|
|
145
|
+
key: 0,
|
|
146
|
+
"class": "text-error ml-0.5"
|
|
142
147
|
};
|
|
143
148
|
var _hoisted_6 = {
|
|
144
|
-
|
|
149
|
+
key: 1
|
|
145
150
|
};
|
|
146
151
|
var _hoisted_7 = {
|
|
152
|
+
"class": "relative"
|
|
153
|
+
};
|
|
154
|
+
var _hoisted_8 = {
|
|
147
155
|
key: 0,
|
|
148
156
|
"class": "flex text-black absolute w-9 h-full inset-y-0 left-0 items-center pl-3 pointer-events-none"
|
|
149
157
|
};
|
|
150
|
-
var
|
|
151
|
-
var
|
|
158
|
+
var _hoisted_9 = ["id", "placeholder", "type", "readonly", "tabindex", "disabled", "autocomplete", "maxlength"];
|
|
159
|
+
var _hoisted_10 = {
|
|
152
160
|
key: 2,
|
|
153
161
|
"class": "flex text-black absolute w-10 h-full inset-y-0 right-0 items-center pr-3"
|
|
154
162
|
};
|
|
155
|
-
var
|
|
163
|
+
var _hoisted_11 = {
|
|
156
164
|
key: 0,
|
|
157
|
-
"class": "italic text-
|
|
165
|
+
"class": "italic text-left text-sm font-medium mt-2 min-h-[21px]"
|
|
158
166
|
};
|
|
159
|
-
var
|
|
167
|
+
var _hoisted_12 = {
|
|
160
168
|
key: 0,
|
|
161
169
|
"class": "text-error"
|
|
162
170
|
};
|
|
163
|
-
var
|
|
171
|
+
var _hoisted_13 = {
|
|
164
172
|
key: 1
|
|
165
173
|
};
|
|
166
174
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -184,7 +192,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
184
192
|
key: 0,
|
|
185
193
|
"for": "fw-input-".concat(_ctx.name, "-").concat(_ctx.uuid),
|
|
186
194
|
"class": "block mb-2 font-medium"
|
|
187
|
-
}, toDisplayString(_ctx.label),
|
|
195
|
+
}, [createTextVNode(toDisplayString(_ctx.label) + " ", 1), _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_5, "*")) : createCommentVNode("", true)], 8, _hoisted_4)) : createCommentVNode("", true), _ctx.$slots.action ? (openBlock(), createElementBlock("div", _hoisted_6, [renderSlot(_ctx.$slots, "action")])) : createCommentVNode("", true)]), createElementVNode("div", _hoisted_7, [_ctx.$slots.prefix ? (openBlock(), createElementBlock("div", _hoisted_8, [renderSlot(_ctx.$slots, "prefix", {
|
|
188
196
|
"class": "h-full"
|
|
189
197
|
})])) : createCommentVNode("", true), createElementVNode("input", mergeProps(field, {
|
|
190
198
|
id: "fw-input-".concat(_ctx.name, "-").concat(_ctx.uuid),
|
|
@@ -199,7 +207,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
199
207
|
'pl-10': !!_ctx.$slots.prefix,
|
|
200
208
|
'pr-20': !!_ctx.$slots.suffix
|
|
201
209
|
}, _ctx.inputBaseClass, _ctx.rounded ? 'rounded-full' : 'rounded']
|
|
202
|
-
}), null, 16,
|
|
210
|
+
}), null, 16, _hoisted_9), _ctx.enableErrors ? (openBlock(), createBlock(Transition, {
|
|
203
211
|
key: 1,
|
|
204
212
|
name: "fwFadeIn"
|
|
205
213
|
}, {
|
|
@@ -214,14 +222,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
214
222
|
})], 2)) : createCommentVNode("", true)];
|
|
215
223
|
}),
|
|
216
224
|
_: 2
|
|
217
|
-
}, 1024)) : createCommentVNode("", true), _ctx.$slots.suffix ? (openBlock(), createElementBlock("div",
|
|
225
|
+
}, 1024)) : createCommentVNode("", true), _ctx.$slots.suffix ? (openBlock(), createElementBlock("div", _hoisted_10, [renderSlot(_ctx.$slots, "suffix", {
|
|
218
226
|
"class": "h-full"
|
|
219
|
-
})])) : createCommentVNode("", true)]), _ctx.enableErrors ? (openBlock(), createElementBlock("div",
|
|
227
|
+
})])) : createCommentVNode("", true)]), _ctx.enableErrors ? (openBlock(), createElementBlock("div", _hoisted_11, [createVNode(Transition, {
|
|
220
228
|
name: "fwFadeIn",
|
|
221
229
|
mode: "out-in"
|
|
222
230
|
}, {
|
|
223
231
|
"default": withCtx(function () {
|
|
224
|
-
return [(errorMessage || errors[0]) && meta.touched ? (openBlock(), createElementBlock("span",
|
|
232
|
+
return [(errorMessage || errors[0]) && meta.touched ? (openBlock(), createElementBlock("span", _hoisted_12, toDisplayString(errorMessage || errors[0]), 1)) : _ctx.hint ? (openBlock(), createElementBlock("span", _hoisted_13, toDisplayString(_ctx.hint), 1)) : createCommentVNode("", true)];
|
|
225
233
|
}),
|
|
226
234
|
_: 2
|
|
227
235
|
}, 1024)])) : createCommentVNode("", true)])];
|
|
@@ -230,8 +238,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
230
238
|
}, 8, ["modelValue", "name", "rules"])]);
|
|
231
239
|
}
|
|
232
240
|
|
|
233
|
-
var css_248z = ".fwFadeIn-enter-active{-webkit-animation:fwFadeIn .35s;animation:fwFadeIn .35s;-webkit-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active{animation:fwFadeIn .35s reverse;-webkit-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}";
|
|
234
|
-
var stylesheet = ".fwFadeIn-enter-active{-webkit-animation:fwFadeIn .35s;animation:fwFadeIn .35s;-webkit-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active{animation:fwFadeIn .35s reverse;-webkit-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}";
|
|
241
|
+
var css_248z = ".fwFadeIn-enter-active{-webkit-animation:fwFadeIn .35s;-moz-animation:fwFadeIn .35s;animation:fwFadeIn .35s;-webkit-transition:opacity .35s ease-in;-moz-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active{animation:fwFadeIn .35s reverse;-webkit-transition:opacity .35s ease-out;-moz-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}@-moz-keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}";
|
|
242
|
+
var stylesheet = ".fwFadeIn-enter-active{-webkit-animation:fwFadeIn .35s;-moz-animation:fwFadeIn .35s;animation:fwFadeIn .35s;-webkit-transition:opacity .35s ease-in;-moz-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active{animation:fwFadeIn .35s reverse;-webkit-transition:opacity .35s ease-out;-moz-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}@-moz-keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}";
|
|
235
243
|
styleInject(css_248z);
|
|
236
244
|
|
|
237
245
|
script.render = render;
|
package/esm/fw-input.js
CHANGED
|
@@ -1,20 +1,7 @@
|
|
|
1
|
-
export { s as FwInput } from './fw-input-
|
|
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';
|
|
7
|
-
import './es.number.constructor-fb16fe05.js';
|
|
8
|
-
import './classof-d44bf093.js';
|
|
1
|
+
export { s as FwInput } from './fw-input-Qiy53nRk.js';
|
|
9
2
|
import 'vue';
|
|
10
|
-
import './index-
|
|
11
|
-
import './check
|
|
12
|
-
import './vee-validate.esm-
|
|
13
|
-
import './uniqueId-
|
|
14
|
-
import './es
|
|
15
|
-
import './es.array.concat-99b85557.js';
|
|
16
|
-
import './array-species-create-1c67e297.js';
|
|
17
|
-
import './does-not-exceed-safe-integer-de37ce28.js';
|
|
18
|
-
import './create-property-eb329361.js';
|
|
19
|
-
import './array-method-has-species-support-6c675094.js';
|
|
20
|
-
import './style-inject.es-1f59c1d0.js';
|
|
3
|
+
import './index-CUPvK0Aa.js';
|
|
4
|
+
import './check--YD4Ts6g.js';
|
|
5
|
+
import './vee-validate.esm-3ptvCDR1.js';
|
|
6
|
+
import './uniqueId-DK6xzFd8.js';
|
|
7
|
+
import './style-inject.es-tgCJW-Cu.js';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock } from 'vue';
|
|
2
|
+
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
|
3
|
+
|
|
4
|
+
var script = defineComponent({
|
|
5
|
+
name: 'FwLoadingBar'
|
|
6
|
+
});
|
|
7
|
+
|
|
8
|
+
var _hoisted_1 = {
|
|
9
|
+
"class": "fw-loading-bar rounded",
|
|
10
|
+
"aria-hidden": "true"
|
|
11
|
+
};
|
|
12
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13
|
+
return openBlock(), createElementBlock("div", _hoisted_1);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
var css_248z = ".fw-loading-bar{-webkit-animation:fwSkeletonLoading 1.5s linear infinite;-moz-animation:fwSkeletonLoading 1.5s linear infinite;animation:fwSkeletonLoading 1.5s linear infinite;background:#e4e4e4;background-image:-webkit-linear-gradient(350deg,hsla(0,0%,100%,0) 40%,hsla(0,0%,100%,.5) 50%,hsla(0,0%,100%,0) 60%);background-image:-moz-linear-gradient(350deg,hsla(0,0%,100%,0) 40%,hsla(0,0%,100%,.5) 50%,hsla(0,0%,100%,0) 60%);background-image:linear-gradient(100deg,hsla(0,0%,100%,0) 40%,hsla(0,0%,100%,.5) 50%,hsla(0,0%,100%,0) 60%);background-size:200% 200%}@-webkit-keyframes fwSkeletonLoading{0%{background-position-x:200%}50%{background-position-x:100%}to{background-position-x:0}}@-moz-keyframes fwSkeletonLoading{0%{background-position-x:200%}50%{background-position-x:100%}to{background-position-x:0}}@keyframes fwSkeletonLoading{0%{background-position-x:200%}50%{background-position-x:100%}to{background-position-x:0}}";
|
|
17
|
+
var stylesheet = ".fw-loading-bar{-webkit-animation:fwSkeletonLoading 1.5s linear infinite;-moz-animation:fwSkeletonLoading 1.5s linear infinite;animation:fwSkeletonLoading 1.5s linear infinite;background:#e4e4e4;background-image:-webkit-linear-gradient(350deg,hsla(0,0%,100%,0) 40%,hsla(0,0%,100%,.5) 50%,hsla(0,0%,100%,0) 60%);background-image:-moz-linear-gradient(350deg,hsla(0,0%,100%,0) 40%,hsla(0,0%,100%,.5) 50%,hsla(0,0%,100%,0) 60%);background-image:linear-gradient(100deg,hsla(0,0%,100%,0) 40%,hsla(0,0%,100%,.5) 50%,hsla(0,0%,100%,0) 60%);background-size:200% 200%}@-webkit-keyframes fwSkeletonLoading{0%{background-position-x:200%}50%{background-position-x:100%}to{background-position-x:0}}@-moz-keyframes fwSkeletonLoading{0%{background-position-x:200%}50%{background-position-x:100%}to{background-position-x:0}}@keyframes fwSkeletonLoading{0%{background-position-x:200%}50%{background-position-x:100%}to{background-position-x:0}}";
|
|
18
|
+
styleInject(css_248z);
|
|
19
|
+
|
|
20
|
+
script.render = render;
|
|
21
|
+
|
|
22
|
+
export { script as s };
|
package/esm/fw-loading.js
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import { s as script$2 } from './fw-loading-bar-
|
|
2
|
-
export { s as FwLoadingBar } from './fw-loading-bar-f5ca605c.js';
|
|
1
|
+
import { s as script$2 } from './fw-loading-bar-DThRjdw1.js';
|
|
3
2
|
import { defineComponent, resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, normalizeClass, normalizeStyle, Fragment, renderList } from 'vue';
|
|
4
|
-
import './es
|
|
5
|
-
import './style-inject.es-1f59c1d0.js';
|
|
6
|
-
import './is-forced-7cb3ee8f.js';
|
|
7
|
-
import './classof-d44bf093.js';
|
|
3
|
+
import './style-inject.es-tgCJW-Cu.js';
|
|
8
4
|
|
|
9
5
|
var script$1 = defineComponent({
|
|
10
6
|
name: 'FwLoadingCard',
|
|
@@ -90,4 +86,4 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
90
86
|
|
|
91
87
|
script.render = render;
|
|
92
88
|
|
|
93
|
-
export { script$1 as FwLoadingCard, script as FwLoadingTable };
|
|
89
|
+
export { script$2 as FwLoadingBar, script$1 as FwLoadingCard, script as FwLoadingTable };
|
package/esm/fw-modal.js
CHANGED
|
@@ -1,78 +1,74 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { s as styleInject } from './style-inject.es-
|
|
6
|
-
import './
|
|
7
|
-
import './
|
|
8
|
-
import './add-to-unscopables-ee05b58f.js';
|
|
9
|
-
import './object-create-51bf02dc.js';
|
|
10
|
-
import './fw-loading-spinner-72d70258.js';
|
|
11
|
-
import './index-bced3b35.js';
|
|
12
|
-
import './check-94a5917a.js';
|
|
1
|
+
import { defineComponent, ref, computed, onMounted, resolveComponent, openBlock, createBlock, Teleport, createVNode, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, createCommentVNode, createElementBlock, renderSlot, createTextVNode, toDisplayString, vShow } from 'vue';
|
|
2
|
+
import { s as script$1 } from './fw-button-4QLZlu0U.js';
|
|
3
|
+
import { u as uniqueId } from './uniqueId-DK6xzFd8.js';
|
|
4
|
+
import { b as render$1 } from './index-CUPvK0Aa.js';
|
|
5
|
+
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
|
6
|
+
import './fw-loading-spinner-Dn52RI5h.js';
|
|
7
|
+
import './check--YD4Ts6g.js';
|
|
13
8
|
|
|
14
9
|
var script = defineComponent({
|
|
15
10
|
name: 'FwModal',
|
|
16
11
|
components: {
|
|
17
|
-
FwButton: script$1
|
|
12
|
+
FwButton: script$1,
|
|
13
|
+
XMarkSvg: render$1
|
|
18
14
|
},
|
|
19
15
|
emits: ['cancel', 'confirm'],
|
|
20
16
|
props: {
|
|
21
|
-
/**
|
|
22
|
-
* The modal's v-model. Controls the visibility of the modal.
|
|
17
|
+
/**
|
|
18
|
+
* The modal's v-model. Controls the visibility of the modal.
|
|
23
19
|
*/
|
|
24
20
|
modelValue: {
|
|
25
21
|
type: Boolean
|
|
26
22
|
},
|
|
27
|
-
/**
|
|
28
|
-
* The header title of the modal
|
|
23
|
+
/**
|
|
24
|
+
* The header title of the modal
|
|
29
25
|
*/
|
|
30
26
|
header: {
|
|
31
27
|
type: String
|
|
32
28
|
},
|
|
33
|
-
/**
|
|
34
|
-
* The element to attach the modal too. Defaults to `#app` element.
|
|
29
|
+
/**
|
|
30
|
+
* The element to attach the modal too. Defaults to `#app` element.
|
|
35
31
|
*/
|
|
36
32
|
element: {
|
|
37
33
|
type: String,
|
|
38
34
|
"default": '#app'
|
|
39
35
|
},
|
|
40
|
-
/**
|
|
41
|
-
* The body description of the modal
|
|
36
|
+
/**
|
|
37
|
+
* The body description of the modal
|
|
42
38
|
*/
|
|
43
39
|
body: {
|
|
44
40
|
type: String
|
|
45
41
|
},
|
|
46
|
-
/**
|
|
47
|
-
* The aria role of the modal container. Defaults to `dialog`
|
|
42
|
+
/**
|
|
43
|
+
* The aria role of the modal container. Defaults to `dialog`
|
|
48
44
|
*/
|
|
49
45
|
role: {
|
|
50
46
|
type: String,
|
|
51
47
|
"default": 'dialog'
|
|
52
48
|
},
|
|
53
|
-
/**
|
|
54
|
-
* Whether to show the cancel button
|
|
49
|
+
/**
|
|
50
|
+
* Whether to show the cancel button
|
|
55
51
|
*/
|
|
56
52
|
showCancel: {
|
|
57
53
|
type: Boolean,
|
|
58
54
|
"default": false
|
|
59
55
|
},
|
|
60
|
-
/**
|
|
61
|
-
* Whether to show the confirm button
|
|
56
|
+
/**
|
|
57
|
+
* Whether to show the confirm button
|
|
62
58
|
*/
|
|
63
59
|
showConfirm: {
|
|
64
60
|
type: Boolean,
|
|
65
61
|
"default": true
|
|
66
62
|
},
|
|
67
|
-
/**
|
|
68
|
-
* Custom text for the cancel button
|
|
63
|
+
/**
|
|
64
|
+
* Custom text for the cancel button
|
|
69
65
|
*/
|
|
70
66
|
cancelButtonText: {
|
|
71
67
|
type: String,
|
|
72
68
|
"default": 'Cancel'
|
|
73
69
|
},
|
|
74
|
-
/**
|
|
75
|
-
* Button variant for the cancel button
|
|
70
|
+
/**
|
|
71
|
+
* Button variant for the cancel button
|
|
76
72
|
*/
|
|
77
73
|
cancelButtonType: {
|
|
78
74
|
type: String,
|
|
@@ -81,15 +77,15 @@ var script = defineComponent({
|
|
|
81
77
|
return ['primary', 'secondary', 'tertiary', 'error', 'success', 'link', 'text'].includes(value);
|
|
82
78
|
}
|
|
83
79
|
},
|
|
84
|
-
/**
|
|
85
|
-
* Custom text for the confirm button
|
|
80
|
+
/**
|
|
81
|
+
* Custom text for the confirm button
|
|
86
82
|
*/
|
|
87
83
|
confirmButtonText: {
|
|
88
84
|
type: String,
|
|
89
85
|
"default": 'Confirm'
|
|
90
86
|
},
|
|
91
|
-
/**
|
|
92
|
-
* Button variant for the confirm button
|
|
87
|
+
/**
|
|
88
|
+
* Button variant for the confirm button
|
|
93
89
|
*/
|
|
94
90
|
confirmButtonType: {
|
|
95
91
|
type: String,
|
|
@@ -97,6 +93,32 @@ var script = defineComponent({
|
|
|
97
93
|
validator: function validator(value) {
|
|
98
94
|
return ['primary', 'secondary', 'tertiary', 'error', 'success', 'link', 'text'].includes(value);
|
|
99
95
|
}
|
|
96
|
+
},
|
|
97
|
+
/**
|
|
98
|
+
* Controls the outer padding of the modal
|
|
99
|
+
*/
|
|
100
|
+
padding: {
|
|
101
|
+
type: Boolean,
|
|
102
|
+
"default": true
|
|
103
|
+
},
|
|
104
|
+
/**
|
|
105
|
+
* Controls the visibility of the 'X' close button.
|
|
106
|
+
*/
|
|
107
|
+
showCloseButton: {
|
|
108
|
+
type: Boolean,
|
|
109
|
+
"default": false
|
|
110
|
+
},
|
|
111
|
+
/**
|
|
112
|
+
* Custom class for the modal container.
|
|
113
|
+
*/
|
|
114
|
+
containerClass: {
|
|
115
|
+
type: String
|
|
116
|
+
},
|
|
117
|
+
/**
|
|
118
|
+
* Custom class for the footer container.
|
|
119
|
+
*/
|
|
120
|
+
footerClass: {
|
|
121
|
+
type: String
|
|
100
122
|
}
|
|
101
123
|
},
|
|
102
124
|
setup: function setup(props) {
|
|
@@ -125,23 +147,19 @@ var _hoisted_3 = {
|
|
|
125
147
|
};
|
|
126
148
|
var _hoisted_4 = ["role", "aria-labelledby", "aria-describedby"];
|
|
127
149
|
var _hoisted_5 = {
|
|
128
|
-
key:
|
|
129
|
-
"class": "fw-modal--header
|
|
150
|
+
key: 1,
|
|
151
|
+
"class": "fw-modal--header"
|
|
130
152
|
};
|
|
131
153
|
var _hoisted_6 = {
|
|
132
154
|
key: 0,
|
|
133
|
-
|
|
134
|
-
"class": "flex justify-center"
|
|
155
|
+
"class": "fw-modal--logo flex justify-center"
|
|
135
156
|
};
|
|
136
157
|
var _hoisted_7 = ["id"];
|
|
137
158
|
var _hoisted_8 = ["id", "innerHTML"];
|
|
138
159
|
var _hoisted_9 = ["id"];
|
|
139
160
|
var _hoisted_10 = ["innerHTML", "id"];
|
|
140
|
-
var _hoisted_11 = {
|
|
141
|
-
key: 3,
|
|
142
|
-
"class": "modal-footer flex space-x-4 pt-4 justify-center"
|
|
143
|
-
};
|
|
144
161
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
162
|
+
var _component_XMarkSvg = resolveComponent("XMarkSvg");
|
|
145
163
|
var _component_FwButton = resolveComponent("FwButton");
|
|
146
164
|
return _ctx.isMounted ? (openBlock(), createBlock(Teleport, {
|
|
147
165
|
key: 0,
|
|
@@ -157,31 +175,50 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
157
175
|
}, [createElementVNode("div", _hoisted_2, [createElementVNode("div", _hoisted_3, [createElementVNode("div", {
|
|
158
176
|
role: _ctx.role,
|
|
159
177
|
"aria-modal": "true",
|
|
160
|
-
"class": "fw-modal--container
|
|
178
|
+
"class": normalizeClass([[_ctx.containerClass, _ctx.padding ? 'p-12' : ''], "fw-modal--container m-8 inline-block w-full max-w-[540px] bg-white rounded-lg shadow relative"]),
|
|
161
179
|
"aria-labelledby": _ctx.$slots.header || _ctx.header ? "modal_".concat(_ctx.uuid, "_header") : undefined,
|
|
162
180
|
"aria-describedby": _ctx.$slots.body ? "modal_".concat(_ctx.uuid, "_body") : undefined
|
|
163
|
-
}, [_ctx
|
|
181
|
+
}, [_ctx.showCloseButton ? (openBlock(), createBlock(_component_FwButton, {
|
|
182
|
+
key: 0,
|
|
183
|
+
onClick: _cache[0] || (_cache[0] = function ($event) {
|
|
184
|
+
return _ctx.$emit('cancel');
|
|
185
|
+
}),
|
|
186
|
+
variant: "text",
|
|
187
|
+
rounded: false,
|
|
188
|
+
size: "sm",
|
|
189
|
+
"class": "absolute top-[20px] right-[15px] !p-1.5"
|
|
190
|
+
}, {
|
|
191
|
+
"default": withCtx(function () {
|
|
192
|
+
return [createVNode(_component_XMarkSvg, {
|
|
193
|
+
"class": "w-4 h-4"
|
|
194
|
+
})];
|
|
195
|
+
}),
|
|
196
|
+
_: 1
|
|
197
|
+
})) : createCommentVNode("", true), _ctx.$slots.icon || _ctx.$slots.header || _ctx.header ? (openBlock(), createElementBlock("div", _hoisted_5, [_ctx.$slots.icon ? (openBlock(), createElementBlock("div", _hoisted_6, [renderSlot(_ctx.$slots, "icon")])) : createCommentVNode("", true), _ctx.$slots.header ? (openBlock(), createElementBlock("div", {
|
|
164
198
|
key: 1,
|
|
165
199
|
id: "modal_".concat(_ctx.uuid, "_header")
|
|
166
|
-
}, [renderSlot(_ctx.$slots, "header")], 8, _hoisted_7)) : _ctx.header ? (openBlock(), createElementBlock("
|
|
200
|
+
}, [renderSlot(_ctx.$slots, "header")], 8, _hoisted_7)) : _ctx.header ? (openBlock(), createElementBlock("div", {
|
|
167
201
|
key: 2,
|
|
168
202
|
id: "modal_".concat(_ctx.uuid, "_header"),
|
|
169
203
|
innerHTML: _ctx.header
|
|
170
204
|
}, null, 8, _hoisted_8)) : createCommentVNode("", true)])) : createCommentVNode("", true), _ctx.$slots.body ? (openBlock(), createElementBlock("div", {
|
|
171
|
-
key:
|
|
172
|
-
"class": "modal
|
|
205
|
+
key: 2,
|
|
206
|
+
"class": "fw-modal--body mt-4",
|
|
173
207
|
id: "modal_".concat(_ctx.uuid, "_body")
|
|
174
208
|
}, [renderSlot(_ctx.$slots, "body")], 8, _hoisted_9)) : _ctx.body ? (openBlock(), createElementBlock("div", {
|
|
175
|
-
key:
|
|
209
|
+
key: 3,
|
|
176
210
|
innerHTML: _ctx.body,
|
|
177
|
-
"class": "modal
|
|
211
|
+
"class": "fw-modal--body mt-4",
|
|
178
212
|
id: "modal_".concat(_ctx.uuid, "_body")
|
|
179
|
-
}, null, 8, _hoisted_10)) : createCommentVNode("", true), _ctx.showConfirm || _ctx.showCancel ? (openBlock(), createElementBlock("div",
|
|
213
|
+
}, null, 8, _hoisted_10)) : createCommentVNode("", true), _ctx.showConfirm || _ctx.showCancel ? (openBlock(), createElementBlock("div", {
|
|
214
|
+
key: 4,
|
|
215
|
+
"class": normalizeClass(["fw-modal--footer flex space-x-4 pt-4 justify-center", _ctx.footerClass])
|
|
216
|
+
}, [_ctx.showCancel ? (openBlock(), createBlock(_component_FwButton, {
|
|
180
217
|
key: 0,
|
|
181
218
|
"class": "basis-1/2",
|
|
182
219
|
variant: _ctx.cancelButtonType,
|
|
183
220
|
"aria-label": _ctx.cancelButtonText,
|
|
184
|
-
onClick: _cache[
|
|
221
|
+
onClick: _cache[1] || (_cache[1] = function ($event) {
|
|
185
222
|
return _ctx.$emit('cancel');
|
|
186
223
|
})
|
|
187
224
|
}, {
|
|
@@ -194,7 +231,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
194
231
|
"class": "basis-1/2",
|
|
195
232
|
variant: _ctx.confirmButtonType,
|
|
196
233
|
"aria-label": _ctx.confirmButtonText,
|
|
197
|
-
onClick: _cache[
|
|
234
|
+
onClick: _cache[2] || (_cache[2] = function ($event) {
|
|
198
235
|
return _ctx.$emit('confirm');
|
|
199
236
|
})
|
|
200
237
|
}, {
|
|
@@ -202,14 +239,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
202
239
|
return [createTextVNode(toDisplayString(_ctx.confirmButtonText), 1)];
|
|
203
240
|
}),
|
|
204
241
|
_: 1
|
|
205
|
-
}, 8, ["variant", "aria-label"])) : createCommentVNode("", true)])) : createCommentVNode("", true)],
|
|
242
|
+
}, 8, ["variant", "aria-label"])) : createCommentVNode("", true)], 2)) : createCommentVNode("", true)], 10, _hoisted_4)])])], 8, _hoisted_1), [[vShow, _ctx.isOpen]])];
|
|
206
243
|
}),
|
|
207
244
|
_: 3
|
|
208
245
|
})], 8, ["to"])) : createCommentVNode("", true);
|
|
209
246
|
}
|
|
210
247
|
|
|
211
|
-
var css_248z = ".modalFadeIn-enter-active{-webkit-animation:modalFadeIn .4s;animation:modalFadeIn .4s;-webkit-transition:opacity .4s ease-in;transition:opacity .4s ease-in}.modalFadeIn-leave-active{animation:modalFadeIn .4s reverse;-webkit-transition:opacity .4s ease-in-out;transition:opacity .4s ease-in-out}@-webkit-keyframes modalFadeIn{0%{opacity:0}to{opacity:1}}@keyframes modalFadeIn{0%{opacity:0}to{opacity:1}}";
|
|
212
|
-
var stylesheet = ".modalFadeIn-enter-active{-webkit-animation:modalFadeIn .4s;animation:modalFadeIn .4s;-webkit-transition:opacity .4s ease-in;transition:opacity .4s ease-in}.modalFadeIn-leave-active{animation:modalFadeIn .4s reverse;-webkit-transition:opacity .4s ease-in-out;transition:opacity .4s ease-in-out}@-webkit-keyframes modalFadeIn{0%{opacity:0}to{opacity:1}}@keyframes modalFadeIn{0%{opacity:0}to{opacity:1}}";
|
|
248
|
+
var css_248z = ".modalFadeIn-enter-active{-webkit-animation:modalFadeIn .4s;-moz-animation:modalFadeIn .4s;animation:modalFadeIn .4s;-webkit-transition:opacity .4s ease-in;-moz-transition:opacity .4s ease-in;transition:opacity .4s ease-in}.modalFadeIn-leave-active{animation:modalFadeIn .4s reverse;-webkit-transition:opacity .4s ease-in-out;-moz-transition:opacity .4s ease-in-out;transition:opacity .4s ease-in-out}@-webkit-keyframes modalFadeIn{0%{opacity:0}to{opacity:1}}@-moz-keyframes modalFadeIn{0%{opacity:0}to{opacity:1}}@keyframes modalFadeIn{0%{opacity:0}to{opacity:1}}";
|
|
249
|
+
var stylesheet = ".modalFadeIn-enter-active{-webkit-animation:modalFadeIn .4s;-moz-animation:modalFadeIn .4s;animation:modalFadeIn .4s;-webkit-transition:opacity .4s ease-in;-moz-transition:opacity .4s ease-in;transition:opacity .4s ease-in}.modalFadeIn-leave-active{animation:modalFadeIn .4s reverse;-webkit-transition:opacity .4s ease-in-out;-moz-transition:opacity .4s ease-in-out;transition:opacity .4s ease-in-out}@-webkit-keyframes modalFadeIn{0%{opacity:0}to{opacity:1}}@-moz-keyframes modalFadeIn{0%{opacity:0}to{opacity:1}}@keyframes modalFadeIn{0%{opacity:0}to{opacity:1}}";
|
|
213
250
|
styleInject(css_248z);
|
|
214
251
|
|
|
215
252
|
script.render = render;
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, createElementVNode, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, Fragment, renderList, createBlock, withCtx, createTextVNode, toDisplayString, createVNode, Transition } from 'vue';
|
|
2
|
-
import { s as script$1 } from './fw-button-
|
|
3
|
-
import { s as styleInject } from './style-inject.es-
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './add-to-unscopables-ee05b58f.js';
|
|
8
|
-
import './object-create-51bf02dc.js';
|
|
9
|
-
import './fw-loading-spinner-72d70258.js';
|
|
10
|
-
import './index-bced3b35.js';
|
|
11
|
-
import './check-94a5917a.js';
|
|
2
|
+
import { s as script$1 } from './fw-button-4QLZlu0U.js';
|
|
3
|
+
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
|
4
|
+
import './fw-loading-spinner-Dn52RI5h.js';
|
|
5
|
+
import './index-CUPvK0Aa.js';
|
|
6
|
+
import './check--YD4Ts6g.js';
|
|
12
7
|
|
|
13
8
|
var script = defineComponent({
|
|
14
9
|
name: 'FwNavigationMenu',
|
|
@@ -17,22 +12,22 @@ var script = defineComponent({
|
|
|
17
12
|
FwButton: script$1
|
|
18
13
|
},
|
|
19
14
|
props: {
|
|
20
|
-
/**
|
|
21
|
-
* An array of menu items
|
|
22
|
-
* `{ to?: string | object; href?: string; label: string; }`
|
|
15
|
+
/**
|
|
16
|
+
* An array of menu items
|
|
17
|
+
* `{ to?: string | object; href?: string; label: string; }`
|
|
23
18
|
*/
|
|
24
19
|
menuItems: {
|
|
25
20
|
type: Array
|
|
26
21
|
},
|
|
27
|
-
/**
|
|
28
|
-
* The label for the action button.
|
|
29
|
-
* Also emits the `action` event.
|
|
22
|
+
/**
|
|
23
|
+
* The label for the action button.
|
|
24
|
+
* Also emits the `action` event.
|
|
30
25
|
*/
|
|
31
26
|
actionLabel: {
|
|
32
27
|
type: String
|
|
33
28
|
},
|
|
34
|
-
/**
|
|
35
|
-
* The class for the container wrapper.
|
|
29
|
+
/**
|
|
30
|
+
* The class for the container wrapper.
|
|
36
31
|
*/
|
|
37
32
|
containerClass: {
|
|
38
33
|
type: String,
|
|
@@ -177,8 +172,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
177
172
|
})]);
|
|
178
173
|
}
|
|
179
174
|
|
|
180
|
-
var css_248z = ".fw-nav-menu--mobile{z-index:-1}.fw-nav-menu--mobile,.slideInLeft-enter-active{-webkit-transition:left .35s ease-in;transition:left .35s ease-in}.slideInLeft-enter-active{-webkit-animation:slideInLeft .35s;animation:slideInLeft .35s}.slideInLeft-leave-active{animation:slideInLeft .35s reverse;-webkit-transition:left .35s ease-in-out;transition:left .35s ease-in-out}@-webkit-keyframes slideInLeft{0%{left:100%}to{left:0}}@keyframes slideInLeft{0%{left:100%}to{left:0}}";
|
|
181
|
-
var stylesheet = ".fw-nav-menu--mobile{z-index:-1}.fw-nav-menu--mobile,.slideInLeft-enter-active{-webkit-transition:left .35s ease-in;transition:left .35s ease-in}.slideInLeft-enter-active{-webkit-animation:slideInLeft .35s;animation:slideInLeft .35s}.slideInLeft-leave-active{animation:slideInLeft .35s reverse;-webkit-transition:left .35s ease-in-out;transition:left .35s ease-in-out}@-webkit-keyframes slideInLeft{0%{left:100%}to{left:0}}@keyframes slideInLeft{0%{left:100%}to{left:0}}";
|
|
175
|
+
var css_248z = ".fw-nav-menu--mobile{z-index:-1}.fw-nav-menu--mobile,.slideInLeft-enter-active{-webkit-transition:left .35s ease-in;-moz-transition:left .35s ease-in;transition:left .35s ease-in}.slideInLeft-enter-active{-webkit-animation:slideInLeft .35s;-moz-animation:slideInLeft .35s;animation:slideInLeft .35s}.slideInLeft-leave-active{animation:slideInLeft .35s reverse;-webkit-transition:left .35s ease-in-out;-moz-transition:left .35s ease-in-out;transition:left .35s ease-in-out}@-webkit-keyframes slideInLeft{0%{left:100%}to{left:0}}@-moz-keyframes slideInLeft{0%{left:100%}to{left:0}}@keyframes slideInLeft{0%{left:100%}to{left:0}}";
|
|
176
|
+
var stylesheet = ".fw-nav-menu--mobile{z-index:-1}.fw-nav-menu--mobile,.slideInLeft-enter-active{-webkit-transition:left .35s ease-in;-moz-transition:left .35s ease-in;transition:left .35s ease-in}.slideInLeft-enter-active{-webkit-animation:slideInLeft .35s;-moz-animation:slideInLeft .35s;animation:slideInLeft .35s}.slideInLeft-leave-active{animation:slideInLeft .35s reverse;-webkit-transition:left .35s ease-in-out;-moz-transition:left .35s ease-in-out;transition:left .35s ease-in-out}@-webkit-keyframes slideInLeft{0%{left:100%}to{left:0}}@-moz-keyframes slideInLeft{0%{left:100%}to{left:0}}@keyframes slideInLeft{0%{left:100%}to{left:0}}";
|
|
182
177
|
styleInject(css_248z);
|
|
183
178
|
|
|
184
179
|
script.render = render;
|