@empathyco/x-components 6.0.0-alpha.240 → 6.0.0-alpha.241
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/CHANGELOG.md +11 -0
- package/core/index.js +0 -3
- package/core/index.js.map +1 -1
- package/docs/API-reference/api/x-components.md +0 -33
- package/js/components/animations/animate-width.vue.js +2 -2
- package/js/components/modals/base-id-modal.vue.js +2 -2
- package/js/components/panels/base-id-toggle-panel.vue.js +2 -2
- package/js/index.js +0 -3
- package/js/index.js.map +1 -1
- package/js/wiring/namespaced-wires.factory.js +1 -1
- package/js/x-modules/ai/components/ai-carousel.vue2.js +0 -7
- package/js/x-modules/ai/components/ai-carousel.vue2.js.map +1 -1
- package/js/x-modules/ai/components/ai-overview.vue2.js +0 -7
- package/js/x-modules/ai/components/ai-overview.vue2.js.map +1 -1
- package/js/x-modules/empathize/components/empathize.vue2.js +0 -7
- package/js/x-modules/empathize/components/empathize.vue2.js.map +1 -1
- package/js/x-modules/queries-preview/components/query-preview-button.vue2.js +0 -7
- package/js/x-modules/queries-preview/components/query-preview-button.vue2.js.map +1 -1
- package/js/x-modules/queries-preview/components/query-preview.vue2.js +0 -7
- package/js/x-modules/queries-preview/components/query-preview.vue2.js.map +1 -1
- package/js/x-modules/scroll/components/scroll-to-top.vue2.js +0 -7
- package/js/x-modules/scroll/components/scroll-to-top.vue2.js.map +1 -1
- package/js/x-modules/scroll/components/scroll.vue.js +2 -2
- package/package.json +2 -2
- package/report/x-components.api.json +0 -735
- package/report/x-components.api.md +0 -71
- package/types/src/components/index.d.ts +0 -1
- package/types/src/components/index.d.ts.map +1 -1
- package/docs/API-reference/api/x-components.fixedheaderandasideslayout.md +0 -37
- package/docs/API-reference/api/x-components.multicolumnmaxwidthlayout.md +0 -37
- package/docs/API-reference/api/x-components.singlecolumnlayout.md +0 -42
- package/docs/API-reference/components/common/layouts/x-components.fixed-header-and-asides-layout.md +0 -99
- package/docs/API-reference/components/common/layouts/x-components.multi-column-max-width-layout.md +0 -185
- package/docs/API-reference/components/common/layouts/x-components.single-column-layout.md +0 -81
- package/js/components/layouts/fixed-header-and-asides-layout.vue.js +0 -151
- package/js/components/layouts/fixed-header-and-asides-layout.vue.js.map +0 -1
- package/js/components/layouts/fixed-header-and-asides-layout.vue2.js +0 -40
- package/js/components/layouts/fixed-header-and-asides-layout.vue2.js.map +0 -1
- package/js/components/layouts/fixed-header-and-asides-layout.vue3.js +0 -7
- package/js/components/layouts/fixed-header-and-asides-layout.vue3.js.map +0 -1
- package/js/components/layouts/multi-column-max-width-layout.vue.js +0 -188
- package/js/components/layouts/multi-column-max-width-layout.vue.js.map +0 -1
- package/js/components/layouts/multi-column-max-width-layout.vue2.js +0 -30
- package/js/components/layouts/multi-column-max-width-layout.vue2.js.map +0 -1
- package/js/components/layouts/multi-column-max-width-layout.vue3.js +0 -7
- package/js/components/layouts/multi-column-max-width-layout.vue3.js.map +0 -1
- package/js/components/layouts/multi-column-max-width-layout.vue4.js +0 -7
- package/js/components/layouts/multi-column-max-width-layout.vue4.js.map +0 -1
- package/js/components/layouts/single-column-layout.vue.js +0 -162
- package/js/components/layouts/single-column-layout.vue.js.map +0 -1
- package/js/components/layouts/single-column-layout.vue2.js +0 -32
- package/js/components/layouts/single-column-layout.vue2.js.map +0 -1
- package/js/components/layouts/single-column-layout.vue3.js +0 -7
- package/js/components/layouts/single-column-layout.vue3.js.map +0 -1
- package/types/src/components/layouts/fixed-header-and-asides-layout.vue.d.ts +0 -31
- package/types/src/components/layouts/fixed-header-and-asides-layout.vue.d.ts.map +0 -1
- package/types/src/components/layouts/index.d.ts +0 -4
- package/types/src/components/layouts/index.d.ts.map +0 -1
- package/types/src/components/layouts/multi-column-max-width-layout.vue.d.ts +0 -33
- package/types/src/components/layouts/multi-column-max-width-layout.vue.d.ts.map +0 -1
- package/types/src/components/layouts/single-column-layout.vue.d.ts +0 -38
- package/types/src/components/layouts/single-column-layout.vue.d.ts.map +0 -1
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
import _sfc_main from './fixed-header-and-asides-layout.vue2.js';
|
|
2
|
-
import { resolveComponent, openBlock, createBlock, withCtx, createVNode, normalizeClass, createElementVNode, createElementBlock, renderSlot, createCommentVNode } from 'vue';
|
|
3
|
-
import './fixed-header-and-asides-layout.vue3.js';
|
|
4
|
-
import _export_sfc from '../../_virtual/_plugin-vue_export-helper.js';
|
|
5
|
-
|
|
6
|
-
const _hoisted_1 = {
|
|
7
|
-
key: "header",
|
|
8
|
-
class: "x-layout__header x-list x-list--horizontal"
|
|
9
|
-
};
|
|
10
|
-
const _hoisted_2 = {
|
|
11
|
-
key: 0,
|
|
12
|
-
class: "slot-helper"
|
|
13
|
-
};
|
|
14
|
-
const _hoisted_3 = {
|
|
15
|
-
key: "sub-header",
|
|
16
|
-
class: "x-layout__sub-header"
|
|
17
|
-
};
|
|
18
|
-
const _hoisted_4 = { class: "x-layout__sub-header-content" };
|
|
19
|
-
const _hoisted_5 = {
|
|
20
|
-
key: 0,
|
|
21
|
-
class: "slot-helper"
|
|
22
|
-
};
|
|
23
|
-
const _hoisted_6 = {
|
|
24
|
-
key: "toolbar",
|
|
25
|
-
class: "x-layout__toolbar"
|
|
26
|
-
};
|
|
27
|
-
const _hoisted_7 = {
|
|
28
|
-
key: 0,
|
|
29
|
-
class: "slot-helper"
|
|
30
|
-
};
|
|
31
|
-
const _hoisted_8 = {
|
|
32
|
-
key: "main",
|
|
33
|
-
class: "x-layout__main x-list x-list--vertical"
|
|
34
|
-
};
|
|
35
|
-
const _hoisted_9 = {
|
|
36
|
-
key: 0,
|
|
37
|
-
class: "slot-helper"
|
|
38
|
-
};
|
|
39
|
-
const _hoisted_10 = {
|
|
40
|
-
key: 0,
|
|
41
|
-
class: "slot-helper"
|
|
42
|
-
};
|
|
43
|
-
const _hoisted_11 = {
|
|
44
|
-
key: 0,
|
|
45
|
-
class: "slot-helper"
|
|
46
|
-
};
|
|
47
|
-
const _hoisted_12 = {
|
|
48
|
-
key: 0,
|
|
49
|
-
class: "slot-helper"
|
|
50
|
-
};
|
|
51
|
-
const _hoisted_13 = {
|
|
52
|
-
key: "scroll-to-top",
|
|
53
|
-
class: "x-layout__scroll-to-top"
|
|
54
|
-
};
|
|
55
|
-
const _hoisted_14 = {
|
|
56
|
-
key: 0,
|
|
57
|
-
class: "slot-helper"
|
|
58
|
-
};
|
|
59
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
60
|
-
const _component_BaseIdModal = resolveComponent("BaseIdModal");
|
|
61
|
-
const _component_Scroll = resolveComponent("Scroll");
|
|
62
|
-
const _component_MainScroll = resolveComponent("MainScroll");
|
|
63
|
-
return openBlock(), createBlock(_component_MainScroll, null, {
|
|
64
|
-
default: withCtx(() => [
|
|
65
|
-
createVNode(_component_Scroll, {
|
|
66
|
-
id: "main-scroll",
|
|
67
|
-
class: normalizeClass(["x-layout x-layout--fixed-header-and-asides", { "dev-mode": _ctx.devMode }]),
|
|
68
|
-
onScroll: _ctx.setPosition
|
|
69
|
-
}, {
|
|
70
|
-
default: withCtx(() => [
|
|
71
|
-
createElementVNode(
|
|
72
|
-
"div",
|
|
73
|
-
{
|
|
74
|
-
key: "header-backdrop",
|
|
75
|
-
class: normalizeClass(["x-layout__header-backdrop", { "x-layout__header-backdrop--is-visible": _ctx.isBackdropVisible }])
|
|
76
|
-
},
|
|
77
|
-
null,
|
|
78
|
-
2
|
|
79
|
-
/* CLASS */
|
|
80
|
-
),
|
|
81
|
-
_ctx.devMode || _ctx.$slots.header ? (openBlock(), createElementBlock("header", _hoisted_1, [
|
|
82
|
-
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
83
|
-
_ctx.devMode ? (openBlock(), createElementBlock("span", _hoisted_2, "HEADER")) : createCommentVNode("v-if", true)
|
|
84
|
-
], true)
|
|
85
|
-
])) : createCommentVNode("v-if", true),
|
|
86
|
-
_ctx.devMode || _ctx.$slots["sub-header"] ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
87
|
-
createElementVNode("div", _hoisted_4, [
|
|
88
|
-
renderSlot(_ctx.$slots, "sub-header", {}, () => [
|
|
89
|
-
_ctx.devMode ? (openBlock(), createElementBlock("span", _hoisted_5, "SUB HEADER")) : createCommentVNode("v-if", true)
|
|
90
|
-
], true)
|
|
91
|
-
])
|
|
92
|
-
])) : createCommentVNode("v-if", true),
|
|
93
|
-
_ctx.devMode || _ctx.$slots.toolbar ? (openBlock(), createElementBlock("section", _hoisted_6, [
|
|
94
|
-
renderSlot(_ctx.$slots, "toolbar", {}, () => [
|
|
95
|
-
_ctx.devMode ? (openBlock(), createElementBlock("span", _hoisted_7, "TOOLBAR")) : createCommentVNode("v-if", true)
|
|
96
|
-
], true)
|
|
97
|
-
])) : createCommentVNode("v-if", true),
|
|
98
|
-
_ctx.devMode || _ctx.$slots.main ? (openBlock(), createElementBlock("main", _hoisted_8, [
|
|
99
|
-
renderSlot(_ctx.$slots, "main", {}, () => [
|
|
100
|
-
_ctx.devMode ? (openBlock(), createElementBlock("span", _hoisted_9, "MAIN")) : createCommentVNode("v-if", true)
|
|
101
|
-
], true)
|
|
102
|
-
])) : createCommentVNode("v-if", true),
|
|
103
|
-
_ctx.devMode || _ctx.$slots["left-aside"] ? (openBlock(), createBlock(_component_BaseIdModal, {
|
|
104
|
-
key: "left-aside",
|
|
105
|
-
animation: _ctx.leftAsideAnimation,
|
|
106
|
-
"modal-id": "left-aside",
|
|
107
|
-
class: "x-layout__aside x-layout__aside--left"
|
|
108
|
-
}, {
|
|
109
|
-
default: withCtx(() => [
|
|
110
|
-
renderSlot(_ctx.$slots, "left-aside", {}, () => [
|
|
111
|
-
_ctx.devMode ? (openBlock(), createElementBlock("span", _hoisted_10, "LEFT ASIDE")) : createCommentVNode("v-if", true)
|
|
112
|
-
], true)
|
|
113
|
-
]),
|
|
114
|
-
_: 3
|
|
115
|
-
/* FORWARDED */
|
|
116
|
-
}, 8, ["animation"])) : createCommentVNode("v-if", true),
|
|
117
|
-
_ctx.devMode || _ctx.$slots["right-aside"] ? (openBlock(), createBlock(_component_BaseIdModal, {
|
|
118
|
-
key: "right-aside",
|
|
119
|
-
animation: _ctx.rightAsideAnimation,
|
|
120
|
-
"modal-id": "right-aside",
|
|
121
|
-
class: "x-layout__aside x-layout__aside--right"
|
|
122
|
-
}, {
|
|
123
|
-
default: withCtx(() => [
|
|
124
|
-
renderSlot(_ctx.$slots, "right-aside", {}, () => [
|
|
125
|
-
_ctx.devMode ? (openBlock(), createElementBlock("span", _hoisted_11, "RIGHT ASIDE")) : createCommentVNode("v-if", true)
|
|
126
|
-
], true)
|
|
127
|
-
]),
|
|
128
|
-
_: 3
|
|
129
|
-
/* FORWARDED */
|
|
130
|
-
}, 8, ["animation"])) : createCommentVNode("v-if", true),
|
|
131
|
-
renderSlot(_ctx.$slots, "extra-aside", {}, () => [
|
|
132
|
-
_ctx.devMode ? (openBlock(), createElementBlock("span", _hoisted_12, "EXTRA ASIDE")) : createCommentVNode("v-if", true)
|
|
133
|
-
], true),
|
|
134
|
-
_ctx.devMode || _ctx.$slots["scroll-to-top"] ? (openBlock(), createElementBlock("div", _hoisted_13, [
|
|
135
|
-
renderSlot(_ctx.$slots, "scroll-to-top", {}, () => [
|
|
136
|
-
_ctx.devMode ? (openBlock(), createElementBlock("span", _hoisted_14, "SCROLL TO TOP")) : createCommentVNode("v-if", true)
|
|
137
|
-
], true)
|
|
138
|
-
])) : createCommentVNode("v-if", true)
|
|
139
|
-
]),
|
|
140
|
-
_: 3
|
|
141
|
-
/* FORWARDED */
|
|
142
|
-
}, 8, ["class", "onScroll"])
|
|
143
|
-
]),
|
|
144
|
-
_: 3
|
|
145
|
-
/* FORWARDED */
|
|
146
|
-
});
|
|
147
|
-
}
|
|
148
|
-
var fixedHeaderAndAsidesLayout = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-d5a25402"]]);
|
|
149
|
-
|
|
150
|
-
export { fixedHeaderAndAsidesLayout as default };
|
|
151
|
-
//# sourceMappingURL=fixed-header-and-asides-layout.vue.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fixed-header-and-asides-layout.vue.js","sources":["../../../../src/components/layouts/fixed-header-and-asides-layout.vue"],"sourcesContent":["<template>\n <MainScroll>\n <Scroll\n id=\"main-scroll\"\n class=\"x-layout x-layout--fixed-header-and-asides\"\n :class=\"{ 'dev-mode': devMode }\"\n @scroll=\"setPosition\"\n >\n <div\n key=\"header-backdrop\"\n class=\"x-layout__header-backdrop\"\n :class=\"{ 'x-layout__header-backdrop--is-visible': isBackdropVisible }\"\n />\n\n <header\n v-if=\"devMode || $slots.header\"\n key=\"header\"\n class=\"x-layout__header x-list x-list--horizontal\"\n >\n <!-- @slot Slot that is be used for insert content into the Header. -->\n <slot name=\"header\">\n <span v-if=\"devMode\" class=\"slot-helper\">HEADER</span>\n </slot>\n </header>\n\n <div v-if=\"devMode || $slots['sub-header']\" key=\"sub-header\" class=\"x-layout__sub-header\">\n <div class=\"x-layout__sub-header-content\">\n <!-- @slot Slot that can be used to insert content into below the header. -->\n <slot name=\"sub-header\">\n <span v-if=\"devMode\" class=\"slot-helper\">SUB HEADER</span>\n </slot>\n </div>\n </div>\n\n <section v-if=\"devMode || $slots.toolbar\" key=\"toolbar\" class=\"x-layout__toolbar\">\n <slot name=\"toolbar\">\n <!-- @slot Slot that can be used to insert content above the main. -->\n <span v-if=\"devMode\" class=\"slot-helper\">TOOLBAR</span>\n </slot>\n </section>\n\n <main v-if=\"devMode || $slots.main\" key=\"main\" class=\"x-layout__main x-list x-list--vertical\">\n <!-- @slot Slot that is be used for insert content into the Main. -->\n <slot name=\"main\">\n <span v-if=\"devMode\" class=\"slot-helper\">MAIN</span>\n </slot>\n </main>\n\n <BaseIdModal\n v-if=\"devMode || $slots['left-aside']\"\n key=\"left-aside\"\n :animation=\"leftAsideAnimation\"\n modal-id=\"left-aside\"\n class=\"x-layout__aside x-layout__aside--left\"\n >\n <!-- @slot Slot that is be used for insert content into the left aside. -->\n <slot name=\"left-aside\">\n <span v-if=\"devMode\" class=\"slot-helper\">LEFT ASIDE</span>\n </slot>\n </BaseIdModal>\n\n <BaseIdModal\n v-if=\"devMode || $slots['right-aside']\"\n key=\"right-aside\"\n :animation=\"rightAsideAnimation\"\n modal-id=\"right-aside\"\n class=\"x-layout__aside x-layout__aside--right\"\n >\n <!-- @slot Slot that is be used for insert content into the right aside. -->\n <slot name=\"right-aside\">\n <span v-if=\"devMode\" class=\"slot-helper\">RIGHT ASIDE</span>\n </slot>\n </BaseIdModal>\n\n <slot name=\"extra-aside\">\n <span v-if=\"devMode\" class=\"slot-helper\">EXTRA ASIDE</span>\n </slot>\n\n <div\n v-if=\"devMode || $slots['scroll-to-top']\"\n key=\"scroll-to-top\"\n class=\"x-layout__scroll-to-top\"\n >\n <slot name=\"scroll-to-top\">\n <span v-if=\"devMode\" class=\"slot-helper\">SCROLL TO TOP</span>\n </slot>\n </div>\n </Scroll>\n </MainScroll>\n</template>\n\n<script lang=\"ts\">\nimport { computed, defineComponent, h, ref } from 'vue'\nimport MainScroll from '../../x-modules/scroll/components/main-scroll.vue'\nimport Scroll from '../../x-modules/scroll/components/scroll.vue'\nimport AnimateTranslate from '../animations/animate-translate.vue'\nimport BaseIdModal from '../modals/base-id-modal.vue'\n\n/**\n * Component for use as Layout to be filled with the rest of the components.\n *\n * @deprecated - The layout has been deprecated in favor of using new XDS layout.\n *\n * @public\n */\nexport default defineComponent({\n name: 'FixedHeaderAndAsidesLayout',\n components: { BaseIdModal, MainScroll, Scroll },\n props: {\n /** Enables the devMode, which shows the available slots to use with its names. */\n devMode: Boolean,\n },\n setup() {\n const scrollPosition = ref(0)\n\n const rightAsideAnimation = h(AnimateTranslate, { animationOrigin: 'right' })\n const leftAsideAnimation = h(AnimateTranslate, { animationOrigin: 'left' })\n\n const setPosition = (position: number) => {\n scrollPosition.value = position\n }\n const isBackdropVisible = computed(() => scrollPosition.value > 0)\n\n return {\n rightAsideAnimation,\n leftAsideAnimation,\n setPosition,\n isBackdropVisible,\n }\n },\n})\n</script>\n\n<style lang=\"css\" scoped>\n.dev-mode .slot-helper {\n font-family: inherit;\n color: grey;\n box-sizing: border-box;\n display: flex;\n height: 100%;\n width: 100%;\n justify-content: center;\n align-items: center;\n border: dashed 1px grey;\n border-radius: 10px;\n}\n\n.x-layout {\n /* custom properties */\n display: grid;\n align-content: stretch;\n min-height: 100%;\n\n /* layout */\n max-height: 100%;\n --x-size-margin-max-width: calc((100vw - var(--x-size-max-width-layout, 1440px)) / 2);\n --x-size-margin-layout: max(\n var(--x-size-min-margin-layout, 20px),\n var(--x-size-margin-max-width)\n );\n\n grid-template-rows:\n [page-start header-start]\n auto\n [header-end sub-header-start]\n auto\n [sub-header-end toolbar-start]\n auto\n [toolbar-end main-start]\n 1fr\n [main-end page-end];\n\n grid-template-columns:\n [page-start]\n var(--x-size-margin-layout)\n [max-width-start]\n 1fr\n [max-width-end]\n var(--x-size-margin-layout)\n [page-end];\n}\n\n.x-layout__header {\n /* layout */\n position: sticky;\n top: -0.5px;\n z-index: 2;\n grid-row: header;\n grid-column: page;\n max-height: var(--x-size-max-height-layout-header, auto);\n padding: 0 var(--x-size-margin-layout);\n\n /* color */\n background: var(--x-color-background-layout-header, transparent);\n border-color: var(--x-size-border-color-layout-header, transparent);\n\n /* border */\n border-width: var(--x-size-border-width-layout-header, 0);\n border-style: solid;\n}\n\n.x-layout__sub-header {\n /* layout */\n grid-row: sub-header;\n grid-column: page;\n padding: 0 var(--x-size-margin-layout);\n\n /* color */\n background: var(--x-color-background-layout-sub-header, transparent);\n border-color: var(--x-size-border-color-layout-sub-header, transparent);\n\n /* border */\n border-width: var(--x-size-border-width-layout-sub-header, 0);\n border-style: solid;\n}\n\n.x-layout__toolbar {\n /* layout */\n grid-row: toolbar;\n grid-column: max-width;\n}\n\n.x-layout__main {\n /* layout */\n grid-row: main;\n grid-column: max-width;\n}\n\n/* layout */\n.x-layout :deep(.x-layout__aside.x-modal) {\n z-index: 3;\n flex-flow: row nowrap;\n}\n\n/* layout */\n.x-layout :deep(.x-layout__aside--right.x-modal) {\n justify-content: flex-end;\n}\n\n/* others */\n.x-layout :deep(.x-layout__aside) {\n pointer-events: none;\n}\n.x-layout :deep(.x-layout__aside > *:not(.slot-helper)) {\n pointer-events: all;\n}\n\n.x-layout__scroll-to-top {\n position: fixed;\n z-index: 1;\n bottom: var(--x-size-margin-bottom-layout-scroll-to-top, 16px);\n right: var(--x-size-margin-right-layout-scroll-to-top, 16px);\n}\n\n.x-layout__header-backdrop {\n /* layout */\n grid-row: page;\n grid-column: page;\n position: sticky;\n top: -0.5px;\n z-index: 1;\n height: var(--x-size-height-layout-backdrop, 40vh);\n width: 100%;\n pointer-events: none;\n\n /* color */\n background-color: var(\n --x-color-background-layout-header-backdrop,\n var(--x-color-base-neutral-100, white)\n );\n mask: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));\n\n /* transition */\n opacity: 0;\n transition: opacity 0.2s ease-out;\n}\n.x-layout__header-backdrop--is-visible {\n opacity: 1;\n}\n\n.x-layout :deep(.x-layout__aside .x-modal__content) {\n background-color: transparent;\n height: 100%;\n width: var(--x-size-width-layout-aside, 300px);\n}\n</style>\n\n<docs lang=\"mdx\">\n## Layout\n\nThis component provides a multi-column layout with fixed headers and collapsible fixed asides:\n\n| | header | |\n| :--------: | :--------: | :-----------: |\n| left-aside | sub-header | right-aside |\n| | toolbar | |\n| | main | |\n| | | scroll-to-top |\n\nAdditionally, it provides an empty slot `extra-aside` to be customized by the user.\n\n## Design Tokens\n\nThe component exposes the following `Design Tokens` for configuration:\n| token | default value |\n| :-----------------------------------------: | :-----------: |\n| --x-size-height-layout-backdrop | 40vh |\n| --x-size-width-layout-aside | 300px |\n| --x-size-min-margin-layout | 20px |\n| --x-size-max-height-layout-header | auto |\n| --x-size-max-width-layout | 1440px |\n| --x-color-background-layout-header-backdrop | white |\n| --x-color-background-layout-header | transparent |\n| --x-size-border-color-layout-header | transparent |\n| --x-size-border-width-layout-header | 0px |\n| --x-color-background-layout-sub-header | transparent |\n| --x-size-border-color-layout-sub-header | transparent |\n| --x-size-border-width-layout-sub-header | 0px |\n\n| token | use |\n| :-----------------------------------------: | :---------------------------------------: |\n| --x-size-height-layout-backdrop | The height for header gradient backdrop |\n| --x-size-width-layout-aside | The width of the asides |\n| --x-size-min-margin-layout | The min horizontal margin for the Layout |\n| --x-size-max-height-layout-header | The max height for the Layout Header |\n| --x-size-max-width-layout | The max width for the Layout |\n| --x-color-background-layout-header-backdrop | The background color of the head backdrop |\n| --x-color-background-layout-header | The background color of the header |\n| --x-size-border-color-layout-header | The border color of the header |\n| --x-size-border-width-layout-header | The border with of the header |\n| --x-color-background-layout-sub-header | The background color of the sub header |\n| --x-size-border-color-layout-sub-header | The border color of the sub header |\n| --x-size-border-width-layout-sub-header | The border with of the sub header |\n\n## Example\n\n```vue\n<template>\n <FixedHeaderAndAsidesLayout>\n <template #header>Header content</template>\n <template #sub-header>Sub-header content</template>\n <template #toolbar>Toolbar content</template>\n <template #main>Main content</template>\n <template #left-aside>Left aside content</template>\n <template #right-aside>Right aside content</template>\n <template #extra-aside>Extra aside content</template>\n <template #scroll-to-top>Scroll to top content</template>\n </FixedHeaderAndAsidesLayout>\n</template>\n\n<script setup>\nimport FixedHeaderAndAsidesLayout from '@empathyco/x-components/js/components/layouts/fixed-header-and-asides-layout.vue'\n</script>\n```\n</docs>\n"],"names":["_createBlock","_withCtx","_createVNode","_normalizeClass","_createElementVNode","_openBlock","_createElementBlock","_renderSlot","_createCommentVNode"],"mappings":";;;;;;EAgBQ,GAAA,EAAI,QAAA;AAAA,EACJ,KAAA,EAAM;;;;EAIiB,KAAA,EAAM;;;EAIa,GAAA,EAAI,YAAA;AAAA,EAAa,KAAA,EAAM;;AAC5D,MAAA,UAAA,GAAA,EAAA,KAAA,EAAM,8BAAA,EAA8B;;;EAGhB,KAAA,EAAM;;;EAKS,GAAA,EAAI,SAAA;AAAA,EAAU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,EAAZC,kBAAA,CAA0D,MAAA,EAA1D,WAAA,EAAyC,YAAU,CAAA,IAAAE,kBAAA,CAAA,MAAA,EAAA,IAAA;;;;;;UAK/C,IAAA,CAAA,OAAA,IAAW,IAAA,CAAA,MAAA,CAAM,+BADzBR,WAAA,CAWc,sBAAA,EAAA;AAAA,YATZ,GAAA,EAAI,aAAA;AAAA,YACH,SAAA,EAAW,IAAA,CAAA,mBAAA;AAAA,YACZ,UAAA,EAAS,aAAA;AAAA,YACT,KAAA,EAAM;AAAA,WAAA,EAAA;6BAGN,MAEO;AAAA,cAFPO,UAAA,CAEO,gCAFP,MAEO;AAAA,gBADO,IAAA,CAAA,OAAA,IAAAF,SAAA,EAAA,EAAZC,kBAAA,CAA2D,MAAA,EAA3D,WAAA,EAAyC,aAAW,CAAA,IAAAE,kBAAA,CAAA,MAAA,EAAA,IAAA;;;;;;AAIxD,UAAAD,UAAA,CAEO,gCAFP,MAEO;AAAA,YADO,IAAA,CAAA,OAAA,IAAAF,SAAA,EAAA,EAAZC,kBAAA,CAA2D,MAAA,EAA3D,WAAA,EAAyC,aAAW,CAAA,IAAAE,kBAAA,CAAA,MAAA,EAAA,IAAA;;AAI9C,UAAA,IAAA,CAAA,OAAA,IAAW,IAAA,CAAA,MAAA,CAAM,eAAA,CAAA,IAAAH,SAAA,EAAA,EADzBC,kBAAA,CAQM,KAAA,EARN,WAAA,EAQM;AAAA,YAHJC,UAAA,CAEO,kCAFP,MAEO;AAAA,cADO,IAAA,CAAA,OAAA,IAAAF,SAAA,EAAA,EAAZC,kBAAA,CAA6D,MAAA,EAA7D,WAAA,EAAyC,eAAa,CAAA,IAAAE,kBAAA,CAAA,MAAA,EAAA,IAAA;;;;;;;;;;;;;;;;"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, h, computed } from 'vue';
|
|
2
|
-
import _sfc_main$1 from '../../x-modules/scroll/components/main-scroll.vue.js';
|
|
3
|
-
import Scroll from '../../x-modules/scroll/components/scroll.vue.js';
|
|
4
|
-
import _sfc_main$2 from '../animations/animate-translate.vue.js';
|
|
5
|
-
import '../animations/animate-translate.vue2.js';
|
|
6
|
-
import BaseIdModal from '../modals/base-id-modal.vue.js';
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Component for use as Layout to be filled with the rest of the components.
|
|
10
|
-
*
|
|
11
|
-
* @deprecated - The layout has been deprecated in favor of using new XDS layout.
|
|
12
|
-
*
|
|
13
|
-
* @public
|
|
14
|
-
*/
|
|
15
|
-
var _sfc_main = defineComponent({
|
|
16
|
-
name: 'FixedHeaderAndAsidesLayout',
|
|
17
|
-
components: { BaseIdModal, MainScroll: _sfc_main$1, Scroll },
|
|
18
|
-
props: {
|
|
19
|
-
/** Enables the devMode, which shows the available slots to use with its names. */
|
|
20
|
-
devMode: Boolean,
|
|
21
|
-
},
|
|
22
|
-
setup() {
|
|
23
|
-
const scrollPosition = ref(0);
|
|
24
|
-
const rightAsideAnimation = h(_sfc_main$2, { animationOrigin: 'right' });
|
|
25
|
-
const leftAsideAnimation = h(_sfc_main$2, { animationOrigin: 'left' });
|
|
26
|
-
const setPosition = (position) => {
|
|
27
|
-
scrollPosition.value = position;
|
|
28
|
-
};
|
|
29
|
-
const isBackdropVisible = computed(() => scrollPosition.value > 0);
|
|
30
|
-
return {
|
|
31
|
-
rightAsideAnimation,
|
|
32
|
-
leftAsideAnimation,
|
|
33
|
-
setPosition,
|
|
34
|
-
isBackdropVisible,
|
|
35
|
-
};
|
|
36
|
-
},
|
|
37
|
-
});
|
|
38
|
-
|
|
39
|
-
export { _sfc_main as default };
|
|
40
|
-
//# sourceMappingURL=fixed-header-and-asides-layout.vue2.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fixed-header-and-asides-layout.vue2.js","sources":["../../../../src/components/layouts/fixed-header-and-asides-layout.vue"],"sourcesContent":["<template>\n <MainScroll>\n <Scroll\n id=\"main-scroll\"\n class=\"x-layout x-layout--fixed-header-and-asides\"\n :class=\"{ 'dev-mode': devMode }\"\n @scroll=\"setPosition\"\n >\n <div\n key=\"header-backdrop\"\n class=\"x-layout__header-backdrop\"\n :class=\"{ 'x-layout__header-backdrop--is-visible': isBackdropVisible }\"\n />\n\n <header\n v-if=\"devMode || $slots.header\"\n key=\"header\"\n class=\"x-layout__header x-list x-list--horizontal\"\n >\n <!-- @slot Slot that is be used for insert content into the Header. -->\n <slot name=\"header\">\n <span v-if=\"devMode\" class=\"slot-helper\">HEADER</span>\n </slot>\n </header>\n\n <div v-if=\"devMode || $slots['sub-header']\" key=\"sub-header\" class=\"x-layout__sub-header\">\n <div class=\"x-layout__sub-header-content\">\n <!-- @slot Slot that can be used to insert content into below the header. -->\n <slot name=\"sub-header\">\n <span v-if=\"devMode\" class=\"slot-helper\">SUB HEADER</span>\n </slot>\n </div>\n </div>\n\n <section v-if=\"devMode || $slots.toolbar\" key=\"toolbar\" class=\"x-layout__toolbar\">\n <slot name=\"toolbar\">\n <!-- @slot Slot that can be used to insert content above the main. -->\n <span v-if=\"devMode\" class=\"slot-helper\">TOOLBAR</span>\n </slot>\n </section>\n\n <main v-if=\"devMode || $slots.main\" key=\"main\" class=\"x-layout__main x-list x-list--vertical\">\n <!-- @slot Slot that is be used for insert content into the Main. -->\n <slot name=\"main\">\n <span v-if=\"devMode\" class=\"slot-helper\">MAIN</span>\n </slot>\n </main>\n\n <BaseIdModal\n v-if=\"devMode || $slots['left-aside']\"\n key=\"left-aside\"\n :animation=\"leftAsideAnimation\"\n modal-id=\"left-aside\"\n class=\"x-layout__aside x-layout__aside--left\"\n >\n <!-- @slot Slot that is be used for insert content into the left aside. -->\n <slot name=\"left-aside\">\n <span v-if=\"devMode\" class=\"slot-helper\">LEFT ASIDE</span>\n </slot>\n </BaseIdModal>\n\n <BaseIdModal\n v-if=\"devMode || $slots['right-aside']\"\n key=\"right-aside\"\n :animation=\"rightAsideAnimation\"\n modal-id=\"right-aside\"\n class=\"x-layout__aside x-layout__aside--right\"\n >\n <!-- @slot Slot that is be used for insert content into the right aside. -->\n <slot name=\"right-aside\">\n <span v-if=\"devMode\" class=\"slot-helper\">RIGHT ASIDE</span>\n </slot>\n </BaseIdModal>\n\n <slot name=\"extra-aside\">\n <span v-if=\"devMode\" class=\"slot-helper\">EXTRA ASIDE</span>\n </slot>\n\n <div\n v-if=\"devMode || $slots['scroll-to-top']\"\n key=\"scroll-to-top\"\n class=\"x-layout__scroll-to-top\"\n >\n <slot name=\"scroll-to-top\">\n <span v-if=\"devMode\" class=\"slot-helper\">SCROLL TO TOP</span>\n </slot>\n </div>\n </Scroll>\n </MainScroll>\n</template>\n\n<script lang=\"ts\">\nimport { computed, defineComponent, h, ref } from 'vue'\nimport MainScroll from '../../x-modules/scroll/components/main-scroll.vue'\nimport Scroll from '../../x-modules/scroll/components/scroll.vue'\nimport AnimateTranslate from '../animations/animate-translate.vue'\nimport BaseIdModal from '../modals/base-id-modal.vue'\n\n/**\n * Component for use as Layout to be filled with the rest of the components.\n *\n * @deprecated - The layout has been deprecated in favor of using new XDS layout.\n *\n * @public\n */\nexport default defineComponent({\n name: 'FixedHeaderAndAsidesLayout',\n components: { BaseIdModal, MainScroll, Scroll },\n props: {\n /** Enables the devMode, which shows the available slots to use with its names. */\n devMode: Boolean,\n },\n setup() {\n const scrollPosition = ref(0)\n\n const rightAsideAnimation = h(AnimateTranslate, { animationOrigin: 'right' })\n const leftAsideAnimation = h(AnimateTranslate, { animationOrigin: 'left' })\n\n const setPosition = (position: number) => {\n scrollPosition.value = position\n }\n const isBackdropVisible = computed(() => scrollPosition.value > 0)\n\n return {\n rightAsideAnimation,\n leftAsideAnimation,\n setPosition,\n isBackdropVisible,\n }\n },\n})\n</script>\n\n<style lang=\"css\" scoped>\n.dev-mode .slot-helper {\n font-family: inherit;\n color: grey;\n box-sizing: border-box;\n display: flex;\n height: 100%;\n width: 100%;\n justify-content: center;\n align-items: center;\n border: dashed 1px grey;\n border-radius: 10px;\n}\n\n.x-layout {\n /* custom properties */\n display: grid;\n align-content: stretch;\n min-height: 100%;\n\n /* layout */\n max-height: 100%;\n --x-size-margin-max-width: calc((100vw - var(--x-size-max-width-layout, 1440px)) / 2);\n --x-size-margin-layout: max(\n var(--x-size-min-margin-layout, 20px),\n var(--x-size-margin-max-width)\n );\n\n grid-template-rows:\n [page-start header-start]\n auto\n [header-end sub-header-start]\n auto\n [sub-header-end toolbar-start]\n auto\n [toolbar-end main-start]\n 1fr\n [main-end page-end];\n\n grid-template-columns:\n [page-start]\n var(--x-size-margin-layout)\n [max-width-start]\n 1fr\n [max-width-end]\n var(--x-size-margin-layout)\n [page-end];\n}\n\n.x-layout__header {\n /* layout */\n position: sticky;\n top: -0.5px;\n z-index: 2;\n grid-row: header;\n grid-column: page;\n max-height: var(--x-size-max-height-layout-header, auto);\n padding: 0 var(--x-size-margin-layout);\n\n /* color */\n background: var(--x-color-background-layout-header, transparent);\n border-color: var(--x-size-border-color-layout-header, transparent);\n\n /* border */\n border-width: var(--x-size-border-width-layout-header, 0);\n border-style: solid;\n}\n\n.x-layout__sub-header {\n /* layout */\n grid-row: sub-header;\n grid-column: page;\n padding: 0 var(--x-size-margin-layout);\n\n /* color */\n background: var(--x-color-background-layout-sub-header, transparent);\n border-color: var(--x-size-border-color-layout-sub-header, transparent);\n\n /* border */\n border-width: var(--x-size-border-width-layout-sub-header, 0);\n border-style: solid;\n}\n\n.x-layout__toolbar {\n /* layout */\n grid-row: toolbar;\n grid-column: max-width;\n}\n\n.x-layout__main {\n /* layout */\n grid-row: main;\n grid-column: max-width;\n}\n\n/* layout */\n.x-layout :deep(.x-layout__aside.x-modal) {\n z-index: 3;\n flex-flow: row nowrap;\n}\n\n/* layout */\n.x-layout :deep(.x-layout__aside--right.x-modal) {\n justify-content: flex-end;\n}\n\n/* others */\n.x-layout :deep(.x-layout__aside) {\n pointer-events: none;\n}\n.x-layout :deep(.x-layout__aside > *:not(.slot-helper)) {\n pointer-events: all;\n}\n\n.x-layout__scroll-to-top {\n position: fixed;\n z-index: 1;\n bottom: var(--x-size-margin-bottom-layout-scroll-to-top, 16px);\n right: var(--x-size-margin-right-layout-scroll-to-top, 16px);\n}\n\n.x-layout__header-backdrop {\n /* layout */\n grid-row: page;\n grid-column: page;\n position: sticky;\n top: -0.5px;\n z-index: 1;\n height: var(--x-size-height-layout-backdrop, 40vh);\n width: 100%;\n pointer-events: none;\n\n /* color */\n background-color: var(\n --x-color-background-layout-header-backdrop,\n var(--x-color-base-neutral-100, white)\n );\n mask: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));\n\n /* transition */\n opacity: 0;\n transition: opacity 0.2s ease-out;\n}\n.x-layout__header-backdrop--is-visible {\n opacity: 1;\n}\n\n.x-layout :deep(.x-layout__aside .x-modal__content) {\n background-color: transparent;\n height: 100%;\n width: var(--x-size-width-layout-aside, 300px);\n}\n</style>\n\n<docs lang=\"mdx\">\n## Layout\n\nThis component provides a multi-column layout with fixed headers and collapsible fixed asides:\n\n| | header | |\n| :--------: | :--------: | :-----------: |\n| left-aside | sub-header | right-aside |\n| | toolbar | |\n| | main | |\n| | | scroll-to-top |\n\nAdditionally, it provides an empty slot `extra-aside` to be customized by the user.\n\n## Design Tokens\n\nThe component exposes the following `Design Tokens` for configuration:\n| token | default value |\n| :-----------------------------------------: | :-----------: |\n| --x-size-height-layout-backdrop | 40vh |\n| --x-size-width-layout-aside | 300px |\n| --x-size-min-margin-layout | 20px |\n| --x-size-max-height-layout-header | auto |\n| --x-size-max-width-layout | 1440px |\n| --x-color-background-layout-header-backdrop | white |\n| --x-color-background-layout-header | transparent |\n| --x-size-border-color-layout-header | transparent |\n| --x-size-border-width-layout-header | 0px |\n| --x-color-background-layout-sub-header | transparent |\n| --x-size-border-color-layout-sub-header | transparent |\n| --x-size-border-width-layout-sub-header | 0px |\n\n| token | use |\n| :-----------------------------------------: | :---------------------------------------: |\n| --x-size-height-layout-backdrop | The height for header gradient backdrop |\n| --x-size-width-layout-aside | The width of the asides |\n| --x-size-min-margin-layout | The min horizontal margin for the Layout |\n| --x-size-max-height-layout-header | The max height for the Layout Header |\n| --x-size-max-width-layout | The max width for the Layout |\n| --x-color-background-layout-header-backdrop | The background color of the head backdrop |\n| --x-color-background-layout-header | The background color of the header |\n| --x-size-border-color-layout-header | The border color of the header |\n| --x-size-border-width-layout-header | The border with of the header |\n| --x-color-background-layout-sub-header | The background color of the sub header |\n| --x-size-border-color-layout-sub-header | The border color of the sub header |\n| --x-size-border-width-layout-sub-header | The border with of the sub header |\n\n## Example\n\n```vue\n<template>\n <FixedHeaderAndAsidesLayout>\n <template #header>Header content</template>\n <template #sub-header>Sub-header content</template>\n <template #toolbar>Toolbar content</template>\n <template #main>Main content</template>\n <template #left-aside>Left aside content</template>\n <template #right-aside>Right aside content</template>\n <template #extra-aside>Extra aside content</template>\n <template #scroll-to-top>Scroll to top content</template>\n </FixedHeaderAndAsidesLayout>\n</template>\n\n<script setup>\nimport FixedHeaderAndAsidesLayout from '@empathyco/x-components/js/components/layouts/fixed-header-and-asides-layout.vue'\n</script>\n```\n</docs>\n"],"names":["MainScroll","AnimateTranslate"],"mappings":";;;;;;;AAkGA;;;;;;AAME;AACF,gBAAe,eAAe,CAAC;AAC7B,IAAA,IAAI,EAAE,4BAA4B;AAClC,IAAA,UAAU,EAAE,EAAE,WAAW,cAAEA,WAAU,EAAE,QAAQ;AAC/C,IAAA,KAAK,EAAE;;AAEL,QAAA,OAAO,EAAE,OAAO;AACjB,KAAA;IACD,KAAK,GAAA;AACH,QAAA,MAAM,cAAa,GAAI,GAAG,CAAC,CAAC,CAAA;AAE5B,QAAA,MAAM,mBAAkB,GAAI,CAAC,CAACC,WAAgB,EAAE,EAAE,eAAe,EAAE,SAAS,CAAA;AAC5E,QAAA,MAAM,kBAAiB,GAAI,CAAC,CAACA,WAAgB,EAAE,EAAE,eAAe,EAAE,QAAQ,CAAA;AAE1E,QAAA,MAAM,cAAc,CAAC,QAAgB,KAAG;AACtC,YAAA,cAAc,CAAC,KAAI,GAAI,QAAO;AAChC,QAAA,CAAA;AACA,QAAA,MAAM,iBAAgB,GAAI,QAAQ,CAAC,MAAM,cAAc,CAAC,KAAI,GAAI,CAAC,CAAA;QAEjE,OAAO;YACL,mBAAmB;YACnB,kBAAkB;YAClB,WAAW;YACX,iBAAiB;SACnB;IACF,CAAC;AACF,CAAA,CAAA;;;;"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import injectCss from '../../../tools/inject-css.js';
|
|
2
|
-
|
|
3
|
-
var css = ".dev-mode .slot-helper[data-v-d5a25402]{align-items:center;border:1px dashed grey;border-radius:10px;box-sizing:border-box;color:grey;display:flex;font-family:inherit;height:100%;justify-content:center;width:100%}.x-layout[data-v-d5a25402]{--x-size-margin-max-width:calc((100vw - var(--x-size-max-width-layout, 1440px))/2);--x-size-margin-layout:max(var(--x-size-min-margin-layout,20px),var(--x-size-margin-max-width));align-content:stretch;display:grid;grid-template-columns:[page-start] var(--x-size-margin-layout) [max-width-start] 1fr [max-width-end] var(--x-size-margin-layout) [page-end];grid-template-rows:[page-start header-start] auto [header-end sub-header-start] auto [sub-header-end toolbar-start] auto [toolbar-end main-start] 1fr [main-end page-end];max-height:100%;min-height:100%}.x-layout__header[data-v-d5a25402]{background:var(--x-color-background-layout-header,transparent);border-color:var(--x-size-border-color-layout-header,transparent);border-style:solid;border-width:var(--x-size-border-width-layout-header,0);grid-column:page;grid-row:header;max-height:var(--x-size-max-height-layout-header,auto);padding:0 var(--x-size-margin-layout);position:sticky;top:-.5px;z-index:2}.x-layout__sub-header[data-v-d5a25402]{background:var(--x-color-background-layout-sub-header,transparent);border-color:var(--x-size-border-color-layout-sub-header,transparent);border-style:solid;border-width:var(--x-size-border-width-layout-sub-header,0);grid-column:page;grid-row:sub-header;padding:0 var(--x-size-margin-layout)}.x-layout__toolbar[data-v-d5a25402]{grid-column:max-width;grid-row:toolbar}.x-layout__main[data-v-d5a25402]{grid-column:max-width;grid-row:main}.x-layout[data-v-d5a25402] .x-layout__aside.x-modal{flex-flow:row nowrap;z-index:3}.x-layout[data-v-d5a25402] .x-layout__aside--right.x-modal{justify-content:flex-end}.x-layout[data-v-d5a25402] .x-layout__aside{pointer-events:none}.x-layout[data-v-d5a25402] .x-layout__aside>:not(.slot-helper){pointer-events:all}.x-layout__scroll-to-top[data-v-d5a25402]{bottom:var(--x-size-margin-bottom-layout-scroll-to-top,16px);position:fixed;right:var(--x-size-margin-right-layout-scroll-to-top,16px);z-index:1}.x-layout__header-backdrop[data-v-d5a25402]{background-color:var(\n --x-color-background-layout-header-backdrop,var(--x-color-base-neutral-100,#fff)\n );grid-column:page;grid-row:page;height:var(--x-size-height-layout-backdrop,40vh);mask:linear-gradient(180deg,rgba(0,0,0,.8),transparent);opacity:0;pointer-events:none;position:sticky;top:-.5px;transition:opacity .2s ease-out;width:100%;z-index:1}.x-layout__header-backdrop--is-visible[data-v-d5a25402]{opacity:1}.x-layout[data-v-d5a25402] .x-layout__aside .x-modal__content{background-color:transparent;height:100%;width:var(--x-size-width-layout-aside,300px)}";
|
|
4
|
-
injectCss(css);
|
|
5
|
-
|
|
6
|
-
export { css };
|
|
7
|
-
//# sourceMappingURL=fixed-header-and-asides-layout.vue3.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fixed-header-and-asides-layout.vue3.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
import _sfc_main from './multi-column-max-width-layout.vue2.js';
|
|
2
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeStyle, normalizeClass, createElementVNode, renderSlot, createCommentVNode, createBlock, withCtx, createVNode } from 'vue';
|
|
3
|
-
import './multi-column-max-width-layout.vue3.js';
|
|
4
|
-
import './multi-column-max-width-layout.vue4.js';
|
|
5
|
-
import _export_sfc from '../../_virtual/_plugin-vue_export-helper.js';
|
|
6
|
-
|
|
7
|
-
const _hoisted_1 = { class: "x-layout__header" };
|
|
8
|
-
const _hoisted_2 = {
|
|
9
|
-
key: 0,
|
|
10
|
-
class: "x-list x-layout__header-start"
|
|
11
|
-
};
|
|
12
|
-
const _hoisted_3 = {
|
|
13
|
-
key: 0,
|
|
14
|
-
class: "slot-helper"
|
|
15
|
-
};
|
|
16
|
-
const _hoisted_4 = {
|
|
17
|
-
key: 1,
|
|
18
|
-
class: "x-list x-layout__header-middle"
|
|
19
|
-
};
|
|
20
|
-
const _hoisted_5 = {
|
|
21
|
-
key: 0,
|
|
22
|
-
class: "slot-helper"
|
|
23
|
-
};
|
|
24
|
-
const _hoisted_6 = {
|
|
25
|
-
key: 2,
|
|
26
|
-
class: "x-list x-layout__header-end"
|
|
27
|
-
};
|
|
28
|
-
const _hoisted_7 = {
|
|
29
|
-
key: 0,
|
|
30
|
-
class: "slot-helper"
|
|
31
|
-
};
|
|
32
|
-
const _hoisted_8 = {
|
|
33
|
-
key: 0,
|
|
34
|
-
class: "x-layout__sub-header"
|
|
35
|
-
};
|
|
36
|
-
const _hoisted_9 = { class: "x-layout__sub-header-content" };
|
|
37
|
-
const _hoisted_10 = {
|
|
38
|
-
key: 0,
|
|
39
|
-
class: "slot-helper"
|
|
40
|
-
};
|
|
41
|
-
const _hoisted_11 = {
|
|
42
|
-
key: 1,
|
|
43
|
-
class: "x-layout__toolbar"
|
|
44
|
-
};
|
|
45
|
-
const _hoisted_12 = { class: "x-list x-layout__toolbar-aside" };
|
|
46
|
-
const _hoisted_13 = {
|
|
47
|
-
key: 0,
|
|
48
|
-
class: "slot-helper"
|
|
49
|
-
};
|
|
50
|
-
const _hoisted_14 = { class: "x-list x-layout__toolbar-body" };
|
|
51
|
-
const _hoisted_15 = {
|
|
52
|
-
key: 0,
|
|
53
|
-
class: "slot-helper"
|
|
54
|
-
};
|
|
55
|
-
const _hoisted_16 = { class: "x-layout__main" };
|
|
56
|
-
const _hoisted_17 = { class: "x-layout__main-aside x-list x-list--vertical" };
|
|
57
|
-
const _hoisted_18 = {
|
|
58
|
-
key: 0,
|
|
59
|
-
class: "slot-helper",
|
|
60
|
-
style: { "height": "110vh" }
|
|
61
|
-
};
|
|
62
|
-
const _hoisted_19 = { class: "x-layout__main-body x-list x-list--vertical" };
|
|
63
|
-
const _hoisted_20 = {
|
|
64
|
-
key: 0,
|
|
65
|
-
class: "slot-helper",
|
|
66
|
-
style: { "height": "110vh" }
|
|
67
|
-
};
|
|
68
|
-
const _hoisted_21 = {
|
|
69
|
-
key: 2,
|
|
70
|
-
class: "x-layout__scroll-to-top"
|
|
71
|
-
};
|
|
72
|
-
const _hoisted_22 = { class: "x-layout__scroll-to-top-content" };
|
|
73
|
-
const _hoisted_23 = {
|
|
74
|
-
key: 0,
|
|
75
|
-
class: "slot-helper",
|
|
76
|
-
style: { "height": "50px" }
|
|
77
|
-
};
|
|
78
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
79
|
-
const _component_Scroll = resolveComponent("Scroll");
|
|
80
|
-
const _component_BaseIdTogglePanel = resolveComponent("BaseIdTogglePanel");
|
|
81
|
-
const _component_MainScroll = resolveComponent("MainScroll");
|
|
82
|
-
return openBlock(), createElementBlock(
|
|
83
|
-
"div",
|
|
84
|
-
{
|
|
85
|
-
class: normalizeClass(["x-layout x-layout--columns", { "dev-mode": _ctx.devMode }]),
|
|
86
|
-
style: normalizeStyle({ height: _ctx.devMode || _ctx.$slots["main-body"] ? "100%" : "auto" })
|
|
87
|
-
},
|
|
88
|
-
[
|
|
89
|
-
createElementVNode("header", _hoisted_1, [
|
|
90
|
-
_ctx.devMode || _ctx.$slots["header-start"] ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
91
|
-
renderSlot(_ctx.$slots, "header-start", {}, () => [
|
|
92
|
-
_ctx.devMode ? (openBlock(), createElementBlock("span", _hoisted_3, "HEADER START")) : createCommentVNode("v-if", true)
|
|
93
|
-
], true)
|
|
94
|
-
])) : createCommentVNode("v-if", true),
|
|
95
|
-
_ctx.devMode || _ctx.$slots["header-middle"] ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
96
|
-
renderSlot(_ctx.$slots, "header-middle", {}, () => [
|
|
97
|
-
_ctx.devMode ? (openBlock(), createElementBlock("span", _hoisted_5, "HEADER MIDDLE")) : createCommentVNode("v-if", true)
|
|
98
|
-
], true)
|
|
99
|
-
])) : createCommentVNode("v-if", true),
|
|
100
|
-
_ctx.devMode || _ctx.$slots["header-end"] ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
101
|
-
renderSlot(_ctx.$slots, "header-end", {}, () => [
|
|
102
|
-
_ctx.devMode ? (openBlock(), createElementBlock("span", _hoisted_7, "HEADER END")) : createCommentVNode("v-if", true)
|
|
103
|
-
], true)
|
|
104
|
-
])) : createCommentVNode("v-if", true)
|
|
105
|
-
]),
|
|
106
|
-
_ctx.devMode || _ctx.$slots["sub-header"] ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
107
|
-
createElementVNode("div", _hoisted_9, [
|
|
108
|
-
renderSlot(_ctx.$slots, "sub-header", {}, () => [
|
|
109
|
-
_ctx.devMode ? (openBlock(), createElementBlock("span", _hoisted_10, "SUB HEADER")) : createCommentVNode("v-if", true)
|
|
110
|
-
], true)
|
|
111
|
-
])
|
|
112
|
-
])) : createCommentVNode("v-if", true),
|
|
113
|
-
_ctx.devMode || _ctx.$slots["toolbar-aside"] || _ctx.$slots["toolbar-body"] ? (openBlock(), createElementBlock("section", _hoisted_11, [
|
|
114
|
-
createElementVNode("aside", _hoisted_12, [
|
|
115
|
-
renderSlot(_ctx.$slots, "toolbar-aside", {}, () => [
|
|
116
|
-
_ctx.devMode ? (openBlock(), createElementBlock("span", _hoisted_13, "TOOLBAR ASIDE")) : createCommentVNode("v-if", true)
|
|
117
|
-
], true)
|
|
118
|
-
]),
|
|
119
|
-
createElementVNode("div", _hoisted_14, [
|
|
120
|
-
renderSlot(_ctx.$slots, "toolbar-body", {}, () => [
|
|
121
|
-
_ctx.devMode ? (openBlock(), createElementBlock("span", _hoisted_15, "TOOLBAR BODY")) : createCommentVNode("v-if", true)
|
|
122
|
-
], true)
|
|
123
|
-
])
|
|
124
|
-
])) : createCommentVNode("v-if", true),
|
|
125
|
-
createElementVNode("main", _hoisted_16, [
|
|
126
|
-
_ctx.devMode || _ctx.$slots["main-aside"] ? (openBlock(), createBlock(_component_BaseIdTogglePanel, {
|
|
127
|
-
key: 0,
|
|
128
|
-
"panel-id": "aside-panel",
|
|
129
|
-
animation: _ctx.asideAnimation,
|
|
130
|
-
class: "x-layout__collapse-aside"
|
|
131
|
-
}, {
|
|
132
|
-
default: withCtx(() => [
|
|
133
|
-
createVNode(_component_Scroll, {
|
|
134
|
-
id: "aside-scroll",
|
|
135
|
-
class: "x-layout__aside-scroll"
|
|
136
|
-
}, {
|
|
137
|
-
default: withCtx(() => [
|
|
138
|
-
createElementVNode("div", _hoisted_17, [
|
|
139
|
-
renderSlot(_ctx.$slots, "main-aside", {}, () => [
|
|
140
|
-
_ctx.devMode ? (openBlock(), createElementBlock("span", _hoisted_18, "MAIN ASIDE")) : createCommentVNode("v-if", true)
|
|
141
|
-
], true)
|
|
142
|
-
])
|
|
143
|
-
]),
|
|
144
|
-
_: 3
|
|
145
|
-
/* FORWARDED */
|
|
146
|
-
})
|
|
147
|
-
]),
|
|
148
|
-
_: 3
|
|
149
|
-
/* FORWARDED */
|
|
150
|
-
}, 8, ["animation"])) : createCommentVNode("v-if", true),
|
|
151
|
-
createVNode(_component_MainScroll, { class: "x-flex x-flex-auto" }, {
|
|
152
|
-
default: withCtx(() => [
|
|
153
|
-
_ctx.devMode || _ctx.$slots["main-body"] ? (openBlock(), createBlock(_component_Scroll, {
|
|
154
|
-
key: 0,
|
|
155
|
-
id: "main-scroll",
|
|
156
|
-
class: "x-layout__body-scroll"
|
|
157
|
-
}, {
|
|
158
|
-
default: withCtx(() => [
|
|
159
|
-
createElementVNode("section", _hoisted_19, [
|
|
160
|
-
renderSlot(_ctx.$slots, "main-body", {}, () => [
|
|
161
|
-
_ctx.devMode ? (openBlock(), createElementBlock("span", _hoisted_20, "MAIN BODY")) : createCommentVNode("v-if", true)
|
|
162
|
-
], true)
|
|
163
|
-
])
|
|
164
|
-
]),
|
|
165
|
-
_: 3
|
|
166
|
-
/* FORWARDED */
|
|
167
|
-
})) : createCommentVNode("v-if", true)
|
|
168
|
-
]),
|
|
169
|
-
_: 3
|
|
170
|
-
/* FORWARDED */
|
|
171
|
-
})
|
|
172
|
-
]),
|
|
173
|
-
_ctx.devMode || _ctx.$slots["scroll-to-top"] ? (openBlock(), createElementBlock("div", _hoisted_21, [
|
|
174
|
-
createElementVNode("div", _hoisted_22, [
|
|
175
|
-
renderSlot(_ctx.$slots, "scroll-to-top", {}, () => [
|
|
176
|
-
_ctx.devMode ? (openBlock(), createElementBlock("span", _hoisted_23, "SCROLL TO TOP")) : createCommentVNode("v-if", true)
|
|
177
|
-
], true)
|
|
178
|
-
])
|
|
179
|
-
])) : createCommentVNode("v-if", true)
|
|
180
|
-
],
|
|
181
|
-
6
|
|
182
|
-
/* CLASS, STYLE */
|
|
183
|
-
);
|
|
184
|
-
}
|
|
185
|
-
var multiColumnMaxWidthLayout = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-5319aaa7"]]);
|
|
186
|
-
|
|
187
|
-
export { multiColumnMaxWidthLayout as default };
|
|
188
|
-
//# sourceMappingURL=multi-column-max-width-layout.vue.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"multi-column-max-width-layout.vue.js","sources":["../../../../src/components/layouts/multi-column-max-width-layout.vue"],"sourcesContent":["<template>\n <div\n class=\"x-layout x-layout--columns\"\n :class=\"{ 'dev-mode': devMode }\"\n :style=\"{ height: devMode || $slots['main-body'] ? '100%' : 'auto' }\"\n >\n <header class=\"x-layout__header\">\n <div v-if=\"devMode || $slots['header-start']\" class=\"x-list x-layout__header-start\">\n <!-- @slot Slot that can be used to insert content into the left part of the header. -->\n <slot name=\"header-start\">\n <span v-if=\"devMode\" class=\"slot-helper\">HEADER START</span>\n </slot>\n </div>\n\n <div v-if=\"devMode || $slots['header-middle']\" class=\"x-list x-layout__header-middle\">\n <!-- @slot Slot that can be used to insert content into the center part of the header. -->\n <slot name=\"header-middle\">\n <span v-if=\"devMode\" class=\"slot-helper\">HEADER MIDDLE</span>\n </slot>\n </div>\n\n <div v-if=\"devMode || $slots['header-end']\" class=\"x-list x-layout__header-end\">\n <!-- @slot Slot that can be used to insert content into the right part of the header. -->\n <slot name=\"header-end\">\n <span v-if=\"devMode\" class=\"slot-helper\">HEADER END</span>\n </slot>\n </div>\n </header>\n\n <div v-if=\"devMode || $slots['sub-header']\" class=\"x-layout__sub-header\">\n <div class=\"x-layout__sub-header-content\">\n <!-- @slot Slot that can be used to insert content into below the header. -->\n <slot name=\"sub-header\">\n <span v-if=\"devMode\" class=\"slot-helper\">SUB HEADER</span>\n </slot>\n </div>\n </div>\n\n <section\n v-if=\"devMode || $slots['toolbar-aside'] || $slots['toolbar-body']\"\n class=\"x-layout__toolbar\"\n >\n <aside class=\"x-list x-layout__toolbar-aside\">\n <slot name=\"toolbar-aside\">\n <!-- @slot Slot that can be used to insert content above the left aside. -->\n <span v-if=\"devMode\" class=\"slot-helper\">TOOLBAR ASIDE</span>\n </slot>\n </aside>\n\n <div class=\"x-list x-layout__toolbar-body\">\n <!-- @slot Slot that can be used to insert content above the body. -->\n <slot name=\"toolbar-body\">\n <span v-if=\"devMode\" class=\"slot-helper\">TOOLBAR BODY</span>\n </slot>\n </div>\n </section>\n\n <main class=\"x-layout__main\">\n <BaseIdTogglePanel\n v-if=\"devMode || $slots['main-aside']\"\n panel-id=\"aside-panel\"\n :animation=\"asideAnimation\"\n class=\"x-layout__collapse-aside\"\n >\n <Scroll id=\"aside-scroll\" class=\"x-layout__aside-scroll\">\n <div class=\"x-layout__main-aside x-list x-list--vertical\">\n <!-- @slot Slot that can be used to insert content into the left side bar. -->\n <slot name=\"main-aside\">\n <span v-if=\"devMode\" class=\"slot-helper\" style=\"height: 110vh\">MAIN ASIDE</span>\n </slot>\n </div>\n </Scroll>\n </BaseIdTogglePanel>\n\n <MainScroll class=\"x-flex x-flex-auto\">\n <Scroll\n v-if=\"devMode || $slots['main-body']\"\n id=\"main-scroll\"\n class=\"x-layout__body-scroll\"\n >\n <section class=\"x-layout__main-body x-list x-list--vertical\">\n <!-- @slot Slot that can be used to insert the body content. -->\n <slot name=\"main-body\">\n <span v-if=\"devMode\" class=\"slot-helper\" style=\"height: 110vh\">MAIN BODY</span>\n </slot>\n </section>\n </Scroll>\n </MainScroll>\n </main>\n\n <div v-if=\"devMode || $slots['scroll-to-top']\" class=\"x-layout__scroll-to-top\">\n <div class=\"x-layout__scroll-to-top-content\">\n <slot name=\"scroll-to-top\">\n <span v-if=\"devMode\" class=\"slot-helper\" style=\"height: 50px\">SCROLL TO TOP</span>\n </slot>\n </div>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent } from 'vue'\nimport { AnimationProp } from '../../types'\nimport MainScroll from '../../x-modules/scroll/components/main-scroll.vue'\nimport Scroll from '../../x-modules/scroll/components/scroll.vue'\nimport AnimateWidth from '../animations/animate-width.vue'\nimport BaseIdTogglePanel from '../panels/base-id-toggle-panel.vue'\n\n/**\n * Component for use as Layout to be filled with the rest of the Components.\n *\n * @deprecated - The layout has been deprecated in favor of using new XDS layout.\n *\n * @public\n */\nexport default defineComponent({\n name: 'MultiColumnMaxWidthLayout',\n components: { BaseIdTogglePanel, MainScroll, Scroll },\n props: {\n /** The animation used for the Main Aside. */\n asideAnimation: {\n type: AnimationProp,\n default: () => AnimateWidth,\n },\n /** Enables the devMode, which shows the available slots to use with its names. */\n devMode: Boolean,\n },\n})\n</script>\n\n<style lang=\"css\">\n:root {\n /* layout */\n --x-size-min-margin-layout-columns: var(--x-size-base-06);\n --x-size-column-gap-layout-columns: var(--x-size-base-06);\n\n /* spacing */\n\n /* size - header */\n --x-size-padding-top-layout-columns-header: var(--x-size-base-07);\n --x-size-padding-bottom-layout-columns-header: var(--x-size-base-05);\n\n /* size - toolbar */\n --x-size-padding-top-layout-columns-toolbar: var(--x-size-base-05);\n --x-size-padding-bottom-layout-columns-toolbar: var(--x-size-base-03);\n\n /* size- scroll-to-top */\n --x-size-margin-bottom-layout-columns-scroll-to-top: var(--x-size-base-03);\n --x-size-margin-left-layout-columns-scroll-to-top: var(--x-size-base-03);\n\n /* color */\n --x-color-background-layout-columns: var(--x-color-base-neutral-100);\n --x-color-border-layout-columns: var(--x-color-base-neutral-70);\n --x-color-border-layout-columns-header: var(--x-color-border-layout-columns);\n --x-color-border-layout-columns-sub-header: var(--x-color-border-layout-columns);\n --x-color-border-layout-columns-toolbar: var(--x-color-border-layout-columns);\n --x-color-border-layout-columns-main: var(--x-color-border-layout-columns);\n --x-color-border-layout-columns-main-aside: var(--x-color-border-layout-columns);\n --x-color-border-layout-columns-main-body: var(--x-color-border-layout-columns);\n\n /* border */\n --x-size-border-width-layout-columns-header: 0;\n --x-size-border-width-layout-columns-toolbar: 1px 0 0;\n}\n</style>\n\n<style lang=\"css\" scoped>\n.dev-mode .slot-helper {\n font-family: inherit;\n color: grey;\n box-sizing: border-box;\n display: flex;\n height: 100%;\n width: 100%;\n justify-content: center;\n align-items: center;\n border: dashed 1px grey;\n border-radius: 10px;\n}\n\n.x-layout {\n /* custom properties */\n --x-size-gap-default: var(--x-size-column-gap-layout-columns, 20px);\n --x-size-margin-max-width: calc((100vw - var(--x-size-max-width-layout-columns, 1440px)) / 2);\n --x-size-margin-layout-columns: max(\n var(--x-size-min-margin-layout-columns, 20px),\n var(--x-size-margin-max-width)\n );\n --x-number-columns-header-middle: calc(var(--x-number-columns-layout-columns, 5) - 2);\n --x-number-columns-sub-header-content: var(--x-number-columns-header-middle);\n --x-number-columns-toolbar-body: calc(var(--x-number-columns-layout-columns, 5) - 1);\n\n /* layout */\n display: grid;\n align-content: stretch;\n max-height: 100%;\n\n grid-template-columns:\n [page-start]\n 1fr\n [scroll-to-top-start]\n calc(var(--x-size-margin-layout-columns) + var(--x-size-gap-default))\n [scroll-to-top-end page-end];\n\n grid-template-rows:\n [page-start header-start]\n auto\n [header-end sub-header-start]\n auto\n [sub-header-end toolbar-start]\n auto\n [toolbar-end main-start]\n 1fr\n [scroll-to-top-start]\n auto\n [main-end scroll-to-top-end page-end];\n}\n\n.x-layout__header {\n /* layout */\n grid-column: page;\n grid-row: header;\n display: grid;\n column-gap: var(--x-size-gap-default);\n\n grid-template-columns:\n [header-start]\n var(--x-size-margin-layout-columns)\n [start-content-start]\n 1fr\n [start-content-end middle-content-start]\n repeat(var(--x-number-columns-header-middle), 1fr)\n [middle-content-end end-content-start]\n 1fr\n [end-content-end]\n var(--x-size-margin-layout-columns)\n [header-end];\n\n /* size */\n padding-block-start: var(--x-size-padding-top-layout-columns-header, 0);\n padding-block-end: var(--x-size-padding-bottom-layout-columns-header, 0);\n margin-block-start: var(--x-size-margin-top-layout-columns-header, 0);\n margin-block-end: var(--x-size-margin-bottom-layout-columns-header, 0);\n\n /* color */\n background-color: var(--x-color-background-layout-columns-header, transparent);\n border-color: var(--x-color-border-layout-columns-header, transparent);\n\n /* border */\n border-style: solid;\n border-width: var(--x-size-border-width-layout-columns-header, 0);\n}\n\n.x-layout__header-start {\n /* layout */\n grid-column: start-content;\n}\n.x-layout__header-start.x-list {\n /* space */\n flex-flow: var(--x-flow-layout-columns-header-start, row nowrap);\n justify-content: var(--x-size-justify-layout-columns-header-start, flex start);\n align-items: var(--x-size-align-layout-columns-header-start, flex start);\n}\n\n.x-layout__header-middle {\n /* layout */\n grid-column: middle-content;\n}\n.x-layout__header-middle.x-list {\n /* space */\n flex-flow: var(--x-flow-layout-columns-header-middle, row nowrap);\n justify-content: var(--x-size-justify-layout-columns-header-middle, center);\n align-items: var(--x-size-align-layout-columns-header-middle, flex start);\n}\n\n.x-layout__header-end {\n /* layout */\n grid-column: end-content;\n}\n.x-layout__header-end.x-list {\n flex-flow: var(--x-flow-layout-columns-header-end, row nowrap);\n justify-content: var(--x-size-justify-layout-columns-header-end, flex-end);\n align-items: var(--x-size-align-layout-columns-header-end, flex-start);\n}\n\n.x-layout__sub-header {\n /* layout */\n grid-column: page;\n grid-row: sub-header;\n display: grid;\n column-gap: var(--x-size-gap-default);\n\n grid-template-columns:\n [sub-header-start]\n var(--x-size-margin-layout-columns)\n 1fr\n [sub-header-content-start]\n repeat(var(--x-number-columns-sub-header-content), 1fr)\n [sub-header-content-end]\n 1fr\n var(--x-size-margin-layout-columns)\n [sub-header-end];\n\n /* size */\n padding-block-start: var(--x-size-padding-top-layout-columns-sub-header, 0);\n padding-block-end: var(--x-size-padding-bottom-layout-columns-sub-header), 0;\n margin-block-start: var(--x-size-margin-top-layout-columns-sub-header, 0);\n margin-block-end: var(--x-size-margin-bottom-layout-columns-sub-header, 0);\n\n /* color */\n background-color: var(--x-color-background-layout-columns-sub-header, transparent);\n border-color: var(--x-color-border-layout-columns-sub-header, transparent);\n\n /* border */\n border-style: solid;\n border-width: var(--x-size-border-width-layout-columns-sub-header, 0);\n}\n\n.x-layout__sub-header-content {\n /* layout */\n grid-column: sub-header-content;\n}\n.x-layout__sub-header-content.x-list {\n flex-flow: var(--x-flow-layout-columns-sub-header, row nowrap);\n justify-content: var(--x-size-justify-layout-columns-sub-header, flex-start);\n align-items: var(--x-size-align-layout-columns-sub-header, flex-start);\n}\n\n.x-layout__toolbar {\n /* layout */\n grid-column: page;\n grid-row: toolbar;\n display: grid;\n column-gap: var(--x-size-gap-default);\n\n grid-template-columns:\n [toolbar-start]\n var(--x-size-margin-layout-columns)\n [toolbar-aside-start]\n 1fr\n [toolbar-aside-end toolbar-body-start]\n repeat(var(--x-number-columns-toolbar-body), 1fr)\n [toolbar-body-end]\n var(--x-size-margin-layout-columns)\n [toolbar-end];\n\n /* size */\n padding-block-start: var(--x-size-padding-top-layout-columns-toolbar, 0);\n padding-block-end: var(--x-size-padding-bottom-layout-columns-toolbar, 0);\n margin-block-start: var(--x-size-margin-top-layout-columns-toolbar, 0);\n margin-block-end: var(--x-size-margin-bottom-layout-columns-toolbar, 0);\n\n /* color */\n background-color: var(--x-color-background-layout-columns-toolbar, transparent);\n border-color: var(--x-color-border-layout-columns-toolbar, transparent);\n\n /* border */\n border-style: solid;\n border-width: var(--x-size-border-width-layout-columns-toolbar, 0);\n}\n\n.x-layout__toolbar-aside {\n /* layout */\n grid-column: toolbar-aside;\n}\n.x-layout__toolbar-aside.x-list {\n flex-flow: var(--x-flow-layout-columns-toolbar-aside, row nowrap);\n justify-content: var(--x-size-justify-layout-columns-toolbar-aside, flex-start);\n align-items: var(--x-size-align-layout-columns-toolbar-aside, center);\n}\n\n.x-layout__toolbar-body {\n /* layout */\n grid-column: toolbar-body;\n}\n.x-layout__toolbar-body.x-list {\n flex-flow: var(--x-flow-layout-columns-toolbar-body, row nowrap);\n justify-content: var(--x-size-justify-layout-columns-toolbar-body, flex-end);\n align-items: var(--x-size-align-layout-columns-toolbar-body, center);\n}\n\n.x-layout__main {\n /* layout */\n grid-column: page;\n grid-row: main;\n min-height: 0;\n display: flex;\n flex-flow: row nowrap;\n justify-content: stretch;\n padding-left: calc(var(--x-size-margin-layout-columns) + var(--x-size-gap-default));\n\n /* size */\n padding-block-start: var(--x-size-padding-top-layout-columns-main, 0);\n padding-block-end: var(--x-size-padding-bottom-layout-columns-main, 0);\n margin-block-start: var(--x-size-margin-top-layout-columns-main, 0);\n margin-block-end: var(--x-size-margin-bottom-layout-columns-main, 0);\n\n /* color */\n background-color: var(--x-color-background-layout-columns-main, transparent);\n border-color: var(--x-color-border-layout-columns-main, transparent);\n\n /* border */\n border-style: solid;\n border-width: var(--x-size-border-width-layout-columns-main, 0);\n}\n\n.x-layout__collapse-aside {\n width: calc(\n (\n 100% - var(--x-size-gap-default) * (var(--x-number-columns-layout-columns, 5)) -\n var(--x-size-margin-layout-columns)\n ) /\n var(--x-number-columns-layout-columns, 5) + var(--x-size-gap-default)\n );\n}\n\n.x-layout__aside-scroll {\n height: 100%;\n margin-right: var(--x-size-gap-default);\n}\n\n.x-layout__body-scroll {\n flex: 1 1 auto;\n width: 0;\n padding-right: calc(var(--x-size-margin-layout-columns) + var(--x-size-gap-default) - 16px);\n}\n.x-layout__body-scroll.x-scroll {\n overflow-y: scroll;\n}\n\n.x-layout__main-body {\n overflow-x: hidden;\n}\n\n.x-layout__scroll-to-top {\n /* layout */\n grid-area: scroll-to-top;\n justify-content: flex-end;\n width: 100%;\n display: flex;\n z-index: 1;\n pointer-events: none;\n}\n.x-layout__scroll-to-top-content {\n flex: 1 0 auto;\n padding-block-end: var(--x-size-margin-bottom-layout-columns-scroll-to-top, 10px);\n padding-inline-start: var(--x-size-margin-left-layout-columns-scroll-to-top, 10px);\n}\n.x-layout__scroll-to-top-content > * {\n pointer-events: all;\n}\n</style>\n\n<docs lang=\"mdx\">\n## Layout\n\nThis component provides a multi-column layout with fixed headers and collapsible fixed asides:\n\n| header-start | header-middle | header-end |\n| :-----------: | :-----------: | :-----------: |\n| sub-header | | |\n| toolbar-aside | toolbar | |\n| main-aside | main | |\n| | | scroll-to-top |\n\n## Design Tokens\n\nThe component exposes the following `Design Tokens` for configuration:\n\n| token | default value |\n| :-------------------------------------------------: | :-----------: |\n| --x-size-column-gap-layout-columns | 20px |\n| --x-size-padding-top-layout-columns-header | 0px |\n| --x-size-padding-bottom-layout-columns-header | 0px |\n| --x-size-margin-top-layout-columns-header | 0px |\n| --x-size-margin-bottom-layout-columns-header | 0px |\n| --x-color-background-layout-columns-header | transparent |\n| --x-color-border-layout-columns-header | transparent |\n| --x-size-border-width-layout-columns-header | 0px |\n| --x-flow-layout-columns-header-start | row nowrap |\n| --x-size-justify-layout-columns-header-start | flex-start |\n| --x-size-align-layout-columns-header-start | flex-start |\n| --x-flow-layout-columns-header-middle | row nowrap |\n| --x-size-justify-layout-columns-header-middle | center |\n| --x-size-align-layout-columns-header-middle | flex-start |\n| --x-flow-layout-columns-header-end | row nowrap |\n| --x-size-justify-layout-columns-header-end | flex-end |\n| --x-size-align-layout-columns-header-end | flex-end |\n| --x-size-padding-top-layout-columns-sub-header | 0px |\n| --x-size-padding-bottom-layout-columns-sub-header | 0px |\n| --x-size-margin-top-layout-columns-sub-header | 0px |\n| --x-size-margin-bottom-layout-columns-sub-header | 0px |\n| --x-color-background-layout-columns-sub-header | transparent |\n| --x-color-border-layout-columns-sub-header | transparent |\n| --x-size-border-width-layout-columns-sub-header | 0px |\n| --x-flow-layout-columns-sub-header | row nowrap |\n| --x-size-justify-layout-columns-sub-header | flex-start |\n| --x-size-align-layout-columns-sub-header | flex-start |\n| --x-size-padding-top-layout-columns-toolbar | 0px |\n| --x-size-padding-bottom-layout-columns-toolbar | 0px |\n| --x-size-margin-top-layout-columns-toolbar | 0px |\n| --x-size-margin-bottom-layout-columns-toolbar | 0px |\n| --x-color-background-layout-columns-toolbar | transparent |\n| --x-color-border-layout-columns-sub-toolbar | transparent |\n| --x-size-border-width-layout-columns-toolbar | 0px |\n| --x-flow-layout-columns-toolbar-aside | row nowrap |\n| --x-size-justify-layout-columns-toolbar-aside | flex-start |\n| --x-size-align-layout-columns-toolbar-aside | center |\n| --x-flow-layout-columns-toolbar-body | row nowrap |\n| --x-size-justify-layout-columns-toolbar-body | flex-start |\n| --x-size-align-layout-columns-toolbar-body | center |\n| --x-size-padding-top-layout-columns-main | 0px |\n| --x-size-padding-bottom-layout-columns-main | 0px |\n| --x-size-margin-top-layout-columns-main | 0px |\n| --x-size-margin-bottom-layout-columns-main | 0px |\n| --x-color-background-layout-columns-main | transparent |\n| --x-color-border-layout-columns-sub-main | transparent |\n| --x-size-border-width-layout-columns-main | 0px |\n| --x-color-background-layout-columns-main-aside | transparent |\n| --x-color-border-layout-columns-sub-main-aside | transparent |\n| --x-size-border-width-layout-columns-main-aside | 0px |\n| --x-color-background-layout-columns-main-body | transparent |\n| --x-color-border-layout-columns-sub-main-body | transparent |\n| --x-size-border-width-layout-columns-main-body | 0px |\n| --x-size-margin-bottom-layout-columns-scroll-to-top | 10px |\n| --x-size-margin-left-layout-columns-scroll-to-top | 10px |\n\n| token | use |\n| :-------------------------------------------------: | :--------------------------------------: |\n| --x-size-column-gap-layout-columns | The gap between columns |\n| --x-size-padding-top-layout-columns-header | The padding top of the header |\n| --x-size-padding-bottom-layout-columns-header | The padding bottom of the header |\n| --x-size-margin-top-layout-columns-header | The margin top of the header |\n| --x-size-margin-bottom-layout-columns-header | The margin bottom of the header |\n| --x-color-background-layout-columns-header | The background color of the header |\n| --x-color-border-layout-columns-header | The border color of the header |\n| --x-size-border-width-layout-columns-header | The border width of the header |\n| --x-flow-layout-columns-header-start | The flex flow of the start header |\n| --x-size-justify-layout-columns-header-start | The justify content of the start header |\n| --x-size-align-layout-columns-header-start | The align items of the start header |\n| --x-flow-layout-columns-header-middle | The flex flow of the middle header |\n| --x-size-justify-layout-columns-header-middle | The justify content of the middle header |\n| --x-size-align-layout-columns-header-middle | The align items of the middle header |\n| --x-flow-layout-columns-header-end | The flex flow of the end header |\n| --x-size-justify-layout-columns-header-end | The justify content of the end header |\n| --x-size-align-layout-columns-header-end | The align items of the end header |\n| --x-size-padding-top-layout-columns-sub-header | The padding bottom of the sub header |\n| --x-size-padding-bottom-layout-columns-sub-header | The padding top of the sub header |\n| --x-size-margin-top-layout-columns-sub-header | The margin bottom of the sub header |\n| --x-size-margin-bottom-layout-columns-sub-header | The margin top of the sub header |\n| --x-color-background-layout-columns-sub-header | The background color of the sub header |\n| --x-color-border-layout-columns-sub-header | The border color of the sub header |\n| --x-size-border-width-layout-columns-sub-header | The border width of the sub header |\n| --x-flow-layout-columns-sub-header | The flex flow of the sub header |\n| --x-size-justify-layout-columns-sub-header | The justify content of the sub header |\n| --x-size-align-layout-columns-sub-header | The align items of the sub header |\n| --x-size-padding-top-layout-columns-toolbar | The padding top of the toolbar |\n| --x-size-padding-bottom-layout-columns-toolbar | The padding bottom of the toolbar |\n| --x-size-margin-top-layout-columns-toolbar | The margin top of the toolbar |\n| --x-size-margin-bottom-layout-columns-toolbar | The margin bottom of the toolbar |\n| --x-color-background-layout-columns-toolbar | The background color of the toolbar |\n| --x-color-border-layout-columns-sub-toolbar | The border color of the toolbar |\n| --x-size-border-width-layout-columns-toolbar | The border width of the toolbar |\n| --x-flow-layout-columns-toolbar-aside | The flex flow of the toolbar aside |\n| --x-size-justify-layout-columns-toolbar-aside | The justify content of the toolbar aside |\n| --x-size-align-layout-columns-toolbar-aside | The align items of the toolbar aside |\n| --x-flow-layout-columns-toolbar-body | The flex flow of the end toolbar body |\n| --x-size-justify-layout-columns-toolbar-body | Justify content of the end toolbar body |\n| --x-size-align-layout-columns-toolbar-body | The align items of the toolbar body |\n| --x-size-padding-top-layout-columns-main | The padding top of the main |\n| --x-size-padding-bottom-layout-columns-main | The padding bottom of the main |\n| --x-size-margin-top-layout-columns-main | The margin top of the main |\n| --x-size-margin-bottom-layout-columns-main | The margin bottom of the main |\n| --x-color-background-layout-columns-main | The background color of the main |\n| --x-color-border-layout-columns-main | The border color of the main |\n| --x-size-border-width-layout-columns-main | The border width of the main |\n| --x-color-background-layout-columns-main-aside | The background color of the main aside |\n| --x-color-border-layout-columns-main-aside | The border color of the main aside |\n| --x-size-border-width-layout-columns-main-aside | The border width of the sub main aside |\n| --x-color-background-layout-columns-main-body | The background color of the main body |\n| --x-color-border-layout-columns-main-body | The border color of the main body |\n| --x-size-border-width-layout-columns-main-body | The border width of the sub main body |\n| --x-size-margin-bottom-layout-columns-scroll-to-top | The margin bottom of the scroll to top |\n| --x-size-margin-left-layout-columns-scroll-to-top | The margin left of the scroll to top |\n\n## Example\n\n```vue\n<template>\n <MultiColumnMaxWidthLayout>\n <template #header>Header content</template>\n <template #sub-header>Sub-header content</template>\n <template #toolbar>Toolbar content</template>\n <template #main>Main content</template>\n <template #left-aside>Left aside content</template>\n <template #right-aside>Right aside content</template>\n <template #extra-aside>Extra aside content</template>\n </MultiColumnMaxWidthLayout>\n</template>\n\n<script setup>\nimport MultiColumnMaxWidthLayout from '@empathyco/x-components/js/components/layouts/multi-column-max-width-layout.vue'\n</script>\n```\n</docs>\n"],"names":["_openBlock","_createElementBlock","_normalizeClass","_normalizeStyle","_createElementVNode","_renderSlot","_createCommentVNode","_createBlock","_createVNode","_withCtx"],"mappings":";;;;;;AAMY,MAAA,UAAA,GAAA,EAAA,KAAA,EAAM,kBAAA,EAAkB;;;EACgB,KAAA,EAAM;;;;EAG3B,KAAA,EAAM;;;;EAIgB,KAAA,EAAM;;;;EAG5B,KAAA,EAAM;;;;EAIa,KAAA,EAAM;;;;EAGzB,KAAA,EAAM;;;;EAKW,KAAA,EAAM;;AAC3C,MAAA,UAAA,GAAA,EAAA,KAAA,EAAM,8BAAA,EAA8B;;;EAGhB,KAAA,EAAM;;;;EAO/B,KAAA,EAAM;;AAEC,MAAA,WAAA,GAAA,EAAA,KAAA,EAAM,gCAAA,EAAgC;;;EAGpB,KAAA,EAAM;;AAI1B,MAAA,WAAA,GAAA,EAAA,KAAA,EAAM,+BAAA,EAA+B;;;EAGjB,KAAA,EAAM;;AAK3B,MAAA,WAAA,GAAA,EAAA,KAAA,EAAM,gBAAA,EAAgB;AAQjB,MAAA,WAAA,GAAA,EAAA,KAAA,EAAM,8CAAA,EAA8C;;;EAGhC,KAAA,EAAM,aAAA;AAAA,EAAc,KAAA,EAAA,EAAA,QAAA,EAAA,OAAA;;AAYpC,MAAA,WAAA,GAAA,EAAA,KAAA,EAAM,6CAAA,EAA6C;;;EAGnC,KAAA,EAAM,aAAA;AAAA,EAAc,KAAA,EAAA,EAAA,QAAA,EAAA,OAAA;;;;EAOJ,KAAA,EAAM;;AAC9C,MAAA,WAAA,GAAA,EAAA,KAAA,EAAM,iCAAA,EAAiC;;;EAEnB,KAAA,EAAM,aAAA;AAAA,EAAc,KAAA,EAAA,EAAA,QAAA,EAAA,MAAA;;;;;;AA5FjD,EAAA,OAAAA,SAAA,EAAA,EAAAC,kBAAA;AAAA,IAgGM,KAAA;AAAA,IAAA;AAAA,MA/FJ,KAAA,EAAKC,cAAA,CAAA,CAAC,4BAAA,EAA4B,EAAA,UAA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AAA,CAEO,kCAFP,MAEO;AAAA,YADO,IAAA,CAAA,OAAA,IAAAL,SAAA,EAAA,EAAZC,kBAAA,CAAkF,MAAA,EAAlF,WAAA,EAA8D,eAAa,CAAA,IAAAK,kBAAA,CAAA,MAAA,EAAA,IAAA;;;;;;;;;;;;;"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { defineComponent } from 'vue';
|
|
2
|
-
import { AnimationProp } from '../../types/animation-prop.js';
|
|
3
|
-
import _sfc_main$1 from '../../x-modules/scroll/components/main-scroll.vue.js';
|
|
4
|
-
import Scroll from '../../x-modules/scroll/components/scroll.vue.js';
|
|
5
|
-
import AnimateWidth from '../animations/animate-width.vue.js';
|
|
6
|
-
import BaseIdTogglePanel from '../panels/base-id-toggle-panel.vue.js';
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Component for use as Layout to be filled with the rest of the Components.
|
|
10
|
-
*
|
|
11
|
-
* @deprecated - The layout has been deprecated in favor of using new XDS layout.
|
|
12
|
-
*
|
|
13
|
-
* @public
|
|
14
|
-
*/
|
|
15
|
-
var _sfc_main = defineComponent({
|
|
16
|
-
name: 'MultiColumnMaxWidthLayout',
|
|
17
|
-
components: { BaseIdTogglePanel, MainScroll: _sfc_main$1, Scroll },
|
|
18
|
-
props: {
|
|
19
|
-
/** The animation used for the Main Aside. */
|
|
20
|
-
asideAnimation: {
|
|
21
|
-
type: AnimationProp,
|
|
22
|
-
default: () => AnimateWidth,
|
|
23
|
-
},
|
|
24
|
-
/** Enables the devMode, which shows the available slots to use with its names. */
|
|
25
|
-
devMode: Boolean,
|
|
26
|
-
},
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
export { _sfc_main as default };
|
|
30
|
-
//# sourceMappingURL=multi-column-max-width-layout.vue2.js.map
|