@frollo/frollo-web-ui 6.0.4 → 7.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 +134 -79
- package/esm/fw-accordion.js +68 -17
- package/esm/fw-date-picker.js +19 -13
- package/esm/fw-drawer.js +7 -8
- package/esm/{fw-input-259e2e18.js → fw-input-8969b226.js} +6 -2
- package/esm/fw-input.js +1 -1
- package/esm/fw-modal.js +3 -4
- package/esm/fw-provider-list.js +1 -1
- package/esm/fw-sidebar-menu.js +3 -4
- package/esm/fw-tabs.js +2 -3
- package/esm/index.js +2 -2
- package/frollo-web-ui.esm.js +135 -80
- package/index.d.ts +64 -1
- package/package.json +1 -1
- package/types/components/fw-accordion/fw-accordion.vue.d.ts +60 -0
- package/types/components/fw-accordion/index.types.d.ts +4 -0
- package/types/components/fw-drawer/index.types.d.ts +0 -1
- package/web-components/index.js +136 -81
package/esm/fw-accordion.js
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
import { defineComponent, ref, watch, useCssVars, pushScopeId, popScopeId, openBlock, createElementBlock, createElementVNode,
|
|
1
|
+
import { defineComponent, ref, watch, useCssVars, pushScopeId, popScopeId, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createBlock, createCommentVNode, toDisplayString, renderSlot, createVNode, Transition, withCtx, withDirectives, vShow } from 'vue';
|
|
2
2
|
import { u as useColours } from './get-root-colours-865a52ba.js';
|
|
3
|
+
import { b as render$1 } from './index-bced3b35.js';
|
|
3
4
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
5
|
+
import './check-94a5917a.js';
|
|
4
6
|
|
|
5
7
|
var __default__ = defineComponent({
|
|
6
8
|
name: 'FwAccordion',
|
|
9
|
+
components: {
|
|
10
|
+
ChevronDownSvg: render$1
|
|
11
|
+
},
|
|
7
12
|
emits: ['toggled'],
|
|
8
13
|
props: {
|
|
9
14
|
/**
|
|
@@ -12,6 +17,13 @@ var __default__ = defineComponent({
|
|
|
12
17
|
title: {
|
|
13
18
|
type: String
|
|
14
19
|
},
|
|
20
|
+
/**
|
|
21
|
+
* Classname for the title
|
|
22
|
+
*/
|
|
23
|
+
titleClass: {
|
|
24
|
+
type: String,
|
|
25
|
+
"default": 'h4'
|
|
26
|
+
},
|
|
15
27
|
/**
|
|
16
28
|
* Title suffix of the accordion header
|
|
17
29
|
*/
|
|
@@ -31,6 +43,27 @@ var __default__ = defineComponent({
|
|
|
31
43
|
iconPositionStart: {
|
|
32
44
|
type: Boolean,
|
|
33
45
|
"default": true
|
|
46
|
+
},
|
|
47
|
+
/**
|
|
48
|
+
* Icon type (arrow or plus)
|
|
49
|
+
*/
|
|
50
|
+
isArrow: {
|
|
51
|
+
type: Boolean,
|
|
52
|
+
"default": false
|
|
53
|
+
},
|
|
54
|
+
/**
|
|
55
|
+
* Padding className for the accordion button
|
|
56
|
+
*/
|
|
57
|
+
buttonPadding: {
|
|
58
|
+
type: String,
|
|
59
|
+
"default": 'px-8 py-4'
|
|
60
|
+
},
|
|
61
|
+
/**
|
|
62
|
+
* Border style className for the accordion button
|
|
63
|
+
*/
|
|
64
|
+
borderStyle: {
|
|
65
|
+
type: String,
|
|
66
|
+
"default": 'rounded-sm border border-grey-40'
|
|
34
67
|
}
|
|
35
68
|
},
|
|
36
69
|
setup: function setup(props, ctx) {
|
|
@@ -65,7 +98,7 @@ var __default__ = defineComponent({
|
|
|
65
98
|
var __injectCSSVars__ = function __injectCSSVars__() {
|
|
66
99
|
useCssVars(function (_ctx) {
|
|
67
100
|
return {
|
|
68
|
-
"
|
|
101
|
+
"5f8da0f6": _ctx.bgHoverColor
|
|
69
102
|
};
|
|
70
103
|
});
|
|
71
104
|
};
|
|
@@ -76,37 +109,55 @@ __default__.setup = __setup__ ? function (props, ctx) {
|
|
|
76
109
|
} : __injectCSSVars__;
|
|
77
110
|
|
|
78
111
|
var _withScopeId = function _withScopeId(n) {
|
|
79
|
-
return pushScopeId("data-v-
|
|
112
|
+
return pushScopeId("data-v-3eea01a5"), n = n(), popScopeId(), n;
|
|
80
113
|
};
|
|
81
114
|
var _hoisted_1 = {
|
|
82
|
-
"class": "
|
|
115
|
+
"class": "flex flex-row items-center justify-between w-full"
|
|
83
116
|
};
|
|
84
117
|
var _hoisted_2 = {
|
|
85
|
-
"class": "flex flex-row items-center
|
|
118
|
+
"class": "flex flex-row items-center"
|
|
86
119
|
};
|
|
87
120
|
var _hoisted_3 = {
|
|
88
|
-
|
|
121
|
+
key: 0
|
|
89
122
|
};
|
|
90
123
|
var _hoisted_4 = {
|
|
124
|
+
key: 0
|
|
125
|
+
};
|
|
126
|
+
var _hoisted_5 = {
|
|
127
|
+
key: 1
|
|
128
|
+
};
|
|
129
|
+
var _hoisted_6 = {
|
|
91
130
|
key: 0,
|
|
92
131
|
"class": "h4"
|
|
93
132
|
};
|
|
133
|
+
var _hoisted_7 = {
|
|
134
|
+
key: 1
|
|
135
|
+
};
|
|
94
136
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
95
|
-
|
|
137
|
+
var _component_ChevronDownSvg = resolveComponent("ChevronDownSvg");
|
|
138
|
+
return openBlock(), createElementBlock("div", {
|
|
139
|
+
"class": normalizeClass(["fw-accordion", _ctx.borderStyle])
|
|
140
|
+
}, [createElementVNode("button", {
|
|
96
141
|
onClick: _cache[0] || (_cache[0] = function ($event) {
|
|
97
142
|
return _ctx.isOpen = !_ctx.isOpen;
|
|
98
143
|
}),
|
|
99
144
|
type: "button",
|
|
100
|
-
"class": normalizeClass(["fw-accordion--header
|
|
101
|
-
}, [createElementVNode("div",
|
|
145
|
+
"class": normalizeClass(["fw-accordion--header bg-white w-full transition-all duration-100 ease-in focus:outline-primary", [_ctx.isOpen ? 'fw-accordion--header-open' : '', _ctx.buttonPadding]])
|
|
146
|
+
}, [createElementVNode("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [_ctx.iconPositionStart ? (openBlock(), createElementBlock("div", _hoisted_3, [_ctx.isArrow ? (openBlock(), createBlock(_component_ChevronDownSvg, {
|
|
102
147
|
key: 0,
|
|
148
|
+
"class": normalizeClass(["w-6 text-primary transition-transform duration-300", _ctx.isOpen ? 'rotate-180' : ''])
|
|
149
|
+
}, null, 8, ["class"])) : (openBlock(), createElementBlock("span", {
|
|
150
|
+
key: 1,
|
|
103
151
|
"class": normalizeClass(["fw-accordion--icon", _ctx.isOpen ? 'fw-accordion--icon-open' : ''])
|
|
104
|
-
}, null, 2)) : createCommentVNode("", true), createElementVNode("
|
|
105
|
-
"class": normalizeClass([
|
|
106
|
-
}, toDisplayString(_ctx.title),
|
|
152
|
+
}, null, 2))])) : createCommentVNode("", true), createElementVNode("div", {
|
|
153
|
+
"class": normalizeClass([_ctx.titleClass, _ctx.iconPositionStart ? 'ml-6' : 'ml-0'])
|
|
154
|
+
}, [_ctx.title ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(_ctx.title), 1)) : _ctx.$slots.header ? (openBlock(), createElementBlock("span", _hoisted_5, [renderSlot(_ctx.$slots, "header")])) : createCommentVNode("", true)], 2)]), _ctx.suffixTitle ? (openBlock(), createElementBlock("span", _hoisted_6, toDisplayString(_ctx.suffixTitle), 1)) : createCommentVNode("", true), !_ctx.iconPositionStart ? (openBlock(), createElementBlock("div", _hoisted_7, [_ctx.isArrow ? (openBlock(), createBlock(_component_ChevronDownSvg, {
|
|
155
|
+
key: 0,
|
|
156
|
+
"class": normalizeClass(["w-6 text-primary transition-transform duration-300", _ctx.isOpen ? 'rotate-180' : ''])
|
|
157
|
+
}, null, 8, ["class"])) : (openBlock(), createElementBlock("span", {
|
|
107
158
|
key: 1,
|
|
108
159
|
"class": normalizeClass(["fw-accordion--icon", _ctx.isOpen ? 'fw-accordion--icon-open' : ''])
|
|
109
|
-
}, null, 2)) : createCommentVNode("", true)])], 2), createVNode(Transition, {
|
|
160
|
+
}, null, 2))])) : createCommentVNode("", true)])], 2), createVNode(Transition, {
|
|
110
161
|
name: "fw-accordion-transition",
|
|
111
162
|
onBeforeEnter: _ctx.beforeEnter,
|
|
112
163
|
onEnter: _ctx.enter,
|
|
@@ -118,14 +169,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
118
169
|
return [withDirectives(createElementVNode("div", null, [renderSlot(_ctx.$slots, "default")], 512), [[vShow, _ctx.$slots["default"] && _ctx.isOpen]])];
|
|
119
170
|
}),
|
|
120
171
|
_: 3
|
|
121
|
-
}, 8, ["onBeforeEnter", "onEnter", "onBeforeLeave", "onLeave"])]);
|
|
172
|
+
}, 8, ["onBeforeEnter", "onEnter", "onBeforeLeave", "onLeave"])], 2);
|
|
122
173
|
}
|
|
123
174
|
|
|
124
|
-
var css_248z = ".fw-accordion--header-open[data-v-
|
|
125
|
-
var stylesheet = ".fw-accordion--header-open[data-v-
|
|
175
|
+
var css_248z = ".fw-accordion--header-open[data-v-3eea01a5],.fw-accordion--header[data-v-3eea01a5]:focus-visible,.fw-accordion--header[data-v-3eea01a5]:hover{background-color:var(--5f8da0f6)}.fw-accordion--icon[data-v-3eea01a5]{position:relative}.fw-accordion--icon[data-v-3eea01a5]:after,.fw-accordion--icon[data-v-3eea01a5]:before{background:var(--colorBody);border-radius:3px;content:\"\";height:.2rem;left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transition:.3s ease-in-out;transition:.3s ease-in-out;width:1rem}.fw-accordion--icon[data-v-3eea01a5]:after{-webkit-transform:translate(-50%,-50%) rotate(90deg);-ms-transform:translate(-50%,-50%) rotate(90deg);transform:translate(-50%,-50%) rotate(90deg)}.fw-accordion--icon-open[data-v-3eea01a5]:after{width:0}";
|
|
176
|
+
var stylesheet = ".fw-accordion--header-open[data-v-3eea01a5],.fw-accordion--header[data-v-3eea01a5]:focus-visible,.fw-accordion--header[data-v-3eea01a5]:hover{background-color:var(--5f8da0f6)}.fw-accordion--icon[data-v-3eea01a5]{position:relative}.fw-accordion--icon[data-v-3eea01a5]:after,.fw-accordion--icon[data-v-3eea01a5]:before{background:var(--colorBody);border-radius:3px;content:\"\";height:.2rem;left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transition:.3s ease-in-out;transition:.3s ease-in-out;width:1rem}.fw-accordion--icon[data-v-3eea01a5]:after{-webkit-transform:translate(-50%,-50%) rotate(90deg);-ms-transform:translate(-50%,-50%) rotate(90deg);transform:translate(-50%,-50%) rotate(90deg)}.fw-accordion--icon-open[data-v-3eea01a5]:after{width:0}";
|
|
126
177
|
styleInject(css_248z);
|
|
127
178
|
|
|
128
179
|
__default__.render = render;
|
|
129
|
-
__default__.__scopeId = "data-v-
|
|
180
|
+
__default__.__scopeId = "data-v-3eea01a5";
|
|
130
181
|
|
|
131
182
|
export { __default__ as FwAccordion };
|
package/esm/fw-date-picker.js
CHANGED
|
@@ -8400,14 +8400,14 @@ var __default__ = defineComponent({
|
|
|
8400
8400
|
var __injectCSSVars__ = function __injectCSSVars__() {
|
|
8401
8401
|
useCssVars(function (_ctx) {
|
|
8402
8402
|
return {
|
|
8403
|
-
"
|
|
8404
|
-
"
|
|
8405
|
-
"
|
|
8406
|
-
"
|
|
8407
|
-
"
|
|
8408
|
-
"
|
|
8409
|
-
"
|
|
8410
|
-
"
|
|
8403
|
+
"c68f2272": _ctx.primaryFade5,
|
|
8404
|
+
"0b552c66": _ctx.primaryFade10,
|
|
8405
|
+
"0b552c28": _ctx.primaryFade20,
|
|
8406
|
+
"0b552bea": _ctx.primaryFade30,
|
|
8407
|
+
"0b552bac": _ctx.primaryFade40,
|
|
8408
|
+
"0b552b6e": _ctx.primaryFade50,
|
|
8409
|
+
"0b552af2": _ctx.primaryFade70,
|
|
8410
|
+
"0b552ab4": _ctx.primaryFade80
|
|
8411
8411
|
};
|
|
8412
8412
|
});
|
|
8413
8413
|
};
|
|
@@ -8489,7 +8489,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8489
8489
|
key: 0,
|
|
8490
8490
|
"for": "fw-date-picker-input-start-".concat(_ctx.name, "-").concat(_ctx.uuid),
|
|
8491
8491
|
"class": "block mb-2 font-medium"
|
|
8492
|
-
}, toDisplayString(_ctx.startLabel), 9, _hoisted_5)) : createCommentVNode("", true), createElementVNode("div", _hoisted_6, [createElementVNode("div", _hoisted_7, [createVNode(_component_CalendarDaySvg
|
|
8492
|
+
}, toDisplayString(_ctx.startLabel), 9, _hoisted_5)) : createCommentVNode("", true), createElementVNode("div", _hoisted_6, [createElementVNode("div", _hoisted_7, [createVNode(_component_CalendarDaySvg, {
|
|
8493
|
+
"class": "h-full"
|
|
8494
|
+
})]), createElementVNode("input", mergeProps({
|
|
8493
8495
|
value: inputValue.start
|
|
8494
8496
|
}, toHandlers(inputEvents.start), {
|
|
8495
8497
|
id: "fw-date-picker-input-start-".concat(_ctx.name, "-").concat(_ctx.uuid),
|
|
@@ -8503,7 +8505,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8503
8505
|
key: 0,
|
|
8504
8506
|
"for": "fw-date-picker-input-end-".concat(_ctx.name, "-").concat(_ctx.uuid),
|
|
8505
8507
|
"class": "block mb-2 font-medium"
|
|
8506
|
-
}, toDisplayString(_ctx.endLabel), 9, _hoisted_10)) : createCommentVNode("", true), createElementVNode("div", _hoisted_11, [createElementVNode("div", _hoisted_12, [createVNode(_component_CalendarDaySvg
|
|
8508
|
+
}, toDisplayString(_ctx.endLabel), 9, _hoisted_10)) : createCommentVNode("", true), createElementVNode("div", _hoisted_11, [createElementVNode("div", _hoisted_12, [createVNode(_component_CalendarDaySvg, {
|
|
8509
|
+
"class": "h-full"
|
|
8510
|
+
})]), createElementVNode("input", mergeProps({
|
|
8507
8511
|
value: inputValue.end
|
|
8508
8512
|
}, toHandlers(inputEvents.end), {
|
|
8509
8513
|
id: "fw-date-picker-input-end-".concat(_ctx.name, "-").concat(_ctx.uuid),
|
|
@@ -8517,7 +8521,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8517
8521
|
key: 0,
|
|
8518
8522
|
"for": "fw-date-picker-input-".concat(_ctx.name, "-").concat(_ctx.uuid),
|
|
8519
8523
|
"class": "block mb-2 font-medium"
|
|
8520
|
-
}, toDisplayString(_ctx.label), 9, _hoisted_15)) : createCommentVNode("", true), createElementVNode("div", _hoisted_16, [createElementVNode("div", _hoisted_17, [createVNode(_component_CalendarDaySvg
|
|
8524
|
+
}, toDisplayString(_ctx.label), 9, _hoisted_15)) : createCommentVNode("", true), createElementVNode("div", _hoisted_16, [createElementVNode("div", _hoisted_17, [createVNode(_component_CalendarDaySvg, {
|
|
8525
|
+
"class": "h-full"
|
|
8526
|
+
})]), createElementVNode("input", mergeProps({
|
|
8521
8527
|
value: inputValue
|
|
8522
8528
|
}, toHandlers(inputEvents), {
|
|
8523
8529
|
id: "fw-date-picker-input-".concat(_ctx.name, "-").concat(_ctx.uuid),
|
|
@@ -8534,8 +8540,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8534
8540
|
}, 8, ["modelValue", "model-modifiers", "max-date"])]);
|
|
8535
8541
|
}
|
|
8536
8542
|
|
|
8537
|
-
var css_248z = ".fw-date-picker .vc-primary{--vc-accent-50:var(--
|
|
8538
|
-
var stylesheet = ".fw-date-picker .vc-primary{--vc-accent-50:var(--
|
|
8543
|
+
var css_248z = ".fw-date-picker .vc-primary{--vc-accent-50:var(--c68f2272);--vc-accent-100:var(--0b552c66);--vc-accent-200:var(--0b552c28);--vc-accent-300:var(--0b552bea);--vc-accent-400:var(--0b552bac);--vc-accent-500:var(--0b552b6e);--vc-accent-600:var(--colorPrimary);--vc-accent-700:var(--0b552af2);--vc-accent-800:var(--0b552ab4);--vc-accent-900:var(--colorBody)}";
|
|
8544
|
+
var stylesheet = ".fw-date-picker .vc-primary{--vc-accent-50:var(--c68f2272);--vc-accent-100:var(--0b552c66);--vc-accent-200:var(--0b552c28);--vc-accent-300:var(--0b552bea);--vc-accent-400:var(--0b552bac);--vc-accent-500:var(--0b552b6e);--vc-accent-600:var(--colorPrimary);--vc-accent-700:var(--0b552af2);--vc-accent-800:var(--0b552ab4);--vc-accent-900:var(--colorBody)}";
|
|
8539
8545
|
styleInject(css_248z);
|
|
8540
8546
|
|
|
8541
8547
|
__default__.render = render;
|
package/esm/fw-drawer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './es.array.includes-08e25019.js';
|
|
2
|
-
import { defineComponent, ref, computed, onMounted, resolveComponent, openBlock, createBlock, Transition, withCtx,
|
|
2
|
+
import { defineComponent, ref, computed, onMounted, resolveComponent, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, createElementBlock, renderSlot, createCommentVNode, createVNode, createTextVNode, toDisplayString, vShow } from 'vue';
|
|
3
3
|
import { s as script$1 } from './fw-button-c8502414.js';
|
|
4
4
|
import { u as uniqueId } from './uniqueId-fe08534a.js';
|
|
5
5
|
import { c as render$1 } from './index-bced3b35.js';
|
|
@@ -95,7 +95,7 @@ var script = defineComponent({
|
|
|
95
95
|
},
|
|
96
96
|
setup: function setup(props, ctx) {
|
|
97
97
|
var baseDrawerClass = "fixed shadow-card top-0 right-0 z-40 h-screen bg-white";
|
|
98
|
-
var drawerFooterClass = "\n sticky bottom-0 w-full shadow-card bg-white p-4\n ";
|
|
98
|
+
var drawerFooterClass = "\n sticky bottom-0 w-full shadow-card bg-white p-4 clip-top-shadow\n ";
|
|
99
99
|
var isMounted = ref(false);
|
|
100
100
|
var uuid = uniqueId();
|
|
101
101
|
var isOpen = computed({
|
|
@@ -151,8 +151,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
151
151
|
appear: ""
|
|
152
152
|
}, {
|
|
153
153
|
"default": withCtx(function () {
|
|
154
|
-
return [
|
|
155
|
-
key: 0,
|
|
154
|
+
return [withDirectives(createElementVNode("div", {
|
|
156
155
|
id: "fw-drawer-".concat(_ctx.uuid),
|
|
157
156
|
"class": normalizeClass(["fw-drawer", _ctx.baseDrawerClass]),
|
|
158
157
|
tabindex: "-1",
|
|
@@ -178,7 +177,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
178
177
|
_: 1
|
|
179
178
|
})]), _ctx.$slots.body ? (openBlock(), createElementBlock("div", {
|
|
180
179
|
key: 0,
|
|
181
|
-
"class": "fw-drawer-body h-
|
|
180
|
+
"class": "fw-drawer-body h-[calc(100vh-155px)] overflow-y-scroll",
|
|
182
181
|
id: "drawer_".concat(_ctx.uuid, "_body")
|
|
183
182
|
}, [renderSlot(_ctx.$slots, "body")], 8, _hoisted_4)) : createCommentVNode("", true), _ctx.$slots.footer || _ctx.showConfirm || _ctx.showCancel ? (openBlock(), createElementBlock("div", {
|
|
184
183
|
key: 1,
|
|
@@ -209,14 +208,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
209
208
|
return [createTextVNode(toDisplayString(_ctx.confirmButtonText), 1)];
|
|
210
209
|
}),
|
|
211
210
|
_: 1
|
|
212
|
-
}, 8, ["variant", "aria-label"])) : createCommentVNode("", true)]))], 2)) : createCommentVNode("", true)], 10, _hoisted_1)
|
|
211
|
+
}, 8, ["variant", "aria-label"])) : createCommentVNode("", true)]))], 2)) : createCommentVNode("", true)], 10, _hoisted_1), [[vShow, _ctx.isOpen]])];
|
|
213
212
|
}),
|
|
214
213
|
_: 3
|
|
215
214
|
});
|
|
216
215
|
}
|
|
217
216
|
|
|
218
|
-
var css_248z = ".drawerSlideInOut-enter-active{-webkit-animation:drawerSlideInOut .4s;animation:drawerSlideInOut .4s;-webkit-transition:all .4s ease-in;transition:all .4s ease-in}.drawerSlideInOut-leave-active{animation:drawerSlideInOut .4s reverse;-webkit-transition:all .4s ease-in-out;transition:all .4s ease-in-out}@-webkit-keyframes drawerSlideInOut{0%{opacity:0;-webkit-transform:translateX(100%);transform:translateX(100%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes drawerSlideInOut{0%{opacity:0;-webkit-transform:translateX(100%);transform:translateX(100%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}";
|
|
219
|
-
var stylesheet = ".drawerSlideInOut-enter-active{-webkit-animation:drawerSlideInOut .4s;animation:drawerSlideInOut .4s;-webkit-transition:all .4s ease-in;transition:all .4s ease-in}.drawerSlideInOut-leave-active{animation:drawerSlideInOut .4s reverse;-webkit-transition:all .4s ease-in-out;transition:all .4s ease-in-out}@-webkit-keyframes drawerSlideInOut{0%{opacity:0;-webkit-transform:translateX(100%);transform:translateX(100%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes drawerSlideInOut{0%{opacity:0;-webkit-transform:translateX(100%);transform:translateX(100%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}";
|
|
217
|
+
var css_248z = ".clip-top-shadow{-webkit-clip-path:inset(-4px 0 0 0);clip-path:inset(-4px 0 0 0)}.drawerSlideInOut-enter-active{-webkit-animation:drawerSlideInOut .4s;animation:drawerSlideInOut .4s;-webkit-transition:all .4s ease-in;transition:all .4s ease-in}.drawerSlideInOut-leave-active{animation:drawerSlideInOut .4s reverse;-webkit-transition:all .4s ease-in-out;transition:all .4s ease-in-out}@-webkit-keyframes drawerSlideInOut{0%{opacity:0;-webkit-transform:translateX(100%);transform:translateX(100%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes drawerSlideInOut{0%{opacity:0;-webkit-transform:translateX(100%);transform:translateX(100%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}";
|
|
218
|
+
var stylesheet = ".clip-top-shadow{-webkit-clip-path:inset(-4px 0 0 0);clip-path:inset(-4px 0 0 0)}.drawerSlideInOut-enter-active{-webkit-animation:drawerSlideInOut .4s;animation:drawerSlideInOut .4s;-webkit-transition:all .4s ease-in;transition:all .4s ease-in}.drawerSlideInOut-leave-active{animation:drawerSlideInOut .4s reverse;-webkit-transition:all .4s ease-in-out;transition:all .4s ease-in-out}@-webkit-keyframes drawerSlideInOut{0%{opacity:0;-webkit-transform:translateX(100%);transform:translateX(100%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes drawerSlideInOut{0%{opacity:0;-webkit-transform:translateX(100%);transform:translateX(100%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}";
|
|
220
219
|
styleInject(css_248z);
|
|
221
220
|
|
|
222
221
|
script.render = render;
|
|
@@ -184,7 +184,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
184
184
|
key: 0,
|
|
185
185
|
"for": "fw-input-".concat(_ctx.name, "-").concat(_ctx.uuid),
|
|
186
186
|
"class": "block mb-2 font-medium"
|
|
187
|
-
}, toDisplayString(_ctx.label), 9, _hoisted_4)) : createCommentVNode("", true), _ctx.$slots.action ? (openBlock(), createElementBlock("div", _hoisted_5, [renderSlot(_ctx.$slots, "action")])) : createCommentVNode("", true)]), createElementVNode("div", _hoisted_6, [_ctx.$slots.prefix ? (openBlock(), createElementBlock("div", _hoisted_7, [renderSlot(_ctx.$slots, "prefix"
|
|
187
|
+
}, toDisplayString(_ctx.label), 9, _hoisted_4)) : createCommentVNode("", true), _ctx.$slots.action ? (openBlock(), createElementBlock("div", _hoisted_5, [renderSlot(_ctx.$slots, "action")])) : createCommentVNode("", true)]), createElementVNode("div", _hoisted_6, [_ctx.$slots.prefix ? (openBlock(), createElementBlock("div", _hoisted_7, [renderSlot(_ctx.$slots, "prefix", {
|
|
188
|
+
"class": "h-full"
|
|
189
|
+
})])) : createCommentVNode("", true), createElementVNode("input", mergeProps(field, {
|
|
188
190
|
id: "fw-input-".concat(_ctx.name, "-").concat(_ctx.uuid),
|
|
189
191
|
placeholder: _ctx.placeholder,
|
|
190
192
|
type: _ctx.type,
|
|
@@ -212,7 +214,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
212
214
|
})], 2)) : createCommentVNode("", true)];
|
|
213
215
|
}),
|
|
214
216
|
_: 2
|
|
215
|
-
}, 1024)) : createCommentVNode("", true), _ctx.$slots.suffix ? (openBlock(), createElementBlock("div", _hoisted_9, [renderSlot(_ctx.$slots, "suffix"
|
|
217
|
+
}, 1024)) : createCommentVNode("", true), _ctx.$slots.suffix ? (openBlock(), createElementBlock("div", _hoisted_9, [renderSlot(_ctx.$slots, "suffix", {
|
|
218
|
+
"class": "h-full"
|
|
219
|
+
})])) : createCommentVNode("", true)]), _ctx.enableErrors ? (openBlock(), createElementBlock("div", _hoisted_10, [createVNode(Transition, {
|
|
216
220
|
name: "fwFadeIn",
|
|
217
221
|
mode: "out-in"
|
|
218
222
|
}, {
|
package/esm/fw-input.js
CHANGED
package/esm/fw-modal.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './es.array.includes-08e25019.js';
|
|
2
|
-
import { defineComponent, ref, computed, onMounted, resolveComponent, openBlock, createBlock, Teleport, createVNode, Transition, withCtx,
|
|
2
|
+
import { defineComponent, ref, computed, onMounted, resolveComponent, openBlock, createBlock, Teleport, createVNode, Transition, withCtx, withDirectives, createElementVNode, createElementBlock, renderSlot, createCommentVNode, createTextVNode, toDisplayString, vShow } from 'vue';
|
|
3
3
|
import { s as script$1 } from './fw-button-c8502414.js';
|
|
4
4
|
import { u as uniqueId } from './uniqueId-fe08534a.js';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
@@ -151,8 +151,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
151
151
|
appear: ""
|
|
152
152
|
}, {
|
|
153
153
|
"default": withCtx(function () {
|
|
154
|
-
return [
|
|
155
|
-
key: 0,
|
|
154
|
+
return [withDirectives(createElementVNode("div", {
|
|
156
155
|
"class": "fw-modal z-[9999] relative",
|
|
157
156
|
id: "fw-modal-".concat(_ctx.uuid)
|
|
158
157
|
}, [createElementVNode("div", _hoisted_2, [createElementVNode("div", _hoisted_3, [createElementVNode("div", {
|
|
@@ -203,7 +202,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
203
202
|
return [createTextVNode(toDisplayString(_ctx.confirmButtonText), 1)];
|
|
204
203
|
}),
|
|
205
204
|
_: 1
|
|
206
|
-
}, 8, ["variant", "aria-label"])) : createCommentVNode("", true)])) : createCommentVNode("", true)], 8, _hoisted_4)])])], 8, _hoisted_1)
|
|
205
|
+
}, 8, ["variant", "aria-label"])) : createCommentVNode("", true)])) : createCommentVNode("", true)], 8, _hoisted_4)])])], 8, _hoisted_1), [[vShow, _ctx.isOpen]])];
|
|
207
206
|
}),
|
|
208
207
|
_: 3
|
|
209
208
|
})], 8, ["to"])) : createCommentVNode("", true);
|
package/esm/fw-provider-list.js
CHANGED
|
@@ -13,7 +13,7 @@ import './es.function.name-6cafd747.js';
|
|
|
13
13
|
import './es.array.map-c56ebffd.js';
|
|
14
14
|
import './es.array.concat-99b85557.js';
|
|
15
15
|
import { defineComponent, ref, computed, createTextVNode, createElementVNode, resolveComponent, openBlock, createElementBlock, toDisplayString, createVNode, withCtx, createBlock, createCommentVNode } from 'vue';
|
|
16
|
-
import { s as script$1 } from './fw-input-
|
|
16
|
+
import { s as script$1 } from './fw-input-8969b226.js';
|
|
17
17
|
import { _ as __default__$1 } from './fw-tag-ac28200a.js';
|
|
18
18
|
import { s as script$3 } from './fw-button-c8502414.js';
|
|
19
19
|
import { s as script$2 } from './fw-dropdown-6856e66e.js';
|
package/esm/fw-sidebar-menu.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, Transition, renderSlot, createCommentVNode,
|
|
1
|
+
import { defineComponent, ref, resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, Transition, withDirectives, createElementVNode, renderSlot, createCommentVNode, Fragment, renderList, createBlock, createTextVNode, toDisplayString, vShow } from 'vue';
|
|
2
2
|
import { s as script$1 } from './fw-button-c8502414.js';
|
|
3
3
|
import { h as render$1 } from './index-bced3b35.js';
|
|
4
4
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
@@ -63,7 +63,6 @@ var script = defineComponent({
|
|
|
63
63
|
});
|
|
64
64
|
|
|
65
65
|
var _hoisted_1 = {
|
|
66
|
-
key: 0,
|
|
67
66
|
"class": "flex flex-col px-4 py-8"
|
|
68
67
|
};
|
|
69
68
|
var _hoisted_2 = {
|
|
@@ -100,7 +99,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
100
99
|
name: "sidebarMenuSlide"
|
|
101
100
|
}, {
|
|
102
101
|
"default": withCtx(function () {
|
|
103
|
-
return [
|
|
102
|
+
return [withDirectives(createElementVNode("div", _hoisted_1, [_ctx.$slots.title ? (openBlock(), createElementBlock("div", _hoisted_2, [renderSlot(_ctx.$slots, "title")])) : createCommentVNode("", true), createElementVNode("div", _hoisted_3, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.menuItems, function (item, i) {
|
|
104
103
|
return openBlock(), createElementBlock(Fragment, {
|
|
105
104
|
key: i
|
|
106
105
|
}, [!item.disabled ? (openBlock(), createBlock(_component_FwButton, {
|
|
@@ -120,7 +119,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
120
119
|
}),
|
|
121
120
|
_: 2
|
|
122
121
|
}, 1032, ["href", "to", "external", "onClick"])) : createCommentVNode("", true)], 64);
|
|
123
|
-
}), 128))])])
|
|
122
|
+
}), 128))])], 512), [[vShow, _ctx.isMenuOpen]])];
|
|
124
123
|
}),
|
|
125
124
|
_: 3
|
|
126
125
|
})], 2)) : createCommentVNode("", true);
|
package/esm/fw-tabs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './es.number.constructor-fb16fe05.js';
|
|
2
|
-
import { defineComponent, computed, ref, provide, openBlock, createElementBlock, Fragment, renderList, createElementVNode, normalizeClass, toDisplayString, createCommentVNode, renderSlot, getCurrentInstance, inject, watchEffect } from 'vue';
|
|
2
|
+
import { defineComponent, computed, ref, provide, openBlock, createElementBlock, Fragment, renderList, createElementVNode, normalizeClass, toDisplayString, createCommentVNode, renderSlot, getCurrentInstance, inject, watchEffect, withDirectives, vShow } from 'vue';
|
|
3
3
|
import { e as toObject$1, l as lengthOfArrayLike$1, h as fails$1 } from './is-forced-7cb3ee8f.js';
|
|
4
4
|
import { _ as _export } from './export-10c4adbc.js';
|
|
5
5
|
import { a as arrayIteration } from './array-iteration-8267bf22.js';
|
|
@@ -175,11 +175,10 @@ var script = defineComponent({
|
|
|
175
175
|
});
|
|
176
176
|
|
|
177
177
|
var _hoisted_1 = {
|
|
178
|
-
key: 0,
|
|
179
178
|
"class": "fw-tab w-full"
|
|
180
179
|
};
|
|
181
180
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
182
|
-
return
|
|
181
|
+
return withDirectives((openBlock(), createElementBlock("div", _hoisted_1, [renderSlot(_ctx.$slots, "default")], 512)), [[vShow, _ctx.isActive]]);
|
|
183
182
|
}
|
|
184
183
|
|
|
185
184
|
script.render = render;
|
package/esm/index.js
CHANGED
|
@@ -46,8 +46,8 @@ import { FwEmailPulse as __default__$5, FwSuccessPulse as __default__$6 } from '
|
|
|
46
46
|
export { FwEmailPulse, FwSuccessPulse } from './fw-animations.js';
|
|
47
47
|
import { F as Form } from './vee-validate.esm-a17a23c3.js';
|
|
48
48
|
export { F as FwForm } from './vee-validate.esm-a17a23c3.js';
|
|
49
|
-
import { s as script } from './fw-input-
|
|
50
|
-
export { s as FwInput } from './fw-input-
|
|
49
|
+
import { s as script } from './fw-input-8969b226.js';
|
|
50
|
+
export { s as FwInput } from './fw-input-8969b226.js';
|
|
51
51
|
import { s as script$2 } from './fw-dropdown-6856e66e.js';
|
|
52
52
|
export { s as FwDropdown } from './fw-dropdown-6856e66e.js';
|
|
53
53
|
import { s as script$3 } from './fw-card-1b6a67fe.js';
|