ninegrid2 6.331.0 → 6.333.0
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/ai/aiMessage.js +1 -1
- package/dist/bundle.cjs.js +8 -3
- package/dist/bundle.esm.js +8 -3
- package/dist/utils/ninegrid.js +7 -2
- package/package.json +1 -1
- package/src/ai/aiMessage.js +1 -1
- package/src/utils/ninegrid.js +7 -2
package/dist/ai/aiMessage.js
CHANGED
|
@@ -49,7 +49,7 @@ class aiMessage extends HTMLElement
|
|
|
49
49
|
#init = () => {
|
|
50
50
|
|
|
51
51
|
const html = `
|
|
52
|
-
<nine-grid display-row-count="5" select-type="row" auto-fit-col="true" show-title-bar="true" show-menu-icon="true" show-status-bar="true" enable-fixed-col="true" row-resizable="false" col-movable="true">
|
|
52
|
+
<nine-grid display-row-count="5" show-title-bar="false" show-status-bar="false" select-type="row" auto-fit-col="true" show-title-bar="true" show-menu-icon="true" show-status-bar="true" enable-fixed-col="true" row-resizable="false" col-movable="true">
|
|
53
53
|
<table>
|
|
54
54
|
<caption>Sheet1</caption>
|
|
55
55
|
<thead>
|
package/dist/bundle.cjs.js
CHANGED
|
@@ -11038,9 +11038,14 @@ class ninegrid {
|
|
|
11038
11038
|
};
|
|
11039
11039
|
|
|
11040
11040
|
static isEllipsis = (element) => {
|
|
11041
|
+
const computedStyle = window.getComputedStyle(element);
|
|
11042
|
+
|
|
11043
|
+
|
|
11041
11044
|
const clone = element.cloneNode(true);
|
|
11042
|
-
clone.style.
|
|
11043
|
-
clone.style.
|
|
11045
|
+
clone.style.fontFamily = computedStyle.fontFamily;
|
|
11046
|
+
clone.style.fontSize = computedStyle.fontSize;
|
|
11047
|
+
clone.style.lineHeight = computedStyle.lineHeight;
|
|
11048
|
+
clone.style.width = computedStyle.width; // 원본 너비 유지
|
|
11044
11049
|
//clone.style.visibility = "hidden";
|
|
11045
11050
|
document.body.appendChild(clone);
|
|
11046
11051
|
|
|
@@ -27351,7 +27356,7 @@ class aiMessage extends HTMLElement
|
|
|
27351
27356
|
#init = () => {
|
|
27352
27357
|
|
|
27353
27358
|
const html = `
|
|
27354
|
-
<nine-grid display-row-count="5" select-type="row" auto-fit-col="true" show-title-bar="true" show-menu-icon="true" show-status-bar="true" enable-fixed-col="true" row-resizable="false" col-movable="true">
|
|
27359
|
+
<nine-grid display-row-count="5" show-title-bar="false" show-status-bar="false" select-type="row" auto-fit-col="true" show-title-bar="true" show-menu-icon="true" show-status-bar="true" enable-fixed-col="true" row-resizable="false" col-movable="true">
|
|
27355
27360
|
<table>
|
|
27356
27361
|
<caption>Sheet1</caption>
|
|
27357
27362
|
<thead>
|
package/dist/bundle.esm.js
CHANGED
|
@@ -11036,9 +11036,14 @@ class ninegrid {
|
|
|
11036
11036
|
};
|
|
11037
11037
|
|
|
11038
11038
|
static isEllipsis = (element) => {
|
|
11039
|
+
const computedStyle = window.getComputedStyle(element);
|
|
11040
|
+
|
|
11041
|
+
|
|
11039
11042
|
const clone = element.cloneNode(true);
|
|
11040
|
-
clone.style.
|
|
11041
|
-
clone.style.
|
|
11043
|
+
clone.style.fontFamily = computedStyle.fontFamily;
|
|
11044
|
+
clone.style.fontSize = computedStyle.fontSize;
|
|
11045
|
+
clone.style.lineHeight = computedStyle.lineHeight;
|
|
11046
|
+
clone.style.width = computedStyle.width; // 원본 너비 유지
|
|
11042
11047
|
//clone.style.visibility = "hidden";
|
|
11043
11048
|
document.body.appendChild(clone);
|
|
11044
11049
|
|
|
@@ -27349,7 +27354,7 @@ class aiMessage extends HTMLElement
|
|
|
27349
27354
|
#init = () => {
|
|
27350
27355
|
|
|
27351
27356
|
const html = `
|
|
27352
|
-
<nine-grid display-row-count="5" select-type="row" auto-fit-col="true" show-title-bar="true" show-menu-icon="true" show-status-bar="true" enable-fixed-col="true" row-resizable="false" col-movable="true">
|
|
27357
|
+
<nine-grid display-row-count="5" show-title-bar="false" show-status-bar="false" select-type="row" auto-fit-col="true" show-title-bar="true" show-menu-icon="true" show-status-bar="true" enable-fixed-col="true" row-resizable="false" col-movable="true">
|
|
27353
27358
|
<table>
|
|
27354
27359
|
<caption>Sheet1</caption>
|
|
27355
27360
|
<thead>
|
package/dist/utils/ninegrid.js
CHANGED
|
@@ -335,9 +335,14 @@ export class ninegrid {
|
|
|
335
335
|
};
|
|
336
336
|
|
|
337
337
|
static isEllipsis = (element) => {
|
|
338
|
+
const computedStyle = window.getComputedStyle(element);
|
|
339
|
+
|
|
340
|
+
|
|
338
341
|
const clone = element.cloneNode(true);
|
|
339
|
-
clone.style.
|
|
340
|
-
clone.style.
|
|
342
|
+
clone.style.fontFamily = computedStyle.fontFamily;
|
|
343
|
+
clone.style.fontSize = computedStyle.fontSize;
|
|
344
|
+
clone.style.lineHeight = computedStyle.lineHeight;
|
|
345
|
+
clone.style.width = computedStyle.width; // 원본 너비 유지
|
|
341
346
|
//clone.style.visibility = "hidden";
|
|
342
347
|
document.body.appendChild(clone);
|
|
343
348
|
|
package/package.json
CHANGED
package/src/ai/aiMessage.js
CHANGED
|
@@ -49,7 +49,7 @@ class aiMessage extends HTMLElement
|
|
|
49
49
|
#init = () => {
|
|
50
50
|
|
|
51
51
|
const html = `
|
|
52
|
-
<nine-grid display-row-count="5" select-type="row" auto-fit-col="true" show-title-bar="true" show-menu-icon="true" show-status-bar="true" enable-fixed-col="true" row-resizable="false" col-movable="true">
|
|
52
|
+
<nine-grid display-row-count="5" show-title-bar="false" show-status-bar="false" select-type="row" auto-fit-col="true" show-title-bar="true" show-menu-icon="true" show-status-bar="true" enable-fixed-col="true" row-resizable="false" col-movable="true">
|
|
53
53
|
<table>
|
|
54
54
|
<caption>Sheet1</caption>
|
|
55
55
|
<thead>
|
package/src/utils/ninegrid.js
CHANGED
|
@@ -335,9 +335,14 @@ export class ninegrid {
|
|
|
335
335
|
};
|
|
336
336
|
|
|
337
337
|
static isEllipsis = (element) => {
|
|
338
|
+
const computedStyle = window.getComputedStyle(element);
|
|
339
|
+
|
|
340
|
+
|
|
338
341
|
const clone = element.cloneNode(true);
|
|
339
|
-
clone.style.
|
|
340
|
-
clone.style.
|
|
342
|
+
clone.style.fontFamily = computedStyle.fontFamily;
|
|
343
|
+
clone.style.fontSize = computedStyle.fontSize;
|
|
344
|
+
clone.style.lineHeight = computedStyle.lineHeight;
|
|
345
|
+
clone.style.width = computedStyle.width; // 원본 너비 유지
|
|
341
346
|
//clone.style.visibility = "hidden";
|
|
342
347
|
document.body.appendChild(clone);
|
|
343
348
|
|