@g1cloud/bluesea 5.0.0-alpha.80 → 5.0.0-alpha.81

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.
@@ -31,6 +31,7 @@
31
31
  margin-right: 4px;
32
32
  margin-left: 4px;
33
33
  background-color: $color-gray-200;
34
+ color: $color-body-text;
34
35
  padding: 2px 4px;
35
36
  border-radius: 2px;
36
37
  line-height: 1;
@@ -51,6 +52,17 @@
51
52
  }
52
53
  }
53
54
 
55
+ [data-theme="dark"] {
56
+ .bs-input-wrap {
57
+ .suffix,
58
+ .prefix {
59
+ img {
60
+ filter: invert(1);
61
+ }
62
+ }
63
+ }
64
+ }
65
+
54
66
  .bs-input-base {
55
67
  @extend .bs-box-component-base;
56
68
  border: 1px solid $color-border;
package/css/variable.scss CHANGED
@@ -143,6 +143,7 @@ $gray-100: $gray-100;
143
143
  $gray-200: $gray-200;
144
144
  $gray-400: $gray-400;
145
145
  $gray-500: $gray-500;
146
+ $primary-100: $primary-100;
146
147
  $primary-200: $primary-200;
147
148
  $primary-300: $primary-300;
148
149
  $black: $black;
@@ -179,6 +180,7 @@ $gray-100-dark: $gray-800;
179
180
  $gray-200-dark: $gray-700;
180
181
  $gray-400-dark: $gray-600;
181
182
  $gray-500-dark: $gray-400;
183
+ $primary-100-dark: $primary-600;
182
184
  $primary-200-dark: $primary-600;
183
185
  $primary-300-dark: $primary-500;
184
186
  $black-dark: $gray-200;
@@ -216,6 +218,7 @@ $gray-bg-dark: $gray-500;
216
218
  $gray-200,
217
219
  $gray-400,
218
220
  $gray-500,
221
+ $primary-100,
219
222
  $primary-200,
220
223
  $primary-300,
221
224
  $black,
@@ -252,6 +255,7 @@ $gray-bg-dark: $gray-500;
252
255
  --gray-200: #{$gray-200};
253
256
  --gray-400: #{$gray-400};
254
257
  --gray-500: #{$gray-500};
258
+ --primary-100: #{$primary-100};
255
259
  --primary-200: #{$primary-200};
256
260
  --primary-300: #{$primary-300};
257
261
  --black: #{$black};
@@ -291,6 +295,7 @@ $gray-bg-dark: $gray-500;
291
295
  $gray-200,
292
296
  $gray-400,
293
297
  $gray-500,
298
+ $primary-100,
294
299
  $primary-200,
295
300
  $primary-300,
296
301
  $black,
@@ -331,6 +336,7 @@ $gray-bg-dark: $gray-500;
331
336
  $gray-200-dark,
332
337
  $gray-400-dark,
333
338
  $gray-500-dark,
339
+ $primary-100-dark,
334
340
  $primary-200-dark,
335
341
  $primary-300-dark,
336
342
  $black-dark,
@@ -369,6 +375,7 @@ $color-gray-100: var(--gray-100);
369
375
  $color-gray-200: var(--gray-200);
370
376
  $color-gray-400: var(--gray-400);
371
377
  $color-gray-500: var(--gray-500);
378
+ $color-primary-100: var(--primary-100);
372
379
  $color-primary-200: var(--primary-200);
373
380
  $color-primary-300: var(--primary-300);
374
381
  $color-black: var(--black);
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, openBlock, createBlock, withCtx, createElementVNode, withDirectives, createVNode, unref } from "vue";
2
- import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, v as vFocusOnLoad, i as vT } from "./index-Be-CeEVk.js";
2
+ import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, v as vFocusOnLoad, i as vT } from "./index-BAXbOtz2.js";
3
3
  const _hoisted_1 = { class: "text-right" };
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "BSAlertModal",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, onMounted, openBlock, createBlock, withCtx, createVNode, mergeProps, unref, toHandlers, createElementVNode, nextTick } from "vue";
2
- import { d as createInputGridHandler, u as useModalHandle, _ as _sfc_main$1, f as _sfc_main$2, g as _sfc_main$3, h as _sfc_main$4, B as BSButton, n as notNull } from "./index-Be-CeEVk.js";
2
+ import { d as createInputGridHandler, u as useModalHandle, _ as _sfc_main$1, f as _sfc_main$2, g as _sfc_main$3, h as _sfc_main$4, B as BSButton, n as notNull } from "./index-BAXbOtz2.js";
3
3
  const _hoisted_1 = { class: "text-center" };
