@oneb/ui-vue 0.0.62 → 0.0.64
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/{OneBrowserMenu-70783fed.js → OneBrowserMenu-513866aa.js} +142 -142
- package/dist/OneBrowserMenu-ecac54bd.cjs +1 -0
- package/dist/button/index.cjs +1 -1
- package/dist/button/index.js +1 -1
- package/dist/dropdown/index.cjs +1 -1
- package/dist/dropdown/index.js +3 -3
- package/dist/form/index.cjs +1 -1
- package/dist/form/index.js +125 -125
- package/dist/index-3615f53c.cjs +1 -0
- package/dist/{index-72d69e4e.js → index-f136b5ea.js} +51 -51
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/layout/index.cjs +1 -5
- package/dist/layout/index.js +310 -336
- package/package.json +1 -1
- package/dist/OneBrowserMenu-6fadba06.cjs +0 -1
- package/dist/button/OneButton.vue.d.ts +0 -2
- package/dist/button/SpinnerIcon.vue.d.ts +0 -2
- package/dist/button/util.d.ts +0 -2
- package/dist/card/OneCard.vue.d.ts +0 -2
- package/dist/card/OneCardBody.vue.d.ts +0 -2
- package/dist/card/OneCardFooter.vue.d.ts +0 -2
- package/dist/card/OneCardHeader.vue.d.ts +0 -2
- package/dist/common/OneAvatar.vue.d.ts +0 -2
- package/dist/dropdown/OneBrowserMenu.vue.d.ts +0 -2
- package/dist/dropdown/OneBrowserMenuGrid.vue.d.ts +0 -2
- package/dist/dropdown/OneDropdown.vue.d.ts +0 -2
- package/dist/dropdown/OneDropdownDivider.vue.d.ts +0 -2
- package/dist/dropdown/OneDropdownItem.vue.d.ts +0 -2
- package/dist/dropdown/OneUserMenu.vue.d.ts +0 -2
- package/dist/form/OneForm.vue.d.ts +0 -2
- package/dist/form/OneFormFeedback.vue.d.ts +0 -2
- package/dist/form/OneFormField.vue.d.ts +0 -2
- package/dist/form/OneFormInput.vue.d.ts +0 -2
- package/dist/form/OneFormLabel.vue.d.ts +0 -2
- package/dist/index-e804f148.cjs +0 -1
- package/dist/layout/IconOneb.vue.d.ts +0 -2
- package/dist/layout/OneMainLayout.vue.d.ts +0 -2
- package/dist/layout/OneSidebar.vue.d.ts +0 -2
- package/dist/layout/OneSidebarLink.vue.d.ts +0 -2
package/dist/layout/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { _ as
|
|
3
|
-
import { r as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { r as
|
|
1
|
+
import { defineComponent as Q, computed as J, resolveComponent as e1, openBlock as t, createElementBlock as l, normalizeClass as C, createElementVNode as e, createBlock as x, resolveDynamicComponent as D, createCommentVNode as a, toDisplayString as i, withCtx as t1, ref as T, Fragment as W, renderList as U, createVNode as h, unref as w, createTextVNode as r1, pushScopeId as i1, popScopeId as p1, watch as d1, renderSlot as Y, withModifiers as c1 } from "vue";
|
|
2
|
+
import { _ as s1 } from "../_plugin-vue_export-helper-dad06003.js";
|
|
3
|
+
import { r as l1, O as u1, b as h1 } from "../OneBrowserMenu-513866aa.js";
|
|
4
|
+
import { _ as K, S as C1 } from "../index-f136b5ea.js";
|
|
5
|
+
import { r as f1 } from "../XMarkIcon-51ef0691.js";
|
|
6
6
|
import "../common/index.js";
|
|
7
|
-
const
|
|
7
|
+
const o1 = {
|
|
8
8
|
items: {
|
|
9
9
|
required: !0,
|
|
10
10
|
type: Array
|
|
@@ -19,7 +19,7 @@ const i1 = {
|
|
|
19
19
|
news: {
|
|
20
20
|
type: Object
|
|
21
21
|
}
|
|
22
|
-
},
|
|
22
|
+
}, w1 = {
|
|
23
23
|
route: {
|
|
24
24
|
required: !1,
|
|
25
25
|
type: [Object, String]
|
|
@@ -58,8 +58,8 @@ const i1 = {
|
|
|
58
58
|
type: Boolean,
|
|
59
59
|
default: !0
|
|
60
60
|
}
|
|
61
|
-
},
|
|
62
|
-
sidebarItems:
|
|
61
|
+
}, x1 = {
|
|
62
|
+
sidebarItems: o1.items,
|
|
63
63
|
logoSrc: {
|
|
64
64
|
type: String
|
|
65
65
|
},
|
|
@@ -94,47 +94,47 @@ const i1 = {
|
|
|
94
94
|
handlers: {
|
|
95
95
|
type: Object
|
|
96
96
|
}
|
|
97
|
-
},
|
|
97
|
+
}, v1 = ["href"], m1 = { class: "flex flex-nowrap items-center w-full h-[24px]" }, _1 = {
|
|
98
98
|
key: 0,
|
|
99
99
|
class: "w-[44px] flex-shrink-0"
|
|
100
|
-
},
|
|
100
|
+
}, g1 = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full" }, b1 = { class: "py-[8px] pl-0 pr-[8px]" }, L1 = { class: "flex flex-nowrap items-center w-full h-[24px]" }, y1 = {
|
|
101
101
|
key: 0,
|
|
102
102
|
class: "w-[44px] flex-shrink-0"
|
|
103
|
-
},
|
|
103
|
+
}, k1 = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full" }, $1 = { class: "py-[8px] pl-0 pr-[8px]" }, S1 = /* @__PURE__ */ Q({
|
|
104
104
|
__name: "OneSidebarLink",
|
|
105
|
-
props:
|
|
106
|
-
setup(
|
|
107
|
-
const p =
|
|
108
|
-
return (
|
|
109
|
-
const
|
|
110
|
-
return
|
|
105
|
+
props: w1,
|
|
106
|
+
setup(u) {
|
|
107
|
+
const p = u, f = J(() => p.href != null ? p.href : !1), v = J(() => p.route != null ? p.route : p.routeName != null ? { name: p.routeName } : "/");
|
|
108
|
+
return (r, q) => {
|
|
109
|
+
const c = e1("RouterLink");
|
|
110
|
+
return f.value ? (t(), l("a", {
|
|
111
111
|
key: 0,
|
|
112
|
-
href:
|
|
113
|
-
class:
|
|
112
|
+
href: f.value,
|
|
113
|
+
class: C(["flex items-center rounded-lg text-sm font-medium hover:bg-primary-10-hover hover:text-primary-base transition-all text-[#525B66]", [r.slim ? "w-[44px] h-[44px]" : "h-[44px] w-full"]])
|
|
114
114
|
}, [
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
(
|
|
115
|
+
e("div", m1, [
|
|
116
|
+
r.icon ? (t(), l("div", _1, [
|
|
117
|
+
(t(), x(D(r.icon), { class: "w-[24px] h-[24px] mx-auto" }))
|
|
118
118
|
])) : a("", !0),
|
|
119
|
-
|
|
120
|
-
|
|
119
|
+
e("div", g1, [
|
|
120
|
+
e("span", b1, i(r.label), 1)
|
|
121
121
|
])
|
|
122
122
|
])
|
|
123
|
-
], 10,
|
|
123
|
+
], 10, v1)) : (t(), x(c, {
|
|
124
124
|
key: 1,
|
|
125
|
-
to:
|
|
126
|
-
class:
|
|
127
|
-
"active-class":
|
|
128
|
-
"exact-active-class":
|
|
129
|
-
exact:
|
|
125
|
+
to: v.value,
|
|
126
|
+
class: C(["flex items-center rounded-lg text-sm font-medium hover:bg-primary-10-hover hover:text-primary-base transition-all text-[#525B66]", [r.slim ? "w-[44px] h-[44px]" : "h-[44px] w-full"]]),
|
|
127
|
+
"active-class": r.exact ? "" : "bg-primary-10 !text-primary-base",
|
|
128
|
+
"exact-active-class": r.exact ? "bg-primary-10 !text-primary-base" : "",
|
|
129
|
+
exact: r.exact
|
|
130
130
|
}, {
|
|
131
|
-
default:
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
(
|
|
131
|
+
default: t1(() => [
|
|
132
|
+
e("div", L1, [
|
|
133
|
+
r.icon ? (t(), l("div", y1, [
|
|
134
|
+
(t(), x(D(r.icon), { class: "w-[24px] h-[24px] mx-auto" }))
|
|
135
135
|
])) : a("", !0),
|
|
136
|
-
|
|
137
|
-
|
|
136
|
+
e("div", k1, [
|
|
137
|
+
e("span", $1, i(r.label), 1)
|
|
138
138
|
])
|
|
139
139
|
])
|
|
140
140
|
]),
|
|
@@ -142,34 +142,34 @@ const i1 = {
|
|
|
142
142
|
}, 8, ["to", "active-class", "exact-active-class", "exact", "class"]));
|
|
143
143
|
};
|
|
144
144
|
}
|
|
145
|
-
}),
|
|
145
|
+
}), B1 = {}, O1 = {
|
|
146
146
|
xmlns: "http://www.w3.org/2000/svg",
|
|
147
147
|
width: "24",
|
|
148
148
|
height: "24",
|
|
149
149
|
viewBox: "0 0 24 24",
|
|
150
150
|
fill: "none"
|
|
151
|
-
},
|
|
151
|
+
}, j1 = /* @__PURE__ */ e("path", {
|
|
152
152
|
d: "M9.27987 15.963H7.76282V9.97577C7.76282 9.67316 7.575 9.40658 7.29326 9.29851L6.7948 9.11839V8.57802V8.03766H8.10957C8.60081 8.03766 8.91867 8.12412 9.05592 8.30424C9.20763 8.48436 9.27987 8.8374 9.27987 9.36335V15.963Z",
|
|
153
153
|
fill: "currentColor"
|
|
154
|
-
}, null, -1),
|
|
154
|
+
}, null, -1), M1 = /* @__PURE__ */ e("path", {
|
|
155
155
|
d: "M15.7294 11.3876C16.2011 11.2795 16.7453 10.9769 16.7816 10.0547C16.7816 9.36299 16.5276 8.90188 16.1285 8.57766C15.6569 8.14537 14.9675 8.03729 14.3797 8.03729H11.4626V13.9309C11.4626 14.6802 11.6441 15.2061 12.0141 15.5087C12.3842 15.8113 13.0155 15.9626 13.8935 15.9626H14.9675C15.6859 15.9626 16.2374 15.7681 16.6365 15.3718C17.0428 14.9756 17.2388 14.4136 17.2388 13.6787C17.2388 12.7925 16.9993 11.6758 15.7294 11.3876ZM13.0228 9.42783L14.2564 9.39181C14.8296 9.39181 15.1199 9.68 15.1199 10.2492C15.1199 10.8184 14.8296 11.1066 14.2564 11.1066L13.0228 11.1426V9.42783ZM14.8079 14.5865H14.0024C13.6541 14.5865 13.4001 14.5289 13.2405 14.4064C13.0881 14.2911 13.0155 14.075 13.0155 13.7724V12.5259H14.8079C15.1344 12.5259 15.3666 12.6196 15.49 12.8069C15.6133 12.987 15.6786 13.2536 15.6786 13.6067C15.6859 14.2551 15.3956 14.5865 14.8079 14.5865Z",
|
|
156
156
|
fill: "currentColor"
|
|
157
|
-
}, null, -1),
|
|
157
|
+
}, null, -1), V1 = /* @__PURE__ */ e("path", {
|
|
158
158
|
"fill-rule": "evenodd",
|
|
159
159
|
"clip-rule": "evenodd",
|
|
160
160
|
d: "M13.6437 3H10.4761C10.462 3.00738 10.4468 3.00752 10.4317 3.00766L10.4237 3.00778L10.2163 3.01067L10.1771 3.01124C10.1389 3.01181 10.1006 3.01238 10.0624 3.01238C9.85585 3.01276 9.64939 3.01797 9.44293 3.02318C9.34618 3.02562 9.24943 3.02806 9.15267 3.03C9.04934 3.03209 8.94604 3.03642 8.84277 3.04075L8.7649 3.04397C8.68023 3.04733 8.59559 3.05152 8.51098 3.05656C8.48805 3.05791 8.46519 3.06072 8.44234 3.06353L8.41144 3.0672L8.41136 3.06733L8.41135 3.06733C8.36472 3.06357 8.31825 3.06706 8.27185 3.07055L8.2508 3.07211C8.17968 3.07719 8.10867 3.08303 8.03766 3.08888L7.99014 3.09278L7.93408 3.09722C7.88146 3.10132 7.82884 3.10543 7.77638 3.111C7.67642 3.12147 7.57658 3.13307 7.47685 3.14581L7.46711 3.14705C7.35956 3.16078 7.25195 3.17451 7.14491 3.19162C6.9685 3.21996 6.79301 3.25364 6.61912 3.29514C6.39508 3.34863 6.17474 3.41407 5.95992 3.49743C5.64582 3.6192 5.35134 3.77699 5.08051 3.97818C4.85418 4.14605 4.6417 4.33183 4.44509 4.5337C4.2703 4.71309 4.10878 4.90496 3.96183 5.1078C3.77344 5.36816 3.62514 5.65018 3.50915 5.94958C3.36896 6.31155 3.2788 6.68668 3.21499 7.06866C3.19851 7.1678 3.18411 7.26735 3.17082 7.36697C3.15756 7.46541 3.14628 7.56409 3.135 7.66276L3.13307 7.67973C3.12541 7.74641 3.11884 7.81305 3.11245 7.87981L3.11091 7.89541C3.10743 7.9302 3.10394 7.96508 3.10714 8.00012L3.10716 8.0001C3.09909 8.01985 3.09789 8.04067 3.0967 8.06145L3.09602 8.07249L3.07085 8.44649L3.07007 8.45985C3.06822 8.50323 3.06651 8.54661 3.0648 8.58999C3.06098 8.68709 3.05716 8.78418 3.05165 8.88117C3.04485 9.00132 3.04236 9.12161 3.03987 9.24188C3.03793 9.33581 3.03599 9.42973 3.03199 9.52356C3.02946 9.58278 3.02895 9.64209 3.02844 9.7014L3.02804 9.74445L3.02618 9.9482C3.02519 10.0655 3.02421 10.1828 3.02245 10.3001C3.02144 10.367 3.01875 10.4338 3.01605 10.5007L3.01316 10.5745L3.01312 10.5756C3.01256 10.5885 3.01199 10.6018 3 10.6107V13.3892C3.00108 13.3909 3.00237 13.3925 3.00365 13.3942L3.00366 13.3942C3.00655 13.3979 3.00944 13.4016 3.01007 13.4057C3.01249 13.4212 3.01389 13.4369 3.01427 13.4526L3.01611 13.5092L3.01611 13.5092C3.01871 13.5887 3.0213 13.6681 3.02293 13.7476C3.02474 13.8348 3.02545 13.922 3.02545 14.0092C3.0256 14.2458 3.03197 14.4823 3.03835 14.7188L3.03835 14.7188C3.04022 14.7885 3.0421 14.8582 3.04382 14.9279C3.04659 15.0408 3.05225 15.1535 3.05791 15.2663L3.06335 15.3769C3.06897 15.4952 3.07473 15.6135 3.08203 15.7318C3.08634 15.8018 3.09212 15.8717 3.0979 15.9417L3.0979 15.9417L3.10262 15.9992L3.10453 16.0229C3.10928 16.0819 3.11403 16.1408 3.12009 16.1996C3.13141 16.3108 3.14359 16.4219 3.15661 16.5328C3.16284 16.5864 3.1703 16.6399 3.17776 16.6933L3.185 16.7455C3.20654 16.9028 3.23441 17.0589 3.26627 17.2144C3.30583 17.4093 3.35558 17.602 3.4153 17.7917C3.50677 18.0804 3.62514 18.3571 3.77815 18.6188C3.87433 18.7833 3.98454 18.9379 4.10322 19.0866C4.38114 19.4348 4.70212 19.7464 5.05849 20.0138C5.34835 20.2318 5.66471 20.4005 6.00352 20.5279C6.22982 20.6131 6.46181 20.6788 6.69755 20.7318C6.88514 20.774 7.07435 20.8079 7.2645 20.8355C7.38593 20.8534 7.50793 20.8672 7.62989 20.881L7.6304 20.8811C7.7437 20.8937 7.8571 20.9052 7.97062 20.9156C8.03986 20.9219 8.10927 20.9264 8.17868 20.931L8.21137 20.9332C8.28755 20.9383 8.36371 20.943 8.43985 20.9478L8.54613 20.9545L8.556 20.9552C8.56163 20.9556 8.56727 20.956 8.57291 20.9562L8.71929 20.9621C8.81347 20.9658 8.90765 20.9695 9.0018 20.9736C9.21881 20.9828 9.43595 20.9864 9.65309 20.99L9.74613 20.9915L9.75798 20.9914C9.77405 20.9912 9.79026 20.9909 9.80497 21H14.0598C14.1664 20.9939 14.273 20.9919 14.3797 20.9899C14.4179 20.9892 14.4561 20.9885 14.4943 20.9876C14.7149 20.9825 14.9354 20.9772 15.156 20.9696C15.2421 20.9667 15.3282 20.9618 15.4143 20.9569C15.4551 20.9546 15.4958 20.9523 15.5366 20.9502L15.5761 20.9484C15.5941 20.9477 15.6121 20.947 15.6301 20.9459C15.6439 20.945 15.6578 20.9436 15.6716 20.9421L15.6898 20.9403L15.6899 20.9402C15.701 20.9399 15.7121 20.94 15.7231 20.9392L15.7557 20.9369C15.8318 20.9315 15.9079 20.9261 15.984 20.9202C15.9957 20.9194 16.0074 20.9185 16.0192 20.9176C16.081 20.913 16.1429 20.9083 16.2046 20.9021C16.272 20.8953 16.3393 20.8876 16.4066 20.8799C16.4414 20.8759 16.4763 20.8719 16.5111 20.868C16.6378 20.8539 16.7638 20.8353 16.8896 20.8154C17.0775 20.7859 17.2638 20.7493 17.4484 20.7044C17.6789 20.6482 17.905 20.5785 18.125 20.4897C18.4165 20.3719 18.6905 20.2225 18.9436 20.0355C19.3225 19.7539 19.6587 19.4279 19.952 19.0575C20.1845 18.7646 20.3725 18.4391 20.51 18.0914C20.609 17.8414 20.6842 17.5843 20.7426 17.3223C20.8039 17.0471 20.849 16.7692 20.8805 16.4891C20.8828 16.4688 20.8852 16.4484 20.8876 16.4281C20.8909 16.3996 20.8943 16.3711 20.8974 16.3426C20.9041 16.2803 20.9108 16.2181 20.9166 16.1558C20.9179 16.143 20.9176 16.13 20.9174 16.1171C20.9174 16.1122 20.9173 16.1073 20.9173 16.1025L20.9175 16.1023L20.9216 16.0734C20.9247 16.0521 20.9277 16.0308 20.9298 16.0094C20.9345 15.9583 20.9385 15.907 20.9419 15.8557C20.9481 15.7576 20.9542 15.6594 20.9595 15.5612C20.967 15.4207 20.974 15.2801 20.9806 15.1394C20.9829 15.0903 20.9838 15.0412 20.9846 14.992C20.9853 14.9473 20.9858 14.9026 20.9863 14.8579V14.8579C20.987 14.7953 20.9877 14.7328 20.9889 14.6702C20.9899 14.6211 20.9917 14.5721 20.9973 14.5231C21.0007 14.494 21.0001 14.4644 20.9995 14.4348C20.9993 14.4218 20.999 14.4088 20.9991 14.3959V9.63092L20.9991 9.60404L20.9991 9.55038L20.9991 9.53972C20.9989 9.51204 20.9988 9.48446 20.9941 9.45682C20.9908 9.4383 20.9906 9.4192 20.9904 9.40022V9.40019L20.9903 9.38995L20.9882 9.25341C20.9872 9.18265 20.9862 9.11189 20.9847 9.04114C20.9836 8.98836 20.9816 8.93561 20.9795 8.88285L20.9772 8.81995C20.9766 8.80494 20.9759 8.78993 20.9752 8.77493L20.9748 8.76634L20.9691 8.64082C20.9651 8.55088 20.9611 8.46094 20.956 8.37104C20.9522 8.30451 20.947 8.23805 20.9417 8.1716L20.9359 8.09682L20.9321 8.04666C20.9275 7.98535 20.9229 7.92405 20.9175 7.86274C20.9125 7.80634 20.9064 7.74993 20.9004 7.69354L20.9003 7.69313L20.897 7.66264C20.8931 7.62609 20.8889 7.58959 20.8846 7.5531L20.8845 7.55231L20.8803 7.51608C20.8416 7.18046 20.7858 6.84789 20.7029 6.52018C20.6311 6.23571 20.5375 5.95879 20.4129 5.6927C20.2939 5.43833 20.1468 5.20173 19.9745 4.98024C19.6752 4.5943 19.3289 4.25662 18.9357 3.9672C18.6895 3.78603 18.4233 3.64067 18.1406 3.52522C17.9042 3.42869 17.6608 3.35464 17.4126 3.29549C17.2386 3.25401 17.0631 3.22009 16.8865 3.192C16.7762 3.17443 16.6652 3.16021 16.5545 3.14604C16.4547 3.1333 16.3548 3.12195 16.2548 3.1114C16.1994 3.10556 16.1439 3.10111 16.0884 3.09667L16.0476 3.09338C15.9873 3.08847 15.9269 3.08378 15.8666 3.07909L15.8665 3.07909L15.7802 3.07236L15.7725 3.07169L15.7601 3.0707L15.6649 3.06539L15.6649 3.06539C15.5895 3.06113 15.5141 3.05688 15.4386 3.05333C15.316 3.0476 15.1933 3.04242 15.0707 3.03725L14.9361 3.03154C14.9137 3.03058 14.8914 3.02983 14.869 3.02942C14.7553 3.02747 14.6416 3.02471 14.5279 3.02195C14.3309 3.01717 14.1339 3.0124 13.9368 3.0118C13.8728 3.01162 13.8088 3.0106 13.7448 3.00958L13.6819 3.00861L13.677 3.00858C13.6653 3.00857 13.6535 3.00855 13.6437 3ZM19.1763 17.0579L19.1766 17.0517C19.1767 17.0471 19.1768 17.0425 19.1779 17.0381C19.2275 16.836 19.2624 16.631 19.291 16.4251C19.3098 16.2901 19.3268 16.1547 19.3375 16.0187C19.3417 15.9654 19.3464 15.9121 19.3511 15.8589C19.3586 15.774 19.3661 15.6892 19.3716 15.6042C19.3828 15.4301 19.391 15.2558 19.3987 15.0816C19.4046 14.9497 19.4094 14.8178 19.4117 14.6859L19.4153 14.4842C19.4205 14.2026 19.4257 13.9209 19.4268 13.6392C19.4297 12.9436 19.4306 12.248 19.4295 11.5523L19.4295 11.2777C19.4295 10.7542 19.4295 10.2306 19.4186 9.70709C19.4124 9.40296 19.4061 9.09888 19.3918 8.79501C19.3844 8.63644 19.3757 8.47787 19.3647 8.31947C19.3541 8.1655 19.3406 8.01182 19.3242 7.85844C19.3125 7.74723 19.2991 7.63627 19.284 7.52554C19.2621 7.36599 19.2346 7.20747 19.1999 7.05026C19.1657 6.89516 19.1232 6.74238 19.0697 6.59267C18.9916 6.37321 18.8802 6.16704 18.7395 5.98137C18.5884 5.78135 18.4163 5.59801 18.2263 5.43445C18.1883 5.40179 18.1494 5.37029 18.1105 5.33881L18.1104 5.33876L18.0812 5.3151C17.8793 5.15117 17.6528 5.03224 17.408 4.94664C17.207 4.87636 17.0007 4.82673 16.7919 4.78696C16.581 4.74669 16.3684 4.71721 16.155 4.69446C16.004 4.67833 15.8523 4.66544 15.7006 4.65444C15.5492 4.64344 15.3974 4.63568 15.2457 4.62792L15.2385 4.62756C15.1291 4.62194 15.0196 4.61762 14.91 4.61462L14.8134 4.61183C14.6511 4.60712 14.4888 4.6024 14.3265 4.60068C13.8657 4.59577 13.405 4.59101 12.9443 4.59016C12.2464 4.58885 11.5486 4.58938 10.8507 4.59177C10.5996 4.5923 10.3486 4.59439 10.0974 4.59647L10.0974 4.59647L9.8577 4.59841L9.82872 4.59862H9.82872C9.7489 4.59919 9.66907 4.59976 9.58934 4.60282C9.49703 4.60635 9.40468 4.60825 9.31233 4.61016L9.31231 4.61016L9.3123 4.61016C9.18105 4.61286 9.0498 4.61557 8.91869 4.62295C8.83304 4.62782 8.7474 4.63152 8.66175 4.63522C8.61777 4.63712 8.5738 4.63902 8.52981 4.64107C8.52362 4.64135 8.51744 4.64185 8.51126 4.64235L8.51126 4.64235L8.51126 4.64235L8.50306 4.64299L8.41244 4.64946C8.34449 4.65429 8.27653 4.65912 8.20857 4.66428L8.18781 4.66585C8.12337 4.67072 8.05892 4.67559 7.99463 4.68218C7.89227 4.69268 7.79008 4.70422 7.68806 4.71679C7.62913 4.72411 7.57031 4.73243 7.5115 4.74075L7.51148 4.74075L7.51141 4.74076C7.47952 4.74527 7.44763 4.74978 7.41572 4.75414C7.40685 4.75493 7.39794 4.75526 7.38904 4.75512L7.38907 4.75503L7.31739 4.76857L7.31738 4.76857C7.26453 4.7785 7.21167 4.78842 7.15898 4.79909C6.93749 4.84394 6.71967 4.90123 6.5096 4.98613C6.34776 5.05123 6.19426 5.1354 6.05234 5.23684C5.78124 5.43085 5.54562 5.66141 5.33918 5.92242C5.28924 5.98552 5.24069 6.04965 5.19677 6.11724C5.09636 6.27173 5.01967 6.43755 4.95864 6.61102C4.91632 6.73123 4.88184 6.85368 4.85186 6.97747C4.84793 6.99374 4.8434 7.00985 4.83887 7.02596L4.83887 7.02597L4.83261 7.04844L4.83272 7.0484L4.8298 7.06701C4.82771 7.08069 4.82563 7.09438 4.82265 7.10788C4.76979 7.35293 4.73521 7.60091 4.70752 7.84979C4.69096 7.99864 4.67853 8.148 4.66745 8.29738C4.65639 8.44663 4.64854 8.59619 4.64069 8.74569L4.64069 8.74569L4.64069 8.7457L4.64067 8.74609C4.63503 8.85329 4.63069 8.96055 4.62763 9.06786L4.62559 9.13807C4.62045 9.31366 4.61532 9.48925 4.61283 9.66486C4.608 10.0048 4.60357 10.3448 4.60262 10.6847C4.59962 11.7494 4.5969 12.8141 4.60737 13.8788C4.61072 14.2165 4.61777 14.5542 4.62607 14.8918C4.62673 14.9186 4.62753 14.9455 4.62877 14.9724L4.63381 15.0811C4.63926 15.199 4.64472 15.3169 4.65074 15.4347C4.65577 15.5308 4.66081 15.6268 4.66836 15.7227C4.67515 15.8081 4.68316 15.8934 4.69117 15.9787L4.70214 16.0968C4.71248 16.2104 4.7265 16.3235 4.74143 16.4366C4.7631 16.6007 4.79033 16.7638 4.82487 16.9256C4.85985 17.0897 4.90314 17.2516 4.95983 17.4096C5.02424 17.5893 5.10596 17.7603 5.21434 17.9181C5.29414 18.0342 5.38123 18.1452 5.47508 18.2503C5.64558 18.4412 5.83564 18.6105 6.0414 18.7625C6.1548 18.8463 6.27647 18.9182 6.4045 18.9772C6.5449 19.0421 6.69048 19.0925 6.83926 19.1339C7.11993 19.2121 7.40659 19.2588 7.69529 19.294C7.79514 19.3061 7.89529 19.3159 7.99546 19.3252L8.03116 19.3284L8.03143 19.3285L8.03148 19.3285C8.15306 19.3397 8.27467 19.3509 8.39647 19.359C8.56158 19.3699 8.72687 19.378 8.89219 19.3856C9.02176 19.3916 9.15144 19.3965 9.28109 19.399L9.45946 19.4025H9.4595H9.45953C9.71982 19.4078 9.98011 19.4131 10.2404 19.4145C11.3901 19.4206 12.5397 19.4191 13.6893 19.4158C13.9179 19.4151 14.1465 19.4106 14.375 19.4061C14.4976 19.4037 14.6201 19.4013 14.7426 19.3995C14.7627 19.3992 14.7829 19.3984 14.803 19.3976L14.9426 19.392C15.0681 19.387 15.1937 19.382 15.3192 19.3763C15.4286 19.3713 15.538 19.365 15.6474 19.3587C15.701 19.3556 15.7545 19.3513 15.808 19.3469C15.8726 19.3417 15.9372 19.3362 16.0018 19.33C16.0685 19.3236 16.1352 19.3168 16.2019 19.309C16.2973 19.2978 16.3927 19.2861 16.488 19.2738C16.5343 19.2678 16.5805 19.2613 16.6267 19.2547L16.687 19.2462C16.6871 19.2462 16.6871 19.2461 16.6871 19.246C16.7106 19.2413 16.7341 19.2367 16.7576 19.232C16.8085 19.2219 16.8595 19.2118 16.9104 19.2011C17.1251 19.1562 17.336 19.0987 17.5392 19.0149C17.6923 18.9519 17.8378 18.8717 17.9727 18.7758C18.2687 18.5653 18.5214 18.311 18.7414 18.0229C18.8499 17.8805 18.9401 17.725 19.01 17.5602C19.0583 17.4469 19.0978 17.3307 19.132 17.2125C19.138 17.1917 19.1435 17.1708 19.149 17.1498C19.1531 17.134 19.1572 17.1182 19.1616 17.1025C19.1644 17.0923 19.1679 17.0823 19.1713 17.0723C19.1729 17.0675 19.1746 17.0627 19.1762 17.058C19.1762 17.0579 19.1763 17.0579 19.1763 17.0579ZM3.12917 7.986L3.12916 7.98601L3.12903 7.98608C3.14334 7.97696 3.15765 7.96783 3.17163 7.95831C3.15771 7.96785 3.14344 7.97693 3.12917 7.986Z",
|
|
161
161
|
fill: "currentColor"
|
|
162
|
-
}, null, -1),
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
162
|
+
}, null, -1), z1 = [
|
|
163
|
+
j1,
|
|
164
|
+
M1,
|
|
165
|
+
V1
|
|
166
166
|
];
|
|
167
|
-
function
|
|
168
|
-
return
|
|
167
|
+
function A1(u, p) {
|
|
168
|
+
return t(), l("svg", O1, z1);
|
|
169
169
|
}
|
|
170
|
-
const
|
|
171
|
-
function
|
|
172
|
-
return
|
|
170
|
+
const n1 = /* @__PURE__ */ s1(B1, [["render", A1]]);
|
|
171
|
+
function H1(u, p) {
|
|
172
|
+
return t(), l("svg", {
|
|
173
173
|
xmlns: "http://www.w3.org/2000/svg",
|
|
174
174
|
fill: "none",
|
|
175
175
|
viewBox: "0 0 24 24",
|
|
@@ -177,15 +177,15 @@ function D1(o, p) {
|
|
|
177
177
|
stroke: "currentColor",
|
|
178
178
|
"aria-hidden": "true"
|
|
179
179
|
}, [
|
|
180
|
-
|
|
180
|
+
e("path", {
|
|
181
181
|
"stroke-linecap": "round",
|
|
182
182
|
"stroke-linejoin": "round",
|
|
183
183
|
d: "M8.625 9.75a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H8.25m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H12m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0h-.375m-13.5 3.01c0 1.6 1.123 2.994 2.707 3.227 1.087.16 2.185.283 3.293.369V21l4.184-4.183a1.14 1.14 0 01.778-.332 48.294 48.294 0 005.83-.498c1.585-.233 2.708-1.626 2.708-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0012 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018z"
|
|
184
184
|
})
|
|
185
185
|
]);
|
|
186
186
|
}
|
|
187
|
-
function
|
|
188
|
-
return
|
|
187
|
+
function N1(u, p) {
|
|
188
|
+
return t(), l("svg", {
|
|
189
189
|
xmlns: "http://www.w3.org/2000/svg",
|
|
190
190
|
fill: "none",
|
|
191
191
|
viewBox: "0 0 24 24",
|
|
@@ -193,15 +193,15 @@ function q1(o, p) {
|
|
|
193
193
|
stroke: "currentColor",
|
|
194
194
|
"aria-hidden": "true"
|
|
195
195
|
}, [
|
|
196
|
-
|
|
196
|
+
e("path", {
|
|
197
197
|
"stroke-linecap": "round",
|
|
198
198
|
"stroke-linejoin": "round",
|
|
199
199
|
d: "M12 21a9.004 9.004 0 008.716-6.747M12 21a9.004 9.004 0 01-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 017.843 4.582M12 3a8.997 8.997 0 00-7.843 4.582m15.686 0A11.953 11.953 0 0112 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0121 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0112 16.5c-3.162 0-6.133-.815-8.716-2.247m0 0A9.015 9.015 0 013 12c0-1.605.42-3.113 1.157-4.418"
|
|
200
200
|
})
|
|
201
201
|
]);
|
|
202
202
|
}
|
|
203
|
-
function
|
|
204
|
-
return
|
|
203
|
+
function a1(u, p) {
|
|
204
|
+
return t(), l("svg", {
|
|
205
205
|
xmlns: "http://www.w3.org/2000/svg",
|
|
206
206
|
fill: "none",
|
|
207
207
|
viewBox: "0 0 24 24",
|
|
@@ -209,182 +209,182 @@ function p1(o, p) {
|
|
|
209
209
|
stroke: "currentColor",
|
|
210
210
|
"aria-hidden": "true"
|
|
211
211
|
}, [
|
|
212
|
-
|
|
212
|
+
e("path", {
|
|
213
213
|
"stroke-linecap": "round",
|
|
214
214
|
"stroke-linejoin": "round",
|
|
215
215
|
d: "M15.362 5.214A8.252 8.252 0 0112 21 8.25 8.25 0 016.038 7.048 8.287 8.287 0 009 9.6a8.983 8.983 0 013.361-6.867 8.21 8.21 0 003 2.48z"
|
|
216
216
|
}),
|
|
217
|
-
|
|
217
|
+
e("path", {
|
|
218
218
|
"stroke-linecap": "round",
|
|
219
219
|
"stroke-linejoin": "round",
|
|
220
220
|
d: "M12 18a3.75 3.75 0 00.495-7.467 5.99 5.99 0 00-1.925 3.546 5.974 5.974 0 01-2.133-1A3.75 3.75 0 0012 18z"
|
|
221
221
|
})
|
|
222
222
|
]);
|
|
223
223
|
}
|
|
224
|
-
const
|
|
224
|
+
const I1 = (u) => (i1("data-v-4988837e"), u = u(), p1(), u), F1 = { class: "h-full relative" }, P1 = { class: "space-y-1 p-2 h-full relative" }, T1 = { class: "absolute left-2 bottom-2 right-2" }, q1 = {
|
|
225
225
|
key: 0,
|
|
226
226
|
class: "ml-3 flex justify-between border rounded-lg p-2 bg-[#F5F5F5] mb-3 w-[220px]"
|
|
227
|
-
},
|
|
227
|
+
}, Z1 = { class: "flex items-center space-x-2 text-[#525B66]" }, E1 = { class: "text-sm" }, R1 = { class: "text-xs" }, D1 = ["href"], W1 = { class: "flex flex-nowrap items-center w-max h-[24px]" }, U1 = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full text-[#525B66]" }, G1 = { class: "py-[8px] pl-0 pr-[8px]" }, J1 = ["href"], K1 = { class: "flex flex-nowrap items-center w-max h-[24px]" }, Q1 = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full" }, X1 = { class: "py-[8px] pl-0 pr-[8px]" }, Y1 = {
|
|
228
228
|
key: 3,
|
|
229
229
|
class: "custom-select ml-3 w-full relative pt-3"
|
|
230
|
-
},
|
|
230
|
+
}, e0 = { class: "pl-2" }, t0 = {
|
|
231
231
|
key: 0,
|
|
232
232
|
class: "dropdown w-[220px] z-10 text-[#525B66]"
|
|
233
|
-
},
|
|
233
|
+
}, s0 = ["onClick"], l0 = {
|
|
234
234
|
key: 0,
|
|
235
235
|
class: "mt-3 text-slate-100 h-0 bg-slate-100 mb-3"
|
|
236
|
-
},
|
|
236
|
+
}, o0 = { class: "flex flex-nowrap items-center w-full h-[24px]" }, n0 = { class: "w-[44px] flex-shrink-0 relative" }, a0 = {
|
|
237
237
|
key: 0,
|
|
238
238
|
class: "absolute top-0 right-1.5 w-2 h-2 bg-blue-600 text-white rounded-full animate-ping z-0"
|
|
239
|
-
},
|
|
239
|
+
}, r0 = {
|
|
240
240
|
key: 1,
|
|
241
241
|
class: "absolute top-0 right-1.5 w-2 h-2 bg-blue-500 text-white rounded-full z-10"
|
|
242
|
-
},
|
|
242
|
+
}, i0 = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full" }, p0 = { class: "py-[8px] pl-0 pr-[8px]" }, d0 = ["href"], c0 = { class: "flex flex-nowrap items-center w-full h-[24px]" }, u0 = { class: "w-[44px] flex-shrink-0 relative" }, h0 = { class: "whitespace-nowrap overflow-hidden text-ellipsis text-left flex-shrink w-full" }, C0 = { class: "py-[8px] pl-0 pr-[8px]" }, f0 = /* @__PURE__ */ I1(() => /* @__PURE__ */ e("span", null, "Powered by OneB", -1)), w0 = /* @__PURE__ */ Q({
|
|
243
243
|
__name: "OneSidebar",
|
|
244
|
-
props:
|
|
244
|
+
props: o1,
|
|
245
245
|
emits: ["show-news", "show-tariff", "select-language"],
|
|
246
|
-
setup(
|
|
247
|
-
var Z,
|
|
248
|
-
const
|
|
249
|
-
var
|
|
250
|
-
return ((
|
|
251
|
-
}),
|
|
252
|
-
|
|
253
|
-
},
|
|
254
|
-
|
|
255
|
-
},
|
|
256
|
-
var
|
|
257
|
-
return
|
|
258
|
-
}) : null),
|
|
259
|
-
|
|
260
|
-
},
|
|
261
|
-
|
|
246
|
+
setup(u, { emit: p }) {
|
|
247
|
+
var Z, E, s;
|
|
248
|
+
const f = u, v = J(() => {
|
|
249
|
+
var o;
|
|
250
|
+
return ((o = f.news) == null ? void 0 : o.unseenCount) || 0;
|
|
251
|
+
}), r = () => {
|
|
252
|
+
p("show-news");
|
|
253
|
+
}, q = () => {
|
|
254
|
+
p("show-tariff");
|
|
255
|
+
}, c = T(!1), m = T((Z = f.app) != null && Z.availableLang && ((E = f.app) == null ? void 0 : E.availableLang.length) > 0 ? (s = f.app) == null ? void 0 : s.availableLang.find((o) => {
|
|
256
|
+
var g;
|
|
257
|
+
return o.id == ((g = f.app) == null ? void 0 : g.lang);
|
|
258
|
+
}) : null), G = () => {
|
|
259
|
+
c.value = !c.value;
|
|
260
|
+
}, _ = (o) => {
|
|
261
|
+
m.value = o, c.value = !1, p("select-language", o);
|
|
262
262
|
};
|
|
263
|
-
return (
|
|
264
|
-
var
|
|
265
|
-
return
|
|
266
|
-
|
|
267
|
-
(
|
|
268
|
-
key:
|
|
269
|
-
icon:
|
|
270
|
-
label:
|
|
271
|
-
route:
|
|
272
|
-
href:
|
|
273
|
-
"route-name":
|
|
274
|
-
exact:
|
|
275
|
-
slim:
|
|
263
|
+
return (o, g) => {
|
|
264
|
+
var b, L, y, k, $, S, B, O, j, M, V, z, A, H, N, I, F;
|
|
265
|
+
return t(), l("div", F1, [
|
|
266
|
+
e("div", P1, [
|
|
267
|
+
(t(!0), l(W, null, U(o.items, (d) => (t(), x(S1, {
|
|
268
|
+
key: d.label,
|
|
269
|
+
icon: d.icon,
|
|
270
|
+
label: d.label,
|
|
271
|
+
route: d.route,
|
|
272
|
+
href: d.href,
|
|
273
|
+
"route-name": d.routeName,
|
|
274
|
+
exact: d.exact || !1,
|
|
275
|
+
slim: o.slim
|
|
276
276
|
}, null, 8, ["icon", "label", "route", "href", "route-name", "exact", "slim"]))), 128)),
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
class:
|
|
277
|
+
e("div", T1, [
|
|
278
|
+
e("div", {
|
|
279
|
+
class: C([o.slim ? "hidden" : "w-max"])
|
|
280
280
|
}, [
|
|
281
|
-
(
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
281
|
+
(b = o.app) != null && b.selectedPlan ? (t(), l("div", q1, [
|
|
282
|
+
e("div", Z1, [
|
|
283
|
+
h(w(a1), { class: "w-[24px] h-[24px]" }),
|
|
284
|
+
e("div", null, [
|
|
285
|
+
e("p", E1, i(((L = o.app) == null ? void 0 : L.selectedPlan.name) || "Free"), 1),
|
|
286
|
+
e("p", R1, i(((y = o.app) == null ? void 0 : y.selectedPlan.title) || "Тарифний план"), 1)
|
|
287
287
|
])
|
|
288
288
|
]),
|
|
289
|
-
|
|
290
|
-
|
|
289
|
+
e("div", null, [
|
|
290
|
+
h(K, {
|
|
291
291
|
class: "text-[#525B66] hover:text-[#4089E0]",
|
|
292
292
|
variant: "touch",
|
|
293
|
-
icon:
|
|
294
|
-
onClick:
|
|
293
|
+
icon: w(l1),
|
|
294
|
+
onClick: q
|
|
295
295
|
}, null, 8, ["icon"])
|
|
296
296
|
])
|
|
297
297
|
])) : a("", !0),
|
|
298
|
-
(
|
|
298
|
+
(k = o.app) != null && k.terms ? (t(), l("a", {
|
|
299
299
|
key: 1,
|
|
300
|
-
href: (
|
|
300
|
+
href: ($ = o.app) == null ? void 0 : $.terms.url,
|
|
301
301
|
target: "_blank",
|
|
302
302
|
class: "ml-3 flex items-center rounded-lg text-xs hover:underline font-extralight"
|
|
303
303
|
}, [
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
304
|
+
e("div", W1, [
|
|
305
|
+
e("div", U1, [
|
|
306
|
+
e("span", G1, i(((S = o.app) == null ? void 0 : S.terms.label) || "Terms"), 1)
|
|
307
307
|
])
|
|
308
308
|
])
|
|
309
|
-
], 8,
|
|
310
|
-
(B =
|
|
309
|
+
], 8, D1)) : a("", !0),
|
|
310
|
+
(B = o.app) != null && B.offer ? (t(), l("a", {
|
|
311
311
|
key: 2,
|
|
312
|
-
href: (
|
|
312
|
+
href: (O = o.app) == null ? void 0 : O.offer.url,
|
|
313
313
|
target: "_blank",
|
|
314
314
|
class: "ml-3 flex items-center rounded-lg text-xs hover:underline text-[#525B66] font-extralight"
|
|
315
315
|
}, [
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
316
|
+
e("div", K1, [
|
|
317
|
+
e("div", Q1, [
|
|
318
|
+
e("span", X1, i(((j = o.app) == null ? void 0 : j.offer.label) || "Offert"), 1)
|
|
319
319
|
])
|
|
320
320
|
])
|
|
321
|
-
], 8,
|
|
322
|
-
(
|
|
323
|
-
|
|
321
|
+
], 8, J1)) : a("", !0),
|
|
322
|
+
(V = (M = o.app) == null ? void 0 : M.availableLang) != null && V.length ? (t(), l("div", Y1, [
|
|
323
|
+
e("div", {
|
|
324
324
|
class: "select-box flex gap-x-3 text-xs text-[#525B66] cursor-pointer",
|
|
325
|
-
onClick:
|
|
325
|
+
onClick: G
|
|
326
326
|
}, [
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
327
|
+
h(w(N1), { class: "w-4" }),
|
|
328
|
+
r1(" " + i((z = m.value) == null ? void 0 : z.name) + " ", 1),
|
|
329
|
+
e("span", e0, i(c.value ? "▲" : "▼"), 1)
|
|
330
330
|
]),
|
|
331
|
-
|
|
332
|
-
(
|
|
333
|
-
var
|
|
334
|
-
return
|
|
335
|
-
key:
|
|
336
|
-
class:
|
|
337
|
-
onClick: (
|
|
338
|
-
var
|
|
339
|
-
return
|
|
331
|
+
c.value ? (t(), l("div", t0, [
|
|
332
|
+
(t(!0), l(W, null, U((A = o.app) == null ? void 0 : A.availableLang, (d) => {
|
|
333
|
+
var P, n;
|
|
334
|
+
return t(), l("div", {
|
|
335
|
+
key: d.id,
|
|
336
|
+
class: C(["px-2", { "hover:bg-slate-200 rounded-lg cursor-pointer": d.id !== ((P = m.value) == null ? void 0 : P.id), "text-gray-300": d.id === ((n = m.value) == null ? void 0 : n.id) }]),
|
|
337
|
+
onClick: (R) => {
|
|
338
|
+
var X;
|
|
339
|
+
return d.id !== ((X = m.value) == null ? void 0 : X.id) && _(d);
|
|
340
340
|
}
|
|
341
|
-
},
|
|
341
|
+
}, i(d.name), 11, s0);
|
|
342
342
|
}), 128))
|
|
343
343
|
])) : a("", !0)
|
|
344
344
|
])) : a("", !0)
|
|
345
345
|
], 2),
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
class:
|
|
346
|
+
o.slim ? a("", !0) : (t(), l("hr", l0)),
|
|
347
|
+
e("div", {
|
|
348
|
+
class: C(["flex", [o.slim ? " grid" : "w-max"]])
|
|
349
349
|
}, [
|
|
350
|
-
|
|
350
|
+
o.news ? (t(), l("a", {
|
|
351
351
|
key: 0,
|
|
352
352
|
href: "#",
|
|
353
|
-
class:
|
|
354
|
-
onClick:
|
|
353
|
+
class: C(["text-[#525B66] flex items-center rounded-lg text-sm hover:bg-primary-10-hover hover:text-primary-base transition-all", [(o.slim, "w-[44px] h-[44px]")]]),
|
|
354
|
+
onClick: r
|
|
355
355
|
}, [
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
(
|
|
359
|
-
|
|
360
|
-
|
|
356
|
+
e("div", o0, [
|
|
357
|
+
e("div", n0, [
|
|
358
|
+
(t(), x(D(n1), { class: "w-[24px] h-[24px] mx-auto" })),
|
|
359
|
+
v.value > 0 ? (t(), l("span", a0)) : a("", !0),
|
|
360
|
+
v.value > 0 ? (t(), l("span", r0)) : a("", !0)
|
|
361
361
|
]),
|
|
362
|
-
|
|
363
|
-
|
|
362
|
+
e("div", i0, [
|
|
363
|
+
e("span", p0, i(o.news.menuLabel || "News"), 1)
|
|
364
364
|
])
|
|
365
365
|
])
|
|
366
366
|
], 2)) : a("", !0),
|
|
367
|
-
(
|
|
367
|
+
(H = o.app) != null && H.support ? (t(), l("a", {
|
|
368
368
|
key: 1,
|
|
369
|
-
href: (
|
|
369
|
+
href: (N = o.app) == null ? void 0 : N.support.url,
|
|
370
370
|
target: "_blank",
|
|
371
|
-
class:
|
|
371
|
+
class: C(["text-[#525B66] flex items-center rounded-lg text-sm hover:bg-primary-10-hover hover:text-primary-base transition-all", [(o.slim, "w-[44px] h-[44px]")]])
|
|
372
372
|
}, [
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
(
|
|
373
|
+
e("div", c0, [
|
|
374
|
+
e("div", u0, [
|
|
375
|
+
(t(), x(D(w(H1)), { class: "w-[24px] h-[24px] mx-auto" }))
|
|
376
376
|
]),
|
|
377
|
-
|
|
378
|
-
|
|
377
|
+
e("div", h0, [
|
|
378
|
+
e("span", C0, i(((I = o.app) == null ? void 0 : I.support.label) || "Support"), 1)
|
|
379
379
|
])
|
|
380
380
|
])
|
|
381
|
-
], 10,
|
|
381
|
+
], 10, d0)) : a("", !0)
|
|
382
382
|
], 2),
|
|
383
|
-
|
|
384
|
-
class:
|
|
383
|
+
e("p", {
|
|
384
|
+
class: C([[o.slim ? "hidden" : "w-full"], "text-[8px] pl-3 text-[#979CA9] flex justify-between font-extralight"])
|
|
385
385
|
}, [
|
|
386
|
-
|
|
387
|
-
|
|
386
|
+
f0,
|
|
387
|
+
e("span", null, i((F = o.app) == null ? void 0 : F.version), 1)
|
|
388
388
|
], 2)
|
|
389
389
|
])
|
|
390
390
|
])
|
|
@@ -392,9 +392,9 @@ const F1 = (o) => (u1("data-v-4988837e"), o = o(), h1(), o), Z1 = { class: "h-fu
|
|
|
392
392
|
};
|
|
393
393
|
}
|
|
394
394
|
});
|
|
395
|
-
const
|
|
396
|
-
function
|
|
397
|
-
return
|
|
395
|
+
const x0 = /* @__PURE__ */ s1(w0, [["__scopeId", "data-v-4988837e"]]);
|
|
396
|
+
function v0(u, p) {
|
|
397
|
+
return t(), l("svg", {
|
|
398
398
|
xmlns: "http://www.w3.org/2000/svg",
|
|
399
399
|
fill: "none",
|
|
400
400
|
viewBox: "0 0 24 24",
|
|
@@ -402,15 +402,15 @@ function y0(o, p) {
|
|
|
402
402
|
stroke: "currentColor",
|
|
403
403
|
"aria-hidden": "true"
|
|
404
404
|
}, [
|
|
405
|
-
|
|
405
|
+
e("path", {
|
|
406
406
|
"stroke-linecap": "round",
|
|
407
407
|
"stroke-linejoin": "round",
|
|
408
408
|
d: "M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"
|
|
409
409
|
})
|
|
410
410
|
]);
|
|
411
411
|
}
|
|
412
|
-
function
|
|
413
|
-
return
|
|
412
|
+
function m0(u, p) {
|
|
413
|
+
return t(), l("svg", {
|
|
414
414
|
xmlns: "http://www.w3.org/2000/svg",
|
|
415
415
|
fill: "none",
|
|
416
416
|
viewBox: "0 0 24 24",
|
|
@@ -418,251 +418,225 @@ function L0(o, p) {
|
|
|
418
418
|
stroke: "currentColor",
|
|
419
419
|
"aria-hidden": "true"
|
|
420
420
|
}, [
|
|
421
|
-
|
|
421
|
+
e("path", {
|
|
422
422
|
"stroke-linecap": "round",
|
|
423
423
|
"stroke-linejoin": "round",
|
|
424
424
|
d: "M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9 5.25h.008v.008H12v-.008z"
|
|
425
425
|
})
|
|
426
426
|
]);
|
|
427
427
|
}
|
|
428
|
-
|
|
429
|
-
* vue-router v4.3.0
|
|
430
|
-
* (c) 2024 Eduardo San Martin Morote
|
|
431
|
-
* @license MIT
|
|
432
|
-
*/
|
|
433
|
-
var t1;
|
|
434
|
-
(function(o) {
|
|
435
|
-
o.pop = "pop", o.push = "push";
|
|
436
|
-
})(t1 || (t1 = {}));
|
|
437
|
-
var s1;
|
|
438
|
-
(function(o) {
|
|
439
|
-
o.back = "back", o.forward = "forward", o.unknown = "";
|
|
440
|
-
})(s1 || (s1 = {}));
|
|
441
|
-
Symbol(process.env.NODE_ENV !== "production" ? "navigation failure" : "");
|
|
442
|
-
var l1;
|
|
443
|
-
(function(o) {
|
|
444
|
-
o[o.aborted = 4] = "aborted", o[o.cancelled = 8] = "cancelled", o[o.duplicated = 16] = "duplicated";
|
|
445
|
-
})(l1 || (l1 = {}));
|
|
446
|
-
Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : "");
|
|
447
|
-
Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : "");
|
|
448
|
-
const k0 = Symbol(process.env.NODE_ENV !== "production" ? "router" : "");
|
|
449
|
-
Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
|
|
450
|
-
Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
|
|
451
|
-
function $0() {
|
|
452
|
-
return C1(k0);
|
|
453
|
-
}
|
|
454
|
-
const S0 = { class: "h-full relative" }, O0 = {
|
|
428
|
+
const _0 = { class: "h-full relative" }, g0 = {
|
|
455
429
|
class: "header h-[56px] flex items-center flex-nowrap fixed top-0 left-0 w-full z-50",
|
|
456
430
|
style: { background: "rgba(245, 247, 251, 0.80)", "backdrop-filter": "blur(5px)" }
|
|
457
|
-
},
|
|
431
|
+
}, b0 = { class: "p-2 flex-shrink-0" }, L0 = { class: "w-10 h-10 flex items-center flex-shrink-0" }, y0 = ["src"], k0 = { class: "whitespace-nowrap font-semibold text-xl" }, $0 = { class: "text-xs whitespace-nowrap" }, S0 = { class: "w-full" }, B0 = { class: "w-full flex justify-end pr-3" }, O0 = { class: "flex items-center space-x-3" }, j0 = {
|
|
458
432
|
key: 0,
|
|
459
433
|
class: "sm:block flex-shrink-0 hidden"
|
|
460
|
-
},
|
|
434
|
+
}, M0 = ["href"], V0 = { class: "body w-full h-full" }, z0 = { key: 0 }, A0 = {
|
|
461
435
|
key: 0,
|
|
462
436
|
class: "w-96 relative h-full"
|
|
463
|
-
},
|
|
437
|
+
}, H0 = { class: "h-full relative" }, N0 = { class: "flex items-center p-3 space-x-1.5" }, I0 = /* @__PURE__ */ e("div", { class: "w-full font-medium" }, "OneB News", -1), F0 = {
|
|
464
438
|
class: "overflow-auto",
|
|
465
439
|
style: { height: "calc(100% - 62px)" }
|
|
466
|
-
},
|
|
440
|
+
}, P0 = {
|
|
467
441
|
key: 0,
|
|
468
442
|
class: "p-5"
|
|
469
|
-
},
|
|
443
|
+
}, T0 = { key: 1 }, q0 = { class: "p-4 text-gray text-center" }, Z0 = { key: 2 }, E0 = {
|
|
470
444
|
class: "p-3 space-y-1.5 rounded-lg",
|
|
471
445
|
style: { "box-shadow": "0 0 6px #eaeaea" }
|
|
472
|
-
},
|
|
446
|
+
}, R0 = { key: 0 }, D0 = {
|
|
473
447
|
key: 0,
|
|
474
448
|
class: "text-xs px-2 py-1 rounded-md bg-green-600 text-white"
|
|
475
|
-
},
|
|
449
|
+
}, W0 = {
|
|
476
450
|
key: 1,
|
|
477
451
|
class: "text-xs px-2 py-1 rounded-md bg-yellow-600 text-white"
|
|
478
|
-
},
|
|
452
|
+
}, U0 = {
|
|
479
453
|
key: 2,
|
|
480
454
|
class: "text-xs px-2 py-1 rounded-md bg-blue-600 text-white"
|
|
481
|
-
},
|
|
455
|
+
}, G0 = {
|
|
482
456
|
key: 3,
|
|
483
457
|
class: "text-xs px-2 py-1 rounded-md bg-gray-600 text-white"
|
|
484
|
-
},
|
|
458
|
+
}, J0 = { class: "text-lg font-medium" }, K0 = { class: "text-sm text-gray-600" }, Q0 = { key: 0 }, X0 = ["src"], Y0 = { class: "text-sm whitespace-pre-wrap break-words" }, e9 = { key: 1 }, t9 = ["href"], s9 = { class: "text-sm flex items-center justify-between mt-1" }, l9 = { class: "text-gray-800" }, o9 = ["href"], n9 = { class: "flex items-center space-x-2 text-[#525B66]" }, a9 = { class: "text-sm" }, r9 = { class: "text-[8px]" }, C9 = /* @__PURE__ */ Q({
|
|
485
459
|
__name: "OneMainLayout",
|
|
486
|
-
props:
|
|
487
|
-
emits: ["load-news", "load-tariff"],
|
|
488
|
-
setup(
|
|
489
|
-
const
|
|
490
|
-
let
|
|
491
|
-
window.document.body.offsetWidth < 1024 && (window.localStorage.getItem("sidebar-slim") == null && window.localStorage.setItem("sidebar-slim", "1"),
|
|
492
|
-
const
|
|
493
|
-
|
|
494
|
-
window.localStorage.setItem("sidebar-slim", String(
|
|
460
|
+
props: x1,
|
|
461
|
+
emits: ["load-news", "load-tariff", "open-tariff"],
|
|
462
|
+
setup(u, { emit: p }) {
|
|
463
|
+
const f = u;
|
|
464
|
+
let v = window.localStorage.getItem("sidebar-slim");
|
|
465
|
+
window.document.body.offsetWidth < 1024 && (window.localStorage.getItem("sidebar-slim") == null && window.localStorage.setItem("sidebar-slim", "1"), v = "1");
|
|
466
|
+
const r = T(v === "1");
|
|
467
|
+
d1(r, (s) => {
|
|
468
|
+
window.localStorage.setItem("sidebar-slim", String(s ? 1 : 0));
|
|
495
469
|
});
|
|
496
|
-
const
|
|
497
|
-
window.document.body.offsetWidth < 1024 && !
|
|
498
|
-
},
|
|
499
|
-
|
|
500
|
-
},
|
|
501
|
-
var
|
|
502
|
-
(
|
|
503
|
-
},
|
|
504
|
-
|
|
505
|
-
},
|
|
506
|
-
|
|
470
|
+
const q = () => {
|
|
471
|
+
window.document.body.offsetWidth < 1024 && !r.value && (r.value = !0);
|
|
472
|
+
}, c = T(!1), m = () => {
|
|
473
|
+
c.value = !c.value, c.value && p("load-news");
|
|
474
|
+
}, G = (s) => {
|
|
475
|
+
var o;
|
|
476
|
+
(o = f.handlers) == null || o.onSetLang(s);
|
|
477
|
+
}, _ = T(!1), Z = () => {
|
|
478
|
+
_.value = !_.value, _.value && p("load-tariff");
|
|
479
|
+
}, E = (s) => {
|
|
480
|
+
s && s.link && (s.link.startsWith("http") ? window.open(s.link, "_blank", "noopener noreferrer") : p("open-tariff", s));
|
|
507
481
|
};
|
|
508
|
-
return (
|
|
509
|
-
var L, k, $, S,
|
|
510
|
-
const
|
|
511
|
-
return
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
onClick:
|
|
482
|
+
return (s, o) => {
|
|
483
|
+
var b, L, y, k, $, S, B, O, j, M, V, z, A, H, N, I, F, d, P;
|
|
484
|
+
const g = e1("RouterLink");
|
|
485
|
+
return t(), l("div", _0, [
|
|
486
|
+
e("div", g0, [
|
|
487
|
+
e("div", b0, [
|
|
488
|
+
e("button", {
|
|
489
|
+
onClick: o[0] || (o[0] = (n) => r.value = !r.value),
|
|
516
490
|
class: "w-[44px] h-[44px] p-[8px] flex items-center justify-center hover:text-secondary-content"
|
|
517
491
|
}, [
|
|
518
|
-
|
|
492
|
+
h(w(v0), { class: "w-[24px] h-[24px]" })
|
|
519
493
|
])
|
|
520
494
|
]),
|
|
521
|
-
|
|
522
|
-
|
|
495
|
+
e("div", L0, [
|
|
496
|
+
s.logoSrc != null ? (t(), l("img", {
|
|
523
497
|
key: 0,
|
|
524
|
-
src:
|
|
498
|
+
src: s.logoSrc,
|
|
525
499
|
class: "w-8 h-8 mx-auto",
|
|
526
500
|
alt: "logo"
|
|
527
|
-
}, null, 8,
|
|
501
|
+
}, null, 8, y0)) : a("", !0)
|
|
528
502
|
]),
|
|
529
|
-
|
|
503
|
+
s.app != null ? (t(), x(g, {
|
|
530
504
|
key: 0,
|
|
531
505
|
to: "/",
|
|
532
506
|
class: "pl-2 max-w-xs"
|
|
533
507
|
}, {
|
|
534
|
-
default:
|
|
535
|
-
var n,
|
|
508
|
+
default: t1(() => {
|
|
509
|
+
var n, R;
|
|
536
510
|
return [
|
|
537
|
-
|
|
538
|
-
|
|
511
|
+
e("div", k0, i(s.app.name), 1),
|
|
512
|
+
e("div", $0, i((R = (n = s.app) == null ? void 0 : n.workspace) == null ? void 0 : R.name), 1)
|
|
539
513
|
];
|
|
540
514
|
}),
|
|
541
515
|
_: 1
|
|
542
516
|
})) : a("", !0),
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
(
|
|
548
|
-
|
|
549
|
-
href: (
|
|
517
|
+
e("div", S0, [
|
|
518
|
+
e("div", B0, [
|
|
519
|
+
e("div", O0, [
|
|
520
|
+
Y(s.$slots, "before-header-menu"),
|
|
521
|
+
(b = s.app) != null && b.help ? (t(), l("div", j0, [
|
|
522
|
+
e("a", {
|
|
523
|
+
href: (L = s.app) == null ? void 0 : L.help.url,
|
|
550
524
|
target: "_blank",
|
|
551
525
|
title: "Help",
|
|
552
526
|
class: "block btn-touch text-gray-dark"
|
|
553
527
|
}, [
|
|
554
|
-
|
|
555
|
-
], 8,
|
|
528
|
+
h(w(m0), { class: "w-6 h-6 text-gray-600" })
|
|
529
|
+
], 8, M0)
|
|
556
530
|
])) : a("", !0),
|
|
557
|
-
(
|
|
531
|
+
(y = s.app) != null && y.apps ? (t(), x(u1, {
|
|
558
532
|
key: 1,
|
|
559
|
-
workspace: (
|
|
560
|
-
apps: ((
|
|
561
|
-
"change-label": ((
|
|
562
|
-
"apps-title": ((
|
|
563
|
-
"on-app": (
|
|
564
|
-
"on-change": (
|
|
565
|
-
onOpen: (
|
|
533
|
+
workspace: (k = s.app) == null ? void 0 : k.workspace,
|
|
534
|
+
apps: (($ = s.app) == null ? void 0 : $.apps) || [],
|
|
535
|
+
"change-label": ((S = s.labels) == null ? void 0 : S.change) || "Change",
|
|
536
|
+
"apps-title": ((B = s.labels) == null ? void 0 : B.apps) || "Apps",
|
|
537
|
+
"on-app": (O = s.handlers) == null ? void 0 : O.onApp,
|
|
538
|
+
"on-change": (j = s.handlers) == null ? void 0 : j.onChange,
|
|
539
|
+
onOpen: (M = s.handlers) == null ? void 0 : M.onBrowse
|
|
566
540
|
}, null, 8, ["workspace", "apps", "change-label", "apps-title", "on-app", "on-change", "onOpen"])) : a("", !0),
|
|
567
|
-
|
|
568
|
-
user:
|
|
569
|
-
app:
|
|
570
|
-
"account-label": ((
|
|
571
|
-
"logout-label": ((
|
|
572
|
-
"version-label": ((
|
|
573
|
-
"on-account": (H =
|
|
574
|
-
"on-logout": (
|
|
541
|
+
h(h1, {
|
|
542
|
+
user: s.user,
|
|
543
|
+
app: s.app,
|
|
544
|
+
"account-label": ((V = s.labels) == null ? void 0 : V.account) || "Account",
|
|
545
|
+
"logout-label": ((z = s.labels) == null ? void 0 : z.logout) || "Logout",
|
|
546
|
+
"version-label": ((A = s.labels) == null ? void 0 : A.version) || "",
|
|
547
|
+
"on-account": (H = s.handlers) == null ? void 0 : H.onAccount,
|
|
548
|
+
"on-logout": (N = s.handlers) == null ? void 0 : N.onLogout
|
|
575
549
|
}, null, 8, ["user", "app", "account-label", "logout-label", "version-label", "on-account", "on-logout"])
|
|
576
550
|
])
|
|
577
551
|
])
|
|
578
552
|
])
|
|
579
553
|
]),
|
|
580
|
-
|
|
581
|
-
class:
|
|
554
|
+
e("div", {
|
|
555
|
+
class: C(["sidebar fixed top-[56px] left-0 overflow-hidden bg-white lg:bg-transparent transition-all z-50", [r.value ? "w-0 lg:w-[60px]" : "w-full lg:w-60"]]),
|
|
582
556
|
style: { height: "calc(100% - 56px)" },
|
|
583
|
-
onClick:
|
|
557
|
+
onClick: q
|
|
584
558
|
}, [
|
|
585
|
-
|
|
586
|
-
slim:
|
|
587
|
-
app:
|
|
588
|
-
items:
|
|
589
|
-
"with-news":
|
|
559
|
+
h(x0, {
|
|
560
|
+
slim: r.value,
|
|
561
|
+
app: s.app,
|
|
562
|
+
items: s.sidebarItems,
|
|
563
|
+
"with-news": s.news != null,
|
|
590
564
|
onShowTariff: Z,
|
|
591
|
-
news:
|
|
592
|
-
onShowNews:
|
|
593
|
-
onSelectLanguage:
|
|
565
|
+
news: s.news,
|
|
566
|
+
onShowNews: m,
|
|
567
|
+
onSelectLanguage: G
|
|
594
568
|
}, null, 8, ["slim", "app", "items", "with-news", "news"])
|
|
595
569
|
], 2),
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
class:
|
|
570
|
+
e("div", V0, [
|
|
571
|
+
e("div", {
|
|
572
|
+
class: C(["content transition-all pt-[56px] h-full", [r.value ? "pl-0 lg:pl-[60px]" : "pl-0 lg:pl-60"]])
|
|
599
573
|
}, [
|
|
600
|
-
|
|
574
|
+
Y(s.$slots, "default")
|
|
601
575
|
], 2)
|
|
602
576
|
]),
|
|
603
|
-
|
|
604
|
-
|
|
577
|
+
s.news ? (t(), l("div", z0, [
|
|
578
|
+
c.value ? (t(), l("div", {
|
|
605
579
|
key: 0,
|
|
606
580
|
class: "fixed top-0 left-0 h-screen w-screen bg-gray-100 bg-opacity-40 z-50",
|
|
607
|
-
onClick:
|
|
581
|
+
onClick: o[1] || (o[1] = c1((n) => c.value = !1, ["self"]))
|
|
608
582
|
})) : a("", !0),
|
|
609
|
-
|
|
610
|
-
class:
|
|
583
|
+
e("div", {
|
|
584
|
+
class: C(["opacity-100 shadow-lg transition-all fixed top-0 left-0 h-screen overflow-hidden z-50 bg-white", [c.value ? "w-96" : "w-0"]])
|
|
611
585
|
}, [
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
586
|
+
c.value ? (t(), l("div", A0, [
|
|
587
|
+
e("div", H0, [
|
|
588
|
+
e("div", N0, [
|
|
589
|
+
h(n1, { class: "w-10 h-10" }),
|
|
590
|
+
I0,
|
|
591
|
+
e("div", null, [
|
|
592
|
+
h(K, {
|
|
619
593
|
variant: "touch",
|
|
620
|
-
icon:
|
|
621
|
-
onClick:
|
|
594
|
+
icon: w(f1),
|
|
595
|
+
onClick: o[2] || (o[2] = (n) => c.value = !1)
|
|
622
596
|
}, null, 8, ["icon"])
|
|
623
597
|
])
|
|
624
598
|
]),
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
])) : ((
|
|
629
|
-
|
|
630
|
-
])) : ((
|
|
631
|
-
(
|
|
599
|
+
e("div", F0, [
|
|
600
|
+
s.news.isLoading && ((I = s.news.items) == null ? void 0 : I.length) === 0 ? (t(), l("div", P0, [
|
|
601
|
+
h(C1, { class: "w-6 h-6 text-gray-600 mx-auto" })
|
|
602
|
+
])) : ((F = s.news.items) == null ? void 0 : F.length) === 0 ? (t(), l("div", T0, [
|
|
603
|
+
e("div", q0, i(s.news.emptyText), 1)
|
|
604
|
+
])) : ((d = s.news.items) == null ? void 0 : d.length) > 0 ? (t(), l("div", Z0, [
|
|
605
|
+
(t(!0), l(W, null, U(s.news.items, (n) => (t(), l("div", {
|
|
632
606
|
key: n.id,
|
|
633
607
|
class: "p-3"
|
|
634
608
|
}, [
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
n.type ? (
|
|
638
|
-
n.type === 10 ? (
|
|
609
|
+
e("div", E0, [
|
|
610
|
+
e("div", null, [
|
|
611
|
+
n.type ? (t(), l("div", R0, [
|
|
612
|
+
n.type === 10 ? (t(), l("span", D0, "update")) : n.type === 11 ? (t(), l("span", W0, "warning")) : n.type === 12 ? (t(), l("span", U0, "notice")) : n.type === 13 ? (t(), l("span", G0, "ads")) : a("", !0)
|
|
639
613
|
])) : a("", !0),
|
|
640
|
-
|
|
641
|
-
|
|
614
|
+
e("div", J0, i(n.title), 1),
|
|
615
|
+
e("div", K0, i(n.summary), 1)
|
|
642
616
|
]),
|
|
643
|
-
n.image_url ? (
|
|
644
|
-
|
|
617
|
+
n.image_url ? (t(), l("div", Q0, [
|
|
618
|
+
e("img", {
|
|
645
619
|
src: n.image_url,
|
|
646
620
|
alt: "",
|
|
647
621
|
class: "w-full rounded-md"
|
|
648
|
-
}, null, 8,
|
|
622
|
+
}, null, 8, X0)
|
|
649
623
|
])) : a("", !0),
|
|
650
|
-
|
|
651
|
-
n.video_url ? (
|
|
652
|
-
|
|
624
|
+
e("div", Y0, i(n.body), 1),
|
|
625
|
+
n.video_url ? (t(), l("div", e9, [
|
|
626
|
+
e("a", {
|
|
653
627
|
href: n.video_url,
|
|
654
628
|
target: "_blank",
|
|
655
629
|
class: "text-blue-600 hover:text-blue-700 px-3 py-2 border rounded-md w-full block"
|
|
656
|
-
},
|
|
630
|
+
}, i(s.news.openVideoText), 9, t9)
|
|
657
631
|
])) : a("", !0),
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
n.post_url ? (
|
|
632
|
+
e("div", s9, [
|
|
633
|
+
e("span", l9, i(n.published), 1),
|
|
634
|
+
n.post_url ? (t(), l("a", {
|
|
661
635
|
key: 0,
|
|
662
636
|
href: n.post_url,
|
|
663
637
|
target: "_blank",
|
|
664
638
|
class: "text-blue-600 hover:text-blue-700 block"
|
|
665
|
-
},
|
|
639
|
+
}, i(s.news.moreText), 9, o9)) : a("", !0)
|
|
666
640
|
])
|
|
667
641
|
])
|
|
668
642
|
]))), 128))
|
|
@@ -672,27 +646,27 @@ const S0 = { class: "h-full relative" }, O0 = {
|
|
|
672
646
|
])) : a("", !0)
|
|
673
647
|
], 2)
|
|
674
648
|
])) : a("", !0),
|
|
675
|
-
|
|
649
|
+
_.value ? (t(), l("div", {
|
|
676
650
|
key: 1,
|
|
677
|
-
class:
|
|
651
|
+
class: C(["absolute left-[260px] bottom-0", [r.value ? "hidden" : "w-max"]])
|
|
678
652
|
}, [
|
|
679
|
-
(
|
|
653
|
+
(t(!0), l(W, null, U((P = s.app) == null ? void 0 : P.availablePlans, (n) => (t(), l("div", {
|
|
680
654
|
key: n.name,
|
|
681
655
|
class: "ml-3 flex justify-between border rounded-lg p-2 bg-[#F5F5F5] mb-3 w-[240px]"
|
|
682
656
|
}, [
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
657
|
+
e("div", n9, [
|
|
658
|
+
h(w(a1), { class: "w-[24px] h-[24px]" }),
|
|
659
|
+
e("div", null, [
|
|
660
|
+
e("p", a9, i(n.name || "Free"), 1),
|
|
661
|
+
e("p", r9, i(n.title || "Тарифний план"), 1)
|
|
688
662
|
])
|
|
689
663
|
]),
|
|
690
|
-
|
|
691
|
-
|
|
664
|
+
e("div", null, [
|
|
665
|
+
h(K, {
|
|
692
666
|
class: "text-[#525B66] hover:text-[#4089E0]",
|
|
693
667
|
variant: "touch",
|
|
694
|
-
icon:
|
|
695
|
-
onClick: (
|
|
668
|
+
icon: w(l1),
|
|
669
|
+
onClick: (R) => E(n)
|
|
696
670
|
}, null, 8, ["icon", "onClick"])
|
|
697
671
|
])
|
|
698
672
|
]))), 128))
|
|
@@ -702,6 +676,6 @@ const S0 = { class: "h-full relative" }, O0 = {
|
|
|
702
676
|
}
|
|
703
677
|
});
|
|
704
678
|
export {
|
|
705
|
-
|
|
706
|
-
|
|
679
|
+
C9 as OneMainLayout,
|
|
680
|
+
x0 as OneSidebar
|
|
707
681
|
};
|