@frollo/frollo-web-ui 0.2.0 → 0.2.3
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 +283 -90
- package/esm/add-to-unscopables-82352072.js +239 -0
- package/esm/{es.array.includes-debcb50f.js → es.array.includes-33e186c4.js} +3 -2
- package/esm/{es.function.name-e746680f.js → es.function.name-3a9c8706.js} +1 -1
- package/esm/es.number.constructor-f646730f.js +243 -0
- package/esm/{function-name-f0c1223e.js → function-name-3bda6320.js} +1 -1
- package/esm/fw-animations.js +136 -0
- package/esm/{fw-button-ab906734.js → fw-button-22301a2f.js} +1 -1
- package/esm/fw-button.js +5 -4
- package/esm/fw-card.js +1 -1
- package/esm/fw-checkbox.js +2 -2
- package/esm/fw-input.js +5 -4
- package/esm/fw-modal.js +6 -5
- package/esm/fw-navigation-menu.js +5 -4
- package/esm/fw-progress-bar.js +90 -0
- package/esm/fw-tabs.js +5 -3
- package/esm/{index-963039a3.js → index-59d76908.js} +2 -2
- package/esm/index-dd50b12a.js +326 -0
- package/esm/index.js +20 -11
- package/esm/is-forced-3323c994.js +438 -0
- package/frollo-web-ui.esm.js +325 -107
- package/index.d.ts +126 -10
- package/package.json +1 -1
- package/types/components/fw-animations/fw-email-pulse.vue.d.ts +24 -0
- package/types/components/fw-animations/fw-success-pulse.vue.d.ts +24 -0
- package/types/components/fw-animations/index.d.ts +3 -0
- package/types/components/fw-progress-bar/fw-progress-bar.vue.d.ts +52 -0
- package/types/components/fw-progress-bar/index.d.ts +2 -0
- package/types/components/fw-progress-bar/index.types.d.ts +5 -0
- package/types/components/fw-tabs/fw-tab.vue.d.ts +11 -0
- package/types/components/fw-tabs/fw-tabs.vue.d.ts +1 -1
- package/types/components/index.d.ts +2 -0
- package/types/components/index.types.d.ts +1 -0
- package/esm/add-to-unscopables-81c17489.js +0 -673
- package/esm/index-0e14da44.js +0 -561
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$8 = vue.defineComponent({
|
|
4607
4607
|
name: 'FwInput',
|
|
4608
4608
|
emits: ['update:modelValue'],
|
|
4609
4609
|
components: {
|
|
@@ -4720,20 +4720,20 @@ if (DESCRIPTORS$1 && !FUNCTION_NAME_EXISTS) {
|
|
|
4720
4720
|
}
|
|
4721
4721
|
}
|
|
4722
4722
|
});
|
|
4723
|
-
}var _hoisted_1$
|
|
4723
|
+
}var _hoisted_1$9 = {
|
|
4724
4724
|
"class": "fw-input w-full"
|
|
4725
4725
|
};
|
|
4726
|
-
var _hoisted_2$
|
|
4726
|
+
var _hoisted_2$8 = {
|
|
4727
4727
|
"class": "flex flex-col"
|
|
4728
4728
|
};
|
|
4729
|
-
var _hoisted_3$
|
|
4729
|
+
var _hoisted_3$7 = {
|
|
4730
4730
|
"class": "flex flex-row justify-between"
|
|
4731
4731
|
};
|
|
4732
|
-
var _hoisted_4$
|
|
4733
|
-
var _hoisted_5$
|
|
4732
|
+
var _hoisted_4$7 = ["for"];
|
|
4733
|
+
var _hoisted_5$4 = {
|
|
4734
4734
|
key: 1
|
|
4735
4735
|
};
|
|
4736
|
-
var _hoisted_6$
|
|
4736
|
+
var _hoisted_6$4 = {
|
|
4737
4737
|
"class": "relative"
|
|
4738
4738
|
};
|
|
4739
4739
|
var _hoisted_7$3 = {
|
|
@@ -4768,10 +4768,10 @@ var _hoisted_13 = {
|
|
|
4768
4768
|
var _hoisted_14 = {
|
|
4769
4769
|
key: 1
|
|
4770
4770
|
};
|
|
4771
|
-
function render$
|
|
4771
|
+
function render$a(_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$9, [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,11 +4784,11 @@ function render$7(_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$8, [vue.createElementVNode("div", _hoisted_3$7, [_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", {
|
|
4788
4788
|
key: 0,
|
|
4789
4789
|
"for": _ctx.name,
|
|
4790
4790
|
"class": "block mb-2"
|
|
4791
|
-
}, vue.toDisplayString(_ctx.label), 9, _hoisted_4$
|
|
4791
|
+
}, vue.toDisplayString(_ctx.label), 9, _hoisted_4$7)) : vue.createCommentVNode("", true), _ctx.$slots.action ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$4, [vue.renderSlot(_ctx.$slots, "action")])) : vue.createCommentVNode("", true)]), vue.createElementVNode("div", _hoisted_6$4, [_ctx.$slots.prefix ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$3, [vue.renderSlot(_ctx.$slots, "prefix")])) : vue.createCommentVNode("", true), vue.createElementVNode("input", vue.mergeProps(field, {
|
|
4792
4792
|
placeholder: _ctx.placeholder,
|
|
4793
4793
|
type: _ctx.type,
|
|
4794
4794
|
readonly: _ctx.readonly,
|
|
@@ -4845,9 +4845,9 @@ function render$7(_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$6 = ".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$6 = ".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$6);script$8.render = render$a;var script$7 = vue.defineComponent({
|
|
4851
4851
|
name: 'FwCheckbox',
|
|
4852
4852
|
components: {
|
|
4853
4853
|
InputField: Field
|
|
@@ -4882,20 +4882,20 @@ styleInject(css_248z$4);script$7.render = render$7;var script$6 = vue.defineComp
|
|
|
4882
4882
|
type: String
|
|
4883
4883
|
}
|
|
4884
4884
|
}
|
|
4885
|
-
});var _withScopeId$
|
|
4885
|
+
});var _withScopeId$3 = function _withScopeId(n) {
|
|
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$8 = {
|
|
4890
4890
|
"class": "fw-checkbox w-full"
|
|
4891
4891
|
};
|
|
4892
|
-
var _hoisted_2$
|
|
4892
|
+
var _hoisted_2$7 = {
|
|
4893
4893
|
"class": "flex flex-col"
|
|
4894
4894
|
};
|
|
4895
|
-
var _hoisted_3$
|
|
4896
|
-
var _hoisted_4$
|
|
4897
|
-
var _hoisted_5$
|
|
4898
|
-
var _hoisted_6$
|
|
4895
|
+
var _hoisted_3$6 = ["for"];
|
|
4896
|
+
var _hoisted_4$6 = ["value", "name"];
|
|
4897
|
+
var _hoisted_5$3 = ["innerHTML"];
|
|
4898
|
+
var _hoisted_6$3 = {
|
|
4899
4899
|
"class": "italic text-sm font-medium min-h-[21px]"
|
|
4900
4900
|
};
|
|
4901
4901
|
var _hoisted_7$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$9(_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$8, [vue.createVNode(_component_InputField, {
|
|
4912
4912
|
name: _ctx.name,
|
|
4913
4913
|
value: _ctx.name,
|
|
4914
4914
|
type: "checkbox",
|
|
@@ -4919,7 +4919,7 @@ function render$6(_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$7, [_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"
|
|
@@ -4928,10 +4928,10 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4928
4928
|
name: _ctx.name,
|
|
4929
4929
|
type: "checkbox",
|
|
4930
4930
|
"class": "text-primary w-6 h-6 cursor-pointer bg-white border-grey-light border rounded"
|
|
4931
|
-
}), null, 16, _hoisted_4$
|
|
4931
|
+
}), null, 16, _hoisted_4$6), vue.createElementVNode("span", {
|
|
4932
4932
|
"class": "ml-2",
|
|
4933
4933
|
innerHTML: _ctx.label
|
|
4934
|
-
}, null, 8, _hoisted_5$
|
|
4934
|
+
}, null, 8, _hoisted_5$3)], 8, _hoisted_3$6)) : vue.createCommentVNode("", true), vue.createElementVNode("div", _hoisted_6$3, [vue.createVNode(vue.Transition, {
|
|
4935
4935
|
name: "fwFadeIn",
|
|
4936
4936
|
mode: "out-in"
|
|
4937
4937
|
}, {
|
|
@@ -4943,10 +4943,10 @@ function render$6(_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$5 = ".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$5 = ".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$5);script$7.render = render$9;
|
|
4949
|
+
script$7.__scopeId = "data-v-7423717e";var script$6 = vue.defineComponent({
|
|
4950
4950
|
name: 'FwCard',
|
|
4951
4951
|
props: {
|
|
4952
4952
|
/**
|
|
@@ -4988,34 +4988,34 @@ script$6.__scopeId = "data-v-7423717e";var script$5 = vue.defineComponent({
|
|
|
4988
4988
|
linkClass: linkClass
|
|
4989
4989
|
};
|
|
4990
4990
|
}
|
|
4991
|
-
});var _hoisted_1$
|
|
4991
|
+
});var _hoisted_1$7 = {
|
|
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$6 = {
|
|
4996
4996
|
key: 0,
|
|
4997
4997
|
"class": "fw-card--prefix-title text-primary"
|
|
4998
4998
|
};
|
|
4999
|
-
var _hoisted_3$
|
|
4999
|
+
var _hoisted_3$5 = {
|
|
5000
5000
|
key: 1
|
|
5001
5001
|
};
|
|
5002
|
-
var _hoisted_4$
|
|
5002
|
+
var _hoisted_4$5 = {
|
|
5003
5003
|
key: 1,
|
|
5004
5004
|
"class": "p-8"
|
|
5005
5005
|
};
|
|
5006
|
-
function render$
|
|
5006
|
+
function render$8(_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,
|
|
5010
5010
|
tabindex: _ctx.to ? 0 : null,
|
|
5011
|
-
"class": vue.normalizeClass(["fw-card shadow-card rounded-lg", _ctx.to || _ctx.href ? _ctx.linkClass : ''])
|
|
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$7, [_ctx.prefixTitle ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$6, vue.toDisplayString(_ctx.prefixTitle), 1)) : vue.createCommentVNode("", true), _ctx.title ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$5, 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$6.render = render$8;var script$5 = vue.defineComponent({
|
|
5019
5019
|
name: 'FwButton',
|
|
5020
5020
|
emits: ['click', 'mouseover', 'mouseout', 'focusin', 'focusout'],
|
|
5021
5021
|
props: {
|
|
@@ -5188,7 +5188,7 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5188
5188
|
tagName: tagName
|
|
5189
5189
|
};
|
|
5190
5190
|
}
|
|
5191
|
-
});function render$
|
|
5191
|
+
});function render$7(_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$5(_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$4 = ".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$4 = ".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$4);script$5.render = render$7;var script$4 = vue.defineComponent({
|
|
5212
5212
|
name: 'FwNavigationMenu',
|
|
5213
5213
|
emits: ['action'],
|
|
5214
5214
|
components: {
|
|
5215
|
-
FwButton: script$
|
|
5215
|
+
FwButton: script$5
|
|
5216
5216
|
},
|
|
5217
5217
|
props: {
|
|
5218
5218
|
/**
|
|
@@ -5251,24 +5251,24 @@ styleInject(css_248z$2);script$4.render = render$4;var script$3 = vue.defineComp
|
|
|
5251
5251
|
actionClicked: actionClicked
|
|
5252
5252
|
};
|
|
5253
5253
|
}
|
|
5254
|
-
});var _hoisted_1$
|
|
5254
|
+
});var _hoisted_1$6 = {
|
|
5255
5255
|
"class": "fw-nav-menu relative z-50 h-20 shadow-md"
|
|
5256
5256
|
};
|
|
5257
|
-
var _hoisted_2$
|
|
5257
|
+
var _hoisted_2$5 = {
|
|
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$4 = {
|
|
5261
5261
|
key: 0,
|
|
5262
5262
|
"class": "flex-shrink-0 flex items-center"
|
|
5263
5263
|
};
|
|
5264
|
-
var _hoisted_4$
|
|
5264
|
+
var _hoisted_4$4 = {
|
|
5265
5265
|
key: 1,
|
|
5266
5266
|
"class": "container hidden sm:flex items-center justify-start sm:ml-6"
|
|
5267
5267
|
};
|
|
5268
|
-
var _hoisted_5$
|
|
5268
|
+
var _hoisted_5$2 = {
|
|
5269
5269
|
"class": "flex space-x-2"
|
|
5270
5270
|
};
|
|
5271
|
-
var _hoisted_6$
|
|
5271
|
+
var _hoisted_6$2 = {
|
|
5272
5272
|
key: 2,
|
|
5273
5273
|
"class": "hidden sm:flex items-center justify-start sm:ml-6"
|
|
5274
5274
|
};
|
|
@@ -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$6(_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$6, [vue.createElementVNode("div", _hoisted_2$5, [_ctx.$slots.logo ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$4, [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",
|
|
@@ -5311,7 +5311,7 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5311
5311
|
}),
|
|
5312
5312
|
_: 2
|
|
5313
5313
|
}, 1032, ["href", "to"]);
|
|
5314
|
-
}), 128))])])) : vue.createCommentVNode("", true), _ctx.actionLabel ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$
|
|
5314
|
+
}), 128))])])) : vue.createCommentVNode("", true), _ctx.actionLabel ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$2, [vue.createVNode(_component_FwButton, {
|
|
5315
5315
|
onClick: _ctx.actionClicked,
|
|
5316
5316
|
size: "md",
|
|
5317
5317
|
"aria-label": _ctx.actionLabel
|
|
@@ -5369,9 +5369,9 @@ function render$3(_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$3 = ".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$3 = ".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$3);script$4.render = render$6;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$3 = vue.defineComponent({
|
|
5557
5557
|
name: 'FwTabs',
|
|
5558
5558
|
emits: ['update:modelValue'],
|
|
5559
5559
|
props: {
|
|
@@ -5569,7 +5569,8 @@ if (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumb
|
|
|
5569
5569
|
var active = vue.computed(function () {
|
|
5570
5570
|
return props.modelValue;
|
|
5571
5571
|
});
|
|
5572
|
-
var tabs = vue.ref(
|
|
5572
|
+
var tabs = vue.ref();
|
|
5573
|
+
tabs.value = [];
|
|
5573
5574
|
|
|
5574
5575
|
var selectTab = function selectTab(tab) {
|
|
5575
5576
|
ctx.emit('update:modelValue', tab);
|
|
@@ -5585,16 +5586,16 @@ if (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumb
|
|
|
5585
5586
|
selectTab: selectTab
|
|
5586
5587
|
};
|
|
5587
5588
|
}
|
|
5588
|
-
});var _hoisted_1$
|
|
5589
|
+
});var _hoisted_1$5 = {
|
|
5589
5590
|
"class": "fw-tabs"
|
|
5590
5591
|
};
|
|
5591
|
-
var _hoisted_2$
|
|
5592
|
+
var _hoisted_2$4 = {
|
|
5592
5593
|
key: 0,
|
|
5593
5594
|
"class": "flex flex-wrap -mb-px border-b border-grey-light dark:text-grey-base dark:border-grey-base"
|
|
5594
5595
|
};
|
|
5595
|
-
var _hoisted_3$
|
|
5596
|
-
function render$
|
|
5597
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
5596
|
+
var _hoisted_3$3 = ["onClick"];
|
|
5597
|
+
function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5598
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$5, [_ctx.tabs ? (vue.openBlock(), vue.createElementBlock("ul", _hoisted_2$4, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.tabs, function (tab, i) {
|
|
5598
5599
|
return vue.openBlock(), vue.createElementBlock("li", {
|
|
5599
5600
|
"class": "mr-2",
|
|
5600
5601
|
key: i
|
|
@@ -5604,9 +5605,9 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5604
5605
|
return _ctx.selectTab(i);
|
|
5605
5606
|
},
|
|
5606
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'])
|
|
5607
|
-
}, vue.toDisplayString(tab.props.label), 11, _hoisted_3$
|
|
5608
|
+
}, vue.toDisplayString(tab.props.label), 11, _hoisted_3$3)]);
|
|
5608
5609
|
}), 128))])) : vue.createCommentVNode("", true), vue.renderSlot(_ctx.$slots, "default")]);
|
|
5609
|
-
}script$
|
|
5610
|
+
}script$3.render = render$5;var es_array_findIndex = {};'use strict';
|
|
5610
5611
|
var $$2 = _export;
|
|
5611
5612
|
var $findIndex = arrayIteration.findIndex;
|
|
5612
5613
|
var addToUnscopables = addToUnscopables$2;
|
|
@@ -5626,7 +5627,7 @@ $$2({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
|
|
|
5626
5627
|
});
|
|
5627
5628
|
|
|
5628
5629
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
5629
|
-
addToUnscopables(FIND_INDEX);var script$
|
|
5630
|
+
addToUnscopables(FIND_INDEX);var script$2 = vue.defineComponent({
|
|
5630
5631
|
name: 'FwTab',
|
|
5631
5632
|
props: {
|
|
5632
5633
|
/**
|
|
@@ -5637,7 +5638,7 @@ addToUnscopables(FIND_INDEX);var script$1 = vue.defineComponent({
|
|
|
5637
5638
|
required: true
|
|
5638
5639
|
}
|
|
5639
5640
|
},
|
|
5640
|
-
setup: function setup() {
|
|
5641
|
+
setup: function setup(props) {
|
|
5641
5642
|
var instance = vue.getCurrentInstance();
|
|
5642
5643
|
|
|
5643
5644
|
var _ref = vue.inject('tabsState') || {
|
|
@@ -5664,16 +5665,17 @@ addToUnscopables(FIND_INDEX);var script$1 = vue.defineComponent({
|
|
|
5664
5665
|
});
|
|
5665
5666
|
return {
|
|
5666
5667
|
isActive: isActive,
|
|
5667
|
-
index: index
|
|
5668
|
+
index: index,
|
|
5669
|
+
props: props
|
|
5668
5670
|
};
|
|
5669
5671
|
}
|
|
5670
|
-
});var _hoisted_1$
|
|
5672
|
+
});var _hoisted_1$4 = {
|
|
5671
5673
|
key: 0,
|
|
5672
5674
|
"class": "fw-tab w-full"
|
|
5673
5675
|
};
|
|
5674
|
-
function render$
|
|
5675
|
-
return _ctx.isActive ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
5676
|
-
}script$
|
|
5676
|
+
function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5677
|
+
return _ctx.isActive ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$4, [vue.renderSlot(_ctx.$slots, "default")])) : vue.createCommentVNode("", true);
|
|
5678
|
+
}script$2.render = render$4;/** Detect free variable `global` from Node.js. */
|
|
5677
5679
|
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;/** Detect free variable `self`. */
|
|
5678
5680
|
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
|
5679
5681
|
|
|
@@ -5925,10 +5927,10 @@ var idCounter = 0;
|
|
|
5925
5927
|
function uniqueId(prefix) {
|
|
5926
5928
|
var id = ++idCounter;
|
|
5927
5929
|
return toString(prefix) + id;
|
|
5928
|
-
}var script = vue.defineComponent({
|
|
5930
|
+
}var script$1 = vue.defineComponent({
|
|
5929
5931
|
name: 'FwModal',
|
|
5930
5932
|
components: {
|
|
5931
|
-
FwButton: script$
|
|
5933
|
+
FwButton: script$5
|
|
5932
5934
|
},
|
|
5933
5935
|
emits: ['cancel', 'confirm'],
|
|
5934
5936
|
props: {
|
|
@@ -6014,25 +6016,25 @@ function uniqueId(prefix) {
|
|
|
6014
6016
|
uuid: uuid
|
|
6015
6017
|
};
|
|
6016
6018
|
}
|
|
6017
|
-
});var _withScopeId = function _withScopeId(n) {
|
|
6019
|
+
});var _withScopeId$2 = function _withScopeId(n) {
|
|
6018
6020
|
return vue.pushScopeId("data-v-003a6fba"), n = n(), vue.popScopeId(), n;
|
|
6019
6021
|
};
|
|
6020
6022
|
|
|
6021
|
-
var _hoisted_1 = {
|
|
6023
|
+
var _hoisted_1$3 = {
|
|
6022
6024
|
"class": "fw-modal"
|
|
6023
6025
|
};
|
|
6024
|
-
var _hoisted_2 = {
|
|
6026
|
+
var _hoisted_2$3 = {
|
|
6025
6027
|
"class": "fw-modal--mask fixed z-[9999] top-0 left-0 w-full h-full bg-black bg-opacity-50"
|
|
6026
6028
|
};
|
|
6027
|
-
var _hoisted_3 = {
|
|
6029
|
+
var _hoisted_3$2 = {
|
|
6028
6030
|
"class": "fw-modal--wrapper text-center overflow-auto flex justify-center items-center h-full"
|
|
6029
6031
|
};
|
|
6030
|
-
var _hoisted_4 = ["role", "aria-labelledby", "aria-describedby"];
|
|
6031
|
-
var _hoisted_5 = {
|
|
6032
|
+
var _hoisted_4$3 = ["role", "aria-labelledby", "aria-describedby"];
|
|
6033
|
+
var _hoisted_5$1 = {
|
|
6032
6034
|
key: 0,
|
|
6033
6035
|
"class": "fw-modal--header text-center"
|
|
6034
6036
|
};
|
|
6035
|
-
var _hoisted_6 = {
|
|
6037
|
+
var _hoisted_6$1 = {
|
|
6036
6038
|
key: 0,
|
|
6037
6039
|
id: "modal-logo",
|
|
6038
6040
|
"class": "flex justify-center"
|
|
@@ -6045,7 +6047,7 @@ var _hoisted_11 = {
|
|
|
6045
6047
|
key: 3,
|
|
6046
6048
|
"class": "modal-footer flex space-x-4 pt-4 justify-center"
|
|
6047
6049
|
};
|
|
6048
|
-
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6050
|
+
function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6049
6051
|
var _component_FwButton = vue.resolveComponent("FwButton");
|
|
6050
6052
|
|
|
6051
6053
|
return vue.openBlock(), vue.createBlock(vue.Transition, {
|
|
@@ -6053,13 +6055,13 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6053
6055
|
appear: ""
|
|
6054
6056
|
}, {
|
|
6055
6057
|
"default": vue.withCtx(function () {
|
|
6056
|
-
return [vue.createElementVNode("div", _hoisted_1, [vue.createElementVNode("div", _hoisted_2, [vue.createElementVNode("div", _hoisted_3, [vue.createElementVNode("div", {
|
|
6058
|
+
return [vue.createElementVNode("div", _hoisted_1$3, [vue.createElementVNode("div", _hoisted_2$3, [vue.createElementVNode("div", _hoisted_3$2, [vue.createElementVNode("div", {
|
|
6057
6059
|
role: _ctx.role,
|
|
6058
6060
|
"aria-modal": "true",
|
|
6059
6061
|
"class": "fw-modal--container p-12 m-8 inline-block w-full max-w-[540px] bg-white rounded-2xl shadow",
|
|
6060
6062
|
"aria-labelledby": _ctx.$slots.header || _ctx.header ? "modal_".concat(_ctx.uuid, "_header") : undefined,
|
|
6061
6063
|
"aria-describedby": _ctx.$slots.body ? "modal_".concat(_ctx.uuid, "_body") : undefined
|
|
6062
|
-
}, [_ctx.$slots.icon || _ctx.$slots.header || _ctx.header ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [_ctx.$slots.icon ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, [vue.renderSlot(_ctx.$slots, "icon")])) : vue.createCommentVNode("", true), _ctx.$slots.header ? (vue.openBlock(), vue.createElementBlock("h2", {
|
|
6064
|
+
}, [_ctx.$slots.icon || _ctx.$slots.header || _ctx.header ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$1, [_ctx.$slots.icon ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$1, [vue.renderSlot(_ctx.$slots, "icon")])) : vue.createCommentVNode("", true), _ctx.$slots.header ? (vue.openBlock(), vue.createElementBlock("h2", {
|
|
6063
6065
|
key: 1,
|
|
6064
6066
|
id: "modal_".concat(_ctx.uuid, "_header")
|
|
6065
6067
|
}, [vue.renderSlot(_ctx.$slots, "header")], 8, _hoisted_7)) : _ctx.header ? (vue.openBlock(), vue.createElementBlock("h2", {
|
|
@@ -6101,15 +6103,206 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6101
6103
|
return [vue.createTextVNode(vue.toDisplayString(_ctx.confirmButtonText), 1)];
|
|
6102
6104
|
}),
|
|
6103
6105
|
_: 1
|
|
6104
|
-
}, 8, ["variant", "aria-label"])) : vue.createCommentVNode("", true)])) : vue.createCommentVNode("", true)], 8, _hoisted_4)])])])];
|
|
6106
|
+
}, 8, ["variant", "aria-label"])) : vue.createCommentVNode("", true)])) : vue.createCommentVNode("", true)], 8, _hoisted_4$3)])])])];
|
|
6105
6107
|
}),
|
|
6106
6108
|
_: 3
|
|
6107
6109
|
});
|
|
6108
|
-
}var css_248z = ".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}}";
|
|
6109
|
-
var stylesheet = ".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}}";
|
|
6110
|
-
styleInject(css_248z);script.render = render;
|
|
6111
|
-
script.__scopeId = "data-v-003a6fba"
|
|
6112
|
-
|
|
6110
|
+
}var css_248z$2 = ".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$2 = ".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$2);script$1.render = render$3;
|
|
6113
|
+
script$1.__scopeId = "data-v-003a6fba";var script = vue.defineComponent({
|
|
6114
|
+
name: 'FwProgressBar',
|
|
6115
|
+
props: {
|
|
6116
|
+
/**
|
|
6117
|
+
* An array of menu progress steps.
|
|
6118
|
+
* `{ label: string; position: number; subSteps: number; }`
|
|
6119
|
+
*/
|
|
6120
|
+
steps: {
|
|
6121
|
+
type: Array,
|
|
6122
|
+
required: true
|
|
6123
|
+
},
|
|
6124
|
+
|
|
6125
|
+
/**
|
|
6126
|
+
* An current active step.
|
|
6127
|
+
*/
|
|
6128
|
+
activeStep: {
|
|
6129
|
+
type: Number,
|
|
6130
|
+
required: true
|
|
6131
|
+
},
|
|
6132
|
+
|
|
6133
|
+
/**
|
|
6134
|
+
* An current active sub-step.
|
|
6135
|
+
*/
|
|
6136
|
+
activeSubStep: {
|
|
6137
|
+
type: Number,
|
|
6138
|
+
required: true
|
|
6139
|
+
}
|
|
6140
|
+
},
|
|
6141
|
+
setup: function setup(props) {
|
|
6142
|
+
var calculatedProgressBar = function calculatedProgressBar(step) {
|
|
6143
|
+
var numOfSubSteps = step.subSteps;
|
|
6144
|
+
var equalPercentageWidths = 100 / numOfSubSteps;
|
|
6145
|
+
|
|
6146
|
+
if (props.activeStep === step.position && props.activeSubStep) {
|
|
6147
|
+
var width = equalPercentageWidths * props.activeSubStep;
|
|
6148
|
+
return "width: ".concat(width, "%");
|
|
6149
|
+
}
|
|
6150
|
+
|
|
6151
|
+
return 'width: 0%;';
|
|
6152
|
+
};
|
|
6153
|
+
|
|
6154
|
+
return {
|
|
6155
|
+
calculatedProgressBar: calculatedProgressBar
|
|
6156
|
+
};
|
|
6157
|
+
}
|
|
6158
|
+
});var _hoisted_1$2 = {
|
|
6159
|
+
"class": "fw-progress-bar w-full mx-auto my-4"
|
|
6160
|
+
};
|
|
6161
|
+
var _hoisted_2$2 = {
|
|
6162
|
+
"class": "flex pb-3"
|
|
6163
|
+
};
|
|
6164
|
+
var _hoisted_3$1 = {
|
|
6165
|
+
"class": "text-white text-center w-full"
|
|
6166
|
+
};
|
|
6167
|
+
var _hoisted_4$2 = {
|
|
6168
|
+
"class": "text-sm md:text-base"
|
|
6169
|
+
};
|
|
6170
|
+
var _hoisted_5 = {
|
|
6171
|
+
key: 0,
|
|
6172
|
+
"class": "w-full flex items-start mt-[13px] mx-[-15px]"
|
|
6173
|
+
};
|
|
6174
|
+
var _hoisted_6 = {
|
|
6175
|
+
"class": "w-full bg-grey-light rounded flex-1"
|
|
6176
|
+
};
|
|
6177
|
+
function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6178
|
+
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) {
|
|
6179
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
6180
|
+
"class": vue.normalizeClass(["flex", step.position !== _ctx.steps.length ? 'flex-1' : 'w-[70px] md:w-[96px]']),
|
|
6181
|
+
key: step.position
|
|
6182
|
+
}, [vue.createElementVNode("div", {
|
|
6183
|
+
"class": vue.normalizeClass(["text-center", step.position !== _ctx.steps.length ? 'min-w-[70px] w-[70px] md:min-w-[96px] md:w-[96px]' : 'w-full'])
|
|
6184
|
+
}, [vue.createElementVNode("div", {
|
|
6185
|
+
"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' : 'bg-grey-light'])
|
|
6186
|
+
}, [vue.createElementVNode("span", _hoisted_3$1, vue.toDisplayString(step.position), 1)], 2), vue.createElementVNode("span", _hoisted_4$2, vue.toDisplayString(step.label), 1)], 2), step.position !== _ctx.steps.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [vue.createElementVNode("div", _hoisted_6, [vue.createElementVNode("div", {
|
|
6187
|
+
"class": "bg-primary text-xs leading-none py-0.5 text-center text-grey-darkest rounded transition-all",
|
|
6188
|
+
style: vue.normalizeStyle(step.position < _ctx.activeStep ? 'width:100%;' : _ctx.calculatedProgressBar(step))
|
|
6189
|
+
}, null, 4)])])) : vue.createCommentVNode("", true)], 2);
|
|
6190
|
+
}), 128))])]);
|
|
6191
|
+
}script.render = render$2;var __default__$1 = vue.defineComponent({
|
|
6192
|
+
name: 'FwEmailPulse',
|
|
6193
|
+
props: {
|
|
6194
|
+
/**
|
|
6195
|
+
* The animation-iteration-count CSS property of the pulse animation.
|
|
6196
|
+
* Sets the number of times an animation sequence should be played before stopping.
|
|
6197
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/animation-iteration-count
|
|
6198
|
+
*/
|
|
6199
|
+
animationIteration: {
|
|
6200
|
+
type: [String, Number],
|
|
6201
|
+
"default": 5
|
|
6202
|
+
}
|
|
6203
|
+
}
|
|
6204
|
+
});
|
|
6205
|
+
|
|
6206
|
+
var __injectCSSVars__$1 = function __injectCSSVars__() {
|
|
6207
|
+
vue.useCssVars(function (_ctx) {
|
|
6208
|
+
return {
|
|
6209
|
+
"7fb9ba3d": _ctx.animationIteration
|
|
6210
|
+
};
|
|
6211
|
+
});
|
|
6212
|
+
};
|
|
6213
|
+
|
|
6214
|
+
var __setup__$1 = __default__$1.setup;
|
|
6215
|
+
__default__$1.setup = __setup__$1 ? function (props, ctx) {
|
|
6216
|
+
__injectCSSVars__$1();
|
|
6217
|
+
|
|
6218
|
+
return __setup__$1(props, ctx);
|
|
6219
|
+
} : __injectCSSVars__$1;var _withScopeId$1 = function _withScopeId(n) {
|
|
6220
|
+
return vue.pushScopeId("data-v-62714d9a"), n = n(), vue.popScopeId(), n;
|
|
6221
|
+
};
|
|
6222
|
+
|
|
6223
|
+
var _hoisted_1$1 = {
|
|
6224
|
+
"class": "fw-email-pulse justify-center mx-auto"
|
|
6225
|
+
};
|
|
6226
|
+
|
|
6227
|
+
var _hoisted_2$1 = /*#__PURE__*/_withScopeId$1(function () {
|
|
6228
|
+
return /*#__PURE__*/vue.createElementVNode("svg", {
|
|
6229
|
+
width: "102",
|
|
6230
|
+
height: "102",
|
|
6231
|
+
viewBox: "0 0 102 102",
|
|
6232
|
+
fill: "none",
|
|
6233
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
6234
|
+
}, [/*#__PURE__*/vue.createElementVNode("path", {
|
|
6235
|
+
"class": "fill-primary",
|
|
6236
|
+
"fill-rule": "evenodd",
|
|
6237
|
+
"clip-rule": "evenodd",
|
|
6238
|
+
d: "M51 102C79.1665 102 102 79.1665 102 51C102 22.8335 79.1665 0 51 0C22.8335 0 0 22.8335 0 51C0 79.1665 22.8335 102 51 102ZM27 39C27 35.6859 29.6859 33 33 33H69C72.3094 33 75 35.6859 75 39V63C75 66.3141 72.3141 69 69 69H33C29.6859 69 27 66.3141 27 63V39ZM72 39C72 37.3462 70.6537 36 69 36H33C31.3463 36 30 37.35 30 39V42.375L48.2972 56.1009C49.8909 57.2934 52.1062 57.2934 53.7 56.1009L72 42.3759V39ZM69 66C70.6537 66 72 64.6537 72 63V46.0406L55.5 58.5C54.1781 59.4938 52.5881 60.0019 51 60.0019C49.4119 60.0019 47.8237 59.4947 46.5 58.5L30 46.0406V63C30 64.6537 31.3463 66 33 66H69Z"
|
|
6239
|
+
})], -1);
|
|
6240
|
+
});
|
|
6241
|
+
|
|
6242
|
+
var _hoisted_3 = /*#__PURE__*/_withScopeId$1(function () {
|
|
6243
|
+
return /*#__PURE__*/vue.createElementVNode("svg", {
|
|
6244
|
+
"class": "absolute top-0 left-0",
|
|
6245
|
+
viewBox: "0 0 130 130"
|
|
6246
|
+
}, [/*#__PURE__*/vue.createElementVNode("circle", {
|
|
6247
|
+
"class": "fw-email-pulse-circle",
|
|
6248
|
+
cx: "50%",
|
|
6249
|
+
cy: "50%",
|
|
6250
|
+
r: "45"
|
|
6251
|
+
})], -1);
|
|
6252
|
+
});
|
|
6253
|
+
|
|
6254
|
+
var _hoisted_4$1 = [_hoisted_2$1, _hoisted_3];
|
|
6255
|
+
function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6256
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1, _hoisted_4$1);
|
|
6257
|
+
}var css_248z$1 = ".fw-email-pulse[data-v-62714d9a]{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;height:130px;position:relative;width:130px}.fw-email-pulse-circle[data-v-62714d9a]{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(--7fb9ba3d);animation-iteration-count:var(--7fb9ba3d);-webkit-animation-name:fwEmailPulse-62714d9a;animation-name:fwEmailPulse-62714d9a;-webkit-transform-origin:50% 50%;-ms-transform-origin:50% 50%;transform-origin:50% 50%}@-webkit-keyframes fwEmailPulse-62714d9a{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 fwEmailPulse-62714d9a{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)}}";
|
|
6258
|
+
var stylesheet$1 = ".fw-email-pulse[data-v-62714d9a]{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;height:130px;position:relative;width:130px}.fw-email-pulse-circle[data-v-62714d9a]{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(--7fb9ba3d);animation-iteration-count:var(--7fb9ba3d);-webkit-animation-name:fwEmailPulse-62714d9a;animation-name:fwEmailPulse-62714d9a;-webkit-transform-origin:50% 50%;-ms-transform-origin:50% 50%;transform-origin:50% 50%}@-webkit-keyframes fwEmailPulse-62714d9a{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 fwEmailPulse-62714d9a{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)}}";
|
|
6259
|
+
styleInject(css_248z$1);__default__$1.render = render$1;
|
|
6260
|
+
__default__$1.__scopeId = "data-v-62714d9a";var __default__ = vue.defineComponent({
|
|
6261
|
+
name: 'FwSuccessPulse',
|
|
6262
|
+
props: {
|
|
6263
|
+
/**
|
|
6264
|
+
* The animation-iteration-count CSS property of the pulse animation.
|
|
6265
|
+
* Sets the number of times an animation sequence should be played before stopping.
|
|
6266
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/animation-iteration-count
|
|
6267
|
+
*/
|
|
6268
|
+
animationIteration: {
|
|
6269
|
+
type: [String, Number],
|
|
6270
|
+
"default": 2
|
|
6271
|
+
}
|
|
6272
|
+
}
|
|
6273
|
+
});
|
|
6274
|
+
|
|
6275
|
+
var __injectCSSVars__ = function __injectCSSVars__() {
|
|
6276
|
+
vue.useCssVars(function (_ctx) {
|
|
6277
|
+
return {
|
|
6278
|
+
"22e0894f": _ctx.animationIteration
|
|
6279
|
+
};
|
|
6280
|
+
});
|
|
6281
|
+
};
|
|
6282
|
+
|
|
6283
|
+
var __setup__ = __default__.setup;
|
|
6284
|
+
__default__.setup = __setup__ ? function (props, ctx) {
|
|
6285
|
+
__injectCSSVars__();
|
|
6286
|
+
|
|
6287
|
+
return __setup__(props, ctx);
|
|
6288
|
+
} : __injectCSSVars__;var _withScopeId = function _withScopeId(n) {
|
|
6289
|
+
return vue.pushScopeId("data-v-c32112d4"), n = n(), vue.popScopeId(), n;
|
|
6290
|
+
};
|
|
6291
|
+
|
|
6292
|
+
var _hoisted_1 = {
|
|
6293
|
+
"class": "fw-success-pulse"
|
|
6294
|
+
};
|
|
6295
|
+
|
|
6296
|
+
var _hoisted_2 = /*#__PURE__*/vue.createStaticVNode("<svg class=\"fw-success-pulse--checkmark\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 52 52\" data-v-c32112d4><circle class=\"fw-success-pulse--checkmark__circle\" cx=\"26\" cy=\"26\" r=\"25\" fill=\"none\" data-v-c32112d4></circle><path class=\"fw-success-pulse--checkmark__check\" fill=\"none\" d=\"M14.1 27.2l7.1 7.2 16.7-16.8\" data-v-c32112d4></path></svg><svg class=\"absolute top-0 left-0\" viewBox=\"0 0 100 100\" data-v-c32112d4><circle class=\"fw-success-pulse--circle\" cx=\"50%\" cy=\"50%\" r=\"34\" data-v-c32112d4></circle></svg>", 2);
|
|
6297
|
+
|
|
6298
|
+
var _hoisted_4 = [_hoisted_2];
|
|
6299
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6300
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, _hoisted_4);
|
|
6301
|
+
}var css_248z = ".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)}}";
|
|
6302
|
+
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)}}";
|
|
6303
|
+
styleInject(css_248z);__default__.render = render;
|
|
6304
|
+
__default__.__scopeId = "data-v-c32112d4";// Form components
|
|
6305
|
+
var Components=/*#__PURE__*/Object.freeze({__proto__:null,FwForm:Form,FwInput:script$8,FwCheckbox:script$7,FwCard:script$6,FwButton:script$5,FwNavigationMenu:script$4,FwTabs:script$3,FwTab:script$2,FwModal:script$1,FwProgressBar:script,FwEmailPulse:__default__$1,FwSuccessPulse:__default__});function _defineProperty(obj, key, value) {
|
|
6113
6306
|
if (key in obj) {
|
|
6114
6307
|
Object.defineProperty(obj, key, {
|
|
6115
6308
|
value: value,
|
|
@@ -6217,7 +6410,7 @@ $({ global: true, bind: true, forced: global$1.setTimeout !== setTimeout$1 }, {
|
|
|
6217
6410
|
var open = function open() {
|
|
6218
6411
|
var _modalVNode;
|
|
6219
6412
|
|
|
6220
|
-
modalVNode = vue.createApp(script, _objectSpread2({}, options));
|
|
6413
|
+
modalVNode = vue.createApp(script$1, _objectSpread2({}, options));
|
|
6221
6414
|
elAppend === null || elAppend === void 0 ? void 0 : elAppend.appendChild(elementToMount);
|
|
6222
6415
|
(_modalVNode = modalVNode) === null || _modalVNode === void 0 ? void 0 : _modalVNode.mount(elementToMount);
|
|
6223
6416
|
};
|