@frollo/frollo-web-ui 0.2.4 → 0.3.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 +159 -74
- package/esm/fw-progress-bar.js +20 -8
- package/esm/fw-tag.js +89 -0
- package/esm/index.js +3 -0
- package/frollo-web-ui.esm.js +187 -93
- package/icons/chevron-down.svg +3 -0
- package/icons/index.ts +3 -1
- package/index.d.ts +73 -10
- package/package.json +3 -2
- package/tailwind.config.js +6 -3
- package/types/components/fw-tag/fw-tag.vue.d.ts +48 -0
- package/types/components/fw-tag/index.d.ts +2 -0
- package/types/components/fw-tag/index.types.d.ts +16 -0
- package/types/components/index.d.ts +1 -0
- package/types/components/index.types.d.ts +1 -0
- package/types/icons/index.d.ts +2 -1
package/cjs/index.js
CHANGED
|
@@ -4603,7 +4603,7 @@ $$3({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
|
|
|
4603
4603
|
});
|
|
4604
4604
|
|
|
4605
4605
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
4606
|
-
addToUnscopables$1('includes');var script$
|
|
4606
|
+
addToUnscopables$1('includes');var script$9 = vue.defineComponent({
|
|
4607
4607
|
name: 'FwInput',
|
|
4608
4608
|
emits: ['update:modelValue'],
|
|
4609
4609
|
components: {
|
|
@@ -4720,13 +4720,13 @@ if (DESCRIPTORS$1 && !FUNCTION_NAME_EXISTS) {
|
|
|
4720
4720
|
}
|
|
4721
4721
|
}
|
|
4722
4722
|
});
|
|
4723
|
-
}var _hoisted_1$
|
|
4723
|
+
}var _hoisted_1$a = {
|
|
4724
4724
|
"class": "fw-input w-full"
|
|
4725
4725
|
};
|
|
4726
|
-
var _hoisted_2$
|
|
4726
|
+
var _hoisted_2$9 = {
|
|
4727
4727
|
"class": "flex flex-col"
|
|
4728
4728
|
};
|
|
4729
|
-
var _hoisted_3$
|
|
4729
|
+
var _hoisted_3$8 = {
|
|
4730
4730
|
"class": "flex flex-row justify-between"
|
|
4731
4731
|
};
|
|
4732
4732
|
var _hoisted_4$7 = ["for"];
|
|
@@ -4768,10 +4768,10 @@ var _hoisted_13 = {
|
|
|
4768
4768
|
var _hoisted_14 = {
|
|
4769
4769
|
key: 1
|
|
4770
4770
|
};
|
|
4771
|
-
function render$
|
|
4771
|
+
function render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4772
4772
|
var _component_InputField = vue.resolveComponent("InputField");
|
|
4773
4773
|
|
|
4774
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
4774
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [vue.createVNode(_component_InputField, {
|
|
4775
4775
|
modelValue: _ctx.inputValue,
|
|
4776
4776
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) {
|
|
4777
4777
|
return _ctx.inputValue = $event;
|
|
@@ -4784,7 +4784,7 @@ function render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4784
4784
|
errors = _ref.errors,
|
|
4785
4785
|
errorMessage = _ref.errorMessage,
|
|
4786
4786
|
meta = _ref.meta;
|
|
4787
|
-
return [vue.createElementVNode("div", _hoisted_2$
|
|
4787
|
+
return [vue.createElementVNode("div", _hoisted_2$9, [vue.createElementVNode("div", _hoisted_3$8, [_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", {
|
|
4788
4788
|
key: 0,
|
|
4789
4789
|
"for": _ctx.name,
|
|
4790
4790
|
"class": "block mb-2"
|
|
@@ -4845,9 +4845,9 @@ function render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4845
4845
|
} else {
|
|
4846
4846
|
style.appendChild(document.createTextNode(css));
|
|
4847
4847
|
}
|
|
4848
|
-
}var css_248z$
|
|
4849
|
-
var stylesheet$
|
|
4850
|
-
styleInject(css_248z$
|
|
4848
|
+
}var css_248z$7 = ".fwFadeIn-enter-active{-webkit-animation:fwFadeIn .35s;animation:fwFadeIn .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active{animation:fwFadeIn .35s reverse;-webkit-transition:opacity .35s ease-out;-o-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}}";
|
|
4849
|
+
var stylesheet$7 = ".fwFadeIn-enter-active{-webkit-animation:fwFadeIn .35s;animation:fwFadeIn .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active{animation:fwFadeIn .35s reverse;-webkit-transition:opacity .35s ease-out;-o-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}}";
|
|
4850
|
+
styleInject(css_248z$7);script$9.render = render$c;var script$8 = vue.defineComponent({
|
|
4851
4851
|
name: 'FwCheckbox',
|
|
4852
4852
|
components: {
|
|
4853
4853
|
InputField: Field
|
|
@@ -4886,13 +4886,13 @@ styleInject(css_248z$6);script$8.render = render$a;var script$7 = vue.defineComp
|
|
|
4886
4886
|
return vue.pushScopeId("data-v-7423717e"), n = n(), vue.popScopeId(), n;
|
|
4887
4887
|
};
|
|
4888
4888
|
|
|
4889
|
-
var _hoisted_1$
|
|
4889
|
+
var _hoisted_1$9 = {
|
|
4890
4890
|
"class": "fw-checkbox w-full"
|
|
4891
4891
|
};
|
|
4892
|
-
var _hoisted_2$
|
|
4892
|
+
var _hoisted_2$8 = {
|
|
4893
4893
|
"class": "flex flex-col"
|
|
4894
4894
|
};
|
|
4895
|
-
var _hoisted_3$
|
|
4895
|
+
var _hoisted_3$7 = ["for"];
|
|
4896
4896
|
var _hoisted_4$6 = ["value", "name"];
|
|
4897
4897
|
var _hoisted_5$3 = ["innerHTML"];
|
|
4898
4898
|
var _hoisted_6$2 = {
|
|
@@ -4905,10 +4905,10 @@ var _hoisted_7$2 = {
|
|
|
4905
4905
|
var _hoisted_8$2 = {
|
|
4906
4906
|
key: 1
|
|
4907
4907
|
};
|
|
4908
|
-
function render$
|
|
4908
|
+
function render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4909
4909
|
var _component_InputField = vue.resolveComponent("InputField");
|
|
4910
4910
|
|
|
4911
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
4911
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$9, [vue.createVNode(_component_InputField, {
|
|
4912
4912
|
name: _ctx.name,
|
|
4913
4913
|
value: _ctx.name,
|
|
4914
4914
|
type: "checkbox",
|
|
@@ -4919,7 +4919,7 @@ function render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4919
4919
|
errors = _ref.errors,
|
|
4920
4920
|
errorMessage = _ref.errorMessage,
|
|
4921
4921
|
meta = _ref.meta;
|
|
4922
|
-
return [vue.createElementVNode("div", _hoisted_2$
|
|
4922
|
+
return [vue.createElementVNode("div", _hoisted_2$8, [_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", {
|
|
4923
4923
|
key: 0,
|
|
4924
4924
|
"for": _ctx.name,
|
|
4925
4925
|
"class": "inline-flex items-center mb-3"
|
|
@@ -4931,7 +4931,7 @@ function render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4931
4931
|
}), null, 16, _hoisted_4$6), vue.createElementVNode("span", {
|
|
4932
4932
|
"class": "ml-2",
|
|
4933
4933
|
innerHTML: _ctx.label
|
|
4934
|
-
}, null, 8, _hoisted_5$3)], 8, _hoisted_3$
|
|
4934
|
+
}, null, 8, _hoisted_5$3)], 8, _hoisted_3$7)) : vue.createCommentVNode("", true), vue.createElementVNode("div", _hoisted_6$2, [vue.createVNode(vue.Transition, {
|
|
4935
4935
|
name: "fwFadeIn",
|
|
4936
4936
|
mode: "out-in"
|
|
4937
4937
|
}, {
|
|
@@ -4943,10 +4943,10 @@ function render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4943
4943
|
}),
|
|
4944
4944
|
_: 1
|
|
4945
4945
|
}, 8, ["name", "value", "rules"])]);
|
|
4946
|
-
}var css_248z$
|
|
4947
|
-
var stylesheet$
|
|
4948
|
-
styleInject(css_248z$
|
|
4949
|
-
script$
|
|
4946
|
+
}var css_248z$6 = ".fwFadeIn-enter-active[data-v-7423717e]{-webkit-animation:fwFadeIn-7423717e .35s;animation:fwFadeIn-7423717e .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-7423717e]{animation:fwFadeIn-7423717e .35s reverse;-webkit-transition:opacity .35s ease-out;-o-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-7423717e{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-7423717e{0%{opacity:0}to{opacity:1}}.fw-checkbox input[data-v-7423717e]{-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;-o-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-7423717e]: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}";
|
|
4947
|
+
var stylesheet$6 = ".fwFadeIn-enter-active[data-v-7423717e]{-webkit-animation:fwFadeIn-7423717e .35s;animation:fwFadeIn-7423717e .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-7423717e]{animation:fwFadeIn-7423717e .35s reverse;-webkit-transition:opacity .35s ease-out;-o-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-7423717e{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-7423717e{0%{opacity:0}to{opacity:1}}.fw-checkbox input[data-v-7423717e]{-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;-o-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-7423717e]: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}";
|
|
4948
|
+
styleInject(css_248z$6);script$8.render = render$b;
|
|
4949
|
+
script$8.__scopeId = "data-v-7423717e";var script$7 = vue.defineComponent({
|
|
4950
4950
|
name: 'FwCard',
|
|
4951
4951
|
props: {
|
|
4952
4952
|
/**
|
|
@@ -4988,22 +4988,22 @@ script$7.__scopeId = "data-v-7423717e";var script$6 = vue.defineComponent({
|
|
|
4988
4988
|
linkClass: linkClass
|
|
4989
4989
|
};
|
|
4990
4990
|
}
|
|
4991
|
-
});var _hoisted_1$
|
|
4991
|
+
});var _hoisted_1$8 = {
|
|
4992
4992
|
key: 0,
|
|
4993
4993
|
"class": "fw-card--header px-8 py-4 bg-grey-lightest rounded-t-lg border-opacity-0"
|
|
4994
4994
|
};
|
|
4995
|
-
var _hoisted_2$
|
|
4995
|
+
var _hoisted_2$7 = {
|
|
4996
4996
|
key: 0,
|
|
4997
4997
|
"class": "fw-card--prefix-title text-primary"
|
|
4998
4998
|
};
|
|
4999
|
-
var _hoisted_3$
|
|
4999
|
+
var _hoisted_3$6 = {
|
|
5000
5000
|
key: 1
|
|
5001
5001
|
};
|
|
5002
5002
|
var _hoisted_4$5 = {
|
|
5003
5003
|
key: 1,
|
|
5004
5004
|
"class": "p-8"
|
|
5005
5005
|
};
|
|
5006
|
-
function render$
|
|
5006
|
+
function render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5007
5007
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.componentName), {
|
|
5008
5008
|
to: _ctx.to ? _ctx.to : null,
|
|
5009
5009
|
href: _ctx.href ? _ctx.href : null,
|
|
@@ -5011,11 +5011,11 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5011
5011
|
"class": vue.normalizeClass(["fw-card shadow-card rounded-lg", _ctx.to || _ctx.href || !!_ctx.$attrs.onClick ? _ctx.linkClass : ''])
|
|
5012
5012
|
}, {
|
|
5013
5013
|
"default": vue.withCtx(function () {
|
|
5014
|
-
return [_ctx.title || _ctx.prefixTitle ? (vue.openBlock(), vue.createElementBlock("h4", _hoisted_1$
|
|
5014
|
+
return [_ctx.title || _ctx.prefixTitle ? (vue.openBlock(), vue.createElementBlock("h4", _hoisted_1$8, [_ctx.prefixTitle ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$7, vue.toDisplayString(_ctx.prefixTitle), 1)) : vue.createCommentVNode("", true), _ctx.title ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$6, vue.toDisplayString(_ctx.title), 1)) : vue.createCommentVNode("", true)])) : vue.createCommentVNode("", true), _ctx.$slots["default"] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$5, [vue.renderSlot(_ctx.$slots, "default")])) : vue.createCommentVNode("", true)];
|
|
5015
5015
|
}),
|
|
5016
5016
|
_: 3
|
|
5017
5017
|
}, 8, ["to", "href", "tabindex", "class"]);
|
|
5018
|
-
}script$
|
|
5018
|
+
}script$7.render = render$a;var script$6 = vue.defineComponent({
|
|
5019
5019
|
name: 'FwButton',
|
|
5020
5020
|
emits: ['click', 'mouseover', 'mouseout', 'focusin', 'focusout'],
|
|
5021
5021
|
props: {
|
|
@@ -5188,7 +5188,7 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5188
5188
|
tagName: tagName
|
|
5189
5189
|
};
|
|
5190
5190
|
}
|
|
5191
|
-
});function render$
|
|
5191
|
+
});function render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5192
5192
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tagName), {
|
|
5193
5193
|
"class": vue.normalizeClass(["fw-button", [_ctx.baseClass, _ctx.textColorClass, _ctx.bgColorClass, _ctx.sizeClass, _ctx.borderClass, _ctx.variant === 'link' ? 'pl-0 pr-0 pt-0 pb-0 rounded-none font-normal' : 'font-bold rounded-full']]),
|
|
5194
5194
|
type: _ctx.tagName === 'button' ? _ctx.buttonType : null,
|
|
@@ -5206,13 +5206,13 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5206
5206
|
}),
|
|
5207
5207
|
_: 3
|
|
5208
5208
|
}, 40, ["class", "type", "to", "href", "tabindex", "onClick", "onFocusin", "onFocusout", "onMouseover", "onMouseout"]);
|
|
5209
|
-
}var css_248z$
|
|
5210
|
-
var stylesheet$
|
|
5211
|
-
styleInject(css_248z$
|
|
5209
|
+
}var css_248z$5 = ".fw-button{line-height:normal;-webkit-transition:all .25s ease-in-out;-o-transition:all .25s ease-in-out;transition:all .25s ease-in-out}";
|
|
5210
|
+
var stylesheet$5 = ".fw-button{line-height:normal;-webkit-transition:all .25s ease-in-out;-o-transition:all .25s ease-in-out;transition:all .25s ease-in-out}";
|
|
5211
|
+
styleInject(css_248z$5);script$6.render = render$9;var script$5 = vue.defineComponent({
|
|
5212
5212
|
name: 'FwNavigationMenu',
|
|
5213
5213
|
emits: ['action'],
|
|
5214
5214
|
components: {
|
|
5215
|
-
FwButton: script$
|
|
5215
|
+
FwButton: script$6
|
|
5216
5216
|
},
|
|
5217
5217
|
props: {
|
|
5218
5218
|
/**
|
|
@@ -5251,13 +5251,13 @@ styleInject(css_248z$4);script$5.render = render$7;var script$4 = vue.defineComp
|
|
|
5251
5251
|
actionClicked: actionClicked
|
|
5252
5252
|
};
|
|
5253
5253
|
}
|
|
5254
|
-
});var _hoisted_1$
|
|
5254
|
+
});var _hoisted_1$7 = {
|
|
5255
5255
|
"class": "fw-nav-menu relative z-50 h-20 shadow-md"
|
|
5256
5256
|
};
|
|
5257
|
-
var _hoisted_2$
|
|
5257
|
+
var _hoisted_2$6 = {
|
|
5258
5258
|
"class": "px-6 flex-1 h-full flex bg-white items-stretch justify-between max-w-6xl mx-auto"
|
|
5259
5259
|
};
|
|
5260
|
-
var _hoisted_3$
|
|
5260
|
+
var _hoisted_3$5 = {
|
|
5261
5261
|
key: 0,
|
|
5262
5262
|
"class": "flex-shrink-0 flex items-center"
|
|
5263
5263
|
};
|
|
@@ -5292,12 +5292,12 @@ var _hoisted_10$1 = ["d"];
|
|
|
5292
5292
|
var _hoisted_11$1 = {
|
|
5293
5293
|
"class": "w-full flex flex-col"
|
|
5294
5294
|
};
|
|
5295
|
-
function render$
|
|
5295
|
+
function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5296
5296
|
var _ctx$menuItems;
|
|
5297
5297
|
|
|
5298
5298
|
var _component_FwButton = vue.resolveComponent("FwButton");
|
|
5299
5299
|
|
|
5300
|
-
return vue.openBlock(), vue.createElementBlock("nav", _hoisted_1$
|
|
5300
|
+
return vue.openBlock(), vue.createElementBlock("nav", _hoisted_1$7, [vue.createElementVNode("div", _hoisted_2$6, [_ctx.$slots.logo ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$5, [vue.renderSlot(_ctx.$slots, "logo")])) : vue.createCommentVNode("", true), _ctx.menuItems && ((_ctx$menuItems = _ctx.menuItems) === null || _ctx$menuItems === void 0 ? void 0 : _ctx$menuItems.length) > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$4, [vue.createElementVNode("div", _hoisted_5$2, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.menuItems, function (item, i) {
|
|
5301
5301
|
return vue.openBlock(), vue.createBlock(_component_FwButton, {
|
|
5302
5302
|
key: i,
|
|
5303
5303
|
variant: "text",
|
|
@@ -5369,9 +5369,9 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5369
5369
|
}),
|
|
5370
5370
|
_: 1
|
|
5371
5371
|
})]);
|
|
5372
|
-
}var css_248z$
|
|
5373
|
-
var stylesheet$
|
|
5374
|
-
styleInject(css_248z$
|
|
5372
|
+
}var css_248z$4 = ".fw-nav-menu--mobile{z-index:-1}.fw-nav-menu--mobile,.slideInLeft-enter-active{-webkit-transition:left .35s ease-in;-o-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;-o-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}}";
|
|
5373
|
+
var stylesheet$4 = ".fw-nav-menu--mobile{z-index:-1}.fw-nav-menu--mobile,.slideInLeft-enter-active{-webkit-transition:left .35s ease-in;-o-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;-o-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}}";
|
|
5374
|
+
styleInject(css_248z$4);script$5.render = render$8;var es_number_constructor = {};var isCallable$2 = isCallable$g;
|
|
5375
5375
|
|
|
5376
5376
|
var $String$1 = String;
|
|
5377
5377
|
var $TypeError$1 = TypeError;
|
|
@@ -5553,7 +5553,7 @@ if (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumb
|
|
|
5553
5553
|
NumberWrapper.prototype = NumberPrototype;
|
|
5554
5554
|
NumberPrototype.constructor = NumberWrapper;
|
|
5555
5555
|
defineBuiltIn(global$4, NUMBER, NumberWrapper, { constructor: true });
|
|
5556
|
-
}var script$
|
|
5556
|
+
}var script$4 = vue.defineComponent({
|
|
5557
5557
|
name: 'FwTabs',
|
|
5558
5558
|
emits: ['update:modelValue'],
|
|
5559
5559
|
props: {
|
|
@@ -5586,16 +5586,16 @@ if (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumb
|
|
|
5586
5586
|
selectTab: selectTab
|
|
5587
5587
|
};
|
|
5588
5588
|
}
|
|
5589
|
-
});var _hoisted_1$
|
|
5589
|
+
});var _hoisted_1$6 = {
|
|
5590
5590
|
"class": "fw-tabs"
|
|
5591
5591
|
};
|
|
5592
|
-
var _hoisted_2$
|
|
5592
|
+
var _hoisted_2$5 = {
|
|
5593
5593
|
key: 0,
|
|
5594
5594
|
"class": "flex flex-wrap -mb-px border-b border-grey-light dark:text-grey-base dark:border-grey-base"
|
|
5595
5595
|
};
|
|
5596
|
-
var _hoisted_3$
|
|
5597
|
-
function render$
|
|
5598
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
5596
|
+
var _hoisted_3$4 = ["onClick"];
|
|
5597
|
+
function render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5598
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$6, [_ctx.tabs ? (vue.openBlock(), vue.createElementBlock("ul", _hoisted_2$5, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.tabs, function (tab, i) {
|
|
5599
5599
|
return vue.openBlock(), vue.createElementBlock("li", {
|
|
5600
5600
|
"class": "mr-2",
|
|
5601
5601
|
key: i
|
|
@@ -5605,9 +5605,9 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5605
5605
|
return _ctx.selectTab(i);
|
|
5606
5606
|
},
|
|
5607
5607
|
"class": vue.normalizeClass(["inline-block p-4 outline-primary border-b-2 border-transparent transition ease-in", _ctx.active === i ? 'font-medium border-black' : 'hover:bg-grey-lightest'])
|
|
5608
|
-
}, vue.toDisplayString(tab.props.label), 11, _hoisted_3$
|
|
5608
|
+
}, vue.toDisplayString(tab.props.label), 11, _hoisted_3$4)]);
|
|
5609
5609
|
}), 128))])) : vue.createCommentVNode("", true), vue.renderSlot(_ctx.$slots, "default")]);
|
|
5610
|
-
}script$
|
|
5610
|
+
}script$4.render = render$7;var es_array_findIndex = {};'use strict';
|
|
5611
5611
|
var $$2 = _export;
|
|
5612
5612
|
var $findIndex = arrayIteration.findIndex;
|
|
5613
5613
|
var addToUnscopables = addToUnscopables$2;
|
|
@@ -5627,7 +5627,7 @@ $$2({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
|
|
|
5627
5627
|
});
|
|
5628
5628
|
|
|
5629
5629
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
5630
|
-
addToUnscopables(FIND_INDEX);var script$
|
|
5630
|
+
addToUnscopables(FIND_INDEX);var script$3 = vue.defineComponent({
|
|
5631
5631
|
name: 'FwTab',
|
|
5632
5632
|
props: {
|
|
5633
5633
|
/**
|
|
@@ -5669,13 +5669,13 @@ addToUnscopables(FIND_INDEX);var script$2 = vue.defineComponent({
|
|
|
5669
5669
|
props: props
|
|
5670
5670
|
};
|
|
5671
5671
|
}
|
|
5672
|
-
});var _hoisted_1$
|
|
5672
|
+
});var _hoisted_1$5 = {
|
|
5673
5673
|
key: 0,
|
|
5674
5674
|
"class": "fw-tab w-full"
|
|
5675
5675
|
};
|
|
5676
|
-
function render$
|
|
5677
|
-
return _ctx.isActive ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
5678
|
-
}script$
|
|
5676
|
+
function render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5677
|
+
return _ctx.isActive ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$5, [vue.renderSlot(_ctx.$slots, "default")])) : vue.createCommentVNode("", true);
|
|
5678
|
+
}script$3.render = render$6;/** Detect free variable `global` from Node.js. */
|
|
5679
5679
|
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;/** Detect free variable `self`. */
|
|
5680
5680
|
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
|
5681
5681
|
|
|
@@ -5927,10 +5927,10 @@ var idCounter = 0;
|
|
|
5927
5927
|
function uniqueId(prefix) {
|
|
5928
5928
|
var id = ++idCounter;
|
|
5929
5929
|
return toString(prefix) + id;
|
|
5930
|
-
}var script$
|
|
5930
|
+
}var script$2 = vue.defineComponent({
|
|
5931
5931
|
name: 'FwModal',
|
|
5932
5932
|
components: {
|
|
5933
|
-
FwButton: script$
|
|
5933
|
+
FwButton: script$6
|
|
5934
5934
|
},
|
|
5935
5935
|
emits: ['cancel', 'confirm'],
|
|
5936
5936
|
props: {
|
|
@@ -6020,13 +6020,13 @@ function uniqueId(prefix) {
|
|
|
6020
6020
|
return vue.pushScopeId("data-v-003a6fba"), n = n(), vue.popScopeId(), n;
|
|
6021
6021
|
};
|
|
6022
6022
|
|
|
6023
|
-
var _hoisted_1$
|
|
6023
|
+
var _hoisted_1$4 = {
|
|
6024
6024
|
"class": "fw-modal"
|
|
6025
6025
|
};
|
|
6026
|
-
var _hoisted_2$
|
|
6026
|
+
var _hoisted_2$4 = {
|
|
6027
6027
|
"class": "fw-modal--mask fixed z-[9999] top-0 left-0 w-full h-full bg-black bg-opacity-50"
|
|
6028
6028
|
};
|
|
6029
|
-
var _hoisted_3$
|
|
6029
|
+
var _hoisted_3$3 = {
|
|
6030
6030
|
"class": "fw-modal--wrapper text-center overflow-auto flex justify-center items-center h-full"
|
|
6031
6031
|
};
|
|
6032
6032
|
var _hoisted_4$3 = ["role", "aria-labelledby", "aria-describedby"];
|
|
@@ -6047,7 +6047,7 @@ var _hoisted_11 = {
|
|
|
6047
6047
|
key: 3,
|
|
6048
6048
|
"class": "modal-footer flex space-x-4 pt-4 justify-center"
|
|
6049
6049
|
};
|
|
6050
|
-
function render$
|
|
6050
|
+
function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6051
6051
|
var _component_FwButton = vue.resolveComponent("FwButton");
|
|
6052
6052
|
|
|
6053
6053
|
return vue.openBlock(), vue.createBlock(vue.Transition, {
|
|
@@ -6055,7 +6055,7 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6055
6055
|
appear: ""
|
|
6056
6056
|
}, {
|
|
6057
6057
|
"default": vue.withCtx(function () {
|
|
6058
|
-
return [vue.createElementVNode("div", _hoisted_1$
|
|
6058
|
+
return [vue.createElementVNode("div", _hoisted_1$4, [vue.createElementVNode("div", _hoisted_2$4, [vue.createElementVNode("div", _hoisted_3$3, [vue.createElementVNode("div", {
|
|
6059
6059
|
role: _ctx.role,
|
|
6060
6060
|
"aria-modal": "true",
|
|
6061
6061
|
"class": "fw-modal--container p-12 m-8 inline-block w-full max-w-[540px] bg-white rounded-2xl shadow",
|
|
@@ -6107,13 +6107,25 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6107
6107
|
}),
|
|
6108
6108
|
_: 3
|
|
6109
6109
|
});
|
|
6110
|
-
}var css_248z$
|
|
6111
|
-
var stylesheet$
|
|
6112
|
-
styleInject(css_248z$
|
|
6113
|
-
script$
|
|
6110
|
+
}var css_248z$3 = ".modalFadeIn-enter-active[data-v-003a6fba]{-webkit-animation:modalFadeIn-003a6fba .4s;animation:modalFadeIn-003a6fba .4s;-webkit-transition:opacity .4s ease-in;-o-transition:opacity .4s ease-in;transition:opacity .4s ease-in}.modalFadeIn-leave-active[data-v-003a6fba]{animation:modalFadeIn-003a6fba .4s reverse;-webkit-transition:opacity .4s ease-out;-o-transition:opacity .4s ease-out;transition:opacity .4s ease-out}@-webkit-keyframes modalFadeIn-003a6fba{0%{opacity:0}to{opacity:1}}@keyframes modalFadeIn-003a6fba{0%{opacity:0}to{opacity:1}}";
|
|
6111
|
+
var stylesheet$3 = ".modalFadeIn-enter-active[data-v-003a6fba]{-webkit-animation:modalFadeIn-003a6fba .4s;animation:modalFadeIn-003a6fba .4s;-webkit-transition:opacity .4s ease-in;-o-transition:opacity .4s ease-in;transition:opacity .4s ease-in}.modalFadeIn-leave-active[data-v-003a6fba]{animation:modalFadeIn-003a6fba .4s reverse;-webkit-transition:opacity .4s ease-out;-o-transition:opacity .4s ease-out;transition:opacity .4s ease-out}@-webkit-keyframes modalFadeIn-003a6fba{0%{opacity:0}to{opacity:1}}@keyframes modalFadeIn-003a6fba{0%{opacity:0}to{opacity:1}}";
|
|
6112
|
+
styleInject(css_248z$3);script$2.render = render$5;
|
|
6113
|
+
script$2.__scopeId = "data-v-003a6fba";const _hoisted_1$3 = {
|
|
6114
|
+
viewBox: "0 0 17 12",
|
|
6115
|
+
fill: "currentColor",
|
|
6116
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
6117
|
+
};
|
|
6118
|
+
const _hoisted_2$3 = /*#__PURE__*/vue.createElementVNode("path", { d: "M15.847.621c.359.33.359.865 0 1.164l-9.281 9.281c-.299.359-.833.359-1.164 0L.622 6.285c-.33-.3-.33-.833 0-1.164a.848.848 0 011.193 0L6 9.308 14.684.621c.33-.328.864-.328 1.163 0z" }, null, -1);
|
|
6119
|
+
const _hoisted_3$2 = [
|
|
6120
|
+
_hoisted_2$3
|
|
6121
|
+
];
|
|
6122
|
+
|
|
6123
|
+
function render$4(_ctx, _cache) {
|
|
6124
|
+
return (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$3, _hoisted_3$2))
|
|
6125
|
+
}var script$1 = vue.defineComponent({
|
|
6114
6126
|
name: 'FwProgressBar',
|
|
6115
6127
|
components: {
|
|
6116
|
-
CheckSvg:
|
|
6128
|
+
CheckSvg: render$4
|
|
6117
6129
|
},
|
|
6118
6130
|
props: {
|
|
6119
6131
|
/**
|
|
@@ -6173,9 +6185,9 @@ var _hoisted_4$2 = {
|
|
|
6173
6185
|
"class": "w-full flex items-start mt-[13px] mx-[-15px]"
|
|
6174
6186
|
};
|
|
6175
6187
|
var _hoisted_5 = {
|
|
6176
|
-
"class": "w-full bg-grey-
|
|
6188
|
+
"class": "w-full bg-grey-40 rounded flex-1"
|
|
6177
6189
|
};
|
|
6178
|
-
function render$
|
|
6190
|
+
function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6179
6191
|
var _component_CheckSvg = vue.resolveComponent("CheckSvg");
|
|
6180
6192
|
|
|
6181
6193
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$2, [vue.createElementVNode("div", _hoisted_2$2, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.steps, function (step) {
|
|
@@ -6185,21 +6197,94 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6185
6197
|
}, [vue.createElementVNode("div", {
|
|
6186
6198
|
"class": vue.normalizeClass(["text-center", step.position !== _ctx.steps.length ? 'min-w-[70px] w-[70px] md:min-w-[96px] md:w-[96px]' : 'w-full'])
|
|
6187
6199
|
}, [vue.createElementVNode("div", {
|
|
6188
|
-
"class": vue.normalizeClass(["w-[30px] h-[30px] mx-auto mb-2 flex items-center justify-center text-center rounded-full", step.position <= _ctx.activeStep ? 'bg-primary text-tertiary' : 'bg-grey-
|
|
6200
|
+
"class": vue.normalizeClass(["w-[30px] h-[30px] mx-auto mb-2 flex items-center justify-center text-center rounded-full", step.position <= _ctx.activeStep ? 'bg-primary text-tertiary' : 'bg-grey-40 text-body'])
|
|
6189
6201
|
}, [step.position < _ctx.activeStep ? (vue.openBlock(), vue.createBlock(_component_CheckSvg, {
|
|
6190
6202
|
key: 0,
|
|
6191
6203
|
"class": "w-[18px]"
|
|
6192
|
-
})) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$1, vue.toDisplayString(step.position), 1))], 2), vue.createElementVNode("
|
|
6193
|
-
"class": vue.normalizeClass(["text-sm md:text-base", {
|
|
6204
|
+
})) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$1, vue.toDisplayString(step.position), 1))], 2), vue.createElementVNode("div", {
|
|
6205
|
+
"class": vue.normalizeClass(["m-0 md:leading-tight text-sm md:text-base", {
|
|
6194
6206
|
'font-bold': step.position === _ctx.activeStep,
|
|
6195
|
-
'text-
|
|
6207
|
+
'text-body': step.position > _ctx.activeStep
|
|
6196
6208
|
}])
|
|
6197
6209
|
}, vue.toDisplayString(step.label), 3)], 2), step.position !== _ctx.steps.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$2, [vue.createElementVNode("div", _hoisted_5, [vue.createElementVNode("div", {
|
|
6198
6210
|
"class": "bg-primary text-xs leading-none py-0.5 text-center rounded transition-all",
|
|
6199
6211
|
style: vue.normalizeStyle(step.position < _ctx.activeStep ? 'width:100%;' : _ctx.calculatedProgressBar(step))
|
|
6200
6212
|
}, null, 4)])])) : vue.createCommentVNode("", true)], 2);
|
|
6201
6213
|
}), 128))])]);
|
|
6202
|
-
}script.render = render$
|
|
6214
|
+
}script$1.render = render$3;var script = vue.defineComponent({
|
|
6215
|
+
name: 'FwTag',
|
|
6216
|
+
props: {
|
|
6217
|
+
/**
|
|
6218
|
+
* The size of the tag. Accepts: 'xs' & 'sm'
|
|
6219
|
+
*/
|
|
6220
|
+
size: {
|
|
6221
|
+
type: String,
|
|
6222
|
+
"default": 'xs',
|
|
6223
|
+
validator: function validator(value) {
|
|
6224
|
+
return ['xs', 'sm'].includes(value);
|
|
6225
|
+
}
|
|
6226
|
+
},
|
|
6227
|
+
|
|
6228
|
+
/**
|
|
6229
|
+
* The colour variant of the tag.
|
|
6230
|
+
* Accepts 'primary', 'alert', 'error', 'success'
|
|
6231
|
+
*/
|
|
6232
|
+
variant: {
|
|
6233
|
+
type: String,
|
|
6234
|
+
"default": 'primary',
|
|
6235
|
+
validator: function validator(value) {
|
|
6236
|
+
return ['primary', 'alert', 'error', 'success'].includes(value);
|
|
6237
|
+
}
|
|
6238
|
+
}
|
|
6239
|
+
},
|
|
6240
|
+
setup: function setup(props) {
|
|
6241
|
+
var baseClass = vue.ref( // eslint-disable-next-line max-len
|
|
6242
|
+
"inline-block font-medium text-center whitespace-nowrap rounded-full");
|
|
6243
|
+
var tagClasses = vue.ref({
|
|
6244
|
+
primary: {
|
|
6245
|
+
text: 'text-tertiary',
|
|
6246
|
+
background: 'bg-primary'
|
|
6247
|
+
},
|
|
6248
|
+
alert: {
|
|
6249
|
+
text: 'text-white',
|
|
6250
|
+
background: 'bg-alert'
|
|
6251
|
+
},
|
|
6252
|
+
success: {
|
|
6253
|
+
text: 'text-white',
|
|
6254
|
+
background: 'bg-success'
|
|
6255
|
+
},
|
|
6256
|
+
error: {
|
|
6257
|
+
text: 'text-white',
|
|
6258
|
+
background: 'bg-error'
|
|
6259
|
+
}
|
|
6260
|
+
});
|
|
6261
|
+
var sizes = vue.ref({
|
|
6262
|
+
xs: 'px-2 py-px text-xs',
|
|
6263
|
+
sm: 'px-4 py-1 text-xs'
|
|
6264
|
+
});
|
|
6265
|
+
var textColorClass = vue.computed(function () {
|
|
6266
|
+
return tagClasses.value[props.variant].text;
|
|
6267
|
+
});
|
|
6268
|
+
var bgColorClass = vue.computed(function () {
|
|
6269
|
+
return tagClasses.value[props.variant].background;
|
|
6270
|
+
});
|
|
6271
|
+
var sizeClass = vue.computed(function () {
|
|
6272
|
+
return sizes.value[props.size];
|
|
6273
|
+
});
|
|
6274
|
+
return {
|
|
6275
|
+
baseClass: baseClass,
|
|
6276
|
+
textColorClass: textColorClass,
|
|
6277
|
+
bgColorClass: bgColorClass,
|
|
6278
|
+
sizeClass: sizeClass
|
|
6279
|
+
};
|
|
6280
|
+
}
|
|
6281
|
+
});function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6282
|
+
return vue.openBlock(), vue.createElementBlock("span", {
|
|
6283
|
+
"class": vue.normalizeClass(["fw-tag", [_ctx.baseClass, _ctx.textColorClass, _ctx.bgColorClass, _ctx.sizeClass]])
|
|
6284
|
+
}, [vue.renderSlot(_ctx.$slots, "default")], 2);
|
|
6285
|
+
}var css_248z$2 = ".fw-tag{line-height:normal;-webkit-transition:all .25s ease-in-out;-o-transition:all .25s ease-in-out;transition:all .25s ease-in-out}";
|
|
6286
|
+
var stylesheet$2 = ".fw-tag{line-height:normal;-webkit-transition:all .25s ease-in-out;-o-transition:all .25s ease-in-out;transition:all .25s ease-in-out}";
|
|
6287
|
+
styleInject(css_248z$2);script.render = render$2;var __default__$1 = vue.defineComponent({
|
|
6203
6288
|
name: 'FwEmailPulse',
|
|
6204
6289
|
props: {
|
|
6205
6290
|
/**
|
|
@@ -6313,7 +6398,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6313
6398
|
var stylesheet = ".fw-success-pulse[data-v-c32112d4]{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;height:100px;position:relative;width:100px}.fw-success-pulse--checkmark__circle[data-v-c32112d4]{stroke-dasharray:166;stroke-dashoffset:166;stroke-width:2;stroke-miterlimit:10;stroke:var(--colorPrimary);fill:none;-webkit-animation:fwSuccessStroke-c32112d4 .6s cubic-bezier(.65,0,.45,1) forwards;animation:fwSuccessStroke-c32112d4 .6s cubic-bezier(.65,0,.45,1) forwards}.fw-success-pulse--checkmark[data-v-c32112d4]{stroke-width:4;stroke:#fff;stroke-miterlimit:10;-webkit-animation:fwSuccessScaleFill-c32112d4 .6s ease-in-out .4s forwards,fwSuccessScale-c32112d4 .3s ease-in-out .9s both;animation:fwSuccessScaleFill-c32112d4 .6s ease-in-out .4s forwards,fwSuccessScale-c32112d4 .3s ease-in-out .9s both;border-radius:50%;-webkit-box-shadow:inset 0 0 0 var(--colorPrimary);box-shadow:inset 0 0 0 var(--colorPrimary);display:block;height:70px;margin:10% auto;width:70px}.fw-success-pulse--checkmark__check[data-v-c32112d4]{stroke-dasharray:48;stroke-dashoffset:48;stroke-linecap:round;-webkit-animation:fwSuccessStroke-c32112d4 .3s cubic-bezier(.65,0,.45,1) .8s forwards;animation:fwSuccessStroke-c32112d4 .3s cubic-bezier(.65,0,.45,1) .8s forwards;-webkit-transform-origin:50% 50%;-ms-transform-origin:50% 50%;transform-origin:50% 50%}@-webkit-keyframes fwSuccessStroke-c32112d4{to{stroke-dashoffset:0}}@keyframes fwSuccessStroke-c32112d4{to{stroke-dashoffset:0}}@-webkit-keyframes fwSuccessScale-c32112d4{0%,to{-webkit-transform:none;transform:none}50%{-webkit-transform:scale3d(1.1,1.1,1);transform:scale3d(1.1,1.1,1)}}@keyframes fwSuccessScale-c32112d4{0%,to{-webkit-transform:none;transform:none}50%{-webkit-transform:scale3d(1.1,1.1,1);transform:scale3d(1.1,1.1,1)}}@-webkit-keyframes fwSuccessScaleFill-c32112d4{to{-webkit-box-shadow:inset 0 0 0 70px var(--colorPrimary);box-shadow:inset 0 0 0 70px var(--colorPrimary)}}@keyframes fwSuccessScaleFill-c32112d4{to{-webkit-box-shadow:inset 0 0 0 70px var(--colorPrimary);box-shadow:inset 0 0 0 70px var(--colorPrimary)}}.fw-success-pulse--circle[data-v-c32112d4]{stroke-width:4px;stroke-opacity:1;fill:none;fill-opacity:0;-webkit-animation-delay:1s;animation-delay:1s;-webkit-animation-duration:3s;animation-duration:3s;-webkit-animation-iteration-count:var(--22e0894f);animation-iteration-count:var(--22e0894f);-webkit-animation-name:fwSuccessPulse-c32112d4;animation-name:fwSuccessPulse-c32112d4;-webkit-transform-origin:50% 50%;-ms-transform-origin:50% 50%;transform-origin:50% 50%}@-webkit-keyframes fwSuccessPulse-c32112d4{0%{stroke:var(--colorPrimary);stroke-width:5px;stroke-opacity:1;-webkit-transform:scale(1);transform:scale(1)}to{stroke:transparent;stroke-width:0;stroke-opacity:0;-webkit-transform:scale(1.5);transform:scale(1.5)}}@keyframes fwSuccessPulse-c32112d4{0%{stroke:var(--colorPrimary);stroke-width:5px;stroke-opacity:1;-webkit-transform:scale(1);transform:scale(1)}to{stroke:transparent;stroke-width:0;stroke-opacity:0;-webkit-transform:scale(1.5);transform:scale(1.5)}}";
|
|
6314
6399
|
styleInject(css_248z);__default__.render = render;
|
|
6315
6400
|
__default__.__scopeId = "data-v-c32112d4";// Form components
|
|
6316
|
-
var Components=/*#__PURE__*/Object.freeze({__proto__:null,FwForm:Form,FwInput:script$
|
|
6401
|
+
var Components=/*#__PURE__*/Object.freeze({__proto__:null,FwForm:Form,FwInput:script$9,FwCheckbox:script$8,FwCard:script$7,FwButton:script$6,FwNavigationMenu:script$5,FwTabs:script$4,FwTab:script$3,FwModal:script$2,FwProgressBar:script$1,FwTag:script,FwEmailPulse:__default__$1,FwSuccessPulse:__default__});function _defineProperty(obj, key, value) {
|
|
6317
6402
|
if (key in obj) {
|
|
6318
6403
|
Object.defineProperty(obj, key, {
|
|
6319
6404
|
value: value,
|
|
@@ -6421,7 +6506,7 @@ $({ global: true, bind: true, forced: global$1.setTimeout !== setTimeout$1 }, {
|
|
|
6421
6506
|
var open = function open() {
|
|
6422
6507
|
var _modalVNode;
|
|
6423
6508
|
|
|
6424
|
-
modalVNode = vue.createApp(script$
|
|
6509
|
+
modalVNode = vue.createApp(script$2, _objectSpread2({}, options));
|
|
6425
6510
|
elAppend === null || elAppend === void 0 ? void 0 : elAppend.appendChild(elementToMount);
|
|
6426
6511
|
(_modalVNode = modalVNode) === null || _modalVNode === void 0 ? void 0 : _modalVNode.mount(elementToMount);
|
|
6427
6512
|
};
|
package/esm/fw-progress-bar.js
CHANGED
|
@@ -1,14 +1,26 @@
|
|
|
1
1
|
import './es.number.constructor-f646730f.js';
|
|
2
|
-
import {
|
|
2
|
+
import { createElementVNode, openBlock, createElementBlock, defineComponent, resolveComponent, Fragment, renderList, normalizeClass, createBlock, toDisplayString, normalizeStyle, createCommentVNode } from 'vue';
|
|
3
3
|
import './function-name-3bda6320.js';
|
|
4
4
|
import './is-forced-3323c994.js';
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
const _hoisted_1$1 = {
|
|
7
|
+
viewBox: "0 0 17 12",
|
|
8
|
+
fill: "currentColor",
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
10
|
+
};
|
|
11
|
+
const _hoisted_2$1 = /*#__PURE__*/createElementVNode("path", { d: "M15.847.621c.359.33.359.865 0 1.164l-9.281 9.281c-.299.359-.833.359-1.164 0L.622 6.285c-.33-.3-.33-.833 0-1.164a.848.848 0 011.193 0L6 9.308 14.684.621c.33-.328.864-.328 1.163 0z" }, null, -1);
|
|
12
|
+
const _hoisted_3$1 = [
|
|
13
|
+
_hoisted_2$1
|
|
14
|
+
];
|
|
15
|
+
|
|
16
|
+
function render$1(_ctx, _cache) {
|
|
17
|
+
return (openBlock(), createElementBlock("svg", _hoisted_1$1, _hoisted_3$1))
|
|
18
|
+
}
|
|
7
19
|
|
|
8
20
|
var script = defineComponent({
|
|
9
21
|
name: 'FwProgressBar',
|
|
10
22
|
components: {
|
|
11
|
-
CheckSvg:
|
|
23
|
+
CheckSvg: render$1
|
|
12
24
|
},
|
|
13
25
|
props: {
|
|
14
26
|
/**
|
|
@@ -70,7 +82,7 @@ var _hoisted_4 = {
|
|
|
70
82
|
"class": "w-full flex items-start mt-[13px] mx-[-15px]"
|
|
71
83
|
};
|
|
72
84
|
var _hoisted_5 = {
|
|
73
|
-
"class": "w-full bg-grey-
|
|
85
|
+
"class": "w-full bg-grey-40 rounded flex-1"
|
|
74
86
|
};
|
|
75
87
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
76
88
|
var _component_CheckSvg = resolveComponent("CheckSvg");
|
|
@@ -82,14 +94,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
82
94
|
}, [createElementVNode("div", {
|
|
83
95
|
"class": normalizeClass(["text-center", step.position !== _ctx.steps.length ? 'min-w-[70px] w-[70px] md:min-w-[96px] md:w-[96px]' : 'w-full'])
|
|
84
96
|
}, [createElementVNode("div", {
|
|
85
|
-
"class": normalizeClass(["w-[30px] h-[30px] mx-auto mb-2 flex items-center justify-center text-center rounded-full", step.position <= _ctx.activeStep ? 'bg-primary text-tertiary' : 'bg-grey-
|
|
97
|
+
"class": normalizeClass(["w-[30px] h-[30px] mx-auto mb-2 flex items-center justify-center text-center rounded-full", step.position <= _ctx.activeStep ? 'bg-primary text-tertiary' : 'bg-grey-40 text-body'])
|
|
86
98
|
}, [step.position < _ctx.activeStep ? (openBlock(), createBlock(_component_CheckSvg, {
|
|
87
99
|
key: 0,
|
|
88
100
|
"class": "w-[18px]"
|
|
89
|
-
})) : (openBlock(), createElementBlock("span", _hoisted_3, toDisplayString(step.position), 1))], 2), createElementVNode("
|
|
90
|
-
"class": normalizeClass(["text-sm md:text-base", {
|
|
101
|
+
})) : (openBlock(), createElementBlock("span", _hoisted_3, toDisplayString(step.position), 1))], 2), createElementVNode("div", {
|
|
102
|
+
"class": normalizeClass(["m-0 md:leading-tight text-sm md:text-base", {
|
|
91
103
|
'font-bold': step.position === _ctx.activeStep,
|
|
92
|
-
'text-
|
|
104
|
+
'text-body': step.position > _ctx.activeStep
|
|
93
105
|
}])
|
|
94
106
|
}, toDisplayString(step.label), 3)], 2), step.position !== _ctx.steps.length ? (openBlock(), createElementBlock("div", _hoisted_4, [createElementVNode("div", _hoisted_5, [createElementVNode("div", {
|
|
95
107
|
"class": "bg-primary text-xs leading-none py-0.5 text-center rounded transition-all",
|