@frollo/frollo-web-ui 8.4.2 → 8.4.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 +45 -20
- package/esm/{fw-button-LhSQ6Fx_.js → fw-button-NJeYig99.js} +25 -5
- package/esm/fw-button.js +1 -1
- package/esm/fw-drawer.js +1 -1
- package/esm/fw-media-picker.js +1 -1
- package/esm/fw-modal.js +1 -1
- package/esm/fw-navigation-menu.js +1 -1
- package/esm/fw-period-selector.js +15 -10
- package/esm/fw-provider-list.js +3 -3
- package/esm/fw-sidebar-menu.js +1 -1
- package/esm/{fw-table-row-suFSeIN3.js → fw-table-row-D2KYRG5K.js} +1 -1
- package/esm/fw-table.js +2 -2
- package/esm/{fw-tag-CziUTbtg.js → fw-tag-D-U6RKuG.js} +1 -1
- package/esm/fw-tag.js +2 -2
- package/esm/index.js +3 -3
- package/frollo-web-ui.esm.js +44 -19
- package/index.d.ts +42 -1
- package/package.json +1 -1
- package/styles/tailwind.scss +3 -0
- package/tailwind.config.js +4 -0
- package/types/components/fw-button/fw-button.vue.d.ts +30 -0
- package/types/components/fw-button/index.types.d.ts +3 -1
- package/types/components/fw-period-selector/fw-period-selector.vue.d.ts +9 -0
- package/web-components/index.js +46 -21
package/cjs/index.js
CHANGED
|
@@ -8469,6 +8469,20 @@ function render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8469
8469
|
*/
|
|
8470
8470
|
external: {
|
|
8471
8471
|
type: Boolean
|
|
8472
|
+
},
|
|
8473
|
+
/**
|
|
8474
|
+
* Whether the button is disabled or not
|
|
8475
|
+
*/
|
|
8476
|
+
disabled: {
|
|
8477
|
+
type: Boolean,
|
|
8478
|
+
"default": false
|
|
8479
|
+
},
|
|
8480
|
+
/**
|
|
8481
|
+
* Whether the button is preselected or not
|
|
8482
|
+
*/
|
|
8483
|
+
active: {
|
|
8484
|
+
type: Boolean,
|
|
8485
|
+
"default": false
|
|
8472
8486
|
}
|
|
8473
8487
|
},
|
|
8474
8488
|
setup: function setup(props, ctx) {
|
|
@@ -8513,6 +8527,11 @@ function render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8513
8527
|
text: 'text-grey-base hover:text-primary active:text-primary',
|
|
8514
8528
|
background: 'bg-none hover:bg-white focus:bg-white active:bg-white',
|
|
8515
8529
|
border: 'border-transparent focus-visible:ring-1 focus-visible:ring-primary'
|
|
8530
|
+
},
|
|
8531
|
+
disabled: {
|
|
8532
|
+
text: 'text-white',
|
|
8533
|
+
background: 'bg-grey-base bg-opacity-60',
|
|
8534
|
+
border: ''
|
|
8516
8535
|
}
|
|
8517
8536
|
});
|
|
8518
8537
|
var sizes = vue.ref({
|
|
@@ -8601,13 +8620,14 @@ function render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8601
8620
|
function render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8602
8621
|
var _component_FwLoadingSpinner = vue.resolveComponent("FwLoadingSpinner");
|
|
8603
8622
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tagName), {
|
|
8604
|
-
"class": vue.normalizeClass(["fw-button", [_ctx.baseClass, _ctx.textColorClass, _ctx.bgColorClass, _ctx.sizeClass, _ctx.borderClass, _ctx.rounded && _ctx.variant !== 'link' ? 'rounded-full' : 'rounded', _ctx.variant === 'link' ? 'pl-0 pr-0 pt-0 pb-0 font-normal rounded-1' : 'font-semibold', _ctx.animation === 'fade' ? 'animation--fade' : 'animation--alternate', _ctx.loading === true ? 'fw-button--loading cursor-progress' : 'cursor-pointer']]),
|
|
8623
|
+
"class": vue.normalizeClass(["fw-button", [_ctx.baseClass, _ctx.textColorClass, _ctx.bgColorClass, _ctx.sizeClass, _ctx.borderClass, _ctx.rounded && _ctx.variant !== 'link' ? 'rounded-full' : 'rounded', _ctx.variant === 'link' ? 'pl-0 pr-0 pt-0 pb-0 font-normal rounded-1' : 'font-semibold', _ctx.animation === 'fade' ? 'animation--fade' : 'animation--alternate', _ctx.loading === true ? 'fw-button--loading cursor-progress' : 'cursor-pointer', _ctx.disabled && !_ctx.loading ? 'pointer-events-none text-grey-light' : '', _ctx.disabled && _ctx.active ? 'fw-button--disabled-active' : '']]),
|
|
8605
8624
|
type: _ctx.tagName === 'button' ? _ctx.buttonType : null,
|
|
8606
8625
|
to: _ctx.to ? _ctx.to : null,
|
|
8607
8626
|
href: _ctx.href ? _ctx.href : null,
|
|
8608
8627
|
tabindex: _ctx.to ? 0 : null,
|
|
8609
|
-
disabled: _ctx.loading,
|
|
8628
|
+
disabled: _ctx.loading || _ctx.disabled,
|
|
8610
8629
|
target: !!_ctx.external ? '_blank' : null,
|
|
8630
|
+
active: _ctx.active,
|
|
8611
8631
|
onClick: _ctx.onClick,
|
|
8612
8632
|
onFocusin: _ctx.onFocusin,
|
|
8613
8633
|
onFocusout: _ctx.onFocusout,
|
|
@@ -8629,9 +8649,9 @@ function render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8629
8649
|
})], 2)) : vue.createCommentVNode("", true)])) : vue.createCommentVNode("", true)];
|
|
8630
8650
|
}),
|
|
8631
8651
|
_: 3
|
|
8632
|
-
}, 40, ["class", "type", "to", "href", "tabindex", "disabled", "target", "onClick", "onFocusin", "onFocusout", "onMouseover", "onMouseout"]);
|
|
8633
|
-
}var css_248z$f = ".fw-button{line-height:normal}.fw-button--label-wrapper{-webkit-transition-duration:.2s;-moz-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:margin,padding;-moz-transition-property:margin,padding;transition-property:margin,padding;-webkit-transition-timing-function:ease-in-out;-moz-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.fw-button--primary{background:var(--colorButtonPrimary);color:var(--colorButtonPrimaryText)}.fw-button--primary.fw-button--loading,.fw-button--primary:hover{background:var(--colorButtonPrimaryFade);border-color:var(--colorButtonPrimaryFade)}.fw-button--secondary{background:var(--colorButtonSecondary);color:var(--colorButtonSecondaryText)}.fw-button--secondary.animation--alternate.fw-button--loading,.fw-button--secondary.animation--alternate:hover{background:var(--colorButtonSecondaryText);color:var(--colorButtonSecondary)}.fw-button--secondary.animation--fade.fw-button--loading,.fw-button--secondary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}.fw-button--tertiary{background:var(--colorButtonTertiary);color:var(--colorButtonTertiaryText)}.fw-button--tertiary.animation--alternate.fw-button--loading,.fw-button--tertiary.animation--alternate:hover{background:var(--colorButtonTertiaryText);color:var(--colorButtonTertiary)}.fw-button--tertiary.animation--fade.fw-button--loading,.fw-button--tertiary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}";
|
|
8634
|
-
var stylesheet$f = ".fw-button{line-height:normal}.fw-button--label-wrapper{-webkit-transition-duration:.2s;-moz-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:margin,padding;-moz-transition-property:margin,padding;transition-property:margin,padding;-webkit-transition-timing-function:ease-in-out;-moz-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.fw-button--primary{background:var(--colorButtonPrimary);color:var(--colorButtonPrimaryText)}.fw-button--primary.fw-button--loading,.fw-button--primary:hover{background:var(--colorButtonPrimaryFade);border-color:var(--colorButtonPrimaryFade)}.fw-button--secondary{background:var(--colorButtonSecondary);color:var(--colorButtonSecondaryText)}.fw-button--secondary.animation--alternate.fw-button--loading,.fw-button--secondary.animation--alternate:hover{background:var(--colorButtonSecondaryText);color:var(--colorButtonSecondary)}.fw-button--secondary.animation--fade.fw-button--loading,.fw-button--secondary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}.fw-button--tertiary{background:var(--colorButtonTertiary);color:var(--colorButtonTertiaryText)}.fw-button--tertiary.animation--alternate.fw-button--loading,.fw-button--tertiary.animation--alternate:hover{background:var(--colorButtonTertiaryText);color:var(--colorButtonTertiary)}.fw-button--tertiary.animation--fade.fw-button--loading,.fw-button--tertiary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}";
|
|
8652
|
+
}, 40, ["class", "type", "to", "href", "tabindex", "disabled", "target", "active", "onClick", "onFocusin", "onFocusout", "onMouseover", "onMouseout"]);
|
|
8653
|
+
}var css_248z$f = ".fw-button{line-height:normal}.fw-button--label-wrapper{-webkit-transition-duration:.2s;-moz-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:margin,padding;-moz-transition-property:margin,padding;transition-property:margin,padding;-webkit-transition-timing-function:ease-in-out;-moz-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.fw-button--primary{background:var(--colorButtonPrimary);color:var(--colorButtonPrimaryText)}.fw-button--primary.fw-button--loading,.fw-button--primary:hover{background:var(--colorButtonPrimaryFade);border-color:var(--colorButtonPrimaryFade)}.fw-button--secondary{background:var(--colorButtonSecondary);color:var(--colorButtonSecondaryText)}.fw-button--secondary.animation--alternate.fw-button--loading,.fw-button--secondary.animation--alternate:hover{background:var(--colorButtonSecondaryText);color:var(--colorButtonSecondary)}.fw-button--secondary.animation--fade.fw-button--loading,.fw-button--secondary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}.fw-button--tertiary{background:var(--colorButtonTertiary);color:var(--colorButtonTertiaryText)}.fw-button--tertiary.animation--alternate.fw-button--loading,.fw-button--tertiary.animation--alternate:hover{background:var(--colorButtonTertiaryText);color:var(--colorButtonTertiary)}.fw-button--tertiary.animation--fade.fw-button--loading,.fw-button--tertiary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}.fw-button--disabled-active{background:var(--colorButtonDisabled)!important;color:rgb(from var(--colorButtonDisabledText) r g b/.6)!important}";
|
|
8654
|
+
var stylesheet$f = ".fw-button{line-height:normal}.fw-button--label-wrapper{-webkit-transition-duration:.2s;-moz-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:margin,padding;-moz-transition-property:margin,padding;transition-property:margin,padding;-webkit-transition-timing-function:ease-in-out;-moz-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.fw-button--primary{background:var(--colorButtonPrimary);color:var(--colorButtonPrimaryText)}.fw-button--primary.fw-button--loading,.fw-button--primary:hover{background:var(--colorButtonPrimaryFade);border-color:var(--colorButtonPrimaryFade)}.fw-button--secondary{background:var(--colorButtonSecondary);color:var(--colorButtonSecondaryText)}.fw-button--secondary.animation--alternate.fw-button--loading,.fw-button--secondary.animation--alternate:hover{background:var(--colorButtonSecondaryText);color:var(--colorButtonSecondary)}.fw-button--secondary.animation--fade.fw-button--loading,.fw-button--secondary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}.fw-button--tertiary{background:var(--colorButtonTertiary);color:var(--colorButtonTertiaryText)}.fw-button--tertiary.animation--alternate.fw-button--loading,.fw-button--tertiary.animation--alternate:hover{background:var(--colorButtonTertiaryText);color:var(--colorButtonTertiary)}.fw-button--tertiary.animation--fade.fw-button--loading,.fw-button--tertiary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}.fw-button--disabled-active{background:var(--colorButtonDisabled)!important;color:rgb(from var(--colorButtonDisabledText) r g b/.6)!important}";
|
|
8635
8655
|
styleInject(css_248z$f);script$h.render = render$o;var script$g = vue.defineComponent({
|
|
8636
8656
|
name: 'FwNavigationMenu',
|
|
8637
8657
|
emits: ['action'],
|
|
@@ -34242,7 +34262,7 @@ function usePage() {
|
|
|
34242
34262
|
"Page context missing. Please verify this component is nested within a valid context provider."
|
|
34243
34263
|
);
|
|
34244
34264
|
}
|
|
34245
|
-
const _hoisted_1$5
|
|
34265
|
+
const _hoisted_1$5 = { class: "vc-nav-header" };
|
|
34246
34266
|
const _hoisted_2$4$1 = ["disabled"];
|
|
34247
34267
|
const _hoisted_3$3 = ["disabled"];
|
|
34248
34268
|
const _hoisted_4$2$1 = { class: "vc-nav-items" };
|
|
@@ -34392,7 +34412,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
34392
34412
|
ref_key: "navContainer",
|
|
34393
34413
|
ref: navContainer
|
|
34394
34414
|
}, [
|
|
34395
|
-
vue.createElementVNode("div", _hoisted_1$5
|
|
34415
|
+
vue.createElementVNode("div", _hoisted_1$5, [
|
|
34396
34416
|
vue.createElementVNode("button", {
|
|
34397
34417
|
type: "button",
|
|
34398
34418
|
class: "vc-nav-arrow is-left vc-focus",
|
|
@@ -36228,7 +36248,7 @@ var __setup__$3 = __default__$3.setup;
|
|
|
36228
36248
|
__default__$3.setup = __setup__$3 ? function (props, ctx) {
|
|
36229
36249
|
__injectCSSVars__$3();
|
|
36230
36250
|
return __setup__$3(props, ctx);
|
|
36231
|
-
} : __injectCSSVars__$3;var _hoisted_1$
|
|
36251
|
+
} : __injectCSSVars__$3;var _hoisted_1$4 = {
|
|
36232
36252
|
"class": "fw-date-picker w-full"
|
|
36233
36253
|
};
|
|
36234
36254
|
var _hoisted_2$4 = {
|
|
@@ -36277,7 +36297,7 @@ var _hoisted_18 = {
|
|
|
36277
36297
|
function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
36278
36298
|
var _component_CalendarDaySvg = vue.resolveComponent("CalendarDaySvg");
|
|
36279
36299
|
var _component_DatePicker = vue.resolveComponent("DatePicker");
|
|
36280
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
36300
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$4, [vue.createVNode(_component_DatePicker, {
|
|
36281
36301
|
modelValue: _ctx.dateModel,
|
|
36282
36302
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) {
|
|
36283
36303
|
return _ctx.dateModel = $event;
|
|
@@ -36602,7 +36622,7 @@ __default__$2.setup = __setup__$2 ? function (props, ctx) {
|
|
|
36602
36622
|
} : __injectCSSVars__$2;var _withScopeId$2 = function _withScopeId(n) {
|
|
36603
36623
|
return vue.pushScopeId("data-v-6df01fae"), n = n(), vue.popScopeId(), n;
|
|
36604
36624
|
};
|
|
36605
|
-
var _hoisted_1$
|
|
36625
|
+
var _hoisted_1$3 = ["id", "aria-hidden"];
|
|
36606
36626
|
var _hoisted_2$3 = {
|
|
36607
36627
|
key: 0,
|
|
36608
36628
|
"data-popper-arrow": "",
|
|
@@ -36642,7 +36662,7 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36642
36662
|
})
|
|
36643
36663
|
}, [vue.renderSlot(_ctx.$slots, "content", {}, function () {
|
|
36644
36664
|
return [vue.createTextVNode(vue.toDisplayString(_ctx.title), 1)];
|
|
36645
|
-
}), _ctx.showArrow ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$3)) : vue.createCommentVNode("", true)], 10, _hoisted_1$
|
|
36665
|
+
}), _ctx.showArrow ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$3)) : vue.createCommentVNode("", true)], 10, _hoisted_1$3)], 2);
|
|
36646
36666
|
}var css_248z$3 = ".fw-popover__content[data-v-6df01fae]{opacity:0;-webkit-transition:all .3s ease;-moz-transition:all .3s ease;transition:all .3s ease;white-space:normal;z-index:9999}.fw-popover__content--center[data-v-6df01fae]{text-align:center}.fw-popover__content--left[data-v-6df01fae]{text-align:left}.fw-popover__content--right[data-v-6df01fae]{text-align:right}.fw-popover--visible .fw-popover__content[data-v-6df01fae]{opacity:1;pointer-events:all}.fw-popover__arrow[data-v-6df01fae]:after{height:var(--bf2f5546);left:0;top:0;-webkit-transform:translate(-50%,-50%) rotate(45deg);-moz-transform:translate(-50%,-50%) rotate(45deg);-ms-transform:translate(-50%,-50%) rotate(45deg);transform:translate(-50%,-50%) rotate(45deg);width:var(--bf2f5546)}.fw-popover__content[data-popper-placement^=top][data-v-6df01fae]{margin-bottom:var(--bf2f5546)!important}.fw-popover__content[data-popper-placement^=right][data-v-6df01fae]{margin-left:var(--bf2f5546)!important}.fw-popover__content[data-popper-placement^=bottom][data-v-6df01fae]{margin-top:var(--bf2f5546)!important}.fw-popover__content[data-popper-placement^=left][data-v-6df01fae]{margin-right:var(--bf2f5546)!important}.fw-popover__content[data-popper-placement^=top] .fw-popover__arrow[data-v-6df01fae]{bottom:0}.fw-popover__content[data-popper-placement^=right] .fw-popover__arrow[data-v-6df01fae]{left:0}.fw-popover__content[data-popper-placement^=bottom] .fw-popover__arrow[data-v-6df01fae]{top:0}.fw-popover__content[data-popper-placement^=left] .fw-popover__arrow[data-v-6df01fae]{right:0}.fw-popover__content[data-popper-placement^=top] .fw-popover__arrow[data-v-6df01fae]{bottom:-1px}.fw-popover__content[data-popper-placement^=top] .fw-popover__arrow[data-v-6df01fae]:after{border-left:none;border-top:none}.fw-popover__content[data-popper-placement^=right] .fw-popover__arrow[data-v-6df01fae]{left:-1px}.fw-popover__content[data-popper-placement^=right] .fw-popover__arrow[data-v-6df01fae]:after{border-right:none;border-top:none}.fw-popover__content[data-popper-placement^=bottom] .fw-popover__arrow[data-v-6df01fae]{top:-1px}.fw-popover__content[data-popper-placement^=bottom] .fw-popover__arrow[data-v-6df01fae]:after{border-bottom:none;border-right:none}.fw-popover__content[data-popper-placement^=left] .fw-popover__arrow[data-v-6df01fae]{right:-1px}.fw-popover__content[data-popper-placement^=left] .fw-popover__arrow[data-v-6df01fae]:after{border-bottom:none;border-left:none}";
|
|
36647
36667
|
var stylesheet$3 = ".fw-popover__content[data-v-6df01fae]{opacity:0;-webkit-transition:all .3s ease;-moz-transition:all .3s ease;transition:all .3s ease;white-space:normal;z-index:9999}.fw-popover__content--center[data-v-6df01fae]{text-align:center}.fw-popover__content--left[data-v-6df01fae]{text-align:left}.fw-popover__content--right[data-v-6df01fae]{text-align:right}.fw-popover--visible .fw-popover__content[data-v-6df01fae]{opacity:1;pointer-events:all}.fw-popover__arrow[data-v-6df01fae]:after{height:var(--bf2f5546);left:0;top:0;-webkit-transform:translate(-50%,-50%) rotate(45deg);-moz-transform:translate(-50%,-50%) rotate(45deg);-ms-transform:translate(-50%,-50%) rotate(45deg);transform:translate(-50%,-50%) rotate(45deg);width:var(--bf2f5546)}.fw-popover__content[data-popper-placement^=top][data-v-6df01fae]{margin-bottom:var(--bf2f5546)!important}.fw-popover__content[data-popper-placement^=right][data-v-6df01fae]{margin-left:var(--bf2f5546)!important}.fw-popover__content[data-popper-placement^=bottom][data-v-6df01fae]{margin-top:var(--bf2f5546)!important}.fw-popover__content[data-popper-placement^=left][data-v-6df01fae]{margin-right:var(--bf2f5546)!important}.fw-popover__content[data-popper-placement^=top] .fw-popover__arrow[data-v-6df01fae]{bottom:0}.fw-popover__content[data-popper-placement^=right] .fw-popover__arrow[data-v-6df01fae]{left:0}.fw-popover__content[data-popper-placement^=bottom] .fw-popover__arrow[data-v-6df01fae]{top:0}.fw-popover__content[data-popper-placement^=left] .fw-popover__arrow[data-v-6df01fae]{right:0}.fw-popover__content[data-popper-placement^=top] .fw-popover__arrow[data-v-6df01fae]{bottom:-1px}.fw-popover__content[data-popper-placement^=top] .fw-popover__arrow[data-v-6df01fae]:after{border-left:none;border-top:none}.fw-popover__content[data-popper-placement^=right] .fw-popover__arrow[data-v-6df01fae]{left:-1px}.fw-popover__content[data-popper-placement^=right] .fw-popover__arrow[data-v-6df01fae]:after{border-right:none;border-top:none}.fw-popover__content[data-popper-placement^=bottom] .fw-popover__arrow[data-v-6df01fae]{top:-1px}.fw-popover__content[data-popper-placement^=bottom] .fw-popover__arrow[data-v-6df01fae]:after{border-bottom:none;border-right:none}.fw-popover__content[data-popper-placement^=left] .fw-popover__arrow[data-v-6df01fae]{right:-1px}.fw-popover__content[data-popper-placement^=left] .fw-popover__arrow[data-v-6df01fae]:after{border-bottom:none;border-left:none}";
|
|
36648
36668
|
styleInject(css_248z$3);__default__$2.render = render$4;
|
|
@@ -36672,6 +36692,10 @@ __default__$2.__scopeId = "data-v-6df01fae";var script$1 = vue.defineComponent({
|
|
|
36672
36692
|
validator: function validator(value) {
|
|
36673
36693
|
return ['sm', 'md', 'lg', 'xl', '2xl'].includes(value);
|
|
36674
36694
|
}
|
|
36695
|
+
},
|
|
36696
|
+
disabled: {
|
|
36697
|
+
type: Boolean,
|
|
36698
|
+
"default": false
|
|
36675
36699
|
}
|
|
36676
36700
|
},
|
|
36677
36701
|
setup: function setup(props, ctx) {
|
|
@@ -36691,27 +36715,28 @@ __default__$2.__scopeId = "data-v-6df01fae";var script$1 = vue.defineComponent({
|
|
|
36691
36715
|
selectedPeriod: selectedPeriod
|
|
36692
36716
|
};
|
|
36693
36717
|
}
|
|
36694
|
-
});
|
|
36695
|
-
"class": "fw-period-selector w-fit bg-grey-light bg-opacity-10 border-grey-light border-2 border-opacity-40 gap-x-1"
|
|
36696
|
-
};
|
|
36697
|
-
function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
36718
|
+
});function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
36698
36719
|
var _component_FwButton = vue.resolveComponent("FwButton");
|
|
36699
|
-
return vue.openBlock(), vue.createElementBlock("div",
|
|
36720
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
36721
|
+
"class": vue.normalizeClass(["fw-period-selector w-fit bg-grey-light bg-opacity-10 border-grey-light border-2 border-opacity-40 gap-x-1", _ctx.disabled === true ? 'hover:none cursor:none pointer-events-none' : ''])
|
|
36722
|
+
}, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.periodOptions, function (period) {
|
|
36700
36723
|
return vue.openBlock(), vue.createBlock(_component_FwButton, {
|
|
36701
36724
|
key: period,
|
|
36702
|
-
variant: _ctx.selectedPeriod === period ? 'tertiary' : 'transparent',
|
|
36725
|
+
variant: _ctx.selectedPeriod === period ? _ctx.disabled ? 'disabled' : 'tertiary' : 'transparent',
|
|
36703
36726
|
"class": "hover:!border-button-primary-bg -m-[2px] flex-1",
|
|
36704
36727
|
size: _ctx.size,
|
|
36705
36728
|
onClick: function onClick($event) {
|
|
36706
36729
|
return _ctx.selectedPeriod = period;
|
|
36707
|
-
}
|
|
36730
|
+
},
|
|
36731
|
+
disabled: _ctx.disabled,
|
|
36732
|
+
active: _ctx.disabled && _ctx.selectedPeriod === period
|
|
36708
36733
|
}, {
|
|
36709
36734
|
"default": vue.withCtx(function () {
|
|
36710
36735
|
return [vue.createTextVNode(vue.toDisplayString(_ctx.generateButtonLabel(period)), 1)];
|
|
36711
36736
|
}),
|
|
36712
36737
|
_: 2
|
|
36713
|
-
}, 1032, ["variant", "size", "onClick"]);
|
|
36714
|
-
}), 128))]);
|
|
36738
|
+
}, 1032, ["variant", "size", "onClick", "disabled", "active"]);
|
|
36739
|
+
}), 128))], 2);
|
|
36715
36740
|
}var css_248z$2 = ".fw-period-selector{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-moz-box-orient:horizontal;-moz-box-direction:normal;border-radius:9999px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}";
|
|
36716
36741
|
var stylesheet$2 = ".fw-period-selector{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-moz-box-orient:horizontal;-moz-box-direction:normal;border-radius:9999px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}";
|
|
36717
36742
|
styleInject(css_248z$2);script$1.render = render$3;var script = vue.defineComponent({
|
|
@@ -92,6 +92,20 @@ var script = defineComponent({
|
|
|
92
92
|
*/
|
|
93
93
|
external: {
|
|
94
94
|
type: Boolean
|
|
95
|
+
},
|
|
96
|
+
/**
|
|
97
|
+
* Whether the button is disabled or not
|
|
98
|
+
*/
|
|
99
|
+
disabled: {
|
|
100
|
+
type: Boolean,
|
|
101
|
+
"default": false
|
|
102
|
+
},
|
|
103
|
+
/**
|
|
104
|
+
* Whether the button is preselected or not
|
|
105
|
+
*/
|
|
106
|
+
active: {
|
|
107
|
+
type: Boolean,
|
|
108
|
+
"default": false
|
|
95
109
|
}
|
|
96
110
|
},
|
|
97
111
|
setup: function setup(props, ctx) {
|
|
@@ -136,6 +150,11 @@ var script = defineComponent({
|
|
|
136
150
|
text: 'text-grey-base hover:text-primary active:text-primary',
|
|
137
151
|
background: 'bg-none hover:bg-white focus:bg-white active:bg-white',
|
|
138
152
|
border: 'border-transparent focus-visible:ring-1 focus-visible:ring-primary'
|
|
153
|
+
},
|
|
154
|
+
disabled: {
|
|
155
|
+
text: 'text-white',
|
|
156
|
+
background: 'bg-grey-base bg-opacity-60',
|
|
157
|
+
border: ''
|
|
139
158
|
}
|
|
140
159
|
});
|
|
141
160
|
var sizes = ref({
|
|
@@ -226,13 +245,14 @@ var _hoisted_1 = {
|
|
|
226
245
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
227
246
|
var _component_FwLoadingSpinner = resolveComponent("FwLoadingSpinner");
|
|
228
247
|
return openBlock(), createBlock(resolveDynamicComponent(_ctx.tagName), {
|
|
229
|
-
"class": normalizeClass(["fw-button", [_ctx.baseClass, _ctx.textColorClass, _ctx.bgColorClass, _ctx.sizeClass, _ctx.borderClass, _ctx.rounded && _ctx.variant !== 'link' ? 'rounded-full' : 'rounded', _ctx.variant === 'link' ? 'pl-0 pr-0 pt-0 pb-0 font-normal rounded-1' : 'font-semibold', _ctx.animation === 'fade' ? 'animation--fade' : 'animation--alternate', _ctx.loading === true ? 'fw-button--loading cursor-progress' : 'cursor-pointer']]),
|
|
248
|
+
"class": normalizeClass(["fw-button", [_ctx.baseClass, _ctx.textColorClass, _ctx.bgColorClass, _ctx.sizeClass, _ctx.borderClass, _ctx.rounded && _ctx.variant !== 'link' ? 'rounded-full' : 'rounded', _ctx.variant === 'link' ? 'pl-0 pr-0 pt-0 pb-0 font-normal rounded-1' : 'font-semibold', _ctx.animation === 'fade' ? 'animation--fade' : 'animation--alternate', _ctx.loading === true ? 'fw-button--loading cursor-progress' : 'cursor-pointer', _ctx.disabled && !_ctx.loading ? 'pointer-events-none text-grey-light' : '', _ctx.disabled && _ctx.active ? 'fw-button--disabled-active' : '']]),
|
|
230
249
|
type: _ctx.tagName === 'button' ? _ctx.buttonType : null,
|
|
231
250
|
to: _ctx.to ? _ctx.to : null,
|
|
232
251
|
href: _ctx.href ? _ctx.href : null,
|
|
233
252
|
tabindex: _ctx.to ? 0 : null,
|
|
234
|
-
disabled: _ctx.loading,
|
|
253
|
+
disabled: _ctx.loading || _ctx.disabled,
|
|
235
254
|
target: !!_ctx.external ? '_blank' : null,
|
|
255
|
+
active: _ctx.active,
|
|
236
256
|
onClick: _ctx.onClick,
|
|
237
257
|
onFocusin: _ctx.onFocusin,
|
|
238
258
|
onFocusout: _ctx.onFocusout,
|
|
@@ -254,11 +274,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
254
274
|
})], 2)) : createCommentVNode("", true)])) : createCommentVNode("", true)];
|
|
255
275
|
}),
|
|
256
276
|
_: 3
|
|
257
|
-
}, 40, ["class", "type", "to", "href", "tabindex", "disabled", "target", "onClick", "onFocusin", "onFocusout", "onMouseover", "onMouseout"]);
|
|
277
|
+
}, 40, ["class", "type", "to", "href", "tabindex", "disabled", "target", "active", "onClick", "onFocusin", "onFocusout", "onMouseover", "onMouseout"]);
|
|
258
278
|
}
|
|
259
279
|
|
|
260
|
-
var css_248z = ".fw-button{line-height:normal}.fw-button--label-wrapper{-webkit-transition-duration:.2s;-moz-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:margin,padding;-moz-transition-property:margin,padding;transition-property:margin,padding;-webkit-transition-timing-function:ease-in-out;-moz-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.fw-button--primary{background:var(--colorButtonPrimary);color:var(--colorButtonPrimaryText)}.fw-button--primary.fw-button--loading,.fw-button--primary:hover{background:var(--colorButtonPrimaryFade);border-color:var(--colorButtonPrimaryFade)}.fw-button--secondary{background:var(--colorButtonSecondary);color:var(--colorButtonSecondaryText)}.fw-button--secondary.animation--alternate.fw-button--loading,.fw-button--secondary.animation--alternate:hover{background:var(--colorButtonSecondaryText);color:var(--colorButtonSecondary)}.fw-button--secondary.animation--fade.fw-button--loading,.fw-button--secondary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}.fw-button--tertiary{background:var(--colorButtonTertiary);color:var(--colorButtonTertiaryText)}.fw-button--tertiary.animation--alternate.fw-button--loading,.fw-button--tertiary.animation--alternate:hover{background:var(--colorButtonTertiaryText);color:var(--colorButtonTertiary)}.fw-button--tertiary.animation--fade.fw-button--loading,.fw-button--tertiary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}";
|
|
261
|
-
var stylesheet = ".fw-button{line-height:normal}.fw-button--label-wrapper{-webkit-transition-duration:.2s;-moz-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:margin,padding;-moz-transition-property:margin,padding;transition-property:margin,padding;-webkit-transition-timing-function:ease-in-out;-moz-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.fw-button--primary{background:var(--colorButtonPrimary);color:var(--colorButtonPrimaryText)}.fw-button--primary.fw-button--loading,.fw-button--primary:hover{background:var(--colorButtonPrimaryFade);border-color:var(--colorButtonPrimaryFade)}.fw-button--secondary{background:var(--colorButtonSecondary);color:var(--colorButtonSecondaryText)}.fw-button--secondary.animation--alternate.fw-button--loading,.fw-button--secondary.animation--alternate:hover{background:var(--colorButtonSecondaryText);color:var(--colorButtonSecondary)}.fw-button--secondary.animation--fade.fw-button--loading,.fw-button--secondary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}.fw-button--tertiary{background:var(--colorButtonTertiary);color:var(--colorButtonTertiaryText)}.fw-button--tertiary.animation--alternate.fw-button--loading,.fw-button--tertiary.animation--alternate:hover{background:var(--colorButtonTertiaryText);color:var(--colorButtonTertiary)}.fw-button--tertiary.animation--fade.fw-button--loading,.fw-button--tertiary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}";
|
|
280
|
+
var css_248z = ".fw-button{line-height:normal}.fw-button--label-wrapper{-webkit-transition-duration:.2s;-moz-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:margin,padding;-moz-transition-property:margin,padding;transition-property:margin,padding;-webkit-transition-timing-function:ease-in-out;-moz-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.fw-button--primary{background:var(--colorButtonPrimary);color:var(--colorButtonPrimaryText)}.fw-button--primary.fw-button--loading,.fw-button--primary:hover{background:var(--colorButtonPrimaryFade);border-color:var(--colorButtonPrimaryFade)}.fw-button--secondary{background:var(--colorButtonSecondary);color:var(--colorButtonSecondaryText)}.fw-button--secondary.animation--alternate.fw-button--loading,.fw-button--secondary.animation--alternate:hover{background:var(--colorButtonSecondaryText);color:var(--colorButtonSecondary)}.fw-button--secondary.animation--fade.fw-button--loading,.fw-button--secondary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}.fw-button--tertiary{background:var(--colorButtonTertiary);color:var(--colorButtonTertiaryText)}.fw-button--tertiary.animation--alternate.fw-button--loading,.fw-button--tertiary.animation--alternate:hover{background:var(--colorButtonTertiaryText);color:var(--colorButtonTertiary)}.fw-button--tertiary.animation--fade.fw-button--loading,.fw-button--tertiary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}.fw-button--disabled-active{background:var(--colorButtonDisabled)!important;color:rgb(from var(--colorButtonDisabledText) r g b/.6)!important}";
|
|
281
|
+
var stylesheet = ".fw-button{line-height:normal}.fw-button--label-wrapper{-webkit-transition-duration:.2s;-moz-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:margin,padding;-moz-transition-property:margin,padding;transition-property:margin,padding;-webkit-transition-timing-function:ease-in-out;-moz-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.fw-button--primary{background:var(--colorButtonPrimary);color:var(--colorButtonPrimaryText)}.fw-button--primary.fw-button--loading,.fw-button--primary:hover{background:var(--colorButtonPrimaryFade);border-color:var(--colorButtonPrimaryFade)}.fw-button--secondary{background:var(--colorButtonSecondary);color:var(--colorButtonSecondaryText)}.fw-button--secondary.animation--alternate.fw-button--loading,.fw-button--secondary.animation--alternate:hover{background:var(--colorButtonSecondaryText);color:var(--colorButtonSecondary)}.fw-button--secondary.animation--fade.fw-button--loading,.fw-button--secondary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}.fw-button--tertiary{background:var(--colorButtonTertiary);color:var(--colorButtonTertiaryText)}.fw-button--tertiary.animation--alternate.fw-button--loading,.fw-button--tertiary.animation--alternate:hover{background:var(--colorButtonTertiaryText);color:var(--colorButtonTertiary)}.fw-button--tertiary.animation--fade.fw-button--loading,.fw-button--tertiary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}.fw-button--disabled-active{background:var(--colorButtonDisabled)!important;color:rgb(from var(--colorButtonDisabledText) r g b/.6)!important}";
|
|
262
282
|
styleInject(css_248z);
|
|
263
283
|
|
|
264
284
|
script.render = render;
|
package/esm/fw-button.js
CHANGED
package/esm/fw-drawer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, onMounted, resolveComponent, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, createElementBlock, renderSlot, createCommentVNode, createVNode, createTextVNode, toDisplayString, vShow } from 'vue';
|
|
2
|
-
import { s as script$1 } from './fw-button-
|
|
2
|
+
import { s as script$1 } from './fw-button-NJeYig99.js';
|
|
3
3
|
import { u as uniqueId } from './uniqueId-DK6xzFd8.js';
|
|
4
4
|
import { b as render$1 } from './index-CUeOOfIp.js';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
package/esm/fw-media-picker.js
CHANGED
|
@@ -3,7 +3,7 @@ import { defineComponent, ref, computed, watch, createElementVNode, resolveCompo
|
|
|
3
3
|
import { c as render$1, d as render$2, e as render$3, f as render$4, g as render$5, h as render$6 } from './index-CUeOOfIp.js';
|
|
4
4
|
import { FwModal as script$1 } from './fw-modal.js';
|
|
5
5
|
import './fw-button.js';
|
|
6
|
-
import { s as script$2 } from './fw-button-
|
|
6
|
+
import { s as script$2 } from './fw-button-NJeYig99.js';
|
|
7
7
|
import './check--YD4Ts6g.js';
|
|
8
8
|
import './uniqueId-DK6xzFd8.js';
|
|
9
9
|
import './style-inject.es-tgCJW-Cu.js';
|
package/esm/fw-modal.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, onMounted, resolveComponent, openBlock, createBlock, Teleport, createVNode, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, createCommentVNode, createElementBlock, renderSlot, createTextVNode, toDisplayString, vShow } from 'vue';
|
|
2
|
-
import { s as script$1 } from './fw-button-
|
|
2
|
+
import { s as script$1 } from './fw-button-NJeYig99.js';
|
|
3
3
|
import { u as uniqueId } from './uniqueId-DK6xzFd8.js';
|
|
4
4
|
import { b as render$1 } from './index-CUeOOfIp.js';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, createElementVNode, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, Fragment, renderList, createBlock, withCtx, createTextVNode, toDisplayString, createVNode, Transition } from 'vue';
|
|
2
|
-
import { s as script$1 } from './fw-button-
|
|
2
|
+
import { s as script$1 } from './fw-button-NJeYig99.js';
|
|
3
3
|
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
|
4
4
|
import './fw-loading-spinner-CfcmqMwb.js';
|
|
5
5
|
import './index-CUeOOfIp.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, renderList, createBlock, withCtx, createTextVNode, toDisplayString } from 'vue';
|
|
1
|
+
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, Fragment, renderList, createBlock, withCtx, createTextVNode, toDisplayString } from 'vue';
|
|
2
2
|
import './fw-button.js';
|
|
3
|
-
import { s as script$1 } from './fw-button-
|
|
3
|
+
import { s as script$1 } from './fw-button-NJeYig99.js';
|
|
4
4
|
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
|
5
5
|
import './fw-loading-spinner-CfcmqMwb.js';
|
|
6
6
|
import './index-CUeOOfIp.js';
|
|
@@ -32,6 +32,10 @@ var script = defineComponent({
|
|
|
32
32
|
validator: function validator(value) {
|
|
33
33
|
return ['sm', 'md', 'lg', 'xl', '2xl'].includes(value);
|
|
34
34
|
}
|
|
35
|
+
},
|
|
36
|
+
disabled: {
|
|
37
|
+
type: Boolean,
|
|
38
|
+
"default": false
|
|
35
39
|
}
|
|
36
40
|
},
|
|
37
41
|
setup: function setup(props, ctx) {
|
|
@@ -53,27 +57,28 @@ var script = defineComponent({
|
|
|
53
57
|
}
|
|
54
58
|
});
|
|
55
59
|
|
|
56
|
-
var _hoisted_1 = {
|
|
57
|
-
"class": "fw-period-selector w-fit bg-grey-light bg-opacity-10 border-grey-light border-2 border-opacity-40 gap-x-1"
|
|
58
|
-
};
|
|
59
60
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
60
61
|
var _component_FwButton = resolveComponent("FwButton");
|
|
61
|
-
return openBlock(), createElementBlock("div",
|
|
62
|
+
return openBlock(), createElementBlock("div", {
|
|
63
|
+
"class": normalizeClass(["fw-period-selector w-fit bg-grey-light bg-opacity-10 border-grey-light border-2 border-opacity-40 gap-x-1", _ctx.disabled === true ? 'hover:none cursor:none pointer-events-none' : ''])
|
|
64
|
+
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.periodOptions, function (period) {
|
|
62
65
|
return openBlock(), createBlock(_component_FwButton, {
|
|
63
66
|
key: period,
|
|
64
|
-
variant: _ctx.selectedPeriod === period ? 'tertiary' : 'transparent',
|
|
67
|
+
variant: _ctx.selectedPeriod === period ? _ctx.disabled ? 'disabled' : 'tertiary' : 'transparent',
|
|
65
68
|
"class": "hover:!border-button-primary-bg -m-[2px] flex-1",
|
|
66
69
|
size: _ctx.size,
|
|
67
70
|
onClick: function onClick($event) {
|
|
68
71
|
return _ctx.selectedPeriod = period;
|
|
69
|
-
}
|
|
72
|
+
},
|
|
73
|
+
disabled: _ctx.disabled,
|
|
74
|
+
active: _ctx.disabled && _ctx.selectedPeriod === period
|
|
70
75
|
}, {
|
|
71
76
|
"default": withCtx(function () {
|
|
72
77
|
return [createTextVNode(toDisplayString(_ctx.generateButtonLabel(period)), 1)];
|
|
73
78
|
}),
|
|
74
79
|
_: 2
|
|
75
|
-
}, 1032, ["variant", "size", "onClick"]);
|
|
76
|
-
}), 128))]);
|
|
80
|
+
}, 1032, ["variant", "size", "onClick", "disabled", "active"]);
|
|
81
|
+
}), 128))], 2);
|
|
77
82
|
}
|
|
78
83
|
|
|
79
84
|
var css_248z = ".fw-period-selector{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-moz-box-orient:horizontal;-moz-box-direction:normal;border-radius:9999px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}";
|
package/esm/fw-provider-list.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { e as _defineProperty } from './_rollupPluginBabelHelpers-DpC_oIQV.js';
|
|
2
2
|
import { defineComponent, ref, computed, createElementVNode, resolveComponent, openBlock, createElementBlock, toDisplayString, createVNode, withCtx, createBlock, createCommentVNode, createTextVNode } from 'vue';
|
|
3
|
-
import { _ as __default__, s as script$4, a as script$5 } from './fw-table-row-
|
|
3
|
+
import { _ as __default__, s as script$4, a as script$5 } from './fw-table-row-D2KYRG5K.js';
|
|
4
4
|
import { s as script$1 } from './fw-input-XeI-IKly.js';
|
|
5
|
-
import { _ as __default__$1 } from './fw-tag-
|
|
6
|
-
import { s as script$3 } from './fw-button-
|
|
5
|
+
import { _ as __default__$1 } from './fw-tag-D-U6RKuG.js';
|
|
6
|
+
import { s as script$3 } from './fw-button-NJeYig99.js';
|
|
7
7
|
import { s as script$2 } from './fw-dropdown-b1b7d7BF.js';
|
|
8
8
|
import { i as render$1, j as render$2, k as render$3 } from './index-CUeOOfIp.js';
|
|
9
9
|
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
package/esm/fw-sidebar-menu.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, Transition, withDirectives, createElementVNode, renderSlot, createCommentVNode, Fragment, renderList, createBlock, createTextVNode, toDisplayString, vShow } from 'vue';
|
|
2
|
-
import { s as script$1 } from './fw-button-
|
|
2
|
+
import { s as script$1 } from './fw-button-NJeYig99.js';
|
|
3
3
|
import { l as render$1 } from './index-CUeOOfIp.js';
|
|
4
4
|
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
|
5
5
|
import './fw-loading-spinner-CfcmqMwb.js';
|
|
@@ -2,7 +2,7 @@ import { m as render$3, n as render$4, o as render$5, l as render$6 } from './in
|
|
|
2
2
|
import { defineComponent, computed, ref, onMounted, useCssVars, pushScopeId, popScopeId, resolveComponent, openBlock, createElementBlock, createElementVNode, mergeProps, renderSlot, createCommentVNode, Fragment, renderList, normalizeClass, withKeys, toDisplayString, createBlock, createVNode, withCtx } from 'vue';
|
|
3
3
|
import { u as useColours } from './get-root-colours-DYEoJPEb.js';
|
|
4
4
|
import { s as script$2 } from './fw-loading-bar-DThRjdw1.js';
|
|
5
|
-
import { s as script$3 } from './fw-button-
|
|
5
|
+
import { s as script$3 } from './fw-button-NJeYig99.js';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
|
7
7
|
|
|
8
8
|
var __default__ = defineComponent({
|
package/esm/fw-table.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { _ as FwTable, s as FwTableHead, a as FwTableRow } from './fw-table-row-
|
|
1
|
+
export { _ as FwTable, s as FwTableHead, a as FwTableRow } from './fw-table-row-D2KYRG5K.js';
|
|
2
2
|
import './index-CUeOOfIp.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import './check--YD4Ts6g.js';
|
|
5
5
|
import './get-root-colours-DYEoJPEb.js';
|
|
6
6
|
import './fw-loading-bar-DThRjdw1.js';
|
|
7
7
|
import './style-inject.es-tgCJW-Cu.js';
|
|
8
|
-
import './fw-button-
|
|
8
|
+
import './fw-button-NJeYig99.js';
|
|
9
9
|
import './fw-loading-spinner-CfcmqMwb.js';
|
|
@@ -2,7 +2,7 @@ import { defineComponent, ref, computed, useCssVars, resolveComponent, openBlock
|
|
|
2
2
|
import './fw-button.js';
|
|
3
3
|
import { b as render$1 } from './index-CUeOOfIp.js';
|
|
4
4
|
import { u as useColours } from './get-root-colours-DYEoJPEb.js';
|
|
5
|
-
import { s as script } from './fw-button-
|
|
5
|
+
import { s as script } from './fw-button-NJeYig99.js';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
|
7
7
|
|
|
8
8
|
var __default__ = defineComponent({
|
package/esm/fw-tag.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { _ as FwTag } from './fw-tag-
|
|
1
|
+
export { _ as FwTag } from './fw-tag-D-U6RKuG.js';
|
|
2
2
|
import 'vue';
|
|
3
3
|
import './fw-button.js';
|
|
4
|
-
import './fw-button-
|
|
4
|
+
import './fw-button-NJeYig99.js';
|
|
5
5
|
import './fw-loading-spinner-CfcmqMwb.js';
|
|
6
6
|
import './index-CUeOOfIp.js';
|
|
7
7
|
import './check--YD4Ts6g.js';
|
package/esm/index.js
CHANGED
|
@@ -29,9 +29,9 @@ import { F as Form } from './vee-validate.esm-3ptvCDR1.js';
|
|
|
29
29
|
import { s as script$7 } from './fw-input-XeI-IKly.js';
|
|
30
30
|
import { s as script$5 } from './fw-dropdown-b1b7d7BF.js';
|
|
31
31
|
import { s as script$2 } from './fw-card-bsYbpPmW.js';
|
|
32
|
-
import { s as script$1 } from './fw-button-
|
|
33
|
-
import { _ as __default__$6 } from './fw-tag-
|
|
34
|
-
import { _ as __default__$5, s as script$k, a as script$l } from './fw-table-row-
|
|
32
|
+
import { s as script$1 } from './fw-button-NJeYig99.js';
|
|
33
|
+
import { _ as __default__$6 } from './fw-tag-D-U6RKuG.js';
|
|
34
|
+
import { _ as __default__$5, s as script$k, a as script$l } from './fw-table-row-D2KYRG5K.js';
|
|
35
35
|
import { s as script$6 } from './fw-image-Dlb_dFZf.js';
|
|
36
36
|
import { s as script$8 } from './fw-loading-bar-DThRjdw1.js';
|
|
37
37
|
import { s as script$a } from './fw-loading-spinner-CfcmqMwb.js';
|
package/frollo-web-ui.esm.js
CHANGED
|
@@ -8659,6 +8659,20 @@ var script$h = defineComponent({
|
|
|
8659
8659
|
*/
|
|
8660
8660
|
external: {
|
|
8661
8661
|
type: Boolean
|
|
8662
|
+
},
|
|
8663
|
+
/**
|
|
8664
|
+
* Whether the button is disabled or not
|
|
8665
|
+
*/
|
|
8666
|
+
disabled: {
|
|
8667
|
+
type: Boolean,
|
|
8668
|
+
"default": false
|
|
8669
|
+
},
|
|
8670
|
+
/**
|
|
8671
|
+
* Whether the button is preselected or not
|
|
8672
|
+
*/
|
|
8673
|
+
active: {
|
|
8674
|
+
type: Boolean,
|
|
8675
|
+
"default": false
|
|
8662
8676
|
}
|
|
8663
8677
|
},
|
|
8664
8678
|
setup: function setup(props, ctx) {
|
|
@@ -8703,6 +8717,11 @@ var script$h = defineComponent({
|
|
|
8703
8717
|
text: 'text-grey-base hover:text-primary active:text-primary',
|
|
8704
8718
|
background: 'bg-none hover:bg-white focus:bg-white active:bg-white',
|
|
8705
8719
|
border: 'border-transparent focus-visible:ring-1 focus-visible:ring-primary'
|
|
8720
|
+
},
|
|
8721
|
+
disabled: {
|
|
8722
|
+
text: 'text-white',
|
|
8723
|
+
background: 'bg-grey-base bg-opacity-60',
|
|
8724
|
+
border: ''
|
|
8706
8725
|
}
|
|
8707
8726
|
});
|
|
8708
8727
|
var sizes = ref({
|
|
@@ -8793,13 +8812,14 @@ var _hoisted_1$v = {
|
|
|
8793
8812
|
function render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8794
8813
|
var _component_FwLoadingSpinner = resolveComponent("FwLoadingSpinner");
|
|
8795
8814
|
return openBlock(), createBlock(resolveDynamicComponent(_ctx.tagName), {
|
|
8796
|
-
"class": normalizeClass(["fw-button", [_ctx.baseClass, _ctx.textColorClass, _ctx.bgColorClass, _ctx.sizeClass, _ctx.borderClass, _ctx.rounded && _ctx.variant !== 'link' ? 'rounded-full' : 'rounded', _ctx.variant === 'link' ? 'pl-0 pr-0 pt-0 pb-0 font-normal rounded-1' : 'font-semibold', _ctx.animation === 'fade' ? 'animation--fade' : 'animation--alternate', _ctx.loading === true ? 'fw-button--loading cursor-progress' : 'cursor-pointer']]),
|
|
8815
|
+
"class": normalizeClass(["fw-button", [_ctx.baseClass, _ctx.textColorClass, _ctx.bgColorClass, _ctx.sizeClass, _ctx.borderClass, _ctx.rounded && _ctx.variant !== 'link' ? 'rounded-full' : 'rounded', _ctx.variant === 'link' ? 'pl-0 pr-0 pt-0 pb-0 font-normal rounded-1' : 'font-semibold', _ctx.animation === 'fade' ? 'animation--fade' : 'animation--alternate', _ctx.loading === true ? 'fw-button--loading cursor-progress' : 'cursor-pointer', _ctx.disabled && !_ctx.loading ? 'pointer-events-none text-grey-light' : '', _ctx.disabled && _ctx.active ? 'fw-button--disabled-active' : '']]),
|
|
8797
8816
|
type: _ctx.tagName === 'button' ? _ctx.buttonType : null,
|
|
8798
8817
|
to: _ctx.to ? _ctx.to : null,
|
|
8799
8818
|
href: _ctx.href ? _ctx.href : null,
|
|
8800
8819
|
tabindex: _ctx.to ? 0 : null,
|
|
8801
|
-
disabled: _ctx.loading,
|
|
8820
|
+
disabled: _ctx.loading || _ctx.disabled,
|
|
8802
8821
|
target: !!_ctx.external ? '_blank' : null,
|
|
8822
|
+
active: _ctx.active,
|
|
8803
8823
|
onClick: _ctx.onClick,
|
|
8804
8824
|
onFocusin: _ctx.onFocusin,
|
|
8805
8825
|
onFocusout: _ctx.onFocusout,
|
|
@@ -8821,11 +8841,11 @@ function render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8821
8841
|
})], 2)) : createCommentVNode("", true)])) : createCommentVNode("", true)];
|
|
8822
8842
|
}),
|
|
8823
8843
|
_: 3
|
|
8824
|
-
}, 40, ["class", "type", "to", "href", "tabindex", "disabled", "target", "onClick", "onFocusin", "onFocusout", "onMouseover", "onMouseout"]);
|
|
8844
|
+
}, 40, ["class", "type", "to", "href", "tabindex", "disabled", "target", "active", "onClick", "onFocusin", "onFocusout", "onMouseover", "onMouseout"]);
|
|
8825
8845
|
}
|
|
8826
8846
|
|
|
8827
|
-
var css_248z$f = ".fw-button{line-height:normal}.fw-button--label-wrapper{-webkit-transition-duration:.2s;-moz-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:margin,padding;-moz-transition-property:margin,padding;transition-property:margin,padding;-webkit-transition-timing-function:ease-in-out;-moz-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.fw-button--primary{background:var(--colorButtonPrimary);color:var(--colorButtonPrimaryText)}.fw-button--primary.fw-button--loading,.fw-button--primary:hover{background:var(--colorButtonPrimaryFade);border-color:var(--colorButtonPrimaryFade)}.fw-button--secondary{background:var(--colorButtonSecondary);color:var(--colorButtonSecondaryText)}.fw-button--secondary.animation--alternate.fw-button--loading,.fw-button--secondary.animation--alternate:hover{background:var(--colorButtonSecondaryText);color:var(--colorButtonSecondary)}.fw-button--secondary.animation--fade.fw-button--loading,.fw-button--secondary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}.fw-button--tertiary{background:var(--colorButtonTertiary);color:var(--colorButtonTertiaryText)}.fw-button--tertiary.animation--alternate.fw-button--loading,.fw-button--tertiary.animation--alternate:hover{background:var(--colorButtonTertiaryText);color:var(--colorButtonTertiary)}.fw-button--tertiary.animation--fade.fw-button--loading,.fw-button--tertiary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}";
|
|
8828
|
-
var stylesheet$f = ".fw-button{line-height:normal}.fw-button--label-wrapper{-webkit-transition-duration:.2s;-moz-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:margin,padding;-moz-transition-property:margin,padding;transition-property:margin,padding;-webkit-transition-timing-function:ease-in-out;-moz-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.fw-button--primary{background:var(--colorButtonPrimary);color:var(--colorButtonPrimaryText)}.fw-button--primary.fw-button--loading,.fw-button--primary:hover{background:var(--colorButtonPrimaryFade);border-color:var(--colorButtonPrimaryFade)}.fw-button--secondary{background:var(--colorButtonSecondary);color:var(--colorButtonSecondaryText)}.fw-button--secondary.animation--alternate.fw-button--loading,.fw-button--secondary.animation--alternate:hover{background:var(--colorButtonSecondaryText);color:var(--colorButtonSecondary)}.fw-button--secondary.animation--fade.fw-button--loading,.fw-button--secondary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}.fw-button--tertiary{background:var(--colorButtonTertiary);color:var(--colorButtonTertiaryText)}.fw-button--tertiary.animation--alternate.fw-button--loading,.fw-button--tertiary.animation--alternate:hover{background:var(--colorButtonTertiaryText);color:var(--colorButtonTertiary)}.fw-button--tertiary.animation--fade.fw-button--loading,.fw-button--tertiary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}";
|
|
8847
|
+
var css_248z$f = ".fw-button{line-height:normal}.fw-button--label-wrapper{-webkit-transition-duration:.2s;-moz-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:margin,padding;-moz-transition-property:margin,padding;transition-property:margin,padding;-webkit-transition-timing-function:ease-in-out;-moz-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.fw-button--primary{background:var(--colorButtonPrimary);color:var(--colorButtonPrimaryText)}.fw-button--primary.fw-button--loading,.fw-button--primary:hover{background:var(--colorButtonPrimaryFade);border-color:var(--colorButtonPrimaryFade)}.fw-button--secondary{background:var(--colorButtonSecondary);color:var(--colorButtonSecondaryText)}.fw-button--secondary.animation--alternate.fw-button--loading,.fw-button--secondary.animation--alternate:hover{background:var(--colorButtonSecondaryText);color:var(--colorButtonSecondary)}.fw-button--secondary.animation--fade.fw-button--loading,.fw-button--secondary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}.fw-button--tertiary{background:var(--colorButtonTertiary);color:var(--colorButtonTertiaryText)}.fw-button--tertiary.animation--alternate.fw-button--loading,.fw-button--tertiary.animation--alternate:hover{background:var(--colorButtonTertiaryText);color:var(--colorButtonTertiary)}.fw-button--tertiary.animation--fade.fw-button--loading,.fw-button--tertiary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}.fw-button--disabled-active{background:var(--colorButtonDisabled)!important;color:rgb(from var(--colorButtonDisabledText) r g b/.6)!important}";
|
|
8848
|
+
var stylesheet$f = ".fw-button{line-height:normal}.fw-button--label-wrapper{-webkit-transition-duration:.2s;-moz-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:margin,padding;-moz-transition-property:margin,padding;transition-property:margin,padding;-webkit-transition-timing-function:ease-in-out;-moz-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.fw-button--primary{background:var(--colorButtonPrimary);color:var(--colorButtonPrimaryText)}.fw-button--primary.fw-button--loading,.fw-button--primary:hover{background:var(--colorButtonPrimaryFade);border-color:var(--colorButtonPrimaryFade)}.fw-button--secondary{background:var(--colorButtonSecondary);color:var(--colorButtonSecondaryText)}.fw-button--secondary.animation--alternate.fw-button--loading,.fw-button--secondary.animation--alternate:hover{background:var(--colorButtonSecondaryText);color:var(--colorButtonSecondary)}.fw-button--secondary.animation--fade.fw-button--loading,.fw-button--secondary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}.fw-button--tertiary{background:var(--colorButtonTertiary);color:var(--colorButtonTertiaryText)}.fw-button--tertiary.animation--alternate.fw-button--loading,.fw-button--tertiary.animation--alternate:hover{background:var(--colorButtonTertiaryText);color:var(--colorButtonTertiary)}.fw-button--tertiary.animation--fade.fw-button--loading,.fw-button--tertiary.animation--fade:hover{-webkit-filter:brightness(135%);filter:brightness(135%)}.fw-button--disabled-active{background:var(--colorButtonDisabled)!important;color:rgb(from var(--colorButtonDisabledText) r g b/.6)!important}";
|
|
8829
8849
|
styleInject(css_248z$f);
|
|
8830
8850
|
|
|
8831
8851
|
script$h.render = render$o;
|
|
@@ -34683,7 +34703,7 @@ function usePage() {
|
|
|
34683
34703
|
"Page context missing. Please verify this component is nested within a valid context provider."
|
|
34684
34704
|
);
|
|
34685
34705
|
}
|
|
34686
|
-
const _hoisted_1$5
|
|
34706
|
+
const _hoisted_1$5 = { class: "vc-nav-header" };
|
|
34687
34707
|
const _hoisted_2$4$1 = ["disabled"];
|
|
34688
34708
|
const _hoisted_3$3 = ["disabled"];
|
|
34689
34709
|
const _hoisted_4$2$1 = { class: "vc-nav-items" };
|
|
@@ -34833,7 +34853,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
34833
34853
|
ref_key: "navContainer",
|
|
34834
34854
|
ref: navContainer
|
|
34835
34855
|
}, [
|
|
34836
|
-
createElementVNode("div", _hoisted_1$5
|
|
34856
|
+
createElementVNode("div", _hoisted_1$5, [
|
|
34837
34857
|
createElementVNode("button", {
|
|
34838
34858
|
type: "button",
|
|
34839
34859
|
class: "vc-nav-arrow is-left vc-focus",
|
|
@@ -36675,7 +36695,7 @@ __default__$3.setup = __setup__$3 ? function (props, ctx) {
|
|
|
36675
36695
|
return __setup__$3(props, ctx);
|
|
36676
36696
|
} : __injectCSSVars__$3;
|
|
36677
36697
|
|
|
36678
|
-
var _hoisted_1$
|
|
36698
|
+
var _hoisted_1$4 = {
|
|
36679
36699
|
"class": "fw-date-picker w-full"
|
|
36680
36700
|
};
|
|
36681
36701
|
var _hoisted_2$4 = {
|
|
@@ -36724,7 +36744,7 @@ var _hoisted_18 = {
|
|
|
36724
36744
|
function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
36725
36745
|
var _component_CalendarDaySvg = resolveComponent("CalendarDaySvg");
|
|
36726
36746
|
var _component_DatePicker = resolveComponent("DatePicker");
|
|
36727
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
36747
|
+
return openBlock(), createElementBlock("div", _hoisted_1$4, [createVNode(_component_DatePicker, {
|
|
36728
36748
|
modelValue: _ctx.dateModel,
|
|
36729
36749
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) {
|
|
36730
36750
|
return _ctx.dateModel = $event;
|
|
@@ -37059,7 +37079,7 @@ __default__$2.setup = __setup__$2 ? function (props, ctx) {
|
|
|
37059
37079
|
var _withScopeId$2 = function _withScopeId(n) {
|
|
37060
37080
|
return pushScopeId("data-v-6df01fae"), n = n(), popScopeId(), n;
|
|
37061
37081
|
};
|
|
37062
|
-
var _hoisted_1$
|
|
37082
|
+
var _hoisted_1$3 = ["id", "aria-hidden"];
|
|
37063
37083
|
var _hoisted_2$3 = {
|
|
37064
37084
|
key: 0,
|
|
37065
37085
|
"data-popper-arrow": "",
|
|
@@ -37099,7 +37119,7 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37099
37119
|
})
|
|
37100
37120
|
}, [renderSlot(_ctx.$slots, "content", {}, function () {
|
|
37101
37121
|
return [createTextVNode(toDisplayString(_ctx.title), 1)];
|
|
37102
|
-
}), _ctx.showArrow ? (openBlock(), createElementBlock("span", _hoisted_2$3)) : createCommentVNode("", true)], 10, _hoisted_1$
|
|
37122
|
+
}), _ctx.showArrow ? (openBlock(), createElementBlock("span", _hoisted_2$3)) : createCommentVNode("", true)], 10, _hoisted_1$3)], 2);
|
|
37103
37123
|
}
|
|
37104
37124
|
|
|
37105
37125
|
var css_248z$3 = ".fw-popover__content[data-v-6df01fae]{opacity:0;-webkit-transition:all .3s ease;-moz-transition:all .3s ease;transition:all .3s ease;white-space:normal;z-index:9999}.fw-popover__content--center[data-v-6df01fae]{text-align:center}.fw-popover__content--left[data-v-6df01fae]{text-align:left}.fw-popover__content--right[data-v-6df01fae]{text-align:right}.fw-popover--visible .fw-popover__content[data-v-6df01fae]{opacity:1;pointer-events:all}.fw-popover__arrow[data-v-6df01fae]:after{height:var(--bf2f5546);left:0;top:0;-webkit-transform:translate(-50%,-50%) rotate(45deg);-moz-transform:translate(-50%,-50%) rotate(45deg);-ms-transform:translate(-50%,-50%) rotate(45deg);transform:translate(-50%,-50%) rotate(45deg);width:var(--bf2f5546)}.fw-popover__content[data-popper-placement^=top][data-v-6df01fae]{margin-bottom:var(--bf2f5546)!important}.fw-popover__content[data-popper-placement^=right][data-v-6df01fae]{margin-left:var(--bf2f5546)!important}.fw-popover__content[data-popper-placement^=bottom][data-v-6df01fae]{margin-top:var(--bf2f5546)!important}.fw-popover__content[data-popper-placement^=left][data-v-6df01fae]{margin-right:var(--bf2f5546)!important}.fw-popover__content[data-popper-placement^=top] .fw-popover__arrow[data-v-6df01fae]{bottom:0}.fw-popover__content[data-popper-placement^=right] .fw-popover__arrow[data-v-6df01fae]{left:0}.fw-popover__content[data-popper-placement^=bottom] .fw-popover__arrow[data-v-6df01fae]{top:0}.fw-popover__content[data-popper-placement^=left] .fw-popover__arrow[data-v-6df01fae]{right:0}.fw-popover__content[data-popper-placement^=top] .fw-popover__arrow[data-v-6df01fae]{bottom:-1px}.fw-popover__content[data-popper-placement^=top] .fw-popover__arrow[data-v-6df01fae]:after{border-left:none;border-top:none}.fw-popover__content[data-popper-placement^=right] .fw-popover__arrow[data-v-6df01fae]{left:-1px}.fw-popover__content[data-popper-placement^=right] .fw-popover__arrow[data-v-6df01fae]:after{border-right:none;border-top:none}.fw-popover__content[data-popper-placement^=bottom] .fw-popover__arrow[data-v-6df01fae]{top:-1px}.fw-popover__content[data-popper-placement^=bottom] .fw-popover__arrow[data-v-6df01fae]:after{border-bottom:none;border-right:none}.fw-popover__content[data-popper-placement^=left] .fw-popover__arrow[data-v-6df01fae]{right:-1px}.fw-popover__content[data-popper-placement^=left] .fw-popover__arrow[data-v-6df01fae]:after{border-bottom:none;border-left:none}";
|
|
@@ -37135,6 +37155,10 @@ var script$1 = defineComponent({
|
|
|
37135
37155
|
validator: function validator(value) {
|
|
37136
37156
|
return ['sm', 'md', 'lg', 'xl', '2xl'].includes(value);
|
|
37137
37157
|
}
|
|
37158
|
+
},
|
|
37159
|
+
disabled: {
|
|
37160
|
+
type: Boolean,
|
|
37161
|
+
"default": false
|
|
37138
37162
|
}
|
|
37139
37163
|
},
|
|
37140
37164
|
setup: function setup(props, ctx) {
|
|
@@ -37156,27 +37180,28 @@ var script$1 = defineComponent({
|
|
|
37156
37180
|
}
|
|
37157
37181
|
});
|
|
37158
37182
|
|
|
37159
|
-
var _hoisted_1$3 = {
|
|
37160
|
-
"class": "fw-period-selector w-fit bg-grey-light bg-opacity-10 border-grey-light border-2 border-opacity-40 gap-x-1"
|
|
37161
|
-
};
|
|
37162
37183
|
function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
37163
37184
|
var _component_FwButton = resolveComponent("FwButton");
|
|
37164
|
-
return openBlock(), createElementBlock("div",
|
|
37185
|
+
return openBlock(), createElementBlock("div", {
|
|
37186
|
+
"class": normalizeClass(["fw-period-selector w-fit bg-grey-light bg-opacity-10 border-grey-light border-2 border-opacity-40 gap-x-1", _ctx.disabled === true ? 'hover:none cursor:none pointer-events-none' : ''])
|
|
37187
|
+
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.periodOptions, function (period) {
|
|
37165
37188
|
return openBlock(), createBlock(_component_FwButton, {
|
|
37166
37189
|
key: period,
|
|
37167
|
-
variant: _ctx.selectedPeriod === period ? 'tertiary' : 'transparent',
|
|
37190
|
+
variant: _ctx.selectedPeriod === period ? _ctx.disabled ? 'disabled' : 'tertiary' : 'transparent',
|
|
37168
37191
|
"class": "hover:!border-button-primary-bg -m-[2px] flex-1",
|
|
37169
37192
|
size: _ctx.size,
|
|
37170
37193
|
onClick: function onClick($event) {
|
|
37171
37194
|
return _ctx.selectedPeriod = period;
|
|
37172
|
-
}
|
|
37195
|
+
},
|
|
37196
|
+
disabled: _ctx.disabled,
|
|
37197
|
+
active: _ctx.disabled && _ctx.selectedPeriod === period
|
|
37173
37198
|
}, {
|
|
37174
37199
|
"default": withCtx(function () {
|
|
37175
37200
|
return [createTextVNode(toDisplayString(_ctx.generateButtonLabel(period)), 1)];
|
|
37176
37201
|
}),
|
|
37177
37202
|
_: 2
|
|
37178
|
-
}, 1032, ["variant", "size", "onClick"]);
|
|
37179
|
-
}), 128))]);
|
|
37203
|
+
}, 1032, ["variant", "size", "onClick", "disabled", "active"]);
|
|
37204
|
+
}), 128))], 2);
|
|
37180
37205
|
}
|
|
37181
37206
|
|
|
37182
37207
|
var css_248z$2 = ".fw-period-selector{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-moz-box-orient:horizontal;-moz-box-direction:normal;border-radius:9999px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}";
|