@bagelink/vue 1.2.119 → 1.2.121
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/components/ImportData.vue.d.ts.map +1 -1
- package/dist/components/Spreadsheet/Index.vue.d.ts.map +1 -1
- package/dist/components/Spreadsheet/SpreadsheetTable.vue.d.ts.map +1 -1
- package/dist/index.cjs +13 -14
- package/dist/index.mjs +13 -14
- package/dist/style.css +62 -36
- package/package.json +1 -1
- package/src/components/ImportData.vue +1 -0
- package/src/components/Spreadsheet/Index.vue +6 -1
- package/src/components/Spreadsheet/SpreadsheetTable.vue +29 -3
- package/src/components/layout/Layout.vue +1 -1
- package/src/components/lightbox/index.ts +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImportData.vue.d.ts","sourceRoot":"","sources":["../../src/components/ImportData.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ImportData.vue.d.ts","sourceRoot":"","sources":["../../src/components/ImportData.vue"],"names":[],"mappings":"AA66DA,OAAO,KAAK,EAAE,cAAc,EAAU,MAAM,eAAe,CAAA;yBAoB1C,CAAC,EACjB,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WAsvFO,mBAAmB,CAAC;;;iBAhtFlB,cAAc,CAAC,CAAC,CAAC;gBAClB,MAAM;mBA+sF+E,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;cA5sFN,eAAe,QAAQ,CAAC,EAAE,KAAG,IAAI;EAgtFlC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAjwFzE,wBAiwF4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Spreadsheet/Index.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Spreadsheet/Index.vue"],"names":[],"mappings":"AAoyBA,KAAK,YAAY,GAAG,MAAM,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,YAAY,GAAG,OAAO,GAAG,SAAS,CAAA;AAEhG,UAAU,YAAY;IACrB,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,MAAM,CAAC,EAAE,YAAY,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,YAAY,CAAC,EAAE,GAAG,CAAA;CAClB;AAGD,UAAU,KAAK;IACd,UAAU,EAAE,KAAK,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC,CAAA;IACzC,YAAY,CAAC,EAAE,YAAY,EAAE,CAAA;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,OAAO,CAAA;CACrB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6qCD,wBASG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpreadsheetTable.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Spreadsheet/SpreadsheetTable.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SpreadsheetTable.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Spreadsheet/SpreadsheetTable.vue"],"names":[],"mappings":"AA2WA,UAAU,YAAY;IACrB,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;CACX;AAED,UAAU,YAAY;IACrB,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,YAAY,GAAG,OAAO,GAAG,SAAS,CAAA;IACrF,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,YAAY,CAAC,EAAE,GAAG,CAAA;CAClB;AAED,UAAU,KAAK;IACd,OAAO,EAAE,YAAY,EAAE,CAAA;IACvB,IAAI,EAAE,KAAK,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC,CAAA;IACnC,OAAO,EAAE,OAAO,CAAA;IAChB,cAAc,EAAE,OAAO,CAAA;IACvB,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACjC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,aAAa,EAAE,KAAK,GAAG,MAAM,CAAA;IAC7B,cAAc,EAAE,YAAY,GAAG,IAAI,CAAA;IACnC,YAAY,EAAE,YAAY,GAAG,IAAI,CAAA;IACjC,WAAW,EAAE,YAAY,GAAG,IAAI,CAAA;IAChC,eAAe,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB;;;;;;;;AAwSD,wBAQG"}
|
package/dist/index.cjs
CHANGED
|
@@ -34355,7 +34355,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
34355
34355
|
}, {
|
|
34356
34356
|
default: vue.withCtx(() => [
|
|
34357
34357
|
vue.createElementVNode("div", null, [
|
|
34358
|
-
vue.createVNode(vue.unref(
|
|
34358
|
+
vue.createVNode(vue.unref(_sfc_main$5), {
|
|
34359
34359
|
modelValue: previewData.value,
|
|
34360
34360
|
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => previewData.value = $event),
|
|
34361
34361
|
class: "popupPreviewSpreadsheet",
|
|
@@ -34553,7 +34553,7 @@ const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data
|
|
|
34553
34553
|
const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
34554
34554
|
__name: "Layout",
|
|
34555
34555
|
props: {
|
|
34556
|
-
gap: { default:
|
|
34556
|
+
gap: { default: 0.5 },
|
|
34557
34557
|
h100: { type: Boolean, default: false },
|
|
34558
34558
|
columns: { default: () => [] },
|
|
34559
34559
|
mColumns: { default: () => [] },
|
|
@@ -34563,12 +34563,12 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
34563
34563
|
},
|
|
34564
34564
|
setup(__props) {
|
|
34565
34565
|
vue.useCssVars((_ctx) => ({
|
|
34566
|
-
"
|
|
34567
|
-
"
|
|
34568
|
-
"
|
|
34569
|
-
"
|
|
34570
|
-
"
|
|
34571
|
-
"
|
|
34566
|
+
"3438906a": gapSize.value,
|
|
34567
|
+
"32967a85": gridTemplateRows.value,
|
|
34568
|
+
"4974609e": gridTemplateColumns.value,
|
|
34569
|
+
"6323f514": mGapSize.value,
|
|
34570
|
+
"ed3d458c": mGridTemplateRows.value,
|
|
34571
|
+
"016c1648": mGridTemplateColumns.value
|
|
34572
34572
|
}));
|
|
34573
34573
|
const props2 = __props;
|
|
34574
34574
|
const gridTemplateRows = vue.computed(() => props2.rows.length > 0 ? props2.rows.join(" ") : "auto");
|
|
@@ -34594,7 +34594,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
34594
34594
|
};
|
|
34595
34595
|
}
|
|
34596
34596
|
});
|
|
34597
|
-
const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-
|
|
34597
|
+
const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-7835674f"]]);
|
|
34598
34598
|
const _hoisted_1$k = { key: 0 };
|
|
34599
34599
|
const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
34600
34600
|
__name: "SidebarMenu",
|
|
@@ -36866,7 +36866,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
36866
36866
|
};
|
|
36867
36867
|
}
|
|
36868
36868
|
});
|
|
36869
|
-
const SpreadsheetTable = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
36869
|
+
const SpreadsheetTable = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-72033517"]]);
|
|
36870
36870
|
const _hoisted_1$3 = { class: "flex gap-05 py-05 justify-content-end m_flex-wrap" };
|
|
36871
36871
|
const _hoisted_2$1 = {
|
|
36872
36872
|
key: 0,
|
|
@@ -37516,7 +37516,6 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
37516
37516
|
};
|
|
37517
37517
|
}
|
|
37518
37518
|
});
|
|
37519
|
-
const Spreadsheet = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-81050b79"]]);
|
|
37520
37519
|
const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
37521
37520
|
__name: "Title",
|
|
37522
37521
|
props: {
|
|
@@ -38894,13 +38893,13 @@ function bindingToItem(binding, el) {
|
|
|
38894
38893
|
const youtubeRegex = /youtube\.com|youtu\.be/;
|
|
38895
38894
|
const vimeoRegex = /vimeo\.com/;
|
|
38896
38895
|
function urlToName(url) {
|
|
38897
|
-
if (!url) return "";
|
|
38896
|
+
if (!url || typeof url !== "string") return "";
|
|
38898
38897
|
const name = url.split("/").pop() || "";
|
|
38899
38898
|
return name.replace(/\.[^/.]+$/, "");
|
|
38900
38899
|
}
|
|
38901
38900
|
function determineFileType(url) {
|
|
38902
38901
|
var _a;
|
|
38903
|
-
if (!url) return "unknown";
|
|
38902
|
+
if (typeof url !== "string" || !url) return "unknown";
|
|
38904
38903
|
const extension = (url.split(".").pop() || "").toLowerCase();
|
|
38905
38904
|
const altExtension = ((_a = url.split("?")[0].split(".").pop()) == null ? void 0 : _a.toLowerCase()) || "";
|
|
38906
38905
|
if (IMAGE_FORMATS_REGEXP.test(extension) || IMAGE_FORMATS_REGEXP.test(altExtension)) return "image";
|
|
@@ -40049,7 +40048,7 @@ exports.SidebarMenu = SidebarMenu;
|
|
|
40049
40048
|
exports.SignaturePad = _sfc_main$B;
|
|
40050
40049
|
exports.Skeleton = Skeleton;
|
|
40051
40050
|
exports.Slider = Slider;
|
|
40052
|
-
exports.Spreadsheet =
|
|
40051
|
+
exports.Spreadsheet = _sfc_main$5;
|
|
40053
40052
|
exports.TabbedLayout = TabbedLayout;
|
|
40054
40053
|
exports.TableField = TableField;
|
|
40055
40054
|
exports.TableSchema = DataTable;
|
package/dist/index.mjs
CHANGED
|
@@ -34353,7 +34353,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
|
|
|
34353
34353
|
}, {
|
|
34354
34354
|
default: withCtx(() => [
|
|
34355
34355
|
createElementVNode("div", null, [
|
|
34356
|
-
createVNode(unref(
|
|
34356
|
+
createVNode(unref(_sfc_main$5), {
|
|
34357
34357
|
modelValue: previewData.value,
|
|
34358
34358
|
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => previewData.value = $event),
|
|
34359
34359
|
class: "popupPreviewSpreadsheet",
|
|
@@ -34551,7 +34551,7 @@ const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data
|
|
|
34551
34551
|
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
34552
34552
|
__name: "Layout",
|
|
34553
34553
|
props: {
|
|
34554
|
-
gap: { default:
|
|
34554
|
+
gap: { default: 0.5 },
|
|
34555
34555
|
h100: { type: Boolean, default: false },
|
|
34556
34556
|
columns: { default: () => [] },
|
|
34557
34557
|
mColumns: { default: () => [] },
|
|
@@ -34561,12 +34561,12 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
34561
34561
|
},
|
|
34562
34562
|
setup(__props) {
|
|
34563
34563
|
useCssVars((_ctx) => ({
|
|
34564
|
-
"
|
|
34565
|
-
"
|
|
34566
|
-
"
|
|
34567
|
-
"
|
|
34568
|
-
"
|
|
34569
|
-
"
|
|
34564
|
+
"3438906a": gapSize.value,
|
|
34565
|
+
"32967a85": gridTemplateRows.value,
|
|
34566
|
+
"4974609e": gridTemplateColumns.value,
|
|
34567
|
+
"6323f514": mGapSize.value,
|
|
34568
|
+
"ed3d458c": mGridTemplateRows.value,
|
|
34569
|
+
"016c1648": mGridTemplateColumns.value
|
|
34570
34570
|
}));
|
|
34571
34571
|
const props2 = __props;
|
|
34572
34572
|
const gridTemplateRows = computed(() => props2.rows.length > 0 ? props2.rows.join(" ") : "auto");
|
|
@@ -34592,7 +34592,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
34592
34592
|
};
|
|
34593
34593
|
}
|
|
34594
34594
|
});
|
|
34595
|
-
const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-
|
|
34595
|
+
const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-7835674f"]]);
|
|
34596
34596
|
const _hoisted_1$k = { key: 0 };
|
|
34597
34597
|
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
34598
34598
|
__name: "SidebarMenu",
|
|
@@ -36864,7 +36864,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
36864
36864
|
};
|
|
36865
36865
|
}
|
|
36866
36866
|
});
|
|
36867
|
-
const SpreadsheetTable = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
36867
|
+
const SpreadsheetTable = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-72033517"]]);
|
|
36868
36868
|
const _hoisted_1$3 = { class: "flex gap-05 py-05 justify-content-end m_flex-wrap" };
|
|
36869
36869
|
const _hoisted_2$1 = {
|
|
36870
36870
|
key: 0,
|
|
@@ -37514,7 +37514,6 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
37514
37514
|
};
|
|
37515
37515
|
}
|
|
37516
37516
|
});
|
|
37517
|
-
const Spreadsheet = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-81050b79"]]);
|
|
37518
37517
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
37519
37518
|
__name: "Title",
|
|
37520
37519
|
props: {
|
|
@@ -38892,13 +38891,13 @@ function bindingToItem(binding, el) {
|
|
|
38892
38891
|
const youtubeRegex = /youtube\.com|youtu\.be/;
|
|
38893
38892
|
const vimeoRegex = /vimeo\.com/;
|
|
38894
38893
|
function urlToName(url) {
|
|
38895
|
-
if (!url) return "";
|
|
38894
|
+
if (!url || typeof url !== "string") return "";
|
|
38896
38895
|
const name = url.split("/").pop() || "";
|
|
38897
38896
|
return name.replace(/\.[^/.]+$/, "");
|
|
38898
38897
|
}
|
|
38899
38898
|
function determineFileType(url) {
|
|
38900
38899
|
var _a;
|
|
38901
|
-
if (!url) return "unknown";
|
|
38900
|
+
if (typeof url !== "string" || !url) return "unknown";
|
|
38902
38901
|
const extension = (url.split(".").pop() || "").toLowerCase();
|
|
38903
38902
|
const altExtension = ((_a = url.split("?")[0].split(".").pop()) == null ? void 0 : _a.toLowerCase()) || "";
|
|
38904
38903
|
if (IMAGE_FORMATS_REGEXP.test(extension) || IMAGE_FORMATS_REGEXP.test(altExtension)) return "image";
|
|
@@ -40048,7 +40047,7 @@ export {
|
|
|
40048
40047
|
_sfc_main$B as SignaturePad,
|
|
40049
40048
|
Skeleton,
|
|
40050
40049
|
Slider,
|
|
40051
|
-
Spreadsheet,
|
|
40050
|
+
_sfc_main$5 as Spreadsheet,
|
|
40052
40051
|
TabbedLayout,
|
|
40053
40052
|
TableField,
|
|
40054
40053
|
DataTable as TableSchema,
|
package/dist/style.css
CHANGED
|
@@ -2832,6 +2832,7 @@ input[type="range"][data-v-46e22f3e]:active::-webkit-slider-thumb {
|
|
|
2832
2832
|
.popupPreviewSpreadsheet .spreadsheet{
|
|
2833
2833
|
width: 100%;
|
|
2834
2834
|
overflow: auto;
|
|
2835
|
+
height: calc(100vh - 300px);
|
|
2835
2836
|
}
|
|
2836
2837
|
|
|
2837
2838
|
.bgl_bottombar .bgl_btn-flex{
|
|
@@ -2863,18 +2864,18 @@ input[type="range"][data-v-46e22f3e]:active::-webkit-slider-thumb {
|
|
|
2863
2864
|
color: var(--bgl-primary) !important;
|
|
2864
2865
|
}
|
|
2865
2866
|
|
|
2866
|
-
.layout[data-v-
|
|
2867
|
+
.layout[data-v-7835674f] {
|
|
2867
2868
|
min-height: 100px;
|
|
2868
2869
|
display: grid;
|
|
2869
|
-
gap: var(--
|
|
2870
|
-
grid-template-rows: var(--
|
|
2871
|
-
grid-template-columns: var(--
|
|
2870
|
+
gap: var(--3438906a);
|
|
2871
|
+
grid-template-rows: var(--32967a85);
|
|
2872
|
+
grid-template-columns: var(--4974609e);
|
|
2872
2873
|
}
|
|
2873
2874
|
@media screen and (max-width: 910px) {
|
|
2874
|
-
.layout[data-v-
|
|
2875
|
-
gap: var(--
|
|
2876
|
-
grid-template-rows: var(--
|
|
2877
|
-
grid-template-columns: var(--
|
|
2875
|
+
.layout[data-v-7835674f] {
|
|
2876
|
+
gap: var(--6323f514);
|
|
2877
|
+
grid-template-rows: var(--ed3d458c);
|
|
2878
|
+
grid-template-columns: var(--016c1648);
|
|
2878
2879
|
}
|
|
2879
2880
|
}
|
|
2880
2881
|
|
|
@@ -4535,53 +4536,74 @@ body:has(.bg-dark.is-active) {
|
|
|
4535
4536
|
width: 26px;
|
|
4536
4537
|
}
|
|
4537
4538
|
|
|
4538
|
-
.
|
|
4539
|
+
.row-number[data-v-72033517]{
|
|
4539
4540
|
position: sticky;
|
|
4540
|
-
|
|
4541
|
+
inset-inline-start: 0;
|
|
4542
|
+
background: var(--bgl-gray-80);
|
|
4541
4543
|
z-index: 1;
|
|
4542
4544
|
}
|
|
4543
|
-
.
|
|
4545
|
+
.row-number[data-v-72033517]:before{
|
|
4546
|
+
content: '';
|
|
4547
|
+
position: absolute;
|
|
4548
|
+
inset: -1px;
|
|
4549
|
+
border: 1px solid var(--border-color);
|
|
4550
|
+
}
|
|
4551
|
+
.stickyTop[data-v-72033517]{
|
|
4552
|
+
position: sticky;
|
|
4553
|
+
top: 0px;
|
|
4554
|
+
z-index: 2;
|
|
4555
|
+
}
|
|
4556
|
+
.stickyTop[data-v-72033517]:before{
|
|
4557
|
+
content: '1';
|
|
4558
|
+
position: absolute;
|
|
4559
|
+
display: block;
|
|
4560
|
+
inset: 0;
|
|
4561
|
+
border-bottom: 1px solid var(--border-color);
|
|
4562
|
+
}
|
|
4563
|
+
.fixed-columns[data-v-72033517] {
|
|
4544
4564
|
border-right: 2px solid var(--border-color);
|
|
4545
4565
|
}
|
|
4546
|
-
table[data-v-
|
|
4566
|
+
table[data-v-72033517] {
|
|
4547
4567
|
border-collapse: collapse;
|
|
4548
4568
|
}
|
|
4549
|
-
th[data-v-
|
|
4550
|
-
border: 1px solid var(--border-color);
|
|
4569
|
+
th[data-v-72033517], td[data-v-72033517] {
|
|
4551
4570
|
padding: 0.1rem 0.5rem;
|
|
4552
4571
|
min-width: 80px;
|
|
4553
4572
|
background: var(--bgl-white);
|
|
4554
4573
|
user-select: none;
|
|
4555
4574
|
}
|
|
4556
|
-
th[data-v-
|
|
4575
|
+
th[data-v-72033517] {
|
|
4557
4576
|
background: var(--input-bg);
|
|
4558
4577
|
white-space: nowrap;
|
|
4559
4578
|
position: relative;
|
|
4560
4579
|
padding: 0.25rem 0.5rem;
|
|
4561
4580
|
font-weight: 500;
|
|
4562
4581
|
text-align: start;
|
|
4582
|
+
border-bottom: 1px solid var(--border-color);
|
|
4583
|
+
border-inline-start: 1px solid var(--border-color);
|
|
4563
4584
|
}
|
|
4564
|
-
th .bgl_icon-font[data-v-
|
|
4585
|
+
th .bgl_icon-font[data-v-72033517]{
|
|
4565
4586
|
vertical-align: middle;
|
|
4566
4587
|
}
|
|
4567
|
-
td.selected[data-v-
|
|
4588
|
+
td.selected[data-v-72033517] {
|
|
4568
4589
|
background: var(--bgl-primary-light);
|
|
4569
4590
|
}
|
|
4570
|
-
td.locked[data-v-
|
|
4591
|
+
td.locked[data-v-72033517] {
|
|
4571
4592
|
background: var(--bgl-gray-light);
|
|
4572
4593
|
cursor: default;
|
|
4573
4594
|
}
|
|
4574
|
-
td.locked.selected[data-v-
|
|
4595
|
+
td.locked.selected[data-v-72033517] {
|
|
4575
4596
|
background: var(--bgl-primary-light);
|
|
4576
4597
|
}
|
|
4577
|
-
td[data-v-
|
|
4598
|
+
td[data-v-72033517] {
|
|
4599
|
+
border: 1px solid var(--border-color);
|
|
4578
4600
|
height: 40px;
|
|
4579
4601
|
vertical-align: middle;
|
|
4580
4602
|
}
|
|
4581
|
-
td[data-v-
|
|
4603
|
+
td[data-v-72033517]:has(img){
|
|
4582
4604
|
padding: 0;
|
|
4583
4605
|
}
|
|
4584
|
-
td span[data-v-
|
|
4606
|
+
td span[data-v-72033517]{
|
|
4585
4607
|
display: block;
|
|
4586
4608
|
display: -webkit-box;
|
|
4587
4609
|
max-width: 100%;
|
|
@@ -4591,16 +4613,16 @@ td span[data-v-857ccb8b]{
|
|
|
4591
4613
|
-webkit-line-clamp: 1;
|
|
4592
4614
|
word-break: break-all;
|
|
4593
4615
|
}
|
|
4594
|
-
td.wrap-text[data-v-
|
|
4616
|
+
td.wrap-text[data-v-72033517] {
|
|
4595
4617
|
height: auto;
|
|
4596
4618
|
min-height: 40px;
|
|
4597
4619
|
}
|
|
4598
|
-
td.wrap-text span[data-v-
|
|
4620
|
+
td.wrap-text span[data-v-72033517] {
|
|
4599
4621
|
white-space: normal;
|
|
4600
4622
|
-webkit-line-clamp: unset;
|
|
4601
4623
|
word-break: break-word;
|
|
4602
4624
|
}
|
|
4603
|
-
input[data-v-
|
|
4625
|
+
input[data-v-72033517] {
|
|
4604
4626
|
width: 100%;
|
|
4605
4627
|
border: none;
|
|
4606
4628
|
background: transparent;
|
|
@@ -4609,45 +4631,45 @@ input[data-v-857ccb8b] {
|
|
|
4609
4631
|
min-height: 0;
|
|
4610
4632
|
min-width: 0;
|
|
4611
4633
|
}
|
|
4612
|
-
input[data-v-
|
|
4634
|
+
input[data-v-72033517]:focus {
|
|
4613
4635
|
outline: 2px solid var(--bgl-primary);
|
|
4614
4636
|
outline-offset: 6px;
|
|
4615
4637
|
}
|
|
4616
|
-
th.sortable[data-v-
|
|
4638
|
+
th.sortable[data-v-72033517] {
|
|
4617
4639
|
cursor: pointer;
|
|
4618
4640
|
}
|
|
4619
|
-
.row-number-header[data-v-
|
|
4641
|
+
.row-number-header[data-v-72033517], .row-number[data-v-72033517] {
|
|
4620
4642
|
width: fit-content;
|
|
4621
4643
|
min-width: fit-content !important;
|
|
4622
4644
|
padding: 0.1rem 0.7rem !important;
|
|
4623
4645
|
}
|
|
4624
|
-
td .bgl-checkbox[data-v-
|
|
4646
|
+
td .bgl-checkbox[data-v-72033517]{
|
|
4625
4647
|
margin: 0;
|
|
4626
4648
|
text-align: center;
|
|
4627
4649
|
justify-content: center;
|
|
4628
4650
|
}
|
|
4629
|
-
td[data-v-
|
|
4651
|
+
td[data-v-72033517]:has(.bgl-checkbox){
|
|
4630
4652
|
text-align: center;
|
|
4631
4653
|
background: var(--input-bg);
|
|
4632
4654
|
}
|
|
4633
|
-
td[data-v-
|
|
4655
|
+
td[data-v-72033517]:has(:checked){
|
|
4634
4656
|
background: var(--bgl-primary-light);
|
|
4635
4657
|
}
|
|
4636
|
-
.spreadsheetCellPlaceHolder[data-v-
|
|
4658
|
+
.spreadsheetCellPlaceHolder[data-v-72033517]{
|
|
4637
4659
|
height: 0px;
|
|
4638
4660
|
overflow: hidden;
|
|
4639
4661
|
opacity: 0;
|
|
4640
4662
|
pointer-events: none;
|
|
4641
4663
|
user-select: none;
|
|
4642
4664
|
}
|
|
4643
|
-
.th-content[data-v-
|
|
4665
|
+
.th-content[data-v-72033517] {
|
|
4644
4666
|
position: relative;
|
|
4645
4667
|
display: flex;
|
|
4646
4668
|
align-items: center;
|
|
4647
4669
|
width: 100%;
|
|
4648
4670
|
height: 100%;
|
|
4649
4671
|
}
|
|
4650
|
-
.resize-handle[data-v-
|
|
4672
|
+
.resize-handle[data-v-72033517] {
|
|
4651
4673
|
position: absolute;
|
|
4652
4674
|
right: -8px;
|
|
4653
4675
|
top: 0;
|
|
@@ -4658,13 +4680,17 @@ td[data-v-857ccb8b]:has(:checked){
|
|
|
4658
4680
|
background: transparent;
|
|
4659
4681
|
transition: background 0.2s;
|
|
4660
4682
|
}
|
|
4661
|
-
.resize-handle[data-v-
|
|
4683
|
+
.resize-handle[data-v-72033517]:hover {
|
|
4662
4684
|
background: var(--bgl-primary);
|
|
4663
4685
|
}
|
|
4664
4686
|
|
|
4665
4687
|
/* Spreadsheet container styles */
|
|
4666
|
-
.spreadsheet
|
|
4688
|
+
.spreadsheet {
|
|
4667
4689
|
user-select: none;
|
|
4690
|
+
outline: 1px solid var(--border-color);
|
|
4691
|
+
}
|
|
4692
|
+
body>div:has(.spreadsheet) ::-webkit-scrollbar-track {
|
|
4693
|
+
background: var(--input-bg) !important;
|
|
4668
4694
|
}
|
|
4669
4695
|
|
|
4670
4696
|
.zoomer-debug[data-v-379819e1] {
|
package/package.json
CHANGED
|
@@ -784,9 +784,14 @@ const columnOptions = computed(() => {
|
|
|
784
784
|
</div>
|
|
785
785
|
</template>
|
|
786
786
|
|
|
787
|
-
<style
|
|
787
|
+
<style>
|
|
788
788
|
/* Spreadsheet container styles */
|
|
789
789
|
.spreadsheet {
|
|
790
790
|
user-select: none;
|
|
791
|
+
outline: 1px solid var(--border-color);
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
body>div:has(.spreadsheet) ::-webkit-scrollbar-track {
|
|
795
|
+
background: var(--input-bg) !important;
|
|
791
796
|
}
|
|
792
797
|
</style>
|
|
@@ -199,11 +199,33 @@ function formatCellValue(value: any, format?: ColumnConfig['format']): string {
|
|
|
199
199
|
</template>
|
|
200
200
|
|
|
201
201
|
<style scoped>
|
|
202
|
-
.
|
|
202
|
+
.row-number{
|
|
203
203
|
position: sticky;
|
|
204
|
-
|
|
204
|
+
inset-inline-start: 0;
|
|
205
|
+
background: var(--bgl-gray-80);
|
|
205
206
|
z-index: 1;
|
|
206
207
|
}
|
|
208
|
+
.row-number:before{
|
|
209
|
+
content: '';
|
|
210
|
+
position: absolute;
|
|
211
|
+
inset: -1px;
|
|
212
|
+
border: 1px solid var(--border-color);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.stickyTop{
|
|
216
|
+
position: sticky;
|
|
217
|
+
top: 0px;
|
|
218
|
+
z-index: 2;
|
|
219
|
+
|
|
220
|
+
}
|
|
221
|
+
.stickyTop:before{
|
|
222
|
+
content: '1';
|
|
223
|
+
position: absolute;
|
|
224
|
+
display: block;
|
|
225
|
+
inset: 0;
|
|
226
|
+
border-bottom: 1px solid var(--border-color);
|
|
227
|
+
}
|
|
228
|
+
|
|
207
229
|
.fixed-columns {
|
|
208
230
|
border-right: 2px solid var(--border-color);
|
|
209
231
|
}
|
|
@@ -211,12 +233,12 @@ table {
|
|
|
211
233
|
border-collapse: collapse;
|
|
212
234
|
}
|
|
213
235
|
th, td {
|
|
214
|
-
border: 1px solid var(--border-color);
|
|
215
236
|
padding: 0.1rem 0.5rem;
|
|
216
237
|
min-width: 80px;
|
|
217
238
|
background: var(--bgl-white);
|
|
218
239
|
user-select: none;
|
|
219
240
|
}
|
|
241
|
+
|
|
220
242
|
th {
|
|
221
243
|
background: var(--input-bg);
|
|
222
244
|
white-space: nowrap;
|
|
@@ -224,6 +246,9 @@ th {
|
|
|
224
246
|
padding: 0.25rem 0.5rem;
|
|
225
247
|
font-weight: 500;
|
|
226
248
|
text-align: start;
|
|
249
|
+
border-bottom: 1px solid var(--border-color);
|
|
250
|
+
border-inline-start: 1px solid var(--border-color);
|
|
251
|
+
|
|
227
252
|
}
|
|
228
253
|
th .bgl_icon-font{
|
|
229
254
|
vertical-align: middle;
|
|
@@ -239,6 +264,7 @@ td.locked.selected {
|
|
|
239
264
|
background: var(--bgl-primary-light);
|
|
240
265
|
}
|
|
241
266
|
td {
|
|
267
|
+
border: 1px solid var(--border-color);
|
|
242
268
|
height: 40px;
|
|
243
269
|
vertical-align: middle;
|
|
244
270
|
}
|
|
@@ -60,13 +60,13 @@ const youtubeRegex = /youtube\.com|youtu\.be/
|
|
|
60
60
|
const vimeoRegex = /vimeo\.com/
|
|
61
61
|
|
|
62
62
|
function urlToName(url: string): string {
|
|
63
|
-
if (!url) return ''
|
|
63
|
+
if (!url || typeof url !== 'string') return ''
|
|
64
64
|
const name = url.split('/').pop() || ''
|
|
65
65
|
return name.replace(/\.[^/.]+$/, '')
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
function determineFileType(url:
|
|
69
|
-
if (!url) return 'unknown'
|
|
68
|
+
function determineFileType(url: any): string {
|
|
69
|
+
if (typeof url !== 'string' || !url) return 'unknown'
|
|
70
70
|
const extension = (url.split('.').pop() || '').toLowerCase()
|
|
71
71
|
const altExtension = url.split('?')[0].split('.').pop()?.toLowerCase() || ''
|
|
72
72
|
if (IMAGE_FORMATS_REGEXP.test(extension) || IMAGE_FORMATS_REGEXP.test(altExtension)) return 'image'
|