@frollo/frollo-web-ui 9.0.7 → 9.0.9
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 +53 -43
- package/esm/fw-navigation-menu.js +43 -32
- package/esm/fw-switch.js +8 -9
- package/frollo-web-ui.esm.js +53 -43
- package/index.d.ts +15 -4
- package/package.json +1 -1
- package/types/components/fw-navigation-menu/fw-navigation-menu.vue.d.ts +12 -0
- package/types/components/fw-navigation-menu/index.types.d.ts +1 -0
- package/types/components/fw-switch/fw-switch.vue.d.ts +2 -4
- package/web-components/index.js +55 -45
package/frollo-web-ui.esm.js
CHANGED
|
@@ -8728,7 +8728,7 @@ var _hoisted_12$3 = {
|
|
|
8728
8728
|
var _hoisted_13$3 = {
|
|
8729
8729
|
"class": "text-p text-body leading-none"
|
|
8730
8730
|
};
|
|
8731
|
-
var _hoisted_14$
|
|
8731
|
+
var _hoisted_14$3 = {
|
|
8732
8732
|
key: 0,
|
|
8733
8733
|
"class": "text-p-small text-body leading-none"
|
|
8734
8734
|
};
|
|
@@ -8792,7 +8792,7 @@ function render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8792
8792
|
key: 0,
|
|
8793
8793
|
src: option.image_url,
|
|
8794
8794
|
"class": "w-[20px] h-[20px]"
|
|
8795
|
-
}, null, 8, ["src"])) : createCommentVNode("", true), createElementVNode("div", _hoisted_12$3, [createElementVNode("span", _hoisted_13$3, toDisplayString(option.label), 1), option.description ? (openBlock(), createElementBlock("span", _hoisted_14$
|
|
8795
|
+
}, null, 8, ["src"])) : createCommentVNode("", true), createElementVNode("div", _hoisted_12$3, [createElementVNode("span", _hoisted_13$3, toDisplayString(option.label), 1), option.description ? (openBlock(), createElementBlock("span", _hoisted_14$3, toDisplayString(option.description), 1)) : createCommentVNode("", true)])])], 10, _hoisted_10$5);
|
|
8796
8796
|
}), 128))], 10, _hoisted_9$6), [[vShow, _ctx.isOpen]])];
|
|
8797
8797
|
}),
|
|
8798
8798
|
_: 1
|
|
@@ -8857,7 +8857,7 @@ var script$i = defineComponent({
|
|
|
8857
8857
|
/** v-model If provided, it is the source of truth. */
|
|
8858
8858
|
modelValue: {
|
|
8859
8859
|
type: Boolean,
|
|
8860
|
-
|
|
8860
|
+
"default": undefined
|
|
8861
8861
|
},
|
|
8862
8862
|
/**
|
|
8863
8863
|
* Progmatically set the checked state of the input.
|
|
@@ -8865,8 +8865,7 @@ var script$i = defineComponent({
|
|
|
8865
8865
|
*/
|
|
8866
8866
|
isChecked: {
|
|
8867
8867
|
type: Boolean,
|
|
8868
|
-
required: false
|
|
8869
|
-
"default": false
|
|
8868
|
+
required: false
|
|
8870
8869
|
}
|
|
8871
8870
|
},
|
|
8872
8871
|
emits: ['change', 'update:modelValue', 'update:isChecked'],
|
|
@@ -8876,14 +8875,14 @@ var script$i = defineComponent({
|
|
|
8876
8875
|
watch(function () {
|
|
8877
8876
|
return props.modelValue;
|
|
8878
8877
|
}, function (val) {
|
|
8879
|
-
if (val && val !== localChecked.value) {
|
|
8878
|
+
if (val !== undefined && val !== localChecked.value) {
|
|
8880
8879
|
localChecked.value = val;
|
|
8881
8880
|
}
|
|
8882
8881
|
});
|
|
8883
8882
|
watch(function () {
|
|
8884
8883
|
return props.isChecked;
|
|
8885
8884
|
}, function (val) {
|
|
8886
|
-
if (
|
|
8885
|
+
if (val !== localChecked.value) {
|
|
8887
8886
|
localChecked.value = val;
|
|
8888
8887
|
}
|
|
8889
8888
|
});
|
|
@@ -8901,7 +8900,7 @@ var script$i = defineComponent({
|
|
|
8901
8900
|
// always emit change
|
|
8902
8901
|
ctx.emit('change', next);
|
|
8903
8902
|
// if using v-model, update it
|
|
8904
|
-
ctx.emit('update:modelValue', next);
|
|
8903
|
+
if (props.modelValue !== undefined) ctx.emit('update:modelValue', next);
|
|
8905
8904
|
// keep legacy API in sync too
|
|
8906
8905
|
ctx.emit('update:isChecked', next);
|
|
8907
8906
|
};
|
|
@@ -8976,12 +8975,12 @@ function render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8976
8975
|
}, 8, ["name", "value", "rules"]);
|
|
8977
8976
|
}
|
|
8978
8977
|
|
|
8979
|
-
var css_248z$k = ".fw-switch[data-v-
|
|
8980
|
-
var stylesheet$k = ".fw-switch[data-v-
|
|
8978
|
+
var css_248z$k = ".fw-switch[data-v-08b12caa]{-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;border-radius:9999px;cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex}.fwFadeIn-enter-active[data-v-08b12caa]{-webkit-animation:fwFadeIn-08b12caa .35s;-moz-animation:fwFadeIn-08b12caa .35s;animation:fwFadeIn-08b12caa .35s;-webkit-transition:opacity .35s ease-in;-moz-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-08b12caa]{animation:fwFadeIn-08b12caa .35s reverse;-webkit-transition:opacity .35s ease-out;-moz-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}@-moz-keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}";
|
|
8979
|
+
var stylesheet$k = ".fw-switch[data-v-08b12caa]{-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;border-radius:9999px;cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex}.fwFadeIn-enter-active[data-v-08b12caa]{-webkit-animation:fwFadeIn-08b12caa .35s;-moz-animation:fwFadeIn-08b12caa .35s;animation:fwFadeIn-08b12caa .35s;-webkit-transition:opacity .35s ease-in;-moz-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-08b12caa]{animation:fwFadeIn-08b12caa .35s reverse;-webkit-transition:opacity .35s ease-out;-moz-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}@-moz-keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-08b12caa{0%{opacity:0}to{opacity:1}}";
|
|
8981
8980
|
styleInject(css_248z$k);
|
|
8982
8981
|
|
|
8983
8982
|
script$i.render = render$r;
|
|
8984
|
-
script$i.__scopeId = "data-v-
|
|
8983
|
+
script$i.__scopeId = "data-v-08b12caa";
|
|
8985
8984
|
|
|
8986
8985
|
var __default__$c = defineComponent({
|
|
8987
8986
|
name: 'FwCard',
|
|
@@ -11677,6 +11676,12 @@ var script$f = defineComponent({
|
|
|
11677
11676
|
reversedDesktopNavButton: {
|
|
11678
11677
|
type: Boolean,
|
|
11679
11678
|
"default": false
|
|
11679
|
+
},
|
|
11680
|
+
/**
|
|
11681
|
+
* Whether to force the logo to be displayed (forced for mobile themes that don't need a menu)
|
|
11682
|
+
*/
|
|
11683
|
+
forcedLogoSrc: {
|
|
11684
|
+
type: String
|
|
11680
11685
|
}
|
|
11681
11686
|
},
|
|
11682
11687
|
emits: ['action'],
|
|
@@ -11724,26 +11729,27 @@ var script$f = defineComponent({
|
|
|
11724
11729
|
}
|
|
11725
11730
|
});
|
|
11726
11731
|
|
|
11727
|
-
var _hoisted_1$u =
|
|
11728
|
-
|
|
11732
|
+
var _hoisted_1$u = ["src"];
|
|
11733
|
+
var _hoisted_2$q = {
|
|
11734
|
+
key: 1,
|
|
11729
11735
|
"class": "hidden lg:!flex flex-shrink-0 items-center"
|
|
11730
11736
|
};
|
|
11731
|
-
var
|
|
11732
|
-
var _hoisted_3$m = {
|
|
11733
|
-
"class": "flex space-x-1"
|
|
11734
|
-
};
|
|
11737
|
+
var _hoisted_3$m = ["src"];
|
|
11735
11738
|
var _hoisted_4$c = {
|
|
11736
|
-
|
|
11737
|
-
"class": "hidden lg:flex items-center justify-center lg:ml-2"
|
|
11739
|
+
"class": "flex space-x-1 ml-auto"
|
|
11738
11740
|
};
|
|
11739
11741
|
var _hoisted_5$b = {
|
|
11740
|
-
|
|
11742
|
+
key: 3,
|
|
11743
|
+
"class": "hidden lg:flex items-center justify-center lg:ml-2"
|
|
11741
11744
|
};
|
|
11742
11745
|
var _hoisted_6$9 = {
|
|
11743
|
-
|
|
11744
|
-
"class": "flex items-center lg:hidden z-[53]"
|
|
11746
|
+
"class": "flex flex-col min-w-[180px] text-left"
|
|
11745
11747
|
};
|
|
11746
11748
|
var _hoisted_7$7 = {
|
|
11749
|
+
key: 4,
|
|
11750
|
+
"class": "flex items-center lg:hidden z-[53]"
|
|
11751
|
+
};
|
|
11752
|
+
var _hoisted_8$6 = {
|
|
11747
11753
|
"class": "block h-6 w-6",
|
|
11748
11754
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11749
11755
|
fill: "none",
|
|
@@ -11751,20 +11757,20 @@ var _hoisted_7$7 = {
|
|
|
11751
11757
|
stroke: "currentColor",
|
|
11752
11758
|
"aria-hidden": "true"
|
|
11753
11759
|
};
|
|
11754
|
-
var
|
|
11755
|
-
var
|
|
11760
|
+
var _hoisted_9$5 = ["d"];
|
|
11761
|
+
var _hoisted_10$4 = {
|
|
11756
11762
|
key: 0,
|
|
11757
11763
|
"class": "flex-none lg:hidden items-start flex-shrink-0 pl-4"
|
|
11758
11764
|
};
|
|
11759
|
-
var
|
|
11760
|
-
var
|
|
11765
|
+
var _hoisted_11$3 = ["src"];
|
|
11766
|
+
var _hoisted_12$2 = {
|
|
11761
11767
|
key: 1,
|
|
11762
11768
|
"class": "w-full flex flex-col space-y-1 pt-6"
|
|
11763
11769
|
};
|
|
11764
|
-
var
|
|
11770
|
+
var _hoisted_13$2 = {
|
|
11765
11771
|
"class": "flex flex-col justify-between pt-6 h-full"
|
|
11766
11772
|
};
|
|
11767
|
-
var
|
|
11773
|
+
var _hoisted_14$2 = {
|
|
11768
11774
|
key: 0,
|
|
11769
11775
|
"class": "w-full flex flex-col space-y-1"
|
|
11770
11776
|
};
|
|
@@ -11774,22 +11780,26 @@ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11774
11780
|
var _component_UserSvg = resolveComponent("UserSvg");
|
|
11775
11781
|
var _component_FwPopover = resolveComponent("FwPopover");
|
|
11776
11782
|
return openBlock(), createElementBlock("nav", {
|
|
11777
|
-
"class": normalizeClass(["fw-nav-menu z-50 h-[72px] bg-white shadow-bottom", [_ctx.transparent ? 'lg:bg-transparent lg:shadow-none' : 'lg:bg-brand-appBg lg:shadow-bottom', _ctx.isMobileMenuOpen ? 'bg-transparent' : '']])
|
|
11783
|
+
"class": normalizeClass(["fw-nav-menu z-50 h-[72px] bg-white shadow-bottom", [_ctx.transparent ? 'lg:bg-transparent lg:shadow-none' : 'lg:bg-brand-appBg lg:shadow-bottom', _ctx.isMobileMenuOpen ? 'bg-transparent' : '', !!_ctx.forcedLogoSrc ? '!bg-transparent !shadow-none' : '']])
|
|
11778
11784
|
}, [createElementVNode("div", {
|
|
11779
11785
|
"class": normalizeClass(["px-6 lg:py-3 flex-1 h-full flex items-stretch justify-between mx-auto", [_ctx.containerClass, !_ctx.menuEnabled ? 'hidden lg:flex' : '']])
|
|
11780
|
-
}, [_ctx
|
|
11786
|
+
}, [!!_ctx.forcedLogoSrc ? (openBlock(), createElementBlock("img", {
|
|
11787
|
+
key: 0,
|
|
11788
|
+
src: _ctx.forcedLogoSrc,
|
|
11789
|
+
"class": "w-[42px]"
|
|
11790
|
+
}, null, 8, _hoisted_1$u)) : _ctx.$slots.logo || _ctx.logoSrc ? (openBlock(), createElementBlock("div", _hoisted_2$q, [_ctx.$slots.logo ? renderSlot(_ctx.$slots, "logo", {
|
|
11781
11791
|
key: 0
|
|
11782
11792
|
}) : _ctx.logoSrc ? (openBlock(), createElementBlock("img", {
|
|
11783
11793
|
key: 1,
|
|
11784
11794
|
src: _ctx.logoSrc,
|
|
11785
11795
|
"class": "w-[42px]"
|
|
11786
|
-
}, null, 8,
|
|
11787
|
-
key:
|
|
11788
|
-
"class": normalizeClass(["container
|
|
11796
|
+
}, null, 8, _hoisted_3$m)) : createCommentVNode("", true)])) : createCommentVNode("", true), _ctx.menuEnabled && _ctx.parsedMenuItems && ((_ctx$parsedMenuItems = _ctx.parsedMenuItems) === null || _ctx$parsedMenuItems === void 0 ? void 0 : _ctx$parsedMenuItems.length) > 0 ? (openBlock(), createElementBlock("div", {
|
|
11797
|
+
key: 2,
|
|
11798
|
+
"class": normalizeClass(["container items-center justify-between", [_ctx.paddingClasses, !!_ctx.forcedLogoSrc ? 'flex' : 'hidden lg:flex']])
|
|
11789
11799
|
}, [_cache[1] || (_cache[1] = createElementVNode("div", {
|
|
11790
11800
|
id: "menu-teleport",
|
|
11791
11801
|
"class": "hidden lg:flex items-center gap-x-2"
|
|
11792
|
-
}, null, -1)), createElementVNode("div",
|
|
11802
|
+
}, null, -1)), createElementVNode("div", _hoisted_4$c, [(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.parsedMenuItems, function (item, i) {
|
|
11793
11803
|
return openBlock(), createBlock(_component_FwButton, {
|
|
11794
11804
|
key: i,
|
|
11795
11805
|
variant: "transparent",
|
|
@@ -11807,13 +11817,13 @@ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11807
11817
|
}),
|
|
11808
11818
|
_: 2
|
|
11809
11819
|
}, 1032, ["class", "href", "to", "external", "onClick"]);
|
|
11810
|
-
}), 128))])], 2)) : createCommentVNode("", true), _ctx.menuEnabled && _ctx.actionLabel && _ctx.authenticated ? (openBlock(), createElementBlock("div",
|
|
11820
|
+
}), 128))])], 2)) : createCommentVNode("", true), _ctx.menuEnabled && _ctx.actionLabel && _ctx.authenticated ? (openBlock(), createElementBlock("div", _hoisted_5$b, [createVNode(_component_FwPopover, {
|
|
11811
11821
|
placement: "bottom-start",
|
|
11812
11822
|
"show-on-top": "",
|
|
11813
11823
|
trigger: "click"
|
|
11814
11824
|
}, {
|
|
11815
11825
|
content: withCtx(function () {
|
|
11816
|
-
return [createElementVNode("div",
|
|
11826
|
+
return [createElementVNode("div", _hoisted_6$9, [createVNode(_component_FwButton, {
|
|
11817
11827
|
size: "lg",
|
|
11818
11828
|
variant: "text",
|
|
11819
11829
|
rounded: false,
|
|
@@ -11843,7 +11853,7 @@ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11843
11853
|
})];
|
|
11844
11854
|
}),
|
|
11845
11855
|
_: 1
|
|
11846
|
-
})])) : createCommentVNode("", true), _ctx.menuEnabled ? (openBlock(), createElementBlock("div",
|
|
11856
|
+
})])) : createCommentVNode("", true), _ctx.menuEnabled && !_ctx.forcedLogoSrc ? (openBlock(), createElementBlock("div", _hoisted_7$7, [createVNode(_component_FwButton, {
|
|
11847
11857
|
variant: _ctx.isMobileMenuOpen ? 'primary' : 'tertiary',
|
|
11848
11858
|
size: "sm",
|
|
11849
11859
|
rounded: false,
|
|
@@ -11853,18 +11863,18 @@ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11853
11863
|
"default": withCtx(function () {
|
|
11854
11864
|
return [_cache[2] || (_cache[2] = createElementVNode("span", {
|
|
11855
11865
|
"class": "sr-only"
|
|
11856
|
-
}, "Open main menu", -1)), (openBlock(), createElementBlock("svg",
|
|
11866
|
+
}, "Open main menu", -1)), (openBlock(), createElementBlock("svg", _hoisted_8$6, [createElementVNode("path", {
|
|
11857
11867
|
"stroke-linecap": "round",
|
|
11858
11868
|
"stroke-linejoin": "round",
|
|
11859
11869
|
"stroke-width": "2",
|
|
11860
11870
|
d: _ctx.isMobileMenuOpen ? 'M6 18L18 6M6 6l12 12' : 'M4 6h16M4 12h16M4 18h16'
|
|
11861
|
-
}, null, 8,
|
|
11871
|
+
}, null, 8, _hoisted_9$5)]))];
|
|
11862
11872
|
}),
|
|
11863
11873
|
_: 1
|
|
11864
11874
|
}, 8, ["variant", "class", "onClick"])])) : createCommentVNode("", true)], 2), _cache[4] || (_cache[4] = createElementVNode("div", {
|
|
11865
11875
|
id: "menu-search-teleport",
|
|
11866
11876
|
"class": "absolute top-0 left-0 w-full z-[54]"
|
|
11867
|
-
}, null, -1)), _ctx.menuEnabled ? (openBlock(), createBlock(Transition, {
|
|
11877
|
+
}, null, -1)), _ctx.menuEnabled && !_ctx.forcedLogoSrc ? (openBlock(), createBlock(Transition, {
|
|
11868
11878
|
key: 0,
|
|
11869
11879
|
name: "slideInRight"
|
|
11870
11880
|
}, {
|
|
@@ -11872,13 +11882,13 @@ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11872
11882
|
return [_ctx.parsedMenuItems && _ctx.parsedMenuItems.length > 0 && _ctx.isMobileMenuOpen ? (openBlock(), createElementBlock("div", {
|
|
11873
11883
|
key: 0,
|
|
11874
11884
|
"class": normalizeClass(["fw-nav-menu--mobile pl-6 pb-12", _ctx.mobileMenuClass])
|
|
11875
|
-
}, [_ctx.$slots.mobileLogo || _ctx.mobileLogoSrc ? (openBlock(), createElementBlock("div",
|
|
11885
|
+
}, [_ctx.$slots.mobileLogo || _ctx.mobileLogoSrc ? (openBlock(), createElementBlock("div", _hoisted_10$4, [_ctx.$slots.mobileLogo ? renderSlot(_ctx.$slots, "mobileLogo", {
|
|
11876
11886
|
key: 0
|
|
11877
11887
|
}) : _ctx.mobileLogoSrc ? (openBlock(), createElementBlock("img", {
|
|
11878
11888
|
key: 1,
|
|
11879
11889
|
src: _ctx.mobileLogoSrc,
|
|
11880
11890
|
"class": "w-[42px]"
|
|
11881
|
-
}, null, 8,
|
|
11891
|
+
}, null, 8, _hoisted_11$3)) : createCommentVNode("", true)])) : createCommentVNode("", true), _ctx.parsedAdditionalMenuItems ? (openBlock(), createElementBlock("div", _hoisted_12$2, [(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.parsedAdditionalMenuItems, function (item, i) {
|
|
11882
11892
|
return openBlock(), createElementBlock(Fragment$1, {
|
|
11883
11893
|
key: i
|
|
11884
11894
|
}, [!item.disabled ? (openBlock(), createBlock(_component_FwButton, {
|
|
@@ -11901,7 +11911,7 @@ function render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11901
11911
|
}, 1032, ["href", "to", "external", "onClick"])) : createCommentVNode("", true)], 64);
|
|
11902
11912
|
}), 128)), _cache[3] || (_cache[3] = createElementVNode("div", {
|
|
11903
11913
|
"class": "w-[50px] relative bg-brand-border3 h-px !mt-6 ml-2"
|
|
11904
|
-
}, null, -1))])) : createCommentVNode("", true), createElementVNode("div",
|
|
11914
|
+
}, null, -1))])) : createCommentVNode("", true), createElementVNode("div", _hoisted_13$2, [_ctx.menuEnabled ? (openBlock(), createElementBlock("div", _hoisted_14$2, [(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.parsedMenuItems, function (item, i) {
|
|
11905
11915
|
return openBlock(), createBlock(_component_FwButton, {
|
|
11906
11916
|
key: i,
|
|
11907
11917
|
"class": "w-full rounded-md !text-left !pl-2",
|
package/index.d.ts
CHANGED
|
@@ -1404,7 +1404,7 @@ declare const _default$j: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1404
1404
|
/** v-model If provided, it is the source of truth. */
|
|
1405
1405
|
modelValue: {
|
|
1406
1406
|
type: BooleanConstructor;
|
|
1407
|
-
|
|
1407
|
+
default: undefined;
|
|
1408
1408
|
};
|
|
1409
1409
|
/**
|
|
1410
1410
|
* Progmatically set the checked state of the input.
|
|
@@ -1413,7 +1413,6 @@ declare const _default$j: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1413
1413
|
isChecked: {
|
|
1414
1414
|
type: BooleanConstructor;
|
|
1415
1415
|
required: false;
|
|
1416
|
-
default: boolean;
|
|
1417
1416
|
};
|
|
1418
1417
|
}>, {
|
|
1419
1418
|
checked: vue.ComputedRef<boolean>;
|
|
@@ -1458,7 +1457,7 @@ declare const _default$j: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1458
1457
|
/** v-model If provided, it is the source of truth. */
|
|
1459
1458
|
modelValue: {
|
|
1460
1459
|
type: BooleanConstructor;
|
|
1461
|
-
|
|
1460
|
+
default: undefined;
|
|
1462
1461
|
};
|
|
1463
1462
|
/**
|
|
1464
1463
|
* Progmatically set the checked state of the input.
|
|
@@ -1467,7 +1466,6 @@ declare const _default$j: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1467
1466
|
isChecked: {
|
|
1468
1467
|
type: BooleanConstructor;
|
|
1469
1468
|
required: false;
|
|
1470
|
-
default: boolean;
|
|
1471
1469
|
};
|
|
1472
1470
|
}>> & Readonly<{
|
|
1473
1471
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -2238,6 +2236,7 @@ declare interface FwNavigationMenuProps {
|
|
|
2238
2236
|
logoSrc?: string;
|
|
2239
2237
|
mobileLogoSrc?: string;
|
|
2240
2238
|
reversedDesktopNavButton?: boolean;
|
|
2239
|
+
forcedLogoSrc?: string;
|
|
2241
2240
|
}
|
|
2242
2241
|
|
|
2243
2242
|
declare const _default$g: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
@@ -2315,6 +2314,12 @@ declare const _default$g: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
2315
2314
|
type: BooleanConstructor;
|
|
2316
2315
|
default: boolean;
|
|
2317
2316
|
};
|
|
2317
|
+
/**
|
|
2318
|
+
* Whether to force the logo to be displayed (forced for mobile themes that don't need a menu)
|
|
2319
|
+
*/
|
|
2320
|
+
forcedLogoSrc: {
|
|
2321
|
+
type: StringConstructor;
|
|
2322
|
+
};
|
|
2318
2323
|
}>, {
|
|
2319
2324
|
parsedMenuItems: vue.ShallowRef<NavMenuItem[], NavMenuItem[]>;
|
|
2320
2325
|
parsedAdditionalMenuItems: vue.ShallowRef<NavMenuItem[], NavMenuItem[]>;
|
|
@@ -2397,6 +2402,12 @@ declare const _default$g: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
2397
2402
|
type: BooleanConstructor;
|
|
2398
2403
|
default: boolean;
|
|
2399
2404
|
};
|
|
2405
|
+
/**
|
|
2406
|
+
* Whether to force the logo to be displayed (forced for mobile themes that don't need a menu)
|
|
2407
|
+
*/
|
|
2408
|
+
forcedLogoSrc: {
|
|
2409
|
+
type: StringConstructor;
|
|
2410
|
+
};
|
|
2400
2411
|
}>> & Readonly<{
|
|
2401
2412
|
onAction?: ((...args: any[]) => any) | undefined;
|
|
2402
2413
|
}>, {
|
package/package.json
CHANGED
|
@@ -75,6 +75,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
75
75
|
type: BooleanConstructor;
|
|
76
76
|
default: boolean;
|
|
77
77
|
};
|
|
78
|
+
/**
|
|
79
|
+
* Whether to force the logo to be displayed (forced for mobile themes that don't need a menu)
|
|
80
|
+
*/
|
|
81
|
+
forcedLogoSrc: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
};
|
|
78
84
|
}>, {
|
|
79
85
|
parsedMenuItems: import("vue").ShallowRef<NavMenuItem[], NavMenuItem[]>;
|
|
80
86
|
parsedAdditionalMenuItems: import("vue").ShallowRef<NavMenuItem[], NavMenuItem[]>;
|
|
@@ -157,6 +163,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
157
163
|
type: BooleanConstructor;
|
|
158
164
|
default: boolean;
|
|
159
165
|
};
|
|
166
|
+
/**
|
|
167
|
+
* Whether to force the logo to be displayed (forced for mobile themes that don't need a menu)
|
|
168
|
+
*/
|
|
169
|
+
forcedLogoSrc: {
|
|
170
|
+
type: StringConstructor;
|
|
171
|
+
};
|
|
160
172
|
}>> & Readonly<{
|
|
161
173
|
onAction?: ((...args: any[]) => any) | undefined;
|
|
162
174
|
}>, {
|
|
@@ -38,7 +38,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
38
38
|
/** v-model If provided, it is the source of truth. */
|
|
39
39
|
modelValue: {
|
|
40
40
|
type: BooleanConstructor;
|
|
41
|
-
|
|
41
|
+
default: undefined;
|
|
42
42
|
};
|
|
43
43
|
/**
|
|
44
44
|
* Progmatically set the checked state of the input.
|
|
@@ -47,7 +47,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
47
47
|
isChecked: {
|
|
48
48
|
type: BooleanConstructor;
|
|
49
49
|
required: false;
|
|
50
|
-
default: boolean;
|
|
51
50
|
};
|
|
52
51
|
}>, {
|
|
53
52
|
checked: import("vue").ComputedRef<boolean>;
|
|
@@ -92,7 +91,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
92
91
|
/** v-model If provided, it is the source of truth. */
|
|
93
92
|
modelValue: {
|
|
94
93
|
type: BooleanConstructor;
|
|
95
|
-
|
|
94
|
+
default: undefined;
|
|
96
95
|
};
|
|
97
96
|
/**
|
|
98
97
|
* Progmatically set the checked state of the input.
|
|
@@ -101,7 +100,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
101
100
|
isChecked: {
|
|
102
101
|
type: BooleanConstructor;
|
|
103
102
|
required: false;
|
|
104
|
-
default: boolean;
|
|
105
103
|
};
|
|
106
104
|
}>> & Readonly<{
|
|
107
105
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|