@opentiny/tiny-robot 0.3.0-alpha.0 → 0.3.0-alpha.2
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/action-group/index.js +13 -13
- package/dist/bubble/index.js +2141 -1360
- package/dist/close.js +1 -1
- package/dist/container/index.js +7 -7
- package/dist/dropdown-menu/index.js +38 -37
- package/dist/feedback/index.js +46 -45
- package/dist/flow-layout-buttons/index.js +20 -20
- package/dist/history/index.js +34 -35
- package/dist/index.d.ts +329 -290
- package/dist/index.js +62 -59
- package/dist/index2.js +343 -394
- package/dist/index3.js +129 -3717
- package/dist/index4.js +7 -7
- package/dist/index5.js +931 -2011
- package/dist/index6.js +1020 -891
- package/dist/loading.js +4 -0
- package/dist/prompts/index.js +2 -3
- package/dist/question/index.js +59 -59
- package/dist/sender/index.js +1017 -1025
- package/dist/style.css +1 -1
- package/dist/suggestion/index.js +95 -95
- package/dist/suggestion-pills/index.js +130 -109
- package/dist/suggestion-popover/index.js +243 -127
- package/dist/tiny-robot-svgs.js +211 -488
- package/dist/utils.js +15 -4
- package/package.json +4 -3
- package/dist/attachments/index.js +0 -602
package/dist/index4.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as w, $ as I,
|
|
1
|
+
import { n as w, $ as I, y as H, S as z, Q as R, Z as _, h as W, e as U, t as L, P as Q, d as F, i as Z, j as $, k as q, l as G, a as Y, c as j, o as K, q as X, f as J, b as ee } from "./index6.js";
|
|
2
2
|
import * as N from "vue";
|
|
3
3
|
import { withDirectives as te, createVNode as M, vShow as ne } from "vue";
|
|
4
4
|
const k = (e) => e.stopPropagation(), V = ({ state: e, props: t, vm: n, slots: r }) => {
|
|
@@ -118,7 +118,7 @@ const k = (e) => e.stopPropagation(), V = ({ state: e, props: t, vm: n, slots: r
|
|
|
118
118
|
}, ye = ({ api: e, props: t }) => W(t.closeDelay, () => {
|
|
119
119
|
e.handleClosePopper();
|
|
120
120
|
}), be = (e) => (t) => {
|
|
121
|
-
t ? U(e.referenceElm, "focusing") :
|
|
121
|
+
t ? U(e.referenceElm, "focusing") : L(e.referenceElm, "focusing");
|
|
122
122
|
}, he = ({ slots: e, api: t }) => () => {
|
|
123
123
|
if (!e.default || !e.default().length) {
|
|
124
124
|
t.handleFocus();
|
|
@@ -160,7 +160,7 @@ const k = (e) => e.stopPropagation(), V = ({ state: e, props: t, vm: n, slots: r
|
|
|
160
160
|
timeout: null,
|
|
161
161
|
focusing: !1,
|
|
162
162
|
expectedState: void 0,
|
|
163
|
-
tooltipId:
|
|
163
|
+
tooltipId: Q("tiny-tooltip-", 4),
|
|
164
164
|
tabindex: p.tabindex,
|
|
165
165
|
xPlacement: "bottom",
|
|
166
166
|
showContent: c("showContent", null),
|
|
@@ -374,7 +374,7 @@ var A = /* @__PURE__ */ F({
|
|
|
374
374
|
}
|
|
375
375
|
}),
|
|
376
376
|
setup: function(t, n) {
|
|
377
|
-
return
|
|
377
|
+
return Y({
|
|
378
378
|
props: t,
|
|
379
379
|
context: n,
|
|
380
380
|
renderless: Se,
|
|
@@ -396,7 +396,7 @@ var A = /* @__PURE__ */ F({
|
|
|
396
396
|
this.d({
|
|
397
397
|
popperVM: {
|
|
398
398
|
get: function() {
|
|
399
|
-
return r.value || (r.value =
|
|
399
|
+
return r.value || (r.value = Z({
|
|
400
400
|
el: document.createElement("div"),
|
|
401
401
|
propsData: null,
|
|
402
402
|
component: {
|
|
@@ -432,7 +432,7 @@ var A = /* @__PURE__ */ F({
|
|
|
432
432
|
}
|
|
433
433
|
}, [m ? M("div", {
|
|
434
434
|
class: "tiny-tooltip__content-wrapper",
|
|
435
|
-
style: "max-height:" + t.contentMaxHeight
|
|
435
|
+
style: "max-height:" + t.contentMaxHeight + ";"
|
|
436
436
|
}, [i]) : i]), [[ne, !t.disabled && t.state.showPopper && i]])]);
|
|
437
437
|
}
|
|
438
438
|
}
|
|
@@ -458,7 +458,7 @@ var A = /* @__PURE__ */ F({
|
|
|
458
458
|
}, c = p();
|
|
459
459
|
if (!c) return null;
|
|
460
460
|
var o = c.data || c.props || (c.props = {});
|
|
461
|
-
return o.class =
|
|
461
|
+
return o.class = q("tiny-tooltip " + G(o.class)), c;
|
|
462
462
|
}
|
|
463
463
|
});
|
|
464
464
|
function D() {
|