4
4
  const _hoisted_2 = { class: "text-center" };
5
5
  const _hoisted_3 = { class: "bs-layout-horizontal" };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, openBlock, createBlock, withCtx, createElementVNode, createVNode, withDirectives, unref } from "vue";
2
- import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, i as vT } from "./index-Be-CeEVk.js";
2
+ import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, i as vT } from "./index-BAXbOtz2.js";
3
3
  const _hoisted_1 = { class: "text-right" };
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "BSYesNoModal",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, useModel, ref, openBlock, createBlock, withCtx, createElementVNode, createVNode, unref, createCommentVNode } from "vue";
2
- import { u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, B as BSButton, e as extractYoutubeVideoId } from "./index-Be-CeEVk.js";
2
+ import { u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, B as BSButton, e as extractYoutubeVideoId } from "./index-BAXbOtz2.js";
3
3
  import YouTube from "vue3-youtube";
4
4
  const _hoisted_1 = { class: "bs-layout-vertical gap-16" };
5
5
  const _hoisted_2 = { class: "bs-layout-horizontal align-items-center" };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, openBlock, createBlock, withCtx, createVNode, withDirectives, createElementVNode, vShow } from "vue";
2
- import { u as useModalHandle, _ as _sfc_main$1, a as _sfc_main$2, b as _sfc_main$3, c as _sfc_main$4, B as BSButton } from "./index-Be-CeEVk.js";
2
+ import { u as useModalHandle, _ as _sfc_main$1, a as _sfc_main$2, b as _sfc_main$3, c as _sfc_main$4, B as BSButton } from "./index-BAXbOtz2.js";
3
3
  const _hoisted_1 = { class: "bs-layout-form title-w-8" };
4
4
  const _hoisted_2 = { class: "title" };
5
5
  const _hoisted_3 = { class: "title" };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, onMounted, useTemplateRef, openBlock, createBlock, withCtx, createElementBlock, createElementVNode, createVNode, createCommentVNode } from "vue";
2
- import { j as findImageNode, u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, B as BSButton, k as numberToPixel, l as formValidator } from "./index-Be-CeEVk.js";
2
+ import { j as findImageNode, u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, B as BSButton, k as numberToPixel, l as formValidator } from "./index-BAXbOtz2.js";
3
3
  const _hoisted_1 = { class: "title" };
4
4
  const _hoisted_2 = { class: "title" };
5
5
  const _hoisted_3 = { class: "title" };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, onMounted, openBlock, createBlock, withCtx, createElementVNode, createVNode } from "vue";
2
- import { u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, B as BSButton } from "./index-Be-CeEVk.js";
2
+ import { u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, B as BSButton } from "./index-BAXbOtz2.js";
3
3
  const _hoisted_1 = { class: "bs-layout-form title-w-8" };
4
4
  const _hoisted_2 = { class: "title" };
5
5
  const _hoisted_3 = { class: "title" };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, openBlock, createBlock, withCtx, createElementVNode, createVNode } from "vue";
2
- import { u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, h as _sfc_main$3, B as BSButton } from "./index-Be-CeEVk.js";
2
+ import { u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, h as _sfc_main$3, B as BSButton } from "./index-BAXbOtz2.js";
3
3
  const _hoisted_1 = { class: "bs-layout-form" };
