wj-elements 0.0.11 → 0.0.13
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/dist/localize-20081fd1.js +55 -0
- package/dist/router-links-26e4a166.js +204 -0
- package/dist/style.css +2243 -2
- package/dist/wj-animation.js +35 -23
- package/dist/wj-aside.js +22 -16
- package/dist/wj-avatar.js +49 -30
- package/dist/wj-badge.js +22 -18
- package/dist/wj-breadcrumb.js +102 -50
- package/dist/wj-breadcrumbs.js +36 -19
- package/dist/wj-button-group.js +36 -22
- package/dist/wj-button.js +104 -39
- package/dist/wj-card-content.js +18 -14
- package/dist/wj-card-controls.js +18 -14
- package/dist/wj-card-header.js +20 -14
- package/dist/wj-card-subtitle.js +19 -15
- package/dist/wj-card-title.js +18 -14
- package/dist/wj-card.js +20 -14
- package/dist/wj-carousel-item.js +22 -16
- package/dist/wj-carousel.js +169 -92
- package/dist/wj-checkbox.js +46 -24
- package/dist/wj-chip.js +39 -21
- package/dist/wj-col.js +31 -17
- package/dist/wj-color-picker.js +877 -509
- package/dist/wj-container.js +20 -16
- package/dist/wj-copy-button.js +112 -64
- package/dist/wj-dialog.js +68 -42
- package/dist/wj-divider.js +20 -14
- package/dist/wj-dropdown.js +29 -17
- package/dist/wj-element.js +415 -241
- package/dist/wj-fetchAndParseCSS.js +49 -32
- package/dist/wj-file-upload-item.js +64 -38
- package/dist/wj-file-upload.js +237 -137
- package/dist/wj-footer.js +18 -14
- package/dist/wj-form.js +18 -14
- package/dist/wj-format-digital.js +40 -25
- package/dist/wj-grid.js +20 -16
- package/dist/wj-header.js +22 -16
- package/dist/wj-icon-picker.js +122 -68
- package/dist/wj-icon.js +144 -64
- package/dist/wj-img-comparer.js +72 -41
- package/dist/wj-img.js +31 -19
- package/dist/wj-infinite-scroll.js +90 -52
- package/dist/wj-input-file.js +50 -27
- package/dist/wj-input.js +169 -70
- package/dist/wj-item.js +34 -17
- package/dist/wj-label.js +21 -19
- package/dist/wj-list.js +20 -15
- package/dist/wj-main.js +18 -14
- package/dist/wj-masonry.js +140 -83
- package/dist/wj-master.js +492 -350
- package/dist/wj-menu-button.js +19 -15
- package/dist/wj-menu-item.js +150 -64
- package/dist/wj-menu-label.js +21 -17
- package/dist/wj-menu.js +24 -18
- package/dist/wj-popup.js +1140 -712
- package/dist/wj-progress-bar.js +100 -40
- package/dist/wj-radio-group.js +38 -25
- package/dist/wj-radio.js +46 -22
- package/dist/wj-rate.js +121 -71
- package/dist/wj-relative-time.js +48 -24
- package/dist/wj-route.js +11 -8
- package/dist/wj-router-link.js +22 -17
- package/dist/wj-router-outlet.js +135 -71
- package/dist/wj-routerx.js +1124 -641
- package/dist/wj-row.js +21 -19
- package/dist/wj-slider.js +97 -55
- package/dist/wj-split-view.js +81 -43
- package/dist/wj-store.js +195 -110
- package/dist/wj-textarea.js +86 -37
- package/dist/wj-thumbnail.js +19 -15
- package/dist/wj-toast.js +87 -34
- package/dist/wj-toggle.js +42 -24
- package/dist/wj-toolbar-action.js +27 -16
- package/dist/wj-toolbar.js +26 -19
- package/dist/wj-tooltip.js +40 -24
- package/dist/wj-visually-hidden.js +18 -14
- package/package.json +1 -1
- package/dist/localize-762a9f0f.js +0 -43
- package/dist/router-links-e0087f84.js +0 -146
package/dist/wj-chip.js
CHANGED
|
@@ -1,36 +1,54 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
+
var __publicField = (obj, key, value) => {
|
|
4
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
|
+
return value;
|
|
6
|
+
};
|
|
7
|
+
import WJElement, { event } from "./wj-element.js";
|
|
5
8
|
import "./wj-store.js";
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
*/:host{--wj-chip-border-radius: 100px;--wj-chip-background: var();--wj-chip-color: #4b4b4b;--wj-chip-margin: 0;--wj-card-background: var(--wj-color-contrast-2);--wj-card-color: var(--wj-color);margin:var(--wj-chip-margin)}:host(.wj-color-primary){--wj-card-background: var(--wj-color-primary)}:host(.wj-color-complete){--wj-card-background: var(--wj-color-complete)}:host(.wj-color-success){--wj-card-background: var(--wj-color-success)}:host(.wj-color-warning){--wj-card-background: var(--wj-color-warning)}:host(.wj-color-danger){--wj-card-background: var(--wj-color-danger)}:host(.wj-color-info){--wj-card-background: var(--wj-color-info)}:host(.wj-color-menu){--wj-card-background: var(--wj-color-menu)}:host(.wj-color-primary){--wj-card-color: var(--wj-color-white)}:host(.wj-color-complete){--wj-card-color: var(--wj-color-white)}:host(.wj-color-success){--wj-card-color: var(--wj-color-white)}:host(.wj-color-warning){--wj-card-color: var(--wj-color)}:host(.wj-color-danger){--wj-card-color: var(--wj-color-white)}:host(.wj-color-info){--wj-card-color: var(--wj-color-white)}:host(.wj-color-menu){--wj-card-color: var(--wj-color-white) !important}.native-chip{display:inline-flex;justify-content:center;align-items:center;font-size:14px;letter-spacing:-.006em;margin:0;padding:.5rem .75rem;text-align:center;cursor:pointer;white-space:nowrap;background:var(--wj-chip-background);color:var(--wj-chip-color);text-shadow:none;box-shadow:none;border:0 none;line-height:14px;min-height:28px;height:28px;width:100%;max-width:fit-content;min-width:28px;position:relative;transition:width .15s cubic-bezier(.4,0,.2,1);border-radius:var(--wj-chip-border-radius);overflow:hidden;vertical-align:middle;box-sizing:border-box}:host(.focus){box-shadow:none}:host(:hover:not(.wj-active)) .native-chip{background:var(--wj-color-contrast-3);color:var(--wj-color)}:host(.wj-active) .native-chip{border:1px solid rgba(33,33,33,.2)}:host(:focus,:active:focus,.wj-active:focus){outline:none!important;box-shadow:0 0 #78c8fe}.check{display:none}:host([active]) .check{display:block;margin-inline:4px 0}:host(.wj-disabled){background:#f4f4f4;color:#757575;border:0;pointer-events:none;cursor:not-allowed}::slotted(wj-avatar){width:22px;height:22px}::slotted(wj-avatar:first-child){margin-inline:-8px 8px;margin-top:-4px;margin-bottom:-4px}:host .native-chip{background-color:var(--wj-card-background, #fff);color:var(--wj-card-color)}::slotted(wj-icon:first-child){margin:-4px 8px -4px -4px}::slotted(wj-icon:last-child){margin:-4px -4px -4px 8px}wj-button{--wj-button-border-radius: 50%;--wj-button-margin-inline: .25rem -.5rem;--wj-padding-top: .15rem;--wj-padding-start: .15rem;--wj-padding-end: .15rem;--wj-padding-bottom: .15rem}
|
|
9
|
-
`;
|
|
10
|
-
class p extends w {
|
|
9
|
+
const styles = "/*!\n* direction.scss\n*/\n/* Skeleton Variables */\n/*\n[ WJ Chip ]\n*/\n:host {\n --wj-chip-border-radius: 100px;\n --wj-chip-background: var();\n --wj-chip-color: #4b4b4b;\n --wj-chip-margin: 0;\n --wj-card-background: var(--wj-color-contrast-2);\n --wj-card-color: var(--wj-color);\n margin: var(--wj-chip-margin);\n}\n:host(.wj-color-primary) {\n --wj-card-background: var(--wj-color-primary);\n}\n:host(.wj-color-complete) {\n --wj-card-background: var(--wj-color-complete);\n}\n:host(.wj-color-success) {\n --wj-card-background: var(--wj-color-success);\n}\n:host(.wj-color-warning) {\n --wj-card-background: var(--wj-color-warning);\n}\n:host(.wj-color-danger) {\n --wj-card-background: var(--wj-color-danger);\n}\n:host(.wj-color-info) {\n --wj-card-background: var(--wj-color-info);\n}\n:host(.wj-color-menu) {\n --wj-card-background: var(--wj-color-menu);\n}\n:host(.wj-color-primary) {\n --wj-card-color: var(--wj-color-white);\n}\n:host(.wj-color-complete) {\n --wj-card-color: var(--wj-color-white);\n}\n:host(.wj-color-success) {\n --wj-card-color: var(--wj-color-white);\n}\n:host(.wj-color-warning) {\n --wj-card-color: var(--wj-color);\n}\n:host(.wj-color-danger) {\n --wj-card-color: var(--wj-color-white);\n}\n:host(.wj-color-info) {\n --wj-card-color: var(--wj-color-white);\n}\n:host(.wj-color-menu) {\n --wj-card-color: var(--wj-color-white) !important;\n}\n.native-chip {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n font-size: 14px;\n letter-spacing: -0.006em;\n margin: 0;\n padding: 0.5rem 0.75rem;\n text-align: center;\n cursor: pointer;\n white-space: nowrap;\n background: var(--wj-chip-background);\n color: var(--wj-chip-color);\n text-shadow: none;\n box-shadow: none;\n border: 0 none;\n line-height: 14px;\n min-height: 28px;\n height: 28px;\n width: 100%;\n max-width: fit-content;\n min-width: 28px;\n position: relative;\n transition: width 0.15s cubic-bezier(0.4, 0, 0.2, 1);\n border-radius: var(--wj-chip-border-radius);\n overflow: hidden;\n vertical-align: middle;\n box-sizing: border-box;\n}\n:host(.focus) {\n box-shadow: none;\n}\n:host(:hover:not(.wj-active)) .native-chip {\n background: var(--wj-color-contrast-3);\n color: var(--wj-color);\n}\n:host(.wj-active) .native-chip {\n border: 1px solid rgba(33, 33, 33, 0.2);\n}\n:host(:focus, :active:focus, .wj-active:focus) {\n outline: none !important;\n box-shadow: 0 0 0 0px #78c8fe;\n}\n.check {\n display: none;\n}\n:host([active]) .check {\n display: block;\n margin-inline: 4px 0;\n}\n:host(.wj-disabled) {\n background: #f4f4f4;\n color: #757575;\n border: 0;\n pointer-events: none;\n cursor: not-allowed;\n}\n::slotted(wj-avatar) {\n width: 22px;\n height: 22px;\n}\n::slotted(wj-avatar:first-child) {\n margin-inline: -8px 8px;\n margin-top: -4px;\n margin-bottom: -4px;\n}\n:host .native-chip {\n background-color: var(--wj-card-background, #fff);\n color: var(--wj-card-color);\n}\n::slotted(wj-icon:first-child) {\n margin: -4px 8px -4px -4px;\n}\n::slotted(wj-icon:last-child) {\n margin: -4px -4px -4px 8px;\n}\nwj-button {\n --wj-button-border-radius: 50%;\n --wj-button-margin-inline: .25rem -.5rem;\n --wj-padding-top: .15rem;\n --wj-padding-start: .15rem;\n --wj-padding-end: .15rem;\n --wj-padding-bottom: .15rem;\n}";
|
|
10
|
+
class Chip extends WJElement {
|
|
11
11
|
constructor() {
|
|
12
12
|
super();
|
|
13
|
-
|
|
13
|
+
__publicField(this, "className", "Chip");
|
|
14
14
|
}
|
|
15
15
|
static get cssStyleSheet() {
|
|
16
|
-
return
|
|
16
|
+
return styles;
|
|
17
17
|
}
|
|
18
18
|
setupAttributes() {
|
|
19
19
|
this.isShadowRoot = "open";
|
|
20
20
|
}
|
|
21
|
-
draw(
|
|
22
|
-
let
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
let
|
|
27
|
-
|
|
21
|
+
draw(context, store, params) {
|
|
22
|
+
let fragment = document.createDocumentFragment();
|
|
23
|
+
let native = document.createElement("div");
|
|
24
|
+
native.classList.add("native-chip");
|
|
25
|
+
let slot = document.createElement("slot");
|
|
26
|
+
let remove = document.createElement("wj-button");
|
|
27
|
+
remove.setAttribute("part", "remove");
|
|
28
|
+
remove.setAttribute("fill", "link");
|
|
29
|
+
remove.innerHTML = `<wj-icon name="x"></wj-icon>`;
|
|
30
|
+
let active = document.createElement("wj-icon");
|
|
31
|
+
active.setAttribute("name", "check");
|
|
32
|
+
active.classList.add("check");
|
|
33
|
+
if (this.color)
|
|
34
|
+
this.classList.add("wj-color-" + this.color, "wj-color");
|
|
35
|
+
if (this.disabled)
|
|
36
|
+
this.classList.add("wj-disabled");
|
|
37
|
+
if (this.outline)
|
|
38
|
+
this.classList.add("wj-outline");
|
|
39
|
+
native.appendChild(slot);
|
|
40
|
+
native.appendChild(active);
|
|
41
|
+
if (this.hasAttribute("removable"))
|
|
42
|
+
native.appendChild(remove);
|
|
43
|
+
fragment.appendChild(native);
|
|
44
|
+
this.remove = remove;
|
|
45
|
+
return fragment;
|
|
28
46
|
}
|
|
29
47
|
afterDraw() {
|
|
30
|
-
|
|
48
|
+
event.addListener(this.remove, "click", "wj:chip-remove", null, { stopPropagation: true });
|
|
31
49
|
}
|
|
32
50
|
}
|
|
33
|
-
customElements.get("wj-chip") || window.customElements.define("wj-chip",
|
|
51
|
+
customElements.get("wj-chip") || window.customElements.define("wj-chip", Chip);
|
|
34
52
|
export {
|
|
35
|
-
|
|
53
|
+
Chip
|
|
36
54
|
};
|
package/dist/wj-col.js
CHANGED
|
@@ -1,31 +1,45 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
+
var __publicField = (obj, key, value) => {
|
|
4
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
|
+
return value;
|
|
6
|
+
};
|
|
7
|
+
import WJElement from "./wj-element.js";
|
|
5
8
|
import "./wj-store.js";
|
|
6
|
-
const m = `/*!
|
|
7
|
-
|
|
8
|
-
*/:host{display:block;flex-grow:1;width:100%;max-width:100%;padding-right:calc(var(--wj-gutter-x) * .5);padding-left:calc(var(--wj-gutter-x) * .5);margin-top:var(--wj-gutter-y)}:host(.wj-col){flex:1 0 0%}:host(.wj-row-cols-auto)>*{flex:0 0 auto;width:auto}:host(.wj-row-cols-1)>*{flex:0 0 auto;width:100%}:host(.wj-row-cols-2)>*{flex:0 0 auto;width:50%}:host(.wj-row-cols-3)>*{flex:0 0 auto;width:33.3333333333%}:host(.wj-row-cols-4)>*{flex:0 0 auto;width:25%}:host(.wj-row-cols-5)>*{flex:0 0 auto;width:20%}:host(.wj-row-cols-6)>*{flex:0 0 auto;width:16.6666666667%}@media (min-width: 576px){:host(.wj-col-sm){flex:1 0 0%}:host(.wj-row-cols-sm-auto)>*{flex:0 0 auto;width:auto}:host(.wj-row-cols-sm-1)>*{flex:0 0 auto;width:100%}:host(.wj-row-cols-sm-2)>*{flex:0 0 auto;width:50%}:host(.wj-row-cols-sm-3)>*{flex:0 0 auto;width:33.3333333333%}:host(.wj-row-cols-sm-4)>*{flex:0 0 auto;width:25%}:host(.wj-row-cols-sm-5)>*{flex:0 0 auto;width:20%}:host(.wj-row-cols-sm-6)>*{flex:0 0 auto;width:16.6666666667%}}@media (min-width: 768px){:host(.wj-col-md){flex:1 0 0%}:host(.wj-row-cols-md-auto)>*{flex:0 0 auto;width:auto}:host(.wj-row-cols-md-1)>*{flex:0 0 auto;width:100%}:host(.wj-row-cols-md-2)>*{flex:0 0 auto;width:50%}:host(.wj-row-cols-md-3)>*{flex:0 0 auto;width:33.3333333333%}:host(.wj-row-cols-md-4)>*{flex:0 0 auto;width:25%}:host(.wj-row-cols-md-5)>*{flex:0 0 auto;width:20%}:host(.wj-row-cols-md-6)>*{flex:0 0 auto;width:16.6666666667%}}@media (min-width: 992px){:host(.wj-col-lg){flex:1 0 0%}:host(.wj-row-cols-lg-auto)>*{flex:0 0 auto;width:auto}:host(.wj-row-cols-lg-1)>*{flex:0 0 auto;width:100%}:host(.wj-row-cols-lg-2)>*{flex:0 0 auto;width:50%}:host(.wj-row-cols-lg-3)>*{flex:0 0 auto;width:33.3333333333%}:host(.wj-row-cols-lg-4)>*{flex:0 0 auto;width:25%}:host(.wj-row-cols-lg-5)>*{flex:0 0 auto;width:20%}:host(.wj-row-cols-lg-6)>*{flex:0 0 auto;width:16.6666666667%}}@media (min-width: 1200px){:host(.wj-col-xl){flex:1 0 0%}:host(.wj-row-cols-xl-auto)>*{flex:0 0 auto;width:auto}:host(.wj-row-cols-xl-1)>*{flex:0 0 auto;width:100%}:host(.wj-row-cols-xl-2)>*{flex:0 0 auto;width:50%}:host(.wj-row-cols-xl-3)>*{flex:0 0 auto;width:33.3333333333%}:host(.wj-row-cols-xl-4)>*{flex:0 0 auto;width:25%}:host(.wj-row-cols-xl-5)>*{flex:0 0 auto;width:20%}:host(.wj-row-cols-xl-6)>*{flex:0 0 auto;width:16.6666666667%}}@media (min-width: 1400px){:host(.wj-col-xxl){flex:1 0 0%}:host(.wj-row-cols-xxl-auto)>*{flex:0 0 auto;width:auto}:host(.wj-row-cols-xxl-1)>*{flex:0 0 auto;width:100%}:host(.wj-row-cols-xxl-2)>*{flex:0 0 auto;width:50%}:host(.wj-row-cols-xxl-3)>*{flex:0 0 auto;width:33.3333333333%}:host(.wj-row-cols-xxl-4)>*{flex:0 0 auto;width:25%}:host(.wj-row-cols-xxl-5)>*{flex:0 0 auto;width:20%}:host(.wj-row-cols-xxl-6)>*{flex:0 0 auto;width:16.6666666667%}}:host(.wj-col-auto){flex:0 0 auto;width:auto}:host(.wj-col-1){flex:0 0 auto;width:8.33333333%}:host(.wj-col-2){flex:0 0 auto;width:16.66666667%}:host(.wj-col-3){flex:0 0 auto;width:25%}:host(.wj-col-4){flex:0 0 auto;width:33.33333333%}:host(.wj-col-5){flex:0 0 auto;width:41.66666667%}:host(.wj-col-6){flex:0 0 auto;width:50%}:host(.wj-col-7){flex:0 0 auto;width:58.33333333%}:host(.wj-col-8){flex:0 0 auto;width:66.66666667%}:host(.wj-col-9){flex:0 0 auto;width:75%}:host(.wj-col-10){flex:0 0 auto;width:83.33333333%}:host(.wj-col-11){flex:0 0 auto;width:91.66666667%}:host(.wj-col-12){flex:0 0 auto;width:100%}:host(.wj-offset-1){margin-left:8.33333333%}:host(.wj-offset-2){margin-left:16.66666667%}:host(.wj-offset-3){margin-left:25%}:host(.wj-offset-4){margin-left:33.33333333%}:host(.wj-offset-5){margin-left:41.66666667%}:host(.wj-offset-6){margin-left:50%}:host(.wj-offset-7){margin-left:58.33333333%}:host(.wj-offset-8){margin-left:66.66666667%}:host(.wj-offset-9){margin-left:75%}:host(.wj-offset-10){margin-left:83.33333333%}:host(.wj-offset-11){margin-left:91.66666667%}.g-0,.gx-0{--wj-gutter-x: 0}.g-0,.gy-0{--wj-gutter-y: 0}.g-1,.gx-1{--wj-gutter-x: .25rem}.g-1,.gy-1{--wj-gutter-y: .25rem}.g-2,.gx-2{--wj-gutter-x: .5rem}.g-2,.gy-2{--wj-gutter-y: .5rem}.g-3,.gx-3{--wj-gutter-x: 1rem}.g-3,.gy-3{--wj-gutter-y: 1rem}.g-4,.gx-4{--wj-gutter-x: 1.5rem}.g-4,.gy-4{--wj-gutter-y: 1.5rem}.g-5,.gx-5{--wj-gutter-x: 3rem}.g-5,.gy-5{--wj-gutter-y: 3rem}@media (min-width: 576px){:host(.wj-col-sm-auto){flex:0 0 auto;width:auto}:host(.wj-col-sm-1){flex:0 0 auto;width:8.33333333%}:host(.wj-col-sm-2){flex:0 0 auto;width:16.66666667%}:host(.wj-col-sm-3){flex:0 0 auto;width:25%}:host(.wj-col-sm-4){flex:0 0 auto;width:33.33333333%}:host(.wj-col-sm-5){flex:0 0 auto;width:41.66666667%}:host(.wj-col-sm-6){flex:0 0 auto;width:50%}:host(.wj-col-sm-7){flex:0 0 auto;width:58.33333333%}:host(.wj-col-sm-8){flex:0 0 auto;width:66.66666667%}:host(.wj-col-sm-9){flex:0 0 auto;width:75%}:host(.wj-col-sm-10){flex:0 0 auto;width:83.33333333%}:host(.wj-col-sm-11){flex:0 0 auto;width:91.66666667%}:host(.wj-col-sm-12){flex:0 0 auto;width:100%}:host(.wj-offset-sm-0){margin-left:0}:host(.wj-offset-sm-1){margin-left:8.33333333%}:host(.wj-offset-sm-2){margin-left:16.66666667%}:host(.wj-offset-sm-3){margin-left:25%}:host(.wj-offset-sm-4){margin-left:33.33333333%}:host(.wj-offset-sm-5){margin-left:41.66666667%}:host(.wj-offset-sm-6){margin-left:50%}:host(.wj-offset-sm-7){margin-left:58.33333333%}:host(.wj-offset-sm-8){margin-left:66.66666667%}:host(.wj-offset-sm-9){margin-left:75%}:host(.wj-offset-sm-10){margin-left:83.33333333%}:host(.wj-offset-sm-11){margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--wj-gutter-x: 0}.g-sm-0,.gy-sm-0{--wj-gutter-y: 0}.g-sm-1,.gx-sm-1{--wj-gutter-x: .25rem}.g-sm-1,.gy-sm-1{--wj-gutter-y: .25rem}.g-sm-2,.gx-sm-2{--wj-gutter-x: .5rem}.g-sm-2,.gy-sm-2{--wj-gutter-y: .5rem}.g-sm-3,.gx-sm-3{--wj-gutter-x: 1rem}.g-sm-3,.gy-sm-3{--wj-gutter-y: 1rem}.g-sm-4,.gx-sm-4{--wj-gutter-x: 1.5rem}.g-sm-4,.gy-sm-4{--wj-gutter-y: 1.5rem}.g-sm-5,.gx-sm-5{--wj-gutter-x: 3rem}.g-sm-5,.gy-sm-5{--wj-gutter-y: 3rem}}@media (min-width: 768px){:host(.wj-col-md-auto){flex:0 0 auto;width:auto}:host(.wj-col-md-1){flex:0 0 auto;width:8.33333333%}:host(.wj-col-md-2){flex:0 0 auto;width:16.66666667%}:host(.wj-col-md-3){flex:0 0 auto;width:25%}:host(.wj-col-md-4){flex:0 0 auto;width:33.33333333%}:host(.wj-col-md-5){flex:0 0 auto;width:41.66666667%}:host(.wj-col-md-6){flex:0 0 auto;width:50%}:host(.wj-col-md-7){flex:0 0 auto;width:58.33333333%}:host(.wj-col-md-8){flex:0 0 auto;width:66.66666667%}:host(.wj-col-md-9){flex:0 0 auto;width:75%}:host(.wj-col-md-10){flex:0 0 auto;width:83.33333333%}:host(.wj-col-md-11){flex:0 0 auto;width:91.66666667%}:host(.wj-col-md-12){flex:0 0 auto;width:100%}:host(.wj-offset-md-0){margin-left:0}:host(.wj-offset-md-1){margin-left:8.33333333%}:host(.wj-offset-md-2){margin-left:16.66666667%}:host(.wj-offset-md-3){margin-left:25%}:host(.wj-offset-md-4){margin-left:33.33333333%}:host(.wj-offset-md-5){margin-left:41.66666667%}:host(.wj-offset-md-6){margin-left:50%}:host(.wj-offset-md-7){margin-left:58.33333333%}:host(.wj-offset-md-8){margin-left:66.66666667%}:host(.wj-offset-md-9){margin-left:75%}:host(.wj-offset-md-10){margin-left:83.33333333%}:host(.wj-offset-md-11){margin-left:91.66666667%}.g-md-0,.gx-md-0{--wj-gutter-x: 0}.g-md-0,.gy-md-0{--wj-gutter-y: 0}.g-md-1,.gx-md-1{--wj-gutter-x: .25rem}.g-md-1,.gy-md-1{--wj-gutter-y: .25rem}.g-md-2,.gx-md-2{--wj-gutter-x: .5rem}.g-md-2,.gy-md-2{--wj-gutter-y: .5rem}.g-md-3,.gx-md-3{--wj-gutter-x: 1rem}.g-md-3,.gy-md-3{--wj-gutter-y: 1rem}.g-md-4,.gx-md-4{--wj-gutter-x: 1.5rem}.g-md-4,.gy-md-4{--wj-gutter-y: 1.5rem}.g-md-5,.gx-md-5{--wj-gutter-x: 3rem}.g-md-5,.gy-md-5{--wj-gutter-y: 3rem}}@media (min-width: 992px){:host(.wj-col-lg-auto){flex:0 0 auto;width:auto}:host(.wj-col-lg-1){flex:0 0 auto;width:8.33333333%}:host(.wj-col-lg-2){flex:0 0 auto;width:16.66666667%}:host(.wj-col-lg-3){flex:0 0 auto;width:25%}:host(.wj-col-lg-4){flex:0 0 auto;width:33.33333333%}:host(.wj-col-lg-5){flex:0 0 auto;width:41.66666667%}:host(.wj-col-lg-6){flex:0 0 auto;width:50%}:host(.wj-col-lg-7){flex:0 0 auto;width:58.33333333%}:host(.wj-col-lg-8){flex:0 0 auto;width:66.66666667%}:host(.wj-col-lg-9){flex:0 0 auto;width:75%}:host(.wj-col-lg-10){flex:0 0 auto;width:83.33333333%}:host(.wj-col-lg-11){flex:0 0 auto;width:91.66666667%}:host(.wj-col-lg-12){flex:0 0 auto;width:100%}:host(.wj-offset-lg-0){margin-left:0}:host(.wj-offset-lg-1){margin-left:8.33333333%}:host(.wj-offset-lg-2){margin-left:16.66666667%}:host(.wj-offset-lg-3){margin-left:25%}:host(.wj-offset-lg-4){margin-left:33.33333333%}:host(.wj-offset-lg-5){margin-left:41.66666667%}:host(.wj-offset-lg-6){margin-left:50%}:host(.wj-offset-lg-7){margin-left:58.33333333%}:host(.wj-offset-lg-8){margin-left:66.66666667%}:host(.wj-offset-lg-9){margin-left:75%}:host(.wj-offset-lg-10){margin-left:83.33333333%}:host(.wj-offset-lg-11){margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--wj-gutter-x: 0}.g-lg-0,.gy-lg-0{--wj-gutter-y: 0}.g-lg-1,.gx-lg-1{--wj-gutter-x: .25rem}.g-lg-1,.gy-lg-1{--wj-gutter-y: .25rem}.g-lg-2,.gx-lg-2{--wj-gutter-x: .5rem}.g-lg-2,.gy-lg-2{--wj-gutter-y: .5rem}.g-lg-3,.gx-lg-3{--wj-gutter-x: 1rem}.g-lg-3,.gy-lg-3{--wj-gutter-y: 1rem}.g-lg-4,.gx-lg-4{--wj-gutter-x: 1.5rem}.g-lg-4,.gy-lg-4{--wj-gutter-y: 1.5rem}.g-lg-5,.gx-lg-5{--wj-gutter-x: 3rem}.g-lg-5,.gy-lg-5{--wj-gutter-y: 3rem}}@media (min-width: 1200px){:host(.wj-col-xl-auto){flex:0 0 auto;width:auto}:host(.wj-col-xl-1){flex:0 0 auto;width:8.33333333%}:host(.wj-col-xl-2){flex:0 0 auto;width:16.66666667%}:host(.wj-col-xl-3){flex:0 0 auto;width:25%}:host(.wj-col-xl-4){flex:0 0 auto;width:33.33333333%}:host(.wj-col-xl-5){flex:0 0 auto;width:41.66666667%}:host(.wj-col-xl-6){flex:0 0 auto;width:50%}:host(.wj-col-xl-7){flex:0 0 auto;width:58.33333333%}:host(.wj-col-xl-8){flex:0 0 auto;width:66.66666667%}:host(.wj-col-xl-9){flex:0 0 auto;width:75%}:host(.wj-col-xl-10){flex:0 0 auto;width:83.33333333%}:host(.wj-col-xl-11){flex:0 0 auto;width:91.66666667%}:host(.wj-col-xl-12){flex:0 0 auto;width:100%}:host(.wj-offset-xl-0){margin-left:0}:host(.wj-offset-xl-1){margin-left:8.33333333%}:host(.wj-offset-xl-2){margin-left:16.66666667%}:host(.wj-offset-xl-3){margin-left:25%}:host(.wj-offset-xl-4){margin-left:33.33333333%}:host(.wj-offset-xl-5){margin-left:41.66666667%}:host(.wj-offset-xl-6){margin-left:50%}:host(.wj-offset-xl-7){margin-left:58.33333333%}:host(.wj-offset-xl-8){margin-left:66.66666667%}:host(.wj-offset-xl-9){margin-left:75%}:host(.wj-offset-xl-10){margin-left:83.33333333%}:host(.wj-offset-xl-11){margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--wj-gutter-x: 0}.g-xl-0,.gy-xl-0{--wj-gutter-y: 0}.g-xl-1,.gx-xl-1{--wj-gutter-x: .25rem}.g-xl-1,.gy-xl-1{--wj-gutter-y: .25rem}.g-xl-2,.gx-xl-2{--wj-gutter-x: .5rem}.g-xl-2,.gy-xl-2{--wj-gutter-y: .5rem}.g-xl-3,.gx-xl-3{--wj-gutter-x: 1rem}.g-xl-3,.gy-xl-3{--wj-gutter-y: 1rem}.g-xl-4,.gx-xl-4{--wj-gutter-x: 1.5rem}.g-xl-4,.gy-xl-4{--wj-gutter-y: 1.5rem}.g-xl-5,.gx-xl-5{--wj-gutter-x: 3rem}.g-xl-5,.gy-xl-5{--wj-gutter-y: 3rem}}@media (min-width: 1400px){:host(.wj-col-xxl-auto){flex:0 0 auto;width:auto}:host(.wj-col-xxl-1){flex:0 0 auto;width:8.33333333%}:host(.wj-col-xxl-2){flex:0 0 auto;width:16.66666667%}:host(.wj-col-xxl-3){flex:0 0 auto;width:25%}:host(.wj-col-xxl-4){flex:0 0 auto;width:33.33333333%}:host(.wj-col-xxl-5){flex:0 0 auto;width:41.66666667%}:host(.wj-col-xxl-6){flex:0 0 auto;width:50%}:host(.wj-col-xxl-7){flex:0 0 auto;width:58.33333333%}:host(.wj-col-xxl-8){flex:0 0 auto;width:66.66666667%}:host(.wj-col-xxl-9){flex:0 0 auto;width:75%}:host(.wj-col-xxl-10){flex:0 0 auto;width:83.33333333%}:host(.wj-col-xxl-11){flex:0 0 auto;width:91.66666667%}:host(.wj-col-xxl-12){flex:0 0 auto;width:100%}:host(.wj-offset-xxl-0){margin-left:0}:host(.wj-offset-xxl-1){margin-left:8.33333333%}:host(.wj-offset-xxl-2){margin-left:16.66666667%}:host(.wj-offset-xxl-3){margin-left:25%}:host(.wj-offset-xxl-4){margin-left:33.33333333%}:host(.wj-offset-xxl-5){margin-left:41.66666667%}:host(.wj-offset-xxl-6){margin-left:50%}:host(.wj-offset-xxl-7){margin-left:58.33333333%}:host(.wj-offset-xxl-8){margin-left:66.66666667%}:host(.wj-offset-xxl-9){margin-left:75%}:host(.wj-offset-xxl-10){margin-left:83.33333333%}:host(.wj-offset-xxl-11){margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--wj-gutter-x: 0}.g-xxl-0,.gy-xxl-0{--wj-gutter-y: 0}.g-xxl-1,.gx-xxl-1{--wj-gutter-x: .25rem}.g-xxl-1,.gy-xxl-1{--wj-gutter-y: .25rem}.g-xxl-2,.gx-xxl-2{--wj-gutter-x: .5rem}.g-xxl-2,.gy-xxl-2{--wj-gutter-y: .5rem}.g-xxl-3,.gx-xxl-3{--wj-gutter-x: 1rem}.g-xxl-3,.gy-xxl-3{--wj-gutter-y: 1rem}.g-xxl-4,.gx-xxl-4{--wj-gutter-x: 1.5rem}.g-xxl-4,.gy-xxl-4{--wj-gutter-y: 1.5rem}.g-xxl-5,.gx-xxl-5{--wj-gutter-x: 3rem}.g-xxl-5,.gy-xxl-5{--wj-gutter-y: 3rem}}:host(.order-first){order:-1!important}:host(.order-0){order:0!important}:host(.order-1){order:1!important}:host(.order-2){order:2!important}:host(.order-3){order:3!important}:host(.order-4){order:4!important}:host(.order-5){order:5!important}:host(.order-last){order:6!important}:host(.order-sm-first){order:-1!important}:host(.order-sm-0){order:0!important}:host(.order-sm-1){order:1!important}:host(.order-sm-2){order:2!important}:host(.order-sm-3){order:3!important}:host(.order-sm-4){order:4!important}:host(.order-sm-5){order:5!important}:host(.order-sm-last){order:6!important}:host(.order-md-first){order:-1!important}:host(.order-md-0){order:0!important}:host(.order-md-1){order:1!important}:host(.order-md-2){order:2!important}:host(.order-md-3){order:3!important}:host(.order-md-4){order:4!important}:host(.order-md-5){order:5!important}:host(.order-md-last){order:6!important}:host(.order-lg-first){order:-1!important}:host(.order-lg-0){order:0!important}:host(.order-lg-1){order:1!important}:host(.order-lg-2){order:2!important}:host(.order-lg-3){order:3!important}:host(.order-lg-4){order:4!important}:host(.order-lg-5){order:5!important}:host(.order-lg-last){order:6!important}:host(.order-xl-first){order:-1!important}:host(.order-xl-0){order:0!important}:host(.order-xl-1){order:1!important}:host(.order-xl-2){order:2!important}:host(.order-xl-3){order:3!important}:host(.order-xl-4){order:4!important}:host(.order-xl-5){order:5!important}:host(.order-xl-last){order:6!important}:host(.order-xxl-first){order:-1!important}:host(.order-xxl-0){order:0!important}:host(.order-xxl-1){order:1!important}:host(.order-xxl-2){order:2!important}:host(.order-xxl-3){order:3!important}:host(.order-xxl-4){order:4!important}:host(.order-xxl-5){order:5!important}:host(.order-xxl-last){order:6!important}
|
|
9
|
-
`;
|
|
10
|
-
class d extends g {
|
|
9
|
+
const styles = "/*!\n* direction.scss\n*/\n/* Skeleton Variables */\n/*\n[ WJ Col ]\n*/\n:host {\n display: block;\n flex-grow: 1;\n width: 100%;\n max-width: 100%;\n padding-right: calc(var(--wj-gutter-x) * 0.5);\n padding-left: calc(var(--wj-gutter-x) * 0.5);\n margin-top: var(--wj-gutter-y);\n}\n:host(.wj-col) {\n flex: 1 0 0%;\n}\n:host(.wj-row-cols-auto) > * {\n flex: 0 0 auto;\n width: auto;\n}\n:host(.wj-row-cols-1) > * {\n flex: 0 0 auto;\n width: 100%;\n}\n:host(.wj-row-cols-2) > * {\n flex: 0 0 auto;\n width: 50%;\n}\n:host(.wj-row-cols-3) > * {\n flex: 0 0 auto;\n width: 33.3333333333%;\n}\n:host(.wj-row-cols-4) > * {\n flex: 0 0 auto;\n width: 25%;\n}\n:host(.wj-row-cols-5) > * {\n flex: 0 0 auto;\n width: 20%;\n}\n:host(.wj-row-cols-6) > * {\n flex: 0 0 auto;\n width: 16.6666666667%;\n}\n@media (min-width: 576px) {\n :host(.wj-col-sm) {\n flex: 1 0 0%;\n }\n :host(.wj-row-cols-sm-auto) > * {\n flex: 0 0 auto;\n width: auto;\n }\n :host(.wj-row-cols-sm-1) > * {\n flex: 0 0 auto;\n width: 100%;\n }\n :host(.wj-row-cols-sm-2) > * {\n flex: 0 0 auto;\n width: 50%;\n }\n :host(.wj-row-cols-sm-3) > * {\n flex: 0 0 auto;\n width: 33.3333333333%;\n }\n :host(.wj-row-cols-sm-4) > * {\n flex: 0 0 auto;\n width: 25%;\n }\n :host(.wj-row-cols-sm-5) > * {\n flex: 0 0 auto;\n width: 20%;\n }\n :host(.wj-row-cols-sm-6) > * {\n flex: 0 0 auto;\n width: 16.6666666667%;\n }\n}\n@media (min-width: 768px) {\n :host(.wj-col-md) {\n flex: 1 0 0%;\n }\n :host(.wj-row-cols-md-auto) > * {\n flex: 0 0 auto;\n width: auto;\n }\n :host(.wj-row-cols-md-1) > * {\n flex: 0 0 auto;\n width: 100%;\n }\n :host(.wj-row-cols-md-2) > * {\n flex: 0 0 auto;\n width: 50%;\n }\n :host(.wj-row-cols-md-3) > * {\n flex: 0 0 auto;\n width: 33.3333333333%;\n }\n :host(.wj-row-cols-md-4) > * {\n flex: 0 0 auto;\n width: 25%;\n }\n :host(.wj-row-cols-md-5) > * {\n flex: 0 0 auto;\n width: 20%;\n }\n :host(.wj-row-cols-md-6) > * {\n flex: 0 0 auto;\n width: 16.6666666667%;\n }\n}\n@media (min-width: 992px) {\n :host(.wj-col-lg) {\n flex: 1 0 0%;\n }\n :host(.wj-row-cols-lg-auto) > * {\n flex: 0 0 auto;\n width: auto;\n }\n :host(.wj-row-cols-lg-1) > * {\n flex: 0 0 auto;\n width: 100%;\n }\n :host(.wj-row-cols-lg-2) > * {\n flex: 0 0 auto;\n width: 50%;\n }\n :host(.wj-row-cols-lg-3) > * {\n flex: 0 0 auto;\n width: 33.3333333333%;\n }\n :host(.wj-row-cols-lg-4) > * {\n flex: 0 0 auto;\n width: 25%;\n }\n :host(.wj-row-cols-lg-5) > * {\n flex: 0 0 auto;\n width: 20%;\n }\n :host(.wj-row-cols-lg-6) > * {\n flex: 0 0 auto;\n width: 16.6666666667%;\n }\n}\n@media (min-width: 1200px) {\n :host(.wj-col-xl) {\n flex: 1 0 0%;\n }\n :host(.wj-row-cols-xl-auto) > * {\n flex: 0 0 auto;\n width: auto;\n }\n :host(.wj-row-cols-xl-1) > * {\n flex: 0 0 auto;\n width: 100%;\n }\n :host(.wj-row-cols-xl-2) > * {\n flex: 0 0 auto;\n width: 50%;\n }\n :host(.wj-row-cols-xl-3) > * {\n flex: 0 0 auto;\n width: 33.3333333333%;\n }\n :host(.wj-row-cols-xl-4) > * {\n flex: 0 0 auto;\n width: 25%;\n }\n :host(.wj-row-cols-xl-5) > * {\n flex: 0 0 auto;\n width: 20%;\n }\n :host(.wj-row-cols-xl-6) > * {\n flex: 0 0 auto;\n width: 16.6666666667%;\n }\n}\n@media (min-width: 1400px) {\n :host(.wj-col-xxl) {\n flex: 1 0 0%;\n }\n :host(.wj-row-cols-xxl-auto) > * {\n flex: 0 0 auto;\n width: auto;\n }\n :host(.wj-row-cols-xxl-1) > * {\n flex: 0 0 auto;\n width: 100%;\n }\n :host(.wj-row-cols-xxl-2) > * {\n flex: 0 0 auto;\n width: 50%;\n }\n :host(.wj-row-cols-xxl-3) > * {\n flex: 0 0 auto;\n width: 33.3333333333%;\n }\n :host(.wj-row-cols-xxl-4) > * {\n flex: 0 0 auto;\n width: 25%;\n }\n :host(.wj-row-cols-xxl-5) > * {\n flex: 0 0 auto;\n width: 20%;\n }\n :host(.wj-row-cols-xxl-6) > * {\n flex: 0 0 auto;\n width: 16.6666666667%;\n }\n}\n:host(.wj-col-auto) {\n flex: 0 0 auto;\n width: auto;\n}\n:host(.wj-col-1) {\n flex: 0 0 auto;\n width: 8.33333333%;\n}\n:host(.wj-col-2) {\n flex: 0 0 auto;\n width: 16.66666667%;\n}\n:host(.wj-col-3) {\n flex: 0 0 auto;\n width: 25%;\n}\n:host(.wj-col-4) {\n flex: 0 0 auto;\n width: 33.33333333%;\n}\n:host(.wj-col-5) {\n flex: 0 0 auto;\n width: 41.66666667%;\n}\n:host(.wj-col-6) {\n flex: 0 0 auto;\n width: 50%;\n}\n:host(.wj-col-7) {\n flex: 0 0 auto;\n width: 58.33333333%;\n}\n:host(.wj-col-8) {\n flex: 0 0 auto;\n width: 66.66666667%;\n}\n:host(.wj-col-9) {\n flex: 0 0 auto;\n width: 75%;\n}\n:host(.wj-col-10) {\n flex: 0 0 auto;\n width: 83.33333333%;\n}\n:host(.wj-col-11) {\n flex: 0 0 auto;\n width: 91.66666667%;\n}\n:host(.wj-col-12) {\n flex: 0 0 auto;\n width: 100%;\n}\n:host(.wj-offset-1) {\n margin-left: 8.33333333%;\n}\n:host(.wj-offset-2) {\n margin-left: 16.66666667%;\n}\n:host(.wj-offset-3) {\n margin-left: 25%;\n}\n:host(.wj-offset-4) {\n margin-left: 33.33333333%;\n}\n:host(.wj-offset-5) {\n margin-left: 41.66666667%;\n}\n:host(.wj-offset-6) {\n margin-left: 50%;\n}\n:host(.wj-offset-7) {\n margin-left: 58.33333333%;\n}\n:host(.wj-offset-8) {\n margin-left: 66.66666667%;\n}\n:host(.wj-offset-9) {\n margin-left: 75%;\n}\n:host(.wj-offset-10) {\n margin-left: 83.33333333%;\n}\n:host(.wj-offset-11) {\n margin-left: 91.66666667%;\n}\n.g-0,\n.gx-0 {\n --wj-gutter-x: 0;\n}\n.g-0,\n.gy-0 {\n --wj-gutter-y: 0;\n}\n.g-1,\n.gx-1 {\n --wj-gutter-x: 0.25rem;\n}\n.g-1,\n.gy-1 {\n --wj-gutter-y: 0.25rem;\n}\n.g-2,\n.gx-2 {\n --wj-gutter-x: 0.5rem;\n}\n.g-2,\n.gy-2 {\n --wj-gutter-y: 0.5rem;\n}\n.g-3,\n.gx-3 {\n --wj-gutter-x: 1rem;\n}\n.g-3,\n.gy-3 {\n --wj-gutter-y: 1rem;\n}\n.g-4,\n.gx-4 {\n --wj-gutter-x: 1.5rem;\n}\n.g-4,\n.gy-4 {\n --wj-gutter-y: 1.5rem;\n}\n.g-5,\n.gx-5 {\n --wj-gutter-x: 3rem;\n}\n.g-5,\n.gy-5 {\n --wj-gutter-y: 3rem;\n}\n@media (min-width: 576px) {\n :host(.wj-col-sm-auto) {\n flex: 0 0 auto;\n width: auto;\n }\n :host(.wj-col-sm-1) {\n flex: 0 0 auto;\n width: 8.33333333%;\n }\n :host(.wj-col-sm-2) {\n flex: 0 0 auto;\n width: 16.66666667%;\n }\n :host(.wj-col-sm-3) {\n flex: 0 0 auto;\n width: 25%;\n }\n :host(.wj-col-sm-4) {\n flex: 0 0 auto;\n width: 33.33333333%;\n }\n :host(.wj-col-sm-5) {\n flex: 0 0 auto;\n width: 41.66666667%;\n }\n :host(.wj-col-sm-6) {\n flex: 0 0 auto;\n width: 50%;\n }\n :host(.wj-col-sm-7) {\n flex: 0 0 auto;\n width: 58.33333333%;\n }\n :host(.wj-col-sm-8) {\n flex: 0 0 auto;\n width: 66.66666667%;\n }\n :host(.wj-col-sm-9) {\n flex: 0 0 auto;\n width: 75%;\n }\n :host(.wj-col-sm-10) {\n flex: 0 0 auto;\n width: 83.33333333%;\n }\n :host(.wj-col-sm-11) {\n flex: 0 0 auto;\n width: 91.66666667%;\n }\n :host(.wj-col-sm-12) {\n flex: 0 0 auto;\n width: 100%;\n }\n :host(.wj-offset-sm-0) {\n margin-left: 0;\n }\n :host(.wj-offset-sm-1) {\n margin-left: 8.33333333%;\n }\n :host(.wj-offset-sm-2) {\n margin-left: 16.66666667%;\n }\n :host(.wj-offset-sm-3) {\n margin-left: 25%;\n }\n :host(.wj-offset-sm-4) {\n margin-left: 33.33333333%;\n }\n :host(.wj-offset-sm-5) {\n margin-left: 41.66666667%;\n }\n :host(.wj-offset-sm-6) {\n margin-left: 50%;\n }\n :host(.wj-offset-sm-7) {\n margin-left: 58.33333333%;\n }\n :host(.wj-offset-sm-8) {\n margin-left: 66.66666667%;\n }\n :host(.wj-offset-sm-9) {\n margin-left: 75%;\n }\n :host(.wj-offset-sm-10) {\n margin-left: 83.33333333%;\n }\n :host(.wj-offset-sm-11) {\n margin-left: 91.66666667%;\n }\n .g-sm-0,\n .gx-sm-0 {\n --wj-gutter-x: 0;\n }\n .g-sm-0,\n .gy-sm-0 {\n --wj-gutter-y: 0;\n }\n .g-sm-1,\n .gx-sm-1 {\n --wj-gutter-x: 0.25rem;\n }\n .g-sm-1,\n .gy-sm-1 {\n --wj-gutter-y: 0.25rem;\n }\n .g-sm-2,\n .gx-sm-2 {\n --wj-gutter-x: 0.5rem;\n }\n .g-sm-2,\n .gy-sm-2 {\n --wj-gutter-y: 0.5rem;\n }\n .g-sm-3,\n .gx-sm-3 {\n --wj-gutter-x: 1rem;\n }\n .g-sm-3,\n .gy-sm-3 {\n --wj-gutter-y: 1rem;\n }\n .g-sm-4,\n .gx-sm-4 {\n --wj-gutter-x: 1.5rem;\n }\n .g-sm-4,\n .gy-sm-4 {\n --wj-gutter-y: 1.5rem;\n }\n .g-sm-5,\n .gx-sm-5 {\n --wj-gutter-x: 3rem;\n }\n .g-sm-5,\n .gy-sm-5 {\n --wj-gutter-y: 3rem;\n }\n}\n@media (min-width: 768px) {\n :host(.wj-col-md-auto) {\n flex: 0 0 auto;\n width: auto;\n }\n :host(.wj-col-md-1) {\n flex: 0 0 auto;\n width: 8.33333333%;\n }\n :host(.wj-col-md-2) {\n flex: 0 0 auto;\n width: 16.66666667%;\n }\n :host(.wj-col-md-3) {\n flex: 0 0 auto;\n width: 25%;\n }\n :host(.wj-col-md-4) {\n flex: 0 0 auto;\n width: 33.33333333%;\n }\n :host(.wj-col-md-5) {\n flex: 0 0 auto;\n width: 41.66666667%;\n }\n :host(.wj-col-md-6) {\n flex: 0 0 auto;\n width: 50%;\n }\n :host(.wj-col-md-7) {\n flex: 0 0 auto;\n width: 58.33333333%;\n }\n :host(.wj-col-md-8) {\n flex: 0 0 auto;\n width: 66.66666667%;\n }\n :host(.wj-col-md-9) {\n flex: 0 0 auto;\n width: 75%;\n }\n :host(.wj-col-md-10) {\n flex: 0 0 auto;\n width: 83.33333333%;\n }\n :host(.wj-col-md-11) {\n flex: 0 0 auto;\n width: 91.66666667%;\n }\n :host(.wj-col-md-12) {\n flex: 0 0 auto;\n width: 100%;\n }\n :host(.wj-offset-md-0) {\n margin-left: 0;\n }\n :host(.wj-offset-md-1) {\n margin-left: 8.33333333%;\n }\n :host(.wj-offset-md-2) {\n margin-left: 16.66666667%;\n }\n :host(.wj-offset-md-3) {\n margin-left: 25%;\n }\n :host(.wj-offset-md-4) {\n margin-left: 33.33333333%;\n }\n :host(.wj-offset-md-5) {\n margin-left: 41.66666667%;\n }\n :host(.wj-offset-md-6) {\n margin-left: 50%;\n }\n :host(.wj-offset-md-7) {\n margin-left: 58.33333333%;\n }\n :host(.wj-offset-md-8) {\n margin-left: 66.66666667%;\n }\n :host(.wj-offset-md-9) {\n margin-left: 75%;\n }\n :host(.wj-offset-md-10) {\n margin-left: 83.33333333%;\n }\n :host(.wj-offset-md-11) {\n margin-left: 91.66666667%;\n }\n .g-md-0,\n .gx-md-0 {\n --wj-gutter-x: 0;\n }\n .g-md-0,\n .gy-md-0 {\n --wj-gutter-y: 0;\n }\n .g-md-1,\n .gx-md-1 {\n --wj-gutter-x: 0.25rem;\n }\n .g-md-1,\n .gy-md-1 {\n --wj-gutter-y: 0.25rem;\n }\n .g-md-2,\n .gx-md-2 {\n --wj-gutter-x: 0.5rem;\n }\n .g-md-2,\n .gy-md-2 {\n --wj-gutter-y: 0.5rem;\n }\n .g-md-3,\n .gx-md-3 {\n --wj-gutter-x: 1rem;\n }\n .g-md-3,\n .gy-md-3 {\n --wj-gutter-y: 1rem;\n }\n .g-md-4,\n .gx-md-4 {\n --wj-gutter-x: 1.5rem;\n }\n .g-md-4,\n .gy-md-4 {\n --wj-gutter-y: 1.5rem;\n }\n .g-md-5,\n .gx-md-5 {\n --wj-gutter-x: 3rem;\n }\n .g-md-5,\n .gy-md-5 {\n --wj-gutter-y: 3rem;\n }\n}\n@media (min-width: 992px) {\n :host(.wj-col-lg-auto) {\n flex: 0 0 auto;\n width: auto;\n }\n :host(.wj-col-lg-1) {\n flex: 0 0 auto;\n width: 8.33333333%;\n }\n :host(.wj-col-lg-2) {\n flex: 0 0 auto;\n width: 16.66666667%;\n }\n :host(.wj-col-lg-3) {\n flex: 0 0 auto;\n width: 25%;\n }\n :host(.wj-col-lg-4) {\n flex: 0 0 auto;\n width: 33.33333333%;\n }\n :host(.wj-col-lg-5) {\n flex: 0 0 auto;\n width: 41.66666667%;\n }\n :host(.wj-col-lg-6) {\n flex: 0 0 auto;\n width: 50%;\n }\n :host(.wj-col-lg-7) {\n flex: 0 0 auto;\n width: 58.33333333%;\n }\n :host(.wj-col-lg-8) {\n flex: 0 0 auto;\n width: 66.66666667%;\n }\n :host(.wj-col-lg-9) {\n flex: 0 0 auto;\n width: 75%;\n }\n :host(.wj-col-lg-10) {\n flex: 0 0 auto;\n width: 83.33333333%;\n }\n :host(.wj-col-lg-11) {\n flex: 0 0 auto;\n width: 91.66666667%;\n }\n :host(.wj-col-lg-12) {\n flex: 0 0 auto;\n width: 100%;\n }\n :host(.wj-offset-lg-0) {\n margin-left: 0;\n }\n :host(.wj-offset-lg-1) {\n margin-left: 8.33333333%;\n }\n :host(.wj-offset-lg-2) {\n margin-left: 16.66666667%;\n }\n :host(.wj-offset-lg-3) {\n margin-left: 25%;\n }\n :host(.wj-offset-lg-4) {\n margin-left: 33.33333333%;\n }\n :host(.wj-offset-lg-5) {\n margin-left: 41.66666667%;\n }\n :host(.wj-offset-lg-6) {\n margin-left: 50%;\n }\n :host(.wj-offset-lg-7) {\n margin-left: 58.33333333%;\n }\n :host(.wj-offset-lg-8) {\n margin-left: 66.66666667%;\n }\n :host(.wj-offset-lg-9) {\n margin-left: 75%;\n }\n :host(.wj-offset-lg-10) {\n margin-left: 83.33333333%;\n }\n :host(.wj-offset-lg-11) {\n margin-left: 91.66666667%;\n }\n .g-lg-0,\n .gx-lg-0 {\n --wj-gutter-x: 0;\n }\n .g-lg-0,\n .gy-lg-0 {\n --wj-gutter-y: 0;\n }\n .g-lg-1,\n .gx-lg-1 {\n --wj-gutter-x: 0.25rem;\n }\n .g-lg-1,\n .gy-lg-1 {\n --wj-gutter-y: 0.25rem;\n }\n .g-lg-2,\n .gx-lg-2 {\n --wj-gutter-x: 0.5rem;\n }\n .g-lg-2,\n .gy-lg-2 {\n --wj-gutter-y: 0.5rem;\n }\n .g-lg-3,\n .gx-lg-3 {\n --wj-gutter-x: 1rem;\n }\n .g-lg-3,\n .gy-lg-3 {\n --wj-gutter-y: 1rem;\n }\n .g-lg-4,\n .gx-lg-4 {\n --wj-gutter-x: 1.5rem;\n }\n .g-lg-4,\n .gy-lg-4 {\n --wj-gutter-y: 1.5rem;\n }\n .g-lg-5,\n .gx-lg-5 {\n --wj-gutter-x: 3rem;\n }\n .g-lg-5,\n .gy-lg-5 {\n --wj-gutter-y: 3rem;\n }\n}\n@media (min-width: 1200px) {\n :host(.wj-col-xl-auto) {\n flex: 0 0 auto;\n width: auto;\n }\n :host(.wj-col-xl-1) {\n flex: 0 0 auto;\n width: 8.33333333%;\n }\n :host(.wj-col-xl-2) {\n flex: 0 0 auto;\n width: 16.66666667%;\n }\n :host(.wj-col-xl-3) {\n flex: 0 0 auto;\n width: 25%;\n }\n :host(.wj-col-xl-4) {\n flex: 0 0 auto;\n width: 33.33333333%;\n }\n :host(.wj-col-xl-5) {\n flex: 0 0 auto;\n width: 41.66666667%;\n }\n :host(.wj-col-xl-6) {\n flex: 0 0 auto;\n width: 50%;\n }\n :host(.wj-col-xl-7) {\n flex: 0 0 auto;\n width: 58.33333333%;\n }\n :host(.wj-col-xl-8) {\n flex: 0 0 auto;\n width: 66.66666667%;\n }\n :host(.wj-col-xl-9) {\n flex: 0 0 auto;\n width: 75%;\n }\n :host(.wj-col-xl-10) {\n flex: 0 0 auto;\n width: 83.33333333%;\n }\n :host(.wj-col-xl-11) {\n flex: 0 0 auto;\n width: 91.66666667%;\n }\n :host(.wj-col-xl-12) {\n flex: 0 0 auto;\n width: 100%;\n }\n :host(.wj-offset-xl-0) {\n margin-left: 0;\n }\n :host(.wj-offset-xl-1) {\n margin-left: 8.33333333%;\n }\n :host(.wj-offset-xl-2) {\n margin-left: 16.66666667%;\n }\n :host(.wj-offset-xl-3) {\n margin-left: 25%;\n }\n :host(.wj-offset-xl-4) {\n margin-left: 33.33333333%;\n }\n :host(.wj-offset-xl-5) {\n margin-left: 41.66666667%;\n }\n :host(.wj-offset-xl-6) {\n margin-left: 50%;\n }\n :host(.wj-offset-xl-7) {\n margin-left: 58.33333333%;\n }\n :host(.wj-offset-xl-8) {\n margin-left: 66.66666667%;\n }\n :host(.wj-offset-xl-9) {\n margin-left: 75%;\n }\n :host(.wj-offset-xl-10) {\n margin-left: 83.33333333%;\n }\n :host(.wj-offset-xl-11) {\n margin-left: 91.66666667%;\n }\n .g-xl-0,\n .gx-xl-0 {\n --wj-gutter-x: 0;\n }\n .g-xl-0,\n .gy-xl-0 {\n --wj-gutter-y: 0;\n }\n .g-xl-1,\n .gx-xl-1 {\n --wj-gutter-x: 0.25rem;\n }\n .g-xl-1,\n .gy-xl-1 {\n --wj-gutter-y: 0.25rem;\n }\n .g-xl-2,\n .gx-xl-2 {\n --wj-gutter-x: 0.5rem;\n }\n .g-xl-2,\n .gy-xl-2 {\n --wj-gutter-y: 0.5rem;\n }\n .g-xl-3,\n .gx-xl-3 {\n --wj-gutter-x: 1rem;\n }\n .g-xl-3,\n .gy-xl-3 {\n --wj-gutter-y: 1rem;\n }\n .g-xl-4,\n .gx-xl-4 {\n --wj-gutter-x: 1.5rem;\n }\n .g-xl-4,\n .gy-xl-4 {\n --wj-gutter-y: 1.5rem;\n }\n .g-xl-5,\n .gx-xl-5 {\n --wj-gutter-x: 3rem;\n }\n .g-xl-5,\n .gy-xl-5 {\n --wj-gutter-y: 3rem;\n }\n}\n@media (min-width: 1400px) {\n :host(.wj-col-xxl-auto) {\n flex: 0 0 auto;\n width: auto;\n }\n :host(.wj-col-xxl-1) {\n flex: 0 0 auto;\n width: 8.33333333%;\n }\n :host(.wj-col-xxl-2) {\n flex: 0 0 auto;\n width: 16.66666667%;\n }\n :host(.wj-col-xxl-3) {\n flex: 0 0 auto;\n width: 25%;\n }\n :host(.wj-col-xxl-4) {\n flex: 0 0 auto;\n width: 33.33333333%;\n }\n :host(.wj-col-xxl-5) {\n flex: 0 0 auto;\n width: 41.66666667%;\n }\n :host(.wj-col-xxl-6) {\n flex: 0 0 auto;\n width: 50%;\n }\n :host(.wj-col-xxl-7) {\n flex: 0 0 auto;\n width: 58.33333333%;\n }\n :host(.wj-col-xxl-8) {\n flex: 0 0 auto;\n width: 66.66666667%;\n }\n :host(.wj-col-xxl-9) {\n flex: 0 0 auto;\n width: 75%;\n }\n :host(.wj-col-xxl-10) {\n flex: 0 0 auto;\n width: 83.33333333%;\n }\n :host(.wj-col-xxl-11) {\n flex: 0 0 auto;\n width: 91.66666667%;\n }\n :host(.wj-col-xxl-12) {\n flex: 0 0 auto;\n width: 100%;\n }\n :host(.wj-offset-xxl-0) {\n margin-left: 0;\n }\n :host(.wj-offset-xxl-1) {\n margin-left: 8.33333333%;\n }\n :host(.wj-offset-xxl-2) {\n margin-left: 16.66666667%;\n }\n :host(.wj-offset-xxl-3) {\n margin-left: 25%;\n }\n :host(.wj-offset-xxl-4) {\n margin-left: 33.33333333%;\n }\n :host(.wj-offset-xxl-5) {\n margin-left: 41.66666667%;\n }\n :host(.wj-offset-xxl-6) {\n margin-left: 50%;\n }\n :host(.wj-offset-xxl-7) {\n margin-left: 58.33333333%;\n }\n :host(.wj-offset-xxl-8) {\n margin-left: 66.66666667%;\n }\n :host(.wj-offset-xxl-9) {\n margin-left: 75%;\n }\n :host(.wj-offset-xxl-10) {\n margin-left: 83.33333333%;\n }\n :host(.wj-offset-xxl-11) {\n margin-left: 91.66666667%;\n }\n .g-xxl-0,\n .gx-xxl-0 {\n --wj-gutter-x: 0;\n }\n .g-xxl-0,\n .gy-xxl-0 {\n --wj-gutter-y: 0;\n }\n .g-xxl-1,\n .gx-xxl-1 {\n --wj-gutter-x: 0.25rem;\n }\n .g-xxl-1,\n .gy-xxl-1 {\n --wj-gutter-y: 0.25rem;\n }\n .g-xxl-2,\n .gx-xxl-2 {\n --wj-gutter-x: 0.5rem;\n }\n .g-xxl-2,\n .gy-xxl-2 {\n --wj-gutter-y: 0.5rem;\n }\n .g-xxl-3,\n .gx-xxl-3 {\n --wj-gutter-x: 1rem;\n }\n .g-xxl-3,\n .gy-xxl-3 {\n --wj-gutter-y: 1rem;\n }\n .g-xxl-4,\n .gx-xxl-4 {\n --wj-gutter-x: 1.5rem;\n }\n .g-xxl-4,\n .gy-xxl-4 {\n --wj-gutter-y: 1.5rem;\n }\n .g-xxl-5,\n .gx-xxl-5 {\n --wj-gutter-x: 3rem;\n }\n .g-xxl-5,\n .gy-xxl-5 {\n --wj-gutter-y: 3rem;\n }\n}\n:host(.order-first) {\n order: -1 !important;\n}\n:host(.order-0) {\n order: 0 !important;\n}\n:host(.order-1) {\n order: 1 !important;\n}\n:host(.order-2) {\n order: 2 !important;\n}\n:host(.order-3) {\n order: 3 !important;\n}\n:host(.order-4) {\n order: 4 !important;\n}\n:host(.order-5) {\n order: 5 !important;\n}\n:host(.order-last) {\n order: 6 !important;\n}\n:host(.order-sm-first) {\n order: -1 !important;\n}\n:host(.order-sm-0) {\n order: 0 !important;\n}\n:host(.order-sm-1) {\n order: 1 !important;\n}\n:host(.order-sm-2) {\n order: 2 !important;\n}\n:host(.order-sm-3) {\n order: 3 !important;\n}\n:host(.order-sm-4) {\n order: 4 !important;\n}\n:host(.order-sm-5) {\n order: 5 !important;\n}\n:host(.order-sm-last) {\n order: 6 !important;\n}\n:host(.order-md-first) {\n order: -1 !important;\n}\n:host(.order-md-0) {\n order: 0 !important;\n}\n:host(.order-md-1) {\n order: 1 !important;\n}\n:host(.order-md-2) {\n order: 2 !important;\n}\n:host(.order-md-3) {\n order: 3 !important;\n}\n:host(.order-md-4) {\n order: 4 !important;\n}\n:host(.order-md-5) {\n order: 5 !important;\n}\n:host(.order-md-last) {\n order: 6 !important;\n}\n:host(.order-lg-first) {\n order: -1 !important;\n}\n:host(.order-lg-0) {\n order: 0 !important;\n}\n:host(.order-lg-1) {\n order: 1 !important;\n}\n:host(.order-lg-2) {\n order: 2 !important;\n}\n:host(.order-lg-3) {\n order: 3 !important;\n}\n:host(.order-lg-4) {\n order: 4 !important;\n}\n:host(.order-lg-5) {\n order: 5 !important;\n}\n:host(.order-lg-last) {\n order: 6 !important;\n}\n:host(.order-xl-first) {\n order: -1 !important;\n}\n:host(.order-xl-0) {\n order: 0 !important;\n}\n:host(.order-xl-1) {\n order: 1 !important;\n}\n:host(.order-xl-2) {\n order: 2 !important;\n}\n:host(.order-xl-3) {\n order: 3 !important;\n}\n:host(.order-xl-4) {\n order: 4 !important;\n}\n:host(.order-xl-5) {\n order: 5 !important;\n}\n:host(.order-xl-last) {\n order: 6 !important;\n}\n:host(.order-xxl-first) {\n order: -1 !important;\n}\n:host(.order-xxl-0) {\n order: 0 !important;\n}\n:host(.order-xxl-1) {\n order: 1 !important;\n}\n:host(.order-xxl-2) {\n order: 2 !important;\n}\n:host(.order-xxl-3) {\n order: 3 !important;\n}\n:host(.order-xxl-4) {\n order: 4 !important;\n}\n:host(.order-xxl-5) {\n order: 5 !important;\n}\n:host(.order-xxl-last) {\n order: 6 !important;\n}";
|
|
10
|
+
class Col extends WJElement {
|
|
11
11
|
constructor() {
|
|
12
12
|
super();
|
|
13
|
-
|
|
13
|
+
__publicField(this, "className", "Col");
|
|
14
14
|
}
|
|
15
15
|
static get cssStyleSheet() {
|
|
16
|
-
return
|
|
16
|
+
return styles;
|
|
17
17
|
}
|
|
18
18
|
setupAttributes() {
|
|
19
19
|
this.isShadowRoot = "open";
|
|
20
20
|
}
|
|
21
|
-
beforeDraw(
|
|
21
|
+
beforeDraw(context, store, params) {
|
|
22
22
|
}
|
|
23
|
-
draw(
|
|
24
|
-
let
|
|
25
|
-
|
|
23
|
+
draw(context, store, params) {
|
|
24
|
+
let fragment = document.createDocumentFragment();
|
|
25
|
+
let element = document.createElement("slot");
|
|
26
|
+
if (this.order)
|
|
27
|
+
this.classList.add("order-" + this.order);
|
|
28
|
+
if (this.size)
|
|
29
|
+
this.classList.add("wj-col-" + this.size);
|
|
30
|
+
if (this.sizeSm)
|
|
31
|
+
this.classList.add("wj-col-sm-" + this.sizeSm);
|
|
32
|
+
if (this.sizeMd)
|
|
33
|
+
this.classList.add("wj-col-md-" + this.sizeMd);
|
|
34
|
+
if (this.offset)
|
|
35
|
+
this.classList.add("wj-offset-" + this.offset);
|
|
36
|
+
if (this.offsetSm)
|
|
37
|
+
this.classList.add("wj-offset-sm-" + this.offsetSm);
|
|
38
|
+
fragment.appendChild(element);
|
|
39
|
+
return fragment;
|
|
26
40
|
}
|
|
27
41
|
}
|
|
28
|
-
customElements.get("wj-col") || window.customElements.define("wj-col",
|
|
42
|
+
customElements.get("wj-col") || window.customElements.define("wj-col", Col);
|
|
29
43
|
export {
|
|
30
|
-
|
|
44
|
+
Col
|
|
31
45
|
};
|