@frollo/frollo-web-ui 5.0.0 → 5.0.2
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 +1321 -1281
- package/esm/fw-animations.js +2 -2
- package/esm/{fw-button-beaf20f4.js → fw-button-8d131219.js} +1 -1
- package/esm/fw-button.js +3 -3
- package/esm/fw-checkbox.js +34 -13
- package/esm/fw-drawer.js +3 -3
- package/esm/fw-dropdown.js +1 -1
- package/esm/{fw-image-161b667a.js → fw-image-4787a8bd.js} +1 -1
- package/esm/fw-image.js +2 -2
- package/esm/fw-input.js +30 -25
- package/esm/{fw-loading-spinner-51deaa3d.js → fw-loading-spinner-c394fafc.js} +1 -1
- package/esm/fw-modal.js +3 -3
- package/esm/fw-navigation-menu.js +3 -3
- package/esm/fw-sidebar-menu.js +3 -3
- package/esm/fw-table.js +16 -11
- package/esm/fw-tag.js +3 -3
- package/esm/fw-toast.js +1 -1
- package/esm/fw-transactions-card.js +2 -2
- package/esm/{index-3624f1c9.js → index-e4a2f8b0.js} +117 -103
- package/esm/index.js +7 -7
- package/frollo-web-ui.esm.js +1393 -1351
- package/icons/index.ts +3 -1
- package/icons/pen.svg +3 -0
- package/index.d.ts +33 -3
- package/package.json +1 -1
- package/types/components/fw-checkbox/fw-checkbox.vue.d.ts +19 -0
- package/types/components/fw-checkbox/index.types.d.ts +1 -0
- package/types/components/fw-input/fw-input.vue.d.ts +12 -3
- package/types/components/fw-input/index.types.d.ts +1 -0
- package/types/icons/index.d.ts +2 -1
- package/web-components/index.js +1309 -1267
package/esm/fw-animations.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import './es.number.constructor-d6ff8874.js';
|
|
2
2
|
import { defineComponent, useCssVars, pushScopeId, popScopeId, createElementVNode, openBlock, createElementBlock, createStaticVNode } from 'vue';
|
|
3
3
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
4
|
-
export { s as FwLoadingSpinner } from './fw-loading-spinner-
|
|
4
|
+
export { s as FwLoadingSpinner } from './fw-loading-spinner-c394fafc.js';
|
|
5
5
|
import './is-forced-752b5893.js';
|
|
6
6
|
import './classof-39c30bd5.js';
|
|
7
|
-
import './index-
|
|
7
|
+
import './index-e4a2f8b0.js';
|
|
8
8
|
import './check-94a5917a.js';
|
|
9
9
|
|
|
10
10
|
var __default__$1 = defineComponent({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './es.array.includes-91be7771.js';
|
|
2
2
|
import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, resolveDynamicComponent, normalizeClass, withCtx, createElementBlock, createElementVNode, renderSlot, createVNode, createCommentVNode } from 'vue';
|
|
3
|
-
import { s as script$1 } from './fw-loading-spinner-
|
|
3
|
+
import { s as script$1 } from './fw-loading-spinner-c394fafc.js';
|
|
4
4
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
5
5
|
|
|
6
6
|
var script = defineComponent({
|
package/esm/fw-button.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { s as FwButton } from './fw-button-
|
|
1
|
+
export { s as FwButton } from './fw-button-8d131219.js';
|
|
2
2
|
import './es.array.includes-91be7771.js';
|
|
3
3
|
import './is-forced-752b5893.js';
|
|
4
4
|
import './export-a37ba078.js';
|
|
@@ -6,7 +6,7 @@ import './add-to-unscopables-2400f45b.js';
|
|
|
6
6
|
import './object-create-f6f3a673.js';
|
|
7
7
|
import './object-keys-4f5bf4e7.js';
|
|
8
8
|
import 'vue';
|
|
9
|
-
import './fw-loading-spinner-
|
|
10
|
-
import './index-
|
|
9
|
+
import './fw-loading-spinner-c394fafc.js';
|
|
10
|
+
import './index-e4a2f8b0.js';
|
|
11
11
|
import './check-94a5917a.js';
|
|
12
12
|
import './style-inject.es-1f59c1d0.js';
|
package/esm/fw-checkbox.js
CHANGED
|
@@ -57,6 +57,15 @@ var script = defineComponent({
|
|
|
57
57
|
enableErrors: {
|
|
58
58
|
type: Boolean,
|
|
59
59
|
"default": true
|
|
60
|
+
},
|
|
61
|
+
/**
|
|
62
|
+
* Progmatically set the checked state of the input.
|
|
63
|
+
* Used outside a FwForm element
|
|
64
|
+
*/
|
|
65
|
+
isChecked: {
|
|
66
|
+
type: Boolean,
|
|
67
|
+
required: false,
|
|
68
|
+
"default": undefined
|
|
60
69
|
}
|
|
61
70
|
},
|
|
62
71
|
setup: function setup() {
|
|
@@ -68,7 +77,7 @@ var script = defineComponent({
|
|
|
68
77
|
});
|
|
69
78
|
|
|
70
79
|
var _withScopeId = function _withScopeId(n) {
|
|
71
|
-
return pushScopeId("data-v-
|
|
80
|
+
return pushScopeId("data-v-790aae1b"), n = n(), popScopeId(), n;
|
|
72
81
|
};
|
|
73
82
|
var _hoisted_1 = {
|
|
74
83
|
"class": "fw-checkbox w-full"
|
|
@@ -78,16 +87,17 @@ var _hoisted_2 = {
|
|
|
78
87
|
};
|
|
79
88
|
var _hoisted_3 = ["for"];
|
|
80
89
|
var _hoisted_4 = ["value", "name", "id"];
|
|
81
|
-
var _hoisted_5 = ["
|
|
82
|
-
var _hoisted_6 =
|
|
90
|
+
var _hoisted_5 = ["value", "name", "id", "checked"];
|
|
91
|
+
var _hoisted_6 = ["innerHTML"];
|
|
92
|
+
var _hoisted_7 = {
|
|
83
93
|
key: 0,
|
|
84
94
|
"class": "italic text-sm font-medium min-h-[21px]"
|
|
85
95
|
};
|
|
86
|
-
var
|
|
96
|
+
var _hoisted_8 = {
|
|
87
97
|
key: 0,
|
|
88
98
|
"class": "text-error"
|
|
89
99
|
};
|
|
90
|
-
var
|
|
100
|
+
var _hoisted_9 = {
|
|
91
101
|
key: 1
|
|
92
102
|
};
|
|
93
103
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -106,22 +116,33 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
106
116
|
return [createElementVNode("div", _hoisted_2, [createElementVNode("label", {
|
|
107
117
|
"for": "fw-checkbox-".concat(_ctx.name, "-").concat(_ctx.uuid),
|
|
108
118
|
"class": "inline-flex items-center mb-3"
|
|
109
|
-
}, [
|
|
119
|
+
}, [_ctx.isChecked === undefined ? (openBlock(), createElementBlock("input", mergeProps({
|
|
120
|
+
key: 0
|
|
121
|
+
}, field, {
|
|
122
|
+
value: _ctx.value ? _ctx.value : _ctx.name,
|
|
123
|
+
name: "fw-checkbox-".concat(_ctx.name, "-").concat(_ctx.uuid),
|
|
124
|
+
id: "fw-checkbox-".concat(_ctx.name, "-").concat(_ctx.uuid),
|
|
125
|
+
type: "checkbox",
|
|
126
|
+
"class": "text-link w-6 h-6 cursor-pointer bg-white border-grey-light border rounded"
|
|
127
|
+
}), null, 16, _hoisted_4)) : (openBlock(), createElementBlock("input", mergeProps({
|
|
128
|
+
key: 1
|
|
129
|
+
}, field, {
|
|
110
130
|
value: _ctx.value ? _ctx.value : _ctx.name,
|
|
111
131
|
name: "fw-checkbox-".concat(_ctx.name, "-").concat(_ctx.uuid),
|
|
112
132
|
id: "fw-checkbox-".concat(_ctx.name, "-").concat(_ctx.uuid),
|
|
113
133
|
type: "checkbox",
|
|
134
|
+
checked: _ctx.isChecked,
|
|
114
135
|
"class": "text-link w-6 h-6 cursor-pointer bg-white border-grey-light border rounded"
|
|
115
|
-
}), null, 16,
|
|
116
|
-
key:
|
|
136
|
+
}), null, 16, _hoisted_5)), _ctx.label ? (openBlock(), createElementBlock("span", {
|
|
137
|
+
key: 2,
|
|
117
138
|
"class": "ml-2",
|
|
118
139
|
innerHTML: _ctx.label
|
|
119
|
-
}, null, 8,
|
|
140
|
+
}, null, 8, _hoisted_6)) : createCommentVNode("", true)], 8, _hoisted_3), _ctx.enableErrors ? (openBlock(), createElementBlock("div", _hoisted_7, [createVNode(Transition, {
|
|
120
141
|
name: "fwFadeIn",
|
|
121
142
|
mode: "out-in"
|
|
122
143
|
}, {
|
|
123
144
|
"default": withCtx(function () {
|
|
124
|
-
return [(errorMessage || errors[0]) && meta.touched ? (openBlock(), createElementBlock("span",
|
|
145
|
+
return [(errorMessage || errors[0]) && meta.touched ? (openBlock(), createElementBlock("span", _hoisted_8, toDisplayString(errorMessage || errors[0]), 1)) : _ctx.hint ? (openBlock(), createElementBlock("span", _hoisted_9, toDisplayString(_ctx.hint), 1)) : createCommentVNode("", true)];
|
|
125
146
|
}),
|
|
126
147
|
_: 2
|
|
127
148
|
}, 1024)])) : createCommentVNode("", true)])];
|
|
@@ -130,11 +151,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
130
151
|
}, 8, ["name", "value", "rules"])]);
|
|
131
152
|
}
|
|
132
153
|
|
|
133
|
-
var css_248z = ".fwFadeIn-enter-active[data-v-
|
|
134
|
-
var stylesheet = ".fwFadeIn-enter-active[data-v-
|
|
154
|
+
var css_248z = ".fwFadeIn-enter-active[data-v-790aae1b]{-webkit-animation:fwFadeIn-790aae1b .35s;animation:fwFadeIn-790aae1b .35s;-webkit-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-790aae1b]{animation:fwFadeIn-790aae1b .35s reverse;-webkit-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-790aae1b{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-790aae1b{0%{opacity:0}to{opacity:1}}.fw-checkbox input[data-v-790aae1b]{-ms-flex-negative:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-origin:border-box;display:inline-block;flex-shrink:0;-webkit-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-790aae1b]: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}";
|
|
155
|
+
var stylesheet = ".fwFadeIn-enter-active[data-v-790aae1b]{-webkit-animation:fwFadeIn-790aae1b .35s;animation:fwFadeIn-790aae1b .35s;-webkit-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-790aae1b]{animation:fwFadeIn-790aae1b .35s reverse;-webkit-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-790aae1b{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-790aae1b{0%{opacity:0}to{opacity:1}}.fw-checkbox input[data-v-790aae1b]{-ms-flex-negative:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-origin:border-box;display:inline-block;flex-shrink:0;-webkit-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-790aae1b]: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}";
|
|
135
156
|
styleInject(css_248z);
|
|
136
157
|
|
|
137
158
|
script.render = render;
|
|
138
|
-
script.__scopeId = "data-v-
|
|
159
|
+
script.__scopeId = "data-v-790aae1b";
|
|
139
160
|
|
|
140
161
|
export { script as FwCheckbox };
|
package/esm/fw-drawer.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import './es.array.includes-91be7771.js';
|
|
2
2
|
import { defineComponent, ref, computed, onMounted, resolveComponent, openBlock, createBlock, Transition, withCtx, createElementBlock, normalizeClass, createElementVNode, renderSlot, createCommentVNode, createVNode, createTextVNode, toDisplayString } from 'vue';
|
|
3
|
-
import { s as script$1 } from './fw-button-
|
|
3
|
+
import { s as script$1 } from './fw-button-8d131219.js';
|
|
4
4
|
import { u as uniqueId } from './uniqueId-fe08534a.js';
|
|
5
|
-
import {
|
|
5
|
+
import { c as render$1 } from './index-e4a2f8b0.js';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
7
7
|
import './is-forced-752b5893.js';
|
|
8
8
|
import './export-a37ba078.js';
|
|
9
9
|
import './add-to-unscopables-2400f45b.js';
|
|
10
10
|
import './object-create-f6f3a673.js';
|
|
11
11
|
import './object-keys-4f5bf4e7.js';
|
|
12
|
-
import './fw-loading-spinner-
|
|
12
|
+
import './fw-loading-spinner-c394fafc.js';
|
|
13
13
|
import './check-94a5917a.js';
|
|
14
14
|
|
|
15
15
|
var script = defineComponent({
|
package/esm/fw-dropdown.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './es.array.find-dfa1f42f.js';
|
|
2
2
|
import { defineComponent, toRef, ref, computed, onMounted, onBeforeUnmount, pushScopeId, popScopeId, resolveComponent, openBlock, createElementBlock, toDisplayString, createCommentVNode, createElementVNode, normalizeClass, createVNode, Transition, withCtx, Fragment, renderList } from 'vue';
|
|
3
3
|
import { u as useField } from './vee-validate.esm-a17a23c3.js';
|
|
4
|
-
import {
|
|
4
|
+
import { b as render$1 } from './index-e4a2f8b0.js';
|
|
5
5
|
import './es.function.name-557cb1f9.js';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
7
7
|
import './is-forced-752b5893.js';
|
|
@@ -9,7 +9,7 @@ import './es.array.find-dfa1f42f.js';
|
|
|
9
9
|
import './es.string.iterator-590198a8.js';
|
|
10
10
|
import './web.timers-0f117224.js';
|
|
11
11
|
import { s as script$1 } from './fw-loading-bar-f5ca605c.js';
|
|
12
|
-
import { r as render$1 } from './index-
|
|
12
|
+
import { r as render$1 } from './index-e4a2f8b0.js';
|
|
13
13
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
14
14
|
|
|
15
15
|
var es_array_forEach = {};
|
package/esm/fw-image.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { s as FwImage } from './fw-image-
|
|
1
|
+
export { s as FwImage } from './fw-image-4787a8bd.js';
|
|
2
2
|
import './es.array.includes-91be7771.js';
|
|
3
3
|
import './is-forced-752b5893.js';
|
|
4
4
|
import './export-a37ba078.js';
|
|
@@ -18,5 +18,5 @@ import './web.timers-0f117224.js';
|
|
|
18
18
|
import './function-apply-ce251590.js';
|
|
19
19
|
import './fw-loading-bar-f5ca605c.js';
|
|
20
20
|
import './style-inject.es-1f59c1d0.js';
|
|
21
|
-
import './index-
|
|
21
|
+
import './index-e4a2f8b0.js';
|
|
22
22
|
import './check-94a5917a.js';
|
package/esm/fw-input.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import './es.array.includes-91be7771.js';
|
|
2
|
-
import
|
|
2
|
+
import './es.number.constructor-d6ff8874.js';
|
|
3
|
+
import { defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, toDisplayString, createCommentVNode, renderSlot, mergeProps, createBlock, Transition, normalizeClass } from 'vue';
|
|
4
|
+
import { a as render$1 } from './index-e4a2f8b0.js';
|
|
3
5
|
import { a as Field } from './vee-validate.esm-a17a23c3.js';
|
|
4
6
|
import { u as uniqueId } from './uniqueId-fe08534a.js';
|
|
5
7
|
import './es.function.name-557cb1f9.js';
|
|
@@ -10,8 +12,9 @@ import './export-a37ba078.js';
|
|
|
10
12
|
import './add-to-unscopables-2400f45b.js';
|
|
11
13
|
import './object-create-f6f3a673.js';
|
|
12
14
|
import './object-keys-4f5bf4e7.js';
|
|
13
|
-
import './array-species-create-a5f5503b.js';
|
|
14
15
|
import './classof-39c30bd5.js';
|
|
16
|
+
import './check-94a5917a.js';
|
|
17
|
+
import './array-species-create-a5f5503b.js';
|
|
15
18
|
import './does-not-exceed-safe-integer-31d08811.js';
|
|
16
19
|
import './create-property-534611fd.js';
|
|
17
20
|
import './array-method-has-species-support-3d413468.js';
|
|
@@ -20,7 +23,8 @@ var script = defineComponent({
|
|
|
20
23
|
name: 'FwInput',
|
|
21
24
|
emits: ['update:modelValue'],
|
|
22
25
|
components: {
|
|
23
|
-
InputField: Field
|
|
26
|
+
InputField: Field,
|
|
27
|
+
ErrorFilledSvg: render$1
|
|
24
28
|
},
|
|
25
29
|
props: {
|
|
26
30
|
/**
|
|
@@ -57,8 +61,7 @@ var script = defineComponent({
|
|
|
57
61
|
* The placeholder text of the input
|
|
58
62
|
*/
|
|
59
63
|
placeholder: {
|
|
60
|
-
type: String
|
|
61
|
-
"default": ''
|
|
64
|
+
type: String
|
|
62
65
|
},
|
|
63
66
|
/**
|
|
64
67
|
* Validation rules. Accepts an object, string schema or validation function.
|
|
@@ -108,6 +111,12 @@ var script = defineComponent({
|
|
|
108
111
|
enableErrors: {
|
|
109
112
|
type: Boolean,
|
|
110
113
|
"default": true
|
|
114
|
+
},
|
|
115
|
+
/**
|
|
116
|
+
* The inputs `maxlength` attribute.
|
|
117
|
+
*/
|
|
118
|
+
maxLength: {
|
|
119
|
+
type: Number
|
|
111
120
|
}
|
|
112
121
|
},
|
|
113
122
|
setup: function setup(props, ctx) {
|
|
@@ -149,34 +158,24 @@ var _hoisted_7 = {
|
|
|
149
158
|
key: 0,
|
|
150
159
|
"class": "flex text-black absolute w-9 h-full inset-y-0 left-0 items-center pl-3 pointer-events-none"
|
|
151
160
|
};
|
|
152
|
-
var _hoisted_8 = ["id", "placeholder", "type", "readonly", "tabindex", "disabled", "autocomplete"];
|
|
153
|
-
var _hoisted_9 =
|
|
154
|
-
fill: "currentColor",
|
|
155
|
-
"aria-hidden": "true",
|
|
156
|
-
focusable: "false",
|
|
157
|
-
role: "img",
|
|
158
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
159
|
-
viewBox: "0 0 512 512"
|
|
160
|
-
}, [/*#__PURE__*/createElementVNode("path", {
|
|
161
|
-
d: "M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM232 152C232 138.8\n 242.8 128 256 128s24 10.75 24 24v128c0 13.25-10.75 24-24 24S232 293.3 232 280V152zM256 400c-17.36\n 0-31.44-14.08-31.44-31.44c0-17.36 14.07-31.44 31.44-31.44s31.44 14.08 31.44 31.44C287.4 385.9 273.4\n 400 256 400z"
|
|
162
|
-
})], -1);
|
|
163
|
-
var _hoisted_10 = [_hoisted_9];
|
|
164
|
-
var _hoisted_11 = {
|
|
161
|
+
var _hoisted_8 = ["id", "placeholder", "type", "readonly", "tabindex", "disabled", "autocomplete", "maxlength"];
|
|
162
|
+
var _hoisted_9 = {
|
|
165
163
|
key: 2,
|
|
166
164
|
"class": "flex text-black absolute w-10 h-full inset-y-0 right-0 items-center pr-3"
|
|
167
165
|
};
|
|
168
|
-
var
|
|
166
|
+
var _hoisted_10 = {
|
|
169
167
|
key: 0,
|
|
170
168
|
"class": "italic text-right text-sm font-medium mt-2 min-h-[21px]"
|
|
171
169
|
};
|
|
172
|
-
var
|
|
170
|
+
var _hoisted_11 = {
|
|
173
171
|
key: 0,
|
|
174
172
|
"class": "text-error"
|
|
175
173
|
};
|
|
176
|
-
var
|
|
174
|
+
var _hoisted_12 = {
|
|
177
175
|
key: 1
|
|
178
176
|
};
|
|
179
177
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
178
|
+
var _component_ErrorFilledSvg = resolveComponent("ErrorFilledSvg");
|
|
180
179
|
var _component_InputField = resolveComponent("InputField");
|
|
181
180
|
return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(_component_InputField, {
|
|
182
181
|
modelValue: _ctx.inputValue,
|
|
@@ -184,7 +183,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
184
183
|
return _ctx.inputValue = $event;
|
|
185
184
|
}),
|
|
186
185
|
name: _ctx.name,
|
|
187
|
-
rules: _ctx.rules
|
|
186
|
+
rules: _ctx.rules,
|
|
187
|
+
"validate-on-input": true
|
|
188
188
|
}, {
|
|
189
189
|
"default": withCtx(function (_ref) {
|
|
190
190
|
var field = _ref.field,
|
|
@@ -203,6 +203,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
203
203
|
tabindex: _ctx.tabindex,
|
|
204
204
|
disabled: _ctx.readonly,
|
|
205
205
|
autocomplete: _ctx.autocomplete,
|
|
206
|
+
maxlength: _ctx.maxLength,
|
|
206
207
|
"class": [{
|
|
207
208
|
'pl-10': !!_ctx.$slots.prefix,
|
|
208
209
|
'pr-20': !!_ctx.$slots.suffix
|
|
@@ -215,15 +216,19 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
215
216
|
return [(errorMessage || errors[0]) && meta.touched ? (openBlock(), createElementBlock("div", {
|
|
216
217
|
key: 0,
|
|
217
218
|
"class": normalizeClass(["flex text-error absolute w-9 h-full inset-y-0 right-0 items-center pr-3 pointer-events-none", _ctx.$slots.suffix ? 'mr-8' : ''])
|
|
218
|
-
},
|
|
219
|
+
}, [createVNode(_component_ErrorFilledSvg, {
|
|
220
|
+
"aria-hidden": "true",
|
|
221
|
+
focusable: "false",
|
|
222
|
+
role: "img"
|
|
223
|
+
})], 2)) : createCommentVNode("", true)];
|
|
219
224
|
}),
|
|
220
225
|
_: 2
|
|
221
|
-
}, 1024)) : createCommentVNode("", true), _ctx.$slots.suffix ? (openBlock(), createElementBlock("div",
|
|
226
|
+
}, 1024)) : createCommentVNode("", true), _ctx.$slots.suffix ? (openBlock(), createElementBlock("div", _hoisted_9, [renderSlot(_ctx.$slots, "suffix")])) : createCommentVNode("", true)]), _ctx.enableErrors ? (openBlock(), createElementBlock("div", _hoisted_10, [createVNode(Transition, {
|
|
222
227
|
name: "fwFadeIn",
|
|
223
228
|
mode: "out-in"
|
|
224
229
|
}, {
|
|
225
230
|
"default": withCtx(function () {
|
|
226
|
-
return [(errorMessage || errors[0]) && meta.touched ? (openBlock(), createElementBlock("span",
|
|
231
|
+
return [(errorMessage || errors[0]) && meta.touched ? (openBlock(), createElementBlock("span", _hoisted_11, toDisplayString(errorMessage || errors[0]), 1)) : _ctx.hint ? (openBlock(), createElementBlock("span", _hoisted_12, toDisplayString(_ctx.hint), 1)) : createCommentVNode("", true)];
|
|
227
232
|
}),
|
|
228
233
|
_: 2
|
|
229
234
|
}, 1024)])) : createCommentVNode("", true)])];
|
package/esm/fw-modal.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './es.array.includes-91be7771.js';
|
|
2
2
|
import { defineComponent, ref, computed, onMounted, resolveComponent, openBlock, createBlock, Teleport, createVNode, Transition, withCtx, createElementBlock, createElementVNode, renderSlot, createCommentVNode, createTextVNode, toDisplayString } from 'vue';
|
|
3
|
-
import { s as script$1 } from './fw-button-
|
|
3
|
+
import { s as script$1 } from './fw-button-8d131219.js';
|
|
4
4
|
import { u as uniqueId } from './uniqueId-fe08534a.js';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
6
6
|
import './is-forced-752b5893.js';
|
|
@@ -8,8 +8,8 @@ import './export-a37ba078.js';
|
|
|
8
8
|
import './add-to-unscopables-2400f45b.js';
|
|
9
9
|
import './object-create-f6f3a673.js';
|
|
10
10
|
import './object-keys-4f5bf4e7.js';
|
|
11
|
-
import './fw-loading-spinner-
|
|
12
|
-
import './index-
|
|
11
|
+
import './fw-loading-spinner-c394fafc.js';
|
|
12
|
+
import './index-e4a2f8b0.js';
|
|
13
13
|
import './check-94a5917a.js';
|
|
14
14
|
|
|
15
15
|
var script = defineComponent({
|
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
2
|
+
import { s as script$1 } from './fw-button-8d131219.js';
|
|
3
3
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
4
4
|
import './es.array.includes-91be7771.js';
|
|
5
5
|
import './is-forced-752b5893.js';
|
|
@@ -7,8 +7,8 @@ import './export-a37ba078.js';
|
|
|
7
7
|
import './add-to-unscopables-2400f45b.js';
|
|
8
8
|
import './object-create-f6f3a673.js';
|
|
9
9
|
import './object-keys-4f5bf4e7.js';
|
|
10
|
-
import './fw-loading-spinner-
|
|
11
|
-
import './index-
|
|
10
|
+
import './fw-loading-spinner-c394fafc.js';
|
|
11
|
+
import './index-e4a2f8b0.js';
|
|
12
12
|
import './check-94a5917a.js';
|
|
13
13
|
|
|
14
14
|
var script = defineComponent({
|
package/esm/fw-sidebar-menu.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, Transition, renderSlot, createCommentVNode, createElementVNode, Fragment, renderList, createBlock, createTextVNode, toDisplayString } from 'vue';
|
|
2
|
-
import { s as script$1 } from './fw-button-
|
|
3
|
-
import { h as render$1 } from './index-
|
|
2
|
+
import { s as script$1 } from './fw-button-8d131219.js';
|
|
3
|
+
import { h as render$1 } from './index-e4a2f8b0.js';
|
|
4
4
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
5
5
|
import './es.array.includes-91be7771.js';
|
|
6
6
|
import './is-forced-752b5893.js';
|
|
@@ -8,7 +8,7 @@ import './export-a37ba078.js';
|
|
|
8
8
|
import './add-to-unscopables-2400f45b.js';
|
|
9
9
|
import './object-create-f6f3a673.js';
|
|
10
10
|
import './object-keys-4f5bf4e7.js';
|
|
11
|
-
import './fw-loading-spinner-
|
|
11
|
+
import './fw-loading-spinner-c394fafc.js';
|
|
12
12
|
import './check-94a5917a.js';
|
|
13
13
|
|
|
14
14
|
var script = defineComponent({
|
package/esm/fw-table.js
CHANGED
|
@@ -4,8 +4,8 @@ import { i as toAbsoluteIndex$1, l as lengthOfArrayLike$2, j as engineUserAgent,
|
|
|
4
4
|
import { _ as _export } from './export-a37ba078.js';
|
|
5
5
|
import { c as createProperty$1 } from './create-property-534611fd.js';
|
|
6
6
|
import { a as arrayMethodIsStrict$1 } from './array-method-is-strict-055b1830.js';
|
|
7
|
-
import {
|
|
8
|
-
import { defineComponent, computed, ref, onMounted, useCssVars, pushScopeId, popScopeId, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, withKeys, toDisplayString, createBlock,
|
|
7
|
+
import { d as render$3, e as render$4 } from './index-e4a2f8b0.js';
|
|
8
|
+
import { defineComponent, computed, ref, onMounted, useCssVars, pushScopeId, popScopeId, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createCommentVNode, Fragment, renderList, withKeys, toDisplayString, createBlock, createVNode } from 'vue';
|
|
9
9
|
import { u as useColours } from './get-root-colours-e2a1cb28.js';
|
|
10
10
|
import { s as script$2 } from './fw-loading-bar-f5ca605c.js';
|
|
11
11
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
@@ -330,7 +330,7 @@ var __default__ = defineComponent({
|
|
|
330
330
|
var __injectCSSVars__ = function __injectCSSVars__() {
|
|
331
331
|
useCssVars(function (_ctx) {
|
|
332
332
|
return {
|
|
333
|
-
"
|
|
333
|
+
"642aa671": _ctx.bgHoverColor
|
|
334
334
|
};
|
|
335
335
|
});
|
|
336
336
|
};
|
|
@@ -341,7 +341,7 @@ __default__.setup = __setup__ ? function (props, ctx) {
|
|
|
341
341
|
} : __injectCSSVars__;
|
|
342
342
|
|
|
343
343
|
var _withScopeId = function _withScopeId(n) {
|
|
344
|
-
return pushScopeId("data-v-
|
|
344
|
+
return pushScopeId("data-v-d2effa38"), n = n(), popScopeId(), n;
|
|
345
345
|
};
|
|
346
346
|
var _hoisted_1$2 = ["aria-busy"];
|
|
347
347
|
var _hoisted_2$1 = {
|
|
@@ -376,7 +376,9 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
376
376
|
"class": normalizeClass(["fw-table table-auto table-responsive rounded-md shadow-card", _ctx.loading ? 'cursor-wait' : '']),
|
|
377
377
|
"aria-live": "polite",
|
|
378
378
|
"aria-busy": _ctx.loading
|
|
379
|
-
}, [createElementVNode("thead", _hoisted_2$1, [createElementVNode("tr", null, [
|
|
379
|
+
}, [createElementVNode("thead", _hoisted_2$1, [createElementVNode("tr", null, [_ctx.$slots.preHead ? renderSlot(_ctx.$slots, "preHead", {
|
|
380
|
+
key: 0
|
|
381
|
+
}) : createCommentVNode("", true), (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.columns, function (column, thKey) {
|
|
380
382
|
return openBlock(), createElementBlock(Fragment, {
|
|
381
383
|
key: thKey
|
|
382
384
|
}, [!_ctx.isDisabled(column) ? (openBlock(), createElementBlock("th", {
|
|
@@ -402,7 +404,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
402
404
|
"class": "inline-block w-4 text-primary"
|
|
403
405
|
})) : createCommentVNode("", true)])) : createCommentVNode("", true)])], 42, _hoisted_3$1)) : createCommentVNode("", true)], 64);
|
|
404
406
|
}), 128)), _ctx.$slots.head ? renderSlot(_ctx.$slots, "head", {
|
|
405
|
-
key:
|
|
407
|
+
key: 1
|
|
406
408
|
}) : createCommentVNode("", true)])]), createElementVNode("tbody", _hoisted_6, [_ctx.loading ? (openBlock(true), createElementBlock(Fragment, {
|
|
407
409
|
key: 0
|
|
408
410
|
}, renderList(_ctx.sortedData, function (row, trKey) {
|
|
@@ -430,7 +432,10 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
430
432
|
return _ctx.rowClicked(row);
|
|
431
433
|
}, ["enter", "space"]),
|
|
432
434
|
key: trKey
|
|
433
|
-
}, [
|
|
435
|
+
}, [_ctx.$slots.preRow ? renderSlot(_ctx.$slots, "preRow", {
|
|
436
|
+
key: 0,
|
|
437
|
+
row: row
|
|
438
|
+
}) : createCommentVNode("", true), (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.columns, function (column, colKey) {
|
|
434
439
|
return openBlock(), createElementBlock(Fragment, {
|
|
435
440
|
key: colKey
|
|
436
441
|
}, [!_ctx.isDisabled(column) ? (openBlock(), createElementBlock("td", {
|
|
@@ -439,18 +444,18 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
439
444
|
innerHTML: _ctx.formattedText(row, column)
|
|
440
445
|
}, null, 8, _hoisted_10)) : createCommentVNode("", true)], 64);
|
|
441
446
|
}), 128)), _ctx.$slots.row ? renderSlot(_ctx.$slots, "row", {
|
|
442
|
-
key:
|
|
447
|
+
key: 1,
|
|
443
448
|
row: row
|
|
444
449
|
}) : createCommentVNode("", true)], 42, _hoisted_9);
|
|
445
450
|
}), 128))])], 10, _hoisted_1$2);
|
|
446
451
|
}
|
|
447
452
|
|
|
448
|
-
var css_248z = ".fw-table-head--sortable[data-v-
|
|
449
|
-
var stylesheet = ".fw-table-head--sortable[data-v-
|
|
453
|
+
var css_248z = ".fw-table-head--sortable[data-v-d2effa38]:hover{background-color:var(--642aa671)}.fw-table-row[data-v-d2effa38]:hover{background-color:var(--642aa671)}";
|
|
454
|
+
var stylesheet = ".fw-table-head--sortable[data-v-d2effa38]:hover{background-color:var(--642aa671)}.fw-table-row[data-v-d2effa38]:hover{background-color:var(--642aa671)}";
|
|
450
455
|
styleInject(css_248z);
|
|
451
456
|
|
|
452
457
|
__default__.render = render$2;
|
|
453
|
-
__default__.__scopeId = "data-v-
|
|
458
|
+
__default__.__scopeId = "data-v-d2effa38";
|
|
454
459
|
|
|
455
460
|
var script$1 = defineComponent({
|
|
456
461
|
name: 'FwTableHead'
|
package/esm/fw-tag.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import './es.array.includes-91be7771.js';
|
|
2
2
|
import { defineComponent, ref, computed, useCssVars, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createBlock, withCtx, createVNode, createCommentVNode } from 'vue';
|
|
3
3
|
import './fw-button.js';
|
|
4
|
-
import {
|
|
4
|
+
import { c as render$1 } from './index-e4a2f8b0.js';
|
|
5
5
|
import { u as useColours } from './get-root-colours-e2a1cb28.js';
|
|
6
|
-
import { s as script } from './fw-button-
|
|
6
|
+
import { s as script } from './fw-button-8d131219.js';
|
|
7
7
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
8
8
|
import './is-forced-752b5893.js';
|
|
9
9
|
import './export-a37ba078.js';
|
|
@@ -11,7 +11,7 @@ import './add-to-unscopables-2400f45b.js';
|
|
|
11
11
|
import './object-create-f6f3a673.js';
|
|
12
12
|
import './object-keys-4f5bf4e7.js';
|
|
13
13
|
import './check-94a5917a.js';
|
|
14
|
-
import './fw-loading-spinner-
|
|
14
|
+
import './fw-loading-spinner-c394fafc.js';
|
|
15
15
|
|
|
16
16
|
var __default__ = defineComponent({
|
|
17
17
|
name: 'FwTag',
|
package/esm/fw-toast.js
CHANGED
|
@@ -6,7 +6,7 @@ import './es.array.concat-987938be.js';
|
|
|
6
6
|
import './web.timers-0f117224.js';
|
|
7
7
|
import { defineComponent, ref, computed, onMounted, watchEffect, openBlock, createElementBlock, Fragment, createBlock, Teleport, createVNode, TransitionGroup, createCommentVNode, Transition, withCtx, normalizeClass, createElementVNode, resolveDynamicComponent, toDisplayString, renderSlot } from 'vue';
|
|
8
8
|
import { u as uniqueId } from './uniqueId-fe08534a.js';
|
|
9
|
-
import {
|
|
9
|
+
import { f as render$1, g as render$2, a as render$3 } from './index-e4a2f8b0.js';
|
|
10
10
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
11
11
|
import './add-to-unscopables-2400f45b.js';
|
|
12
12
|
import './object-create-f6f3a673.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, createElementVNode, resolveComponent, openBlock, createBlock, withCtx, createCommentVNode, toDisplayString, createElementBlock } from 'vue';
|
|
2
2
|
import { s as script$1 } from './fw-card-1b6a67fe.js';
|
|
3
|
-
import { s as script$2 } from './fw-image-
|
|
3
|
+
import { s as script$2 } from './fw-image-4787a8bd.js';
|
|
4
4
|
import './es.array.includes-91be7771.js';
|
|
5
5
|
import './is-forced-752b5893.js';
|
|
6
6
|
import './export-a37ba078.js';
|
|
@@ -19,7 +19,7 @@ import './web.timers-0f117224.js';
|
|
|
19
19
|
import './function-apply-ce251590.js';
|
|
20
20
|
import './fw-loading-bar-f5ca605c.js';
|
|
21
21
|
import './style-inject.es-1f59c1d0.js';
|
|
22
|
-
import './index-
|
|
22
|
+
import './index-e4a2f8b0.js';
|
|
23
23
|
import './check-94a5917a.js';
|
|
24
24
|
|
|
25
25
|
var script = defineComponent({
|