@aplus-frontend/ui 7.7.0 → 7.7.1
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/es/src/ag-grid/components/tooltip/index.vue.d.ts +1 -1
- package/es/src/ag-grid/components/tooltip/index.vue2.mjs +12 -11
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/src/ag-grid/components/tooltip/index.vue.d.ts +1 -1
- package/lib/src/ag-grid/components/tooltip/index.vue2.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +1 -1
|
@@ -2,5 +2,5 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
params: any;
|
|
4
4
|
};
|
|
5
|
-
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
5
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
6
|
export default _default;
|
|
@@ -1,29 +1,30 @@
|
|
|
1
|
-
import { defineComponent as p, ref as
|
|
1
|
+
import { defineComponent as p, ref as u, onMounted as m, withDirectives as d, openBlock as v, createElementBlock as f, normalizeClass as g, unref as h, toDisplayString as w, vShow as _ } from "vue";
|
|
2
2
|
import "../../../config-provider/index.mjs";
|
|
3
3
|
import { useNamespace as x } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
4
|
-
const
|
|
4
|
+
const k = /* @__PURE__ */ p({
|
|
5
5
|
__name: "index",
|
|
6
6
|
props: {
|
|
7
7
|
params: {}
|
|
8
8
|
},
|
|
9
9
|
setup(l) {
|
|
10
|
-
const n = l, e =
|
|
11
|
-
return
|
|
12
|
-
const { rowIndex: o, column: t, gridWrapperRef:
|
|
10
|
+
const n = l, e = u(!1), { e: i } = x("ag-grid");
|
|
11
|
+
return m(() => {
|
|
12
|
+
const { rowIndex: o, column: t, gridWrapperRef: s, lineClamp: c } = n.params, r = s.value?.querySelector(
|
|
13
13
|
`div.ag-row[row-index="${o}"] .ag-cell[col-id="${t.colId}"] span.ag-cell-value`
|
|
14
14
|
);
|
|
15
15
|
if (!r) {
|
|
16
16
|
e.value = !0;
|
|
17
17
|
return;
|
|
18
18
|
}
|
|
19
|
-
const a =
|
|
19
|
+
const a = c === 1 ? "Width" : "Height";
|
|
20
20
|
e.value = r[`scroll${a}`] > r[`client${a}`];
|
|
21
|
-
}), (o, t) =>
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
}), (o, t) => d((v(), f("div", {
|
|
22
|
+
class: g(h(i)("tooltip"))
|
|
23
|
+
}, w(o.params.value), 3)), [
|
|
24
|
+
[_, e.value]
|
|
25
|
+
]);
|
|
25
26
|
}
|
|
26
27
|
});
|
|
27
28
|
export {
|
|
28
|
-
|
|
29
|
+
k as default
|
|
29
30
|
};
|
package/es/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "7.7.
|
|
1
|
+
declare const _default: "7.7.1";
|
|
2
2
|
export default _default;
|
package/es/src/version.mjs
CHANGED
|
@@ -2,5 +2,5 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
params: any;
|
|
4
4
|
};
|
|
5
|
-
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
5
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
6
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../config-provider/index.js");const p=require("../../../config-provider/hooks/use-namespace.js"),d=e.defineComponent({__name:"index",props:{params:{}},setup(n){const s=n,r=e.ref(!1),{e:
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../config-provider/index.js");const p=require("../../../config-provider/hooks/use-namespace.js"),d=e.defineComponent({__name:"index",props:{params:{}},setup(n){const s=n,r=e.ref(!1),{e:i}=p.useNamespace("ag-grid");return e.onMounted(()=>{const{rowIndex:t,column:l,gridWrapperRef:c,lineClamp:u}=s.params,a=c.value?.querySelector(`div.ag-row[row-index="${t}"] .ag-cell[col-id="${l.colId}"] span.ag-cell-value`);if(!a){r.value=!0;return}const o=u===1?"Width":"Height";r.value=a[`scroll${o}`]>a[`client${o}`]}),(t,l)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(i)("tooltip"))},e.toDisplayString(t.params.value),3)),[[e.vShow,r.value]])}});exports.default=d;
|
package/lib/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "7.7.
|
|
1
|
+
declare const _default: "7.7.1";
|
|
2
2
|
export default _default;
|
package/lib/src/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="7.7.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="7.7.1";exports.default=e;
|