tsviewer 1.0.27 → 1.0.28

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.
@@ -0,0 +1,72 @@
1
+ import { createElementBlock as t, openBlock as s, normalizeClass as i, createCommentVNode as n, renderSlot as a, Fragment as f, createTextVNode as r, toDisplayString as d } from "vue";
2
+ import { e as l } from "./index-BtnXpu3W.mjs";
3
+ const c = {
4
+ name: "BfButton",
5
+ props: {
6
+ type: {
7
+ type: String,
8
+ default: "button"
9
+ },
10
+ autofocus: Boolean,
11
+ disabled: Boolean,
12
+ processing: {
13
+ type: Boolean,
14
+ default: !1
15
+ },
16
+ processingText: {
17
+ type: String,
18
+ default: ""
19
+ }
20
+ },
21
+ computed: {
22
+ hasPrefixSlot: function() {
23
+ return !!this.$slots.prefix;
24
+ },
25
+ hasSuffixSlot: function() {
26
+ return !!this.$slots.suffix;
27
+ }
28
+ },
29
+ methods: {
30
+ /**
31
+ * On click
32
+ * @param {Object} evt
33
+ */
34
+ // handleClick(evt) {
35
+ // // this.$emit('click', evt)
36
+ // }
37
+ }
38
+ }, y = ["disabled", "autofocus", "type"], x = {
39
+ key: 0,
40
+ class: "prefix"
41
+ }, h = {
42
+ key: 3,
43
+ class: "suffix"
44
+ };
45
+ function m(o, p, e, _, b, u) {
46
+ return s(), t("button", {
47
+ class: i(["bf-button", [
48
+ e.type ? "bf-button--" + e.type : "",
49
+ u.hasPrefixSlot ? "hasPrefix" : ""
50
+ ]]),
51
+ disabled: e.disabled || e.processing,
52
+ autofocus: e.autofocus,
53
+ type: e.type
54
+ }, [
55
+ u.hasPrefixSlot ? (s(), t("span", x, [
56
+ a(o.$slots, "prefix", {}, void 0, !0)
57
+ ])) : n("", !0),
58
+ e.processing ? (s(), t(f, { key: 1 }, [
59
+ e.processingText ? (s(), t(f, { key: 0 }, [
60
+ r(d(e.processingText), 1)
61
+ ], 64)) : a(o.$slots, "default", { key: 1 }, void 0, !0)
62
+ ], 64)) : n("", !0),
63
+ e.processing ? n("", !0) : a(o.$slots, "default", { key: 2 }, void 0, !0),
64
+ u.hasSuffixSlot ? (s(), t("span", h, [
65
+ a(o.$slots, "suffix", {}, void 0, !0)
66
+ ])) : n("", !0)
67
+ ], 10, y);
68
+ }
69
+ const B = /* @__PURE__ */ l(c, [["render", m], ["__scopeId", "data-v-6ad8939b"]]);
70
+ export {
71
+ B as default
72
+ };
@@ -0,0 +1,37 @@
1
+ import { createElementBlock as o, openBlock as h, createElementVNode as n } from "vue";
2
+ import { e as r } from "./index-BtnXpu3W.mjs";
3
+ const i = {
4
+ name: "IconSelection",
5
+ props: {
6
+ width: {
7
+ type: Number,
8
+ default: 16
9
+ },
10
+ height: {
11
+ type: Number,
12
+ default: 16
13
+ },
14
+ color: {
15
+ type: String,
16
+ default: "currentColor"
17
+ }
18
+ }
19
+ }, l = ["width", "height", "fill"];
20
+ function c(d, e, t, m, s, a) {
21
+ return h(), o("svg", {
22
+ xmlns: "http://www.w3.org/2000/svg",
23
+ width: t.width,
24
+ height: t.height,
25
+ fill: t.color,
26
+ viewBox: "0 0 24 24"
27
+ }, e[0] || (e[0] = [
28
+ n("path", {
29
+ pid: "0",
30
+ d: "M16 10V7h-4V4H4v10h4v3h4v3h8V10zM6 12V6h4v1H8v5zm4 3V9h4v1h-2v5zm8 3h-4v-6h4z"
31
+ }, null, -1)
32
+ ]), 8, l);
33
+ }
34
+ const v = /* @__PURE__ */ r(i, [["render", c]]);
35
+ export {
36
+ v as I
37
+ };