oeos-components 0.2.23 → 0.2.24
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/{index-C2Q04YaE.js → index-6I_N2Hxr.js} +1 -1
- package/dist/{index-CiU-dy8E.js → index-AFQMmv03.js} +1 -1
- package/dist/index-BDS5t5f9.js +22 -0
- package/dist/{index-B-ygmUzr.js → index-BDybZzPP.js} +3 -3
- package/dist/{index-CeFiQw-e.js → index-BPw0UyO2.js} +1 -1
- package/dist/{index-rU8G4dAk.js → index-BXcvEPsH.js} +1 -1
- package/dist/{index-Pgb7joEc.js → index-Bc1JbUHT.js} +22 -22
- package/dist/{index-BlSRGbTa.js → index-BeuC7zs0.js} +2 -2
- package/dist/{index-pLYGaLJF.js → index-Bk9UpUAG.js} +1 -1
- package/dist/{index-BhUjVpDn.js → index-BsIl7YEZ.js} +1 -1
- package/dist/{index-DJ_UAr-6.js → index-Bvx3NTB9.js} +1 -1
- package/dist/{index-Bx7LxMPA.js → index-ByqWuoM-.js} +2 -2
- package/dist/{index-C8CBmVdg.js → index-C0C14Cyh.js} +1 -1
- package/dist/{index-C4zebkH-.js → index-C59qBt31.js} +1 -1
- package/dist/{index-DmTxRLqL.js → index-CBPTnB7I.js} +1 -1
- package/dist/{index-dYBFnUgu.js → index-CKt3KEsP.js} +1 -1
- package/dist/{index-DUTNY_YA.js → index-CYVvQwXf.js} +3 -3
- package/dist/{index-l1_Vs-iC.js → index-CZE57h1w.js} +1 -1
- package/dist/index-CeNW2Gb2.js +21 -0
- package/dist/{index-Dj1Fc-fq.js → index-CmqYy4Vs.js} +1 -1
- package/dist/{index-Bb3fGUsu.js → index-CzA3GSDj.js} +1 -1
- package/dist/{index-DRsDXefI.js → index-CzvtGSyF.js} +1 -1
- package/dist/{index-NXvTgPcC.js → index-DA6a6Ugv.js} +1 -1
- package/dist/{index-CwWhE2XM.js → index-DEuKeoEm.js} +1 -1
- package/dist/{index-CI7M5JUV.js → index-Dcxwjd2e.js} +2 -2
- package/dist/{index-CzOkH60S.js → index-DfiY9uUH.js} +2 -2
- package/dist/{index-BdG9MfHW.js → index-FqLNWrgU.js} +1 -1
- package/dist/{index-D6ltpHL0.js → index-ZK1iPOPN.js} +3 -3
- package/dist/index.esm.min-CAtOnJMt.js +8962 -0
- package/dist/oeos-components-es.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, computed as f, createElementBlock as n, openBlock as p, mergeProps as d, createElementVNode as c, createCommentVNode as h, renderSlot as m, normalizeStyle as y, normalizeClass as w, toDisplayString as g } from "vue";
|
|
2
|
-
import { p as s, _ as b, w as S } from "./index-
|
|
2
|
+
import { p as s, _ as b, w as S } from "./index-Bc1JbUHT.js";
|
|
3
3
|
const _ = { class: "o-title__top" }, x = { key: 0, src: "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1742261310954'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='12261'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M800.512%20474.944h-377.6a24.256%2024.256%200%200%200-24.32%2024.32c0%2013.504%2010.816%2024.32%2024.32%2024.32h377.6c13.504%200%2024.32-10.816%2024.32-24.32a24.576%2024.576%200%200%200-24.32-24.32z%20m-377.6%20203.776a24.256%2024.256%200%200%200-24.32%2024.32c0%2013.504%2010.816%2024.32%2024.32%2024.32h377.6c13.504%200%2024.32-10.816%2024.32-24.32a24.576%2024.576%200%200%200-24.32-24.32h-377.6z'%20fill='%23101317'%20p-id='12262'%3e%3c/path%3e%3cpath%20d='M928.064%20209.6h-252.736l-5.376-15.68c-37.824-104.832-110.272-129.728-164.288-132.416h-409.728a62.592%2062.592%200%200%200-62.72%2062.144v776.704c0%2034.048%2028.096%2062.144%2062.72%2062.144h832.128a62.72%2062.72%200%200%200%2062.72-62.144v-628.608a62.272%2062.272%200%200%200-62.72-62.144z%20m-848.384-56.256c0-48.128%2017.856-41.6%2090.816-41.6h261.056c110.784%200%20139.456%2023.808%20160.512%2061.056l15.68%2036.736h-528.064v-56.192z%20m773.248%20759.424H170.496c-74.56%200-86.464-5.952-86.464-85.952v-566.464h784.576c78.912%200%2070.784%2030.784%2070.784%2085.952v492.928c0.064%2072.448-25.344%2073.536-86.464%2073.536z'%20fill='%23101317'%20p-id='12263'%3e%3c/path%3e%3cpath%20d='M196.992%20536.576h78.912v-78.912h-78.912v78.912z%20m0%20205.952h78.912v-78.912h-78.912v78.912z'%20fill='%23101317'%20p-id='12264'%3e%3c/path%3e%3c/svg%3e", width: "14", height: "14", alt: "Logo", class: "m-r-4" }, z = { class: "title-text" }, T = u({ name: "OTitle" }), k = S(b(u({ ...T, props: { title: { type: String, default: "" }, size: { type: String, default: "" }, subTitle: { type: String, default: "" }, subAttrs: { type: Object, default: () => ({}) }, inner: { type: Boolean, defalut: !1 }, t: { type: [String, Number], default: "" }, b: { type: [String, Number], default: "" }, l: { type: [String, Number], default: "" }, tb: { type: [String, Number] }, type: { type: String, default: "icon" } }, setup(e) {
|
|
4
4
|
const o = e, v = f(() => {
|
|
5
5
|
const { t, b: i, l: r, tb: l } = o;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, computed as r, resolveComponent as v, createBlock as s, openBlock as t, normalizeProps as n, guardReactiveProps as d, withCtx as u, renderSlot as i, createElementBlock as f, Fragment as g, renderList as S, resolveDynamicComponent as B, mergeProps as h, createTextVNode as k, toDisplayString as w } from "vue";
|
|
2
|
-
import { w as C } from "./index-
|
|
2
|
+
import { w as C } from "./index-Bc1JbUHT.js";
|
|
3
3
|
const x = p({ name: "ORadio" }), T = C(p({ ...x, props: { type: { type: String, validator: (a) => ["boolean", "simple", ""].includes(a), default: "" }, showType: { type: String, validator: (a) => ["radio", "button"].includes(a), default: "radio" }, options: { type: Array, default: () => [] }, border: { type: Boolean, default: !1 }, value: { type: [String, Number, Boolean], default: "value" }, label: { type: [String, Number, Boolean], default: "label" }, subAttrs: { type: Object, default: () => ({}) } }, setup(a) {
|
|
4
4
|
const e = a, b = r(() => ({ radio: "el-radio", button: "el-radio-button" })[e.showType] ?? "el-radio"), m = r(() => e.type === "boolean" ? [{ label: !0, value: !0 }, { label: !1, value: !1 }] : e.type === "simple" && e.options.length > 0 ? e.options.map((o) => ({ label: o, value: o })) : e.options);
|
|
5
5
|
return (o, A) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as s, ref as p, watch as i, resolveComponent as m, createElementBlock as u, openBlock as d, createVNode as v, mergeProps as g, withCtx as f, renderSlot as h } from "vue";
|
|
2
|
-
import { _ as w, w as N } from "./index-
|
|
2
|
+
import { _ as w, w as N } from "./index-Bc1JbUHT.js";
|
|
3
3
|
const _ = { class: "o-progress" }, b = s({ name: "OProgress" }), B = N(w(s({ ...b, props: { percentage: { type: Number, required: !0 }, animationTime: { type: Number, default: 500 }, isAnimation: { type: Boolean, default: !0 } }, setup(n) {
|
|
4
4
|
const e = n, l = { "stroke-width": 16 }, t = p(0), c = (a) => a < 30 ? "#909399" : a < 70 ? "#e6a23c" : "#67c23a";
|
|
5
5
|
return i(() => e.percentage, (a) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, computed as g, resolveComponent as c, createBlock as a, openBlock as n, normalizeClass as k, withCtx as r, createVNode as _, mergeProps as i, createElementVNode as C, unref as d, resolveDynamicComponent as z } from "vue";
|
|
2
|
-
import { O, t as m, _ as S, E as $ } from "./index-
|
|
2
|
+
import { O, t as m, _ as S, E as $ } from "./index-Bc1JbUHT.js";
|
|
3
3
|
const j = { ref: "contentRef" }, x = p({ name: "OIcon" }), B = p({ ...x, props: { name: { type: String, required: !0 }, color: { type: String }, size: { type: [String, Number], default: "16px" }, disabled: { type: Boolean, default: !1 }, type: { type: String, default: "" }, svgAttrs: { type: Object, default: () => ({}) } }, emits: ["click"], setup(t, { emit: o }) {
|
|
4
4
|
const e = t, f = o;
|
|
5
5
|
function u(s) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as s, getCurrentInstance as o, resolveComponent as a, createBlock as r, openBlock as n, mergeProps as c } from "vue";
|
|
2
|
-
import { _ as p, w as m } from "./index-
|
|
2
|
+
import { _ as p, w as m } from "./index-Bc1JbUHT.js";
|
|
3
3
|
const l = s({ name: "OSwitch" }), h = m(p(s({ ...l, setup(u) {
|
|
4
4
|
const { proxy: i } = o();
|
|
5
5
|
return (t, f) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as Q, getCurrentInstance as W, useAttrs as _, useSlots as z, computed as m, ref as w, watch as q, resolveComponent as v, createElementBlock as p, openBlock as u, normalizeStyle as H, normalizeClass as Z, unref as g, createVNode as b, createCommentVNode as F, mergeProps as L, createSlots as M, withCtx as c, withModifiers as $, createTextVNode as ee, Fragment as le, renderList as x, createBlock as te, renderSlot as k, toDisplayString as V, createElementVNode as I, pushScopeId as ae, popScopeId as oe } from "vue";
|
|
2
|
-
import { i as S, p as se, _ as ie, w as ne } from "./index-
|
|
3
|
-
import ue from "./index-
|
|
2
|
+
import { i as S, p as se, _ as ie, w as ne } from "./index-Bc1JbUHT.js";
|
|
3
|
+
import ue from "./index-CZE57h1w.js";
|
|
4
4
|
const re = { key: 0 }, de = { key: 1 }, pe = { key: 0, class: "po-r" }, ce = ((o) => (ae("data-v-d3a669d0"), o = o(), oe(), o))(() => I("div", { class: "mt" }, "全选", -1)), me = ["src"], ge = Q({ name: "OSelect" }), ye = ne(ie(Q({ ...ge, props: { modelValue: { type: [Array, String, Number] }, value: { type: String, default: "value" }, label: { type: [String, Array], default: "label" }, options: { type: Array, default: () => [] }, type: { type: String, default: "" }, multiple: { type: Boolean, default: !1 }, showAll: { type: Boolean, default: !0 }, showPrefix: { type: Boolean, default: !1 }, showQuick: { type: Boolean, default: !0 }, title: { type: String, default: "" }, connect: { type: String, default: "/" }, customLabel: { type: [Function, String], default: "" }, width: { type: [String, Number], default: "" }, disPlaceholder: { type: String, default: "" }, optionDisabled: { type: Function, default: () => {
|
|
5
5
|
} }, url: { type: [String, Function], default: "" }, urlParams: { type: Object, default: () => {
|
|
6
6
|
} }, optionsExpression: { type: String, default: "" }, emptyColor: { type: Boolean, default: !1 } }, emits: ["changeSelect", "update:modelValue", "change"], setup(o, { emit: N }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as s, computed as l, createElementBlock as a, openBlock as n, mergeProps as A, unref as r, createBlock as i, renderSlot as g, createElementVNode as p } from "vue";
|
|
2
|
-
import m from "./index-
|
|
3
|
-
import { p as y, _ as b, w as d } from "./index-
|
|
2
|
+
import m from "./index-DA6a6Ugv.js";
|
|
3
|
+
import { p as y, _ as b, w as d } from "./index-Bc1JbUHT.js";
|
|
4
4
|
const h = { key: 0, src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAqJJREFUWEftl0tPE2EUht/TGW90oKWlJhqXeI0ujIQF0b9gXIhJt0oKM1VD2Lhi5cqNIQpTWi9bEnFh/AsaFo3GhXdhqya0UyhM8UJnjk5bDHTaudQqG77dZM457zPvOedLhrDNh7ZZHzsAOw607MCi0tUrsnEPBBYgJELqykIrA90ygCZLN0G4URFl3Iqm9PH/BqANSycg4CWAvTXR7zBwJprW3/mF8O3AlwQ69ojBOwBd2SrGD36US9cPZrDmB8I3QEEJxhmUAhCqEyoSWI6opZl/BsCDEAr7g3Ng6m8oQpyNLJYGaBaGVwjPDlTEY8GrAE04F+fRSK406RXCM0BO7jxKxDMEnLYACFgA8/0KDNEQA73VhcArZorHUqsfvbjgGUBLSmkwEpuKPjfL5iXrOSAGHgE4++cdIROd0ofbBpBXpOMEZAFIngAAnYH+HlV/7wbh6sCyHOo2yXjIwIW6Ys0dqLboSYCFy+FUcckJwhVAU6SLAKxe16+dIwCAIoChqKo/bhlAuxbpgvHzBYDDtiLEWRMsV2bAuhcar+Y8hN190buFlWYQjg7kZSlJhMkmyasAPtXeHQHQ2SiOgGRE1VXfALnhUJ8gGDMb6+U2TA4CC4YhxGPpouWk3chmiXmla4pgjlQcbnzmwTxduwesOHubqnkmIzDdo64kPQNoSucAwM8cxK1abkO4Wc8E6FxUXZ2rh7DNwNJoOGyulzNgDLrY/gGg29UYHgNwzDGeMBvYJSa6J5aXN8fZAAqyNMIEq/C+VvveJO8bMcYiKb3attqxAWiK9BrAyTaLb5R7+/te2FLbBpBXgk8JOAUEXC8pf5CmycCbHrV03tGBXKLjAIniIZjt/WkRmcx1Xv8cy6x9dQTw91V/H91mm/0D7QD8AkUR3SFsA4XSAAAAAElFTkSuQmCC", class: "icon" }, u = s({ name: "OWarning" }), C = d(b(s({ ...u, props: { content: { type: String, required: !0 }, type: { type: String, default: "" }, width: { type: [String, Number], default: "100%" }, dangerouslyUseHTMLString: { type: Boolean, default: !1 } }, setup(e) {
|
|
5
5
|
const t = e, c = l(() => t.dangerouslyUseHTMLString ? { innerHTML: t.content } : { textContent: t.content });
|
|
6
6
|
return (o, E) => (n(), a("div", A({ class: [e.type === "icon" ? "icon-box" : e.type === "info" ? "info-box" : "warning-box", "base-box"], style: { ...r(y)(t.width) } }, o.$attrs), [e.type === "" ? (n(), a("img", h)) : (n(), i(r(m), A({ key: 1, name: "warning", color: "var(--45)" }, o.$attrs, { class: "icon", size: "16" }), null, 16, ["color"])), g(o.$slots, "content", {}, () => [p("span", A({ class: ["warning-box__content", e.type === "icon" && "cl-45 fs-14"] }, c.value), null, 16)], !0)], 16));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getCurrentInstance as J, ref as j, watch as B, nextTick as M, computed as x, defineComponent as G, useAttrs as U, resolveComponent as V, createElementBlock as q, openBlock as h, mergeProps as w, createVNode as F, createBlock as C, createCommentVNode as E, unref as O, withCtx as u, createElementVNode as W, isRef as L, createSlots as T, normalizeStyle as I, toDisplayString as z, renderSlot as b } from "vue";
|
|
2
|
-
import { m as R, p as D, _ as H, w as K } from "./index-
|
|
2
|
+
import { m as R, p as D, _ as H, w as K } from "./index-Bc1JbUHT.js";
|
|
3
3
|
function Q(n, o, a, y = {}) {
|
|
4
4
|
var f, r, $;
|
|
5
5
|
const { clone: v = !1, passive: g = !1, eventName: k, deep: A = !1, defaultValue: N, shouldEmit: S } = y, i = J(), _ = (i == null ? void 0 : i.emit) || ((f = i == null ? void 0 : i.$emit) == null ? void 0 : f.bind(i)) || (($ = (r = i == null ? void 0 : i.proxy) == null ? void 0 : r.$emit) == null ? void 0 : $.bind(i == null ? void 0 : i.proxy));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as f, ref as c, watch as b, createElementBlock as n, openBlock as u, createElementVNode as d, createBlock as C, createCommentVNode as w, createVNode as _, Fragment as A, renderList as B, normalizeClass as D, toDisplayString as K, unref as m, withKeys as j, withModifiers as E } from "vue";
|
|
2
|
-
import I from "./index-
|
|
3
|
-
import N from "./index-
|
|
4
|
-
import { o as p, $ as v, _ as O, w as L } from "./index-
|
|
2
|
+
import I from "./index-FqLNWrgU.js";
|
|
3
|
+
import N from "./index-DA6a6Ugv.js";
|
|
4
|
+
import { o as p, $ as v, _ as O, w as L } from "./index-Bc1JbUHT.js";
|
|
5
5
|
const S = { class: "o-input-box cl-blue" }, $ = { class: "o-input-box__content" }, z = { key: 0, class: "spanclose", style: { cursor: "not-allowed" } }, F = ["onClick"], M = f({ name: "OInputLabel" }), P = L(O(f({ ...M, props: { modelValue: { type: Array, default: () => [] }, isComplex: { type: Boolean, default: !1 }, regexp: { tupe: RegExp, default: "" }, message: { tupe: String, default: "输入有误" }, inputAttrs: { type: Object, default: () => ({}) } }, emits: ["update:modelValue"], setup(g, { expose: x, emit: h }) {
|
|
6
6
|
const t = c(""), l = c([]), o = g, r = h;
|
|
7
7
|
function y() {
|