4
4
  const _hoisted_2 = { class: "bs-form-label" };
5
5
  const _hoisted_3 = { class: "bs-form-label" };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, openBlock, createBlock, withCtx, createElementVNode, createVNode } from "vue";
2
- import { u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, h as _sfc_main$4, B as BSButton } from "./index-Be-CeEVk.js";
2
+ import { u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, h as _sfc_main$4, B as BSButton } from "./index-BAXbOtz2.js";
3
3
  const _hoisted_1 = { class: "bs-layout-form" };
4
4
  const _hoisted_2 = { class: "title" };
5
5
  const _hoisted_3 = { class: "title" };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, onMounted, openBlock, createBlock, withCtx, createElementBlock, createElementVNode, createVNode, createCommentVNode } from "vue";
2
- import { N as NodeSelection, u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, h as _sfc_main$4, B as BSButton } from "./index-Be-CeEVk.js";
2
+ import { N as NodeSelection, u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, h as _sfc_main$4, B as BSButton } from "./index-BAXbOtz2.js";
3
3
  const findYoutubeNode = (selection) => {
4
4
  if (selection instanceof NodeSelection) {
5
5
  const node = selection.node;
package/dist/bluesea.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ar, as, bi, bj, m, ac, ah, B, y, z, $, g, G, ae, C, s, ai, bT, w, D, E, Y, Z, F, b, f, W, V, ad, S, q, a1, a0, t, a9, bD, af, _, T, a7, a8, a6, a5, a4, L, aa, ag, h, x, p, P, U, A, r, H, I, R, K, a, ab, Q, X, c, a2, a3, O, M, J, o, bq, bp, aA, ak, bX, aj, aH, aF, aC, bo, aJ, aI, b$, ax, bg, bm, aG, bn, aK, ao, ap, an, aq, bl, bk, aE, bh, b6, bA, aO, ay, aU, bz, c8, bJ, br, by, bx, av, b9, bL, aw, bW, bY, d, bG, aD, aR, at, aS, au, bw, b3, b4, b5, b0, b2, b1, e, a$, aY, l, c1, az, bR, bO, c0, bu, am, c9, c6, ca, ba, c7, bc, aV, bv, aX, cb, aB, bt, n, bH, bs, c5, bZ, bB, bF, b7, aL, aP, bf, bb, bd, be, bK, bQ, bP, bI, bN, aW, aT, bM, c4, bU, bV, b_, bC, bE, u, b8, aM, aN, aQ, al, i, aZ, a_, c3, c2, bS } from "./index-Be-CeEVk.js";
1
+ import { ar, as, bi, bj, m, ac, ah, B, y, z, $, g, G, ae, C, s, ai, bT, w, D, E, Y, Z, F, b, f, W, V, ad, S, q, a1, a0, t, a9, bD, af, _, T, a7, a8, a6, a5, a4, L, aa, ag, h, x, p, P, U, A, r, H, I, R, K, a, ab, Q, X, c, a2, a3, O, M, J, o, bq, bp, aA, ak, bX, aj, aH, aF, aC, bo, aJ, aI, b$, ax, bg, bm, aG, bn, aK, ao, ap, an, aq, bl, bk, aE, bh, b6, bA, aO, ay, aU, bz, c8, bJ, br, by, bx, av, b9, bL, aw, bW, bY, d, bG, aD, aR, at, aS, au, bw, b3, b4, b5, b0, b2, b1, e, a$, aY, l, c1, az, bR, bO, c0, bu, am, c9, c6, ca, ba, c7, bc, aV, bv, aX, cb, aB, bt, n, bH, bs, c5, bZ, bB, bF, b7, aL, aP, bf, bb, bd, be, bK, bQ, bP, bI, bN, aW, aT, bM, c4, bU, bV, b_, bC, bE, u, b8, aM, aN, aQ, al, i, aZ, a_, c3, c2, bS } from "./index-BAXbOtz2.js";
2
2
  export {
3
3
  ar as ADDRESS_COUNTRY_CONFIGS,
4
4
  as as ADDRESS_COUNTRY_CONFIG_DEFAULT,
@@ -34388,20 +34388,23 @@ img.ProseMirror-separator {
34388
34388
  class: vue.normalizeClass([_ctx.column.cellStyleClass, "text-nowrap text-ellipsis"]),
34389
34389
  style: vue.normalizeStyle(_ctx.column.cellStyleCss)
34390
34390
  }, [
34391
- _ctx.editing ? vue.renderSlot(_ctx.$slots, `${_ctx.column.propertyId}Edit`, {
34391
+ _ctx.editing ? vue.renderSlot(_ctx.$slots, `${_ctx.column.templateId}Edit`, {
34392
34392
  key: 0,
34393
34393
  cell: cellValue.value,
34394
+ propertyId: _ctx.column.propertyId,
34394
34395
  row: _ctx.row
34395
34396
  }, () => [
34396
- vue.renderSlot(_ctx.$slots, _ctx.column.propertyId, {
34397
+ vue.renderSlot(_ctx.$slots, _ctx.column.templateId, {
34397
34398
  cell: cellValue.value,
34399
+ propertyId: _ctx.column.propertyId,
34398
34400
  row: _ctx.row
34399
34401
  }, () => [
34400
34402
  vue.createTextVNode(vue.toDisplayString(formattedCellValue.value), 1)
34401
34403
  ])
34402
- ]) : vue.renderSlot(_ctx.$slots, _ctx.column.propertyId, {
34404
+ ]) : vue.renderSlot(_ctx.$slots, _ctx.column.templateId, {
34403
34405
  key: 1,
34404
34406
  cell: cellValue.value,
34407
+ propertyId: _ctx.column.propertyId,
34405
34408
  row: _ctx.row
34406
34409
  }, () => [
34407
34410
  vue.createTextVNode(vue.toDisplayString(formattedCellValue.value), 1)
@@ -34711,15 +34714,17 @@ img.ProseMirror-separator {
34711
34714
  "select-on-click": _ctx.selectOnClick,
34712
34715
  onToggleSelection: toggleSelection
34713
34716
  }, {
34714
- [column.propertyId]: vue.withCtx(({ row, cell }) => [
34715
- vue.renderSlot(_ctx.$slots, column.propertyId, {
34717
+ [column.templateId]: vue.withCtx(({ row, cell, propertyId }) => [
34718
+ vue.renderSlot(_ctx.$slots, column.templateId, {
34716
34719
  cell,
34720
+ propertyId,
34717
34721
  row
34718
34722
  })
34719
34723
  ]),
34720
- [`${column.propertyId}Edit`]: vue.withCtx(({ row, cell }) => [
34721
- vue.renderSlot(_ctx.$slots, `${column.propertyId}Edit`, {
34724
+ [`${column.templateId}Edit`]: vue.withCtx(({ row, cell, propertyId }) => [
34725
+ vue.renderSlot(_ctx.$slots, `${column.templateId}Edit`, {
34722
34726
  cell,
34727
+ propertyId,
34723
34728
  row
34724
34729
  })
34725
34730
  ]),
@@ -34786,6 +34791,8 @@ img.ProseMirror-separator {
34786
34791
  }).filter((col) => col.propertyId) : props.columns;
34787
34792
  return visibleColumns.map((col, index) => ({
34788
34793
  ...col,
34794
+ templateId: col.templateId || col.propertyId,
34795
+ // templateId 가 없으면 propertyId 를 사용한다.
34789
34796
  render: vue.reactive({
34790
34797
  width: col.width || DEFAULT_GRID_COLUMN_WIDTH,
34791
34798
  fixed: index < props.fixedColumnCount
@@ -35066,9 +35073,10 @@ img.ProseMirror-separator {
35066
35073
  vue.renderList(Object.keys(_ctx.$slots), (slot, index2) => {
35067
35074
  return {
35068
35075
  name: slot,
35069
- fn: vue.withCtx(({ row: row2, cell }) => [
35076
+ fn: vue.withCtx(({ row: row2, cell, propertyId }) => [
35070
35077
  vue.renderSlot(_ctx.$slots, slot, {
35071
35078
  cell,
35079
+ propertyId,
35072
35080
  row: row2
35073
35081
  })
35074
35082
  ])
@@ -40,6 +40,7 @@ declare const _default: <T extends GridRowData>(__VLS_props: {
40
40
  attrs: any;
41
41
  slots: Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {
42
42
  cell: any;
43
+ propertyId: string;
43
44
  row: T;
44
45
  }) => any>>;
45
46
  emit: {
@@ -91,6 +92,7 @@ declare const _default: <T extends GridRowData>(__VLS_props: {
91
92
  attrs: any;
92
93
  slots: Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {
93
94
  cell: any;
95
+ propertyId: string;
94
96
  row: T;
95
97
  }) => any>>;
96
98
  emit: {
@@ -145,6 +147,7 @@ declare const _default: <T extends GridRowData>(__VLS_props: {
145
147
  attrs: any;
146
148
  slots: Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {
147
149
  cell: any;
150
+ propertyId: string;
148
151
  row: T;
149
152
  }) => any>>;
150
153
  emit: {
@@ -13,12 +13,15 @@ declare const _default: <T extends GridRowData>(__VLS_props: {
13
13
  attrs: any;
14
14
  slots: Partial<Record<`${string}Edit`, (_: {
15
15
  cell: any;
16
+ propertyId: string;
16
17
  row: T;
17
18
  }) => any>> & Partial<Record<string, (_: {
18
19
  cell: any;
20
+ propertyId: string;
19
21
  row: T;
20
22
  }) => any>> & Partial<Record<string, (_: {
21
23
  cell: any;
24
+ propertyId: string;
22
25
  row: T;
23
26
  }) => any>>;
24
27
  emit: (e: 'toggleSelection', column: Column) => void;
@@ -36,12 +39,15 @@ declare const _default: <T extends GridRowData>(__VLS_props: {
36
39
  attrs: any;
37
40
  slots: Partial<Record<`${string}Edit`, (_: {
38
41
  cell: any;
42
+ propertyId: string;
39
43
  row: T;
40
44
  }) => any>> & Partial<Record<string, (_: {
41
45
  cell: any;
46
+ propertyId: string;
42
47
  row: T;
43
48
  }) => any>> & Partial<Record<string, (_: {
44
49
  cell: any;
50
+ propertyId: string;
45
51
  row: T;
46
52
  }) => any>>;
47
53
  emit: (e: 'toggleSelection', column: Column) => void;
@@ -62,12 +68,15 @@ declare const _default: <T extends GridRowData>(__VLS_props: {
62
68
  attrs: any;
63
69
  slots: Partial<Record<`${string}Edit`, (_: {
64
70
  cell: any;
71
+ propertyId: string;
65
72
  row: T;
66
73
  }) => any>> & Partial<Record<string, (_: {
67
74
  cell: any;
75
+ propertyId: string;
68
76
  row: T;
69
77
  }) => any>> & Partial<Record<string, (_: {
70
78
  cell: any;
79
+ propertyId: string;
71
80
  row: T;
72
81
  }) => any>>;
73
82
  emit: (e: 'toggleSelection', column: Column) => void;
@@ -31,9 +31,11 @@ declare const _default: <T extends GridRowData>(__VLS_props: {
31
31
  attrs: any;
32
32
  slots: Partial<Record<string, (_: {
33
33
  cell: any;
34
+ propertyId: string;
34
35
  row: T;
35
36
  }) => any>> & Partial<Record<`${string}Edit`, (_: {
36
37
  cell: any;
38
+ propertyId: string;
37
39
  row: T;
38
40
  }) => any>>;
39
41
  emit: {
@@ -73,9 +75,11 @@ declare const _default: <T extends GridRowData>(__VLS_props: {
73
75
  attrs: any;
74
76
  slots: Partial<Record<string, (_: {
75
77
  cell: any;
78
+ propertyId: string;
76
79
  row: T;
77
80
  }) => any>> & Partial<Record<`${string}Edit`, (_: {
78
81
  cell: any;
82
+ propertyId: string;
79
83
  row: T;
80
84
  }) => any>>;
81
85
  emit: {
@@ -118,9 +122,11 @@ declare const _default: <T extends GridRowData>(__VLS_props: {
118
122
  attrs: any;
119
123
  slots: Partial<Record<string, (_: {
120
124
  cell: any;
125
+ propertyId: string;
121
126
  row: T;
122
127
  }) => any>> & Partial<Record<`${string}Edit`, (_: {
123
128
  cell: any;
129
+ propertyId: string;
124
130
  row: T;
125
131
  }) => any>>;
126
132
  emit: {
@@ -6,6 +6,7 @@ export type ColumnRender = {
6
6
  hidden?: boolean;
7
7
  };
8
8
  export type InternalColumn = Column & {
9
+ templateId: string;
9
10
  render: ColumnRender;
10
11
  };
11
12
  export declare const setFixedCellLeftStyle: (table?: HTMLTableElement) => Promise<void>;
@@ -10,6 +10,7 @@ export declare const DEFAULT_GRID_COLUMN_WIDTH = 100;
10
10
  export type GridCellType = 'TEXT' | 'NUMBER' | 'DATE' | 'PERCENTAGE' | 'BOOL' | 'MULTI_LANG_STRING' | 'NAME' | 'TEL' | 'ADDRESS' | 'MONEY';
11
11
  export type Column = {
12
12
  propertyId: string;
13
+ templateId?: string;
13
14
  caption: MultiLangText;
14
15
  cellType?: GridCellType;
15
16
  dateFormat?: string | DisplayDateResolution;
@@ -61,7 +61,7 @@ const defaultAddressInputComponentConfig = {
61
61
  countryConfigs: ADDRESS_COUNTRY_CONFIGS
62
62
  };
63
63
  const defaultRichTextComponentConfig = {
64
- imageInsertModal: defineAsyncComponent(() => import("./ImageInsertModal-DcVUeFpY.js"))
64
+ imageInsertModal: defineAsyncComponent(() => import("./ImageInsertModal-DnvIwftS.js"))
65
65
  };
66
66
  class BlueseaConfig {
67
67
  constructor() {
@@ -5077,7 +5077,7 @@ class BSModal {
5077
5077
  }
5078
5078
  openAlert(title, message, clickHandler2) {
5079
5079
  const option = {
5080
- component: defineAsyncComponent(() => import("./BSAlertModal-hE2DZjma.js")),
5080
+ component: defineAsyncComponent(() => import("./BSAlertModal-D2Jjrlkw.js")),
5081
5081
  bind: {
5082
5082
  title,
5083
5083
  message
@@ -5090,7 +5090,7 @@ class BSModal {
5090
5090
  }
5091
5091
  openYesNo(title, message, yesHandler, noHandler) {
5092
5092
  const option = {
5093
- component: defineAsyncComponent(() => import("./BSYesNoModal-DTy54Jpi.js")),
5093
+ component: defineAsyncComponent(() => import("./BSYesNoModal-D9sD-VwJ.js")),
5094
5094
  bind: {
5095
5095
  title,
5096
5096
  message
@@ -29937,7 +29937,7 @@ const tableContextMenus = (_modal, editor) => {
29937
29937
  };
29938
29938
  const insertTable = (modal, editor) => {
29939
29939
  modal.openModal({
29940
- component: defineAsyncComponent(() => import("./TableInsertModal-OexXM9kA.js")),
29940
+ component: defineAsyncComponent(() => import("./TableInsertModal-B8JAu3Az.js")),
29941
29941
  bind: { editor }
29942
29942
  });
29943
29943
  };
@@ -30102,7 +30102,7 @@ const insertImage = (modal, editor) => {
30102
30102
  const component = (_a2 = blueseaConfig.componentConfig.richText) == null ? void 0 : _a2.imageInsertModal;
30103
30103
  if (component) {
30104
30104
  modal.openModal({
30105
- component: defineAsyncComponent(() => import("./ImageInsertModal-DcVUeFpY.js")),
30105
+ component: defineAsyncComponent(() => import("./ImageInsertModal-DnvIwftS.js")),
30106
30106
  bind: { editor },
30107
30107
  on: {
30108
30108
  insertImage: (image) => {
@@ -30125,7 +30125,7 @@ const insertImage = (modal, editor) => {
30125
30125
  };
30126
30126
  const showImageProperties = (modal, editor) => {
30127
30127
  modal.openModal({
30128
- component: defineAsyncComponent(() => import("./ImagePropertiesModal-Ctn7Gpt4.js")),
30128
+ component: defineAsyncComponent(() => import("./ImagePropertiesModal-BuJMvpfv.js")),
30129
30129
  bind: { editor }
30130
30130
  });
30131
30131
  };
@@ -30397,13 +30397,13 @@ const youtubeContextMenu = (modal, editor) => {
30397
30397
  };
30398
30398
  const insertYoutube = (modal, editor) => {
30399
30399
  modal.openModal({
30400
- component: defineAsyncComponent(() => import("./YoutubeInsertModal-DjRrpAYh.js")),
30400
+ component: defineAsyncComponent(() => import("./YoutubeInsertModal-c0PxK-rJ.js")),
30401
30401
  bind: { editor }
30402
30402
  });
30403
30403
  };
30404
30404
  const showYoutubeProperties = (modal, editor) => {
30405
30405
  modal.openModal({
30406
- component: defineAsyncComponent(() => import("./YoutubePropertiesModal-Dmxcch4n.js")),
30406
+ component: defineAsyncComponent(() => import("./YoutubePropertiesModal-d1WWm7Uf.js")),
30407
30407
  bind: { editor }
30408
30408
  });
30409
30409
  };
@@ -30447,7 +30447,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
30447
30447
  const showLinkProperties = () => {
30448
30448
  if (!props.disabled) {
30449
30449
  modal.openModal({
30450
- component: defineAsyncComponent(() => import("./LinkPropertiesModal-B82TISWQ.js")),
30450
+ component: defineAsyncComponent(() => import("./LinkPropertiesModal-BA-98ovK.js")),
30451
30451
  bind: {
30452
30452
  editor: props.editor
30453
30453
  }
@@ -32816,7 +32816,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
32816
32816
  const modal = useModal();
32817
32817
  const enterYoutubeUrl = () => {
32818
32818
  modal.openModal({
32819
- component: defineAsyncComponent(() => import("./BSYoutubeInputModal-CTXZnA-K.js")),
32819
+ component: defineAsyncComponent(() => import("./BSYoutubeInputModal-BpZkgfto.js")),
32820
32820
  on: {
32821
32821
  "update:modelValue": (url) => {
32822
32822
  emit("update:modelValue", {
@@ -34387,20 +34387,23 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
34387
34387
  class: normalizeClass([_ctx.column.cellStyleClass, "text-nowrap text-ellipsis"]),
34388
34388
  style: normalizeStyle(_ctx.column.cellStyleCss)
34389
34389
  }, [
34390
- _ctx.editing ? renderSlot(_ctx.$slots, `${_ctx.column.propertyId}Edit`, {
34390
+ _ctx.editing ? renderSlot(_ctx.$slots, `${_ctx.column.templateId}Edit`, {
34391
34391
  key: 0,
34392
34392
  cell: cellValue.value,
34393
+ propertyId: _ctx.column.propertyId,
34393
34394
  row: _ctx.row
34394
34395
  }, () => [
34395
- renderSlot(_ctx.$slots, _ctx.column.propertyId, {
34396
+ renderSlot(_ctx.$slots, _ctx.column.templateId, {
34396
34397
  cell: cellValue.value,
34398
+ propertyId: _ctx.column.propertyId,
34397
34399
  row: _ctx.row
34398
34400
  }, () => [
34399
34401
  createTextVNode(toDisplayString(formattedCellValue.value), 1)
34400
34402
  ])
34401
- ]) : renderSlot(_ctx.$slots, _ctx.column.propertyId, {
34403
+ ]) : renderSlot(_ctx.$slots, _ctx.column.templateId, {
34402
34404
  key: 1,
34403
34405
  cell: cellValue.value,
34406
+ propertyId: _ctx.column.propertyId,
34404
34407
  row: _ctx.row
34405
34408
  }, () => [
34406
34409
  createTextVNode(toDisplayString(formattedCellValue.value), 1)
@@ -34710,15 +34713,17 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
34710
34713
  "select-on-click": _ctx.selectOnClick,
34711
34714
  onToggleSelection: toggleSelection
34712
34715
  }, {
34713
- [column.propertyId]: withCtx(({ row, cell }) => [
34714
- renderSlot(_ctx.$slots, column.propertyId, {
34716
+ [column.templateId]: withCtx(({ row, cell, propertyId }) => [
34717
+ renderSlot(_ctx.$slots, column.templateId, {
34715
34718
  cell,
34719
+ propertyId,
34716
34720
  row
34717
34721
  })
34718
34722
  ]),
34719
- [`${column.propertyId}Edit`]: withCtx(({ row, cell }) => [
34720
- renderSlot(_ctx.$slots, `${column.propertyId}Edit`, {
34723
+ [`${column.templateId}Edit`]: withCtx(({ row, cell, propertyId }) => [
34724
+ renderSlot(_ctx.$slots, `${column.templateId}Edit`, {
34721
34725
  cell,
34726
+ propertyId,
34722
34727
  row
34723
34728
  })
34724
34729
  ]),
@@ -34785,6 +34790,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
34785
34790
  }).filter((col) => col.propertyId) : props.columns;
34786
34791
  return visibleColumns.map((col, index) => ({
34787
34792
  ...col,
34793
+ templateId: col.templateId || col.propertyId,
34794
+ // templateId 가 없으면 propertyId 를 사용한다.
34788
34795
  render: reactive({
34789
34796
  width: col.width || DEFAULT_GRID_COLUMN_WIDTH,
34790
34797
  fixed: index < props.fixedColumnCount
@@ -35065,9 +35072,10 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
35065
35072
  renderList(Object.keys(_ctx.$slots), (slot, index2) => {
35066
35073
  return {
35067
35074
  name: slot,
35068
- fn: withCtx(({ row: row2, cell }) => [
35075
+ fn: withCtx(({ row: row2, cell, propertyId }) => [
35069
35076
  renderSlot(_ctx.$slots, slot, {
35070
35077
  cell,
35078
+ propertyId,
35071
35079
  row: row2
35072
35080
  })
35073
35081
  ])
@@ -35591,7 +35599,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
35591
35599
  const modal = useModal();
35592
35600
  const openSettingModal = () => {
35593
35601
  modal.openModal({
35594
- component: defineAsyncComponent(() => import("./BSGridColumnSettingModal-DA-7eX5k.js")),
35602
+ component: defineAsyncComponent(() => import("./BSGridColumnSettingModal-BXSquaY_.js")),
35595
35603
  bind: {
35596
35604
  columns: props.columns,
35597
35605
  columnSettings: props.columnSettings,