@g1cloud/bluesea 5.0.0-alpha.74 → 5.0.0-alpha.76

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.
@@ -23,7 +23,32 @@
23
23
 
24
24
  // input component
25
25
  .bs-input-wrap {
26
- @extend .bs-box-component-wrap
26
+ @extend .bs-box-component-wrap;
27
+
28
+ .suffix,
29
+ .prefix {
30
+ font-size: 0.9em;
31
+ margin-right: 4px;
32
+ margin-left: 4px;
33
+ background-color: $gray-200;
34
+ padding: 2px 4px;
35
+ border-radius: 2px;
36
+ line-height: 1;
37
+ white-space: nowrap;
38
+
39
+ &:first-child {
40
+ margin-left: 4px;
41
+ }
42
+
43
+ .font-icon {
44
+ font-size: 0.9em;
45
+ }
46
+
47
+ img {
48
+ width: 0.9em;
49
+ height: 0.9em;
50
+ }
51
+ }
27
52
  }
28
53
 
29
54
  .bs-input-base {
@@ -55,30 +80,6 @@
55
80
  font-family: sans-serif;
56
81
  }
57
82
 
58
- > .suffix,
59
- .prefix {
60
- font-size: 0.9em;
61
- margin-right: 4px;
62
- background-color: $gray-200;
63
- padding: 2px 4px;
64
- border-radius: 2px;
65
- line-height: 1;
66
- white-space: nowrap;
67
-
68
- &:first-child {
69
- margin-left: 4px;
70
- }
71
-
72
- .font-icon {
73
- font-size: 0.9em;
74
- }
75
-
76
- img {
77
- width: 0.9em;
78
- height: 0.9em;
79
- }
80
- }
81
-
82
83
  &:hover {
83
84
  border-color: $black;
84
85
  }
@@ -208,6 +208,7 @@ header.default-header {
208
208
  .fixed-header {
209
209
  position: fixed;
210
210
  width: 100%;
211
+ min-height: 43px;
211
212
  border-bottom: 1px solid $gray-400;
212
213
  background-color: white;
213
214
  padding: 8px 16px;
@@ -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, h as vT } from "./index-B2-vA9S0.js";
2
+ import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, v as vFocusOnLoad, h as vT } from "./index-DhEBTNSl.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, e as _sfc_main$2, f as _sfc_main$3, g as _sfc_main$4, B as BSButton, n as notNull } from "./index-B2-vA9S0.js";
2
+ import { d as createInputGridHandler, u as useModalHandle, _ as _sfc_main$1, e as _sfc_main$2, f as _sfc_main$3, g as _sfc_main$4, B as BSButton, n as notNull } from "./index-DhEBTNSl.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" };
@@ -48,8 +48,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
48
48
  });
49
49
  const updateFixedColumn = async (value, row) => {
50
50
  const rowIndex = editingColumns.value.indexOf(row);
51
+ const oldFixedIndex = editingColumns.value.findLastIndex((col) => col.fixed) + 1;
51
52
  await nextTick();
52
- const fixedIndex = !value && rowIndex === 0 ? -1 : rowIndex;
53
+ const fixedIndex = !value && oldFixedIndex === 0 && rowIndex === 0 ? -1 : rowIndex;
53
54
  editingColumns.value.forEach((col, idx) => col.fixed = idx <= fixedIndex);
54
55
  };
55
56
  const modalHandle = useModalHandle();
@@ -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, h as vT } from "./index-B2-vA9S0.js";
2
+ import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, h as vT } from "./index-DhEBTNSl.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, 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-B2-vA9S0.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-DhEBTNSl.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 { i as findImageNode, u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, B as BSButton, j as numberToPixel, k as formValidator } from "./index-B2-vA9S0.js";
2
+ import { i as findImageNode, u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, B as BSButton, j as numberToPixel, k as formValidator } from "./index-DhEBTNSl.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-B2-vA9S0.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-DhEBTNSl.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, g as _sfc_main$3, B as BSButton } from "./index-B2-vA9S0.js";
2
+ import { u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, g as _sfc_main$3, B as BSButton } from "./index-DhEBTNSl.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, g as _sfc_main$4, B as BSButton } from "./index-B2-vA9S0.js";
2
+ import { u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, g as _sfc_main$4, B as BSButton } from "./index-DhEBTNSl.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, g as _sfc_main$4, B as BSButton } from "./index-B2-vA9S0.js";
2
+ import { N as NodeSelection, u as useModalHandle, _ as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, g as _sfc_main$4, B as BSButton } from "./index-DhEBTNSl.js";
3
3
  const findYoutubeNode = (selection) => {
4
4
  if (selection instanceof NodeSelection) {
5
5
  const node = selection.node;
package/dist/bluesea.js CHANGED
@@ -1,9 +1,9 @@
1
- import { ap, aq, b9, ba, l, aa, af, B, x, y, Y, f, F, ac, A, r, ag, bK, t, C, D, W, X, E, b, e, U, T, ab, R, p, $, Z, s, a7, bu, ad, _, S, a5, a6, a4, a3, a2, K, a8, ae, g, w, o, O, z, q, G, H, Q, J, a, a9, P, V, c, a0, a1, M, L, I, m, bh, bg, av, ai, bO, ah, aB, az, aw, bf, aD, aC, bS, b7, bd, aA, be, aE, am, an, al, ao, bc, bb, ay, b8, aZ, br, aL, bq, b$, bA, bi, bp, bo, at, b0, bC, au, bN, bP, d, bx, ax, aI, ar, aJ, as, bn, aW, aX, aY, aT, aV, aU, aS, aP, k, bU, bI, bF, bT, bl, ak, c0, bZ, c1, b1, b_, b3, aM, bm, aO, c2, bk, n, by, bj, bY, bQ, bs, bw, a_, aF, b6, b2, b4, b5, bB, bH, bG, bz, bE, aN, aK, bD, bX, bL, bM, bR, bt, bv, u, a$, aG, aH, aj, h, aQ, aR, bW, bV, bJ } from "./index-B2-vA9S0.js";
1
+ import { ap, aq, bc, bd, l, aa, af, B, x, y, Y, f, F, ac, A, r, ag, bN, t, C, D, W, X, E, b, e, U, T, ab, R, p, $, Z, s, a7, bx, ad, _, S, a5, a6, a4, a3, a2, K, a8, ae, g, w, o, O, z, q, G, H, Q, J, a, a9, P, V, c, a0, a1, M, L, I, m, bk, bj, av, ai, bR, ah, aB, az, aw, bi, aD, aC, bV, ba, bg, aA, bh, aE, am, an, al, ao, bf, be, ay, bb, b0, bu, aI, aO, bt, c2, bD, bl, bs, br, at, b3, bF, au, bQ, bS, d, bA, ax, aL, ar, aM, as, bq, aZ, a_, a$, aW, aY, aX, aV, aS, k, bX, bL, bI, bW, bo, ak, c3, c0, c4, b4, c1, b6, aP, bp, aR, c5, bn, n, bB, bm, b$, bT, bv, bz, b1, aF, aJ, b9, b5, b7, b8, bE, bK, bJ, bC, bH, aQ, aN, bG, b_, bO, bP, bU, bw, by, u, b2, aG, aH, aK, aj, h, aT, aU, bZ, bY, bM } from "./index-DhEBTNSl.js";
2
2
  export {
3
3
  ap as ADDRESS_COUNTRY_CONFIGS,
4
4
  aq as ADDRESS_COUNTRY_CONFIG_DEFAULT,
5
- b9 as AbstractFilter,
6
- ba as AndFilter,
5
+ bc as AbstractFilter,
6
+ bd as AndFilter,
7
7
  l as BLUESEA_VERSION,
8
8
  aa as BSAddressInput,
9
9
  af as BSAlarmFrame,
@@ -17,7 +17,7 @@ export {
17
17
  A as BSColorInput,
18
18
  r as BSConsole,
19
19
  ag as BSContextMenuContainer,
20
- bK as BSContextMenuPlugin,
20
+ bN as BSContextMenuPlugin,
21
21
  t as BSDate,
22
22
  C as BSDateInput,
23
23
  D as BSDateRange,
@@ -35,7 +35,7 @@ export {
35
35
  Z as BSListLayout,
36
36
  s as BSLoadingIcon,
37
37
  a7 as BSLocaleSelect,
38
- bu as BSModal,
38
+ bx as BSModal,
39
39
  ad as BSModalContainer,
40
40
  _ as BSModalFrame,
41
41
  S as BSMultiImageUpload,
@@ -68,117 +68,120 @@ export {
68
68
  L as BSTreeSelect,
69
69
  I as BSYesNoGroup,
70
70
  m as BSYesNoSelect,
71
- bh as BetweenDateFilter,
72
- bg as BetweenFilter,
71
+ bk as BetweenDateFilter,
72
+ bj as BetweenFilter,
73
73
  av as DEFAULT_GRID_COLUMN_WIDTH,
74
74
  ai as DefaultBody,
75
- bO as DefaultFrameContext,
75
+ bR as DefaultFrameContext,
76
76
  ah as DefaultHeader,
77
77
  aB as EditableInputGridHandlerImpl,
78
78
  az as EditablePageGridHandlerImpl,
79
79
  aw as EditingRows,
80
- bf as EqualFilter,
80
+ bi as EqualFilter,
81
81
  aD as GridHandlerEditableSupport,
82
82
  aC as GridHandlerSelectDeleteSupport,
83
- bS as I18NTexts,
84
- b7 as IllegalAccessError,
85
- bd as InFilter,
83
+ bV as I18NTexts,
84
+ ba as IllegalAccessError,
85
+ bg as InFilter,
86
86
  aA as InputGridHandlerImpl,
87
- be as LikeFilter,
87
+ bh as LikeFilter,
88
88
  aE as LocalStorageGridPreferenceStore,
89
89
  am as NAME_INPUT_STYLE_2,
90
90
  an as NAME_INPUT_STYLE_3,
91
91
  al as NAME_INPUT_STYLE_DEFAULT,
92
92
  ao as NAME_INPUT_STYLE_JP,
93
- bc as NotFilter,
94
- bb as OrFilter,
93
+ bf as NotFilter,
94
+ be as OrFilter,
95
95
  ay as PageGridHandlerImpl,
96
- b8 as PaginatedList,
97
- aZ as SavePointImpl,
98
- br as SearchParam,
99
- aL as ValidationFailedError,
100
- bq as acceptFilter,
101
- b$ as addPrefixToMultiLangString,
102
- bA as alarmEntries,
103
- bi as andFilter,
104
- bp as betweenDateFilter,
105
- bo as betweenFilter,
96
+ bb as PaginatedList,
97
+ b0 as SavePointImpl,
98
+ bu as SearchParam,
99
+ aI as TabStatusManagerImpl,
100
+ aO as ValidationFailedError,
101
+ bt as acceptFilter,
102
+ c2 as addPrefixToMultiLangString,
103
+ bD as alarmEntries,
104
+ bl as andFilter,
105
+ bs as betweenDateFilter,
106
+ br as betweenFilter,
106
107
  at as blueseaConfig,
107
- b0 as cancelProvidedSavePoint,
108
- bC as closeAlarm,
108
+ b3 as cancelProvidedSavePoint,
109
+ bF as closeAlarm,
109
110
  au as configureBluesea,
110
- bN as createContextMenuPlugin,
111
- bP as createDefaultFrameContext,
111
+ bQ as createContextMenuPlugin,
112
+ bS as createDefaultFrameContext,
112
113
  d as createInputGridHandler,
113
- bx as createModalPlugin,
114
+ bA as createModalPlugin,
114
115
  ax as createPageGridHandler,
115
- aI as createTreeHandler,
116
+ aL as createTreeHandler,
116
117
  ar as defaultAddressInputComponentConfig,
117
- aJ as defaultExpandMultiLang,
118
+ aM as defaultExpandMultiLang,
118
119
  as as defaultRichTextComponentConfig,
119
- bn as equalFilter,
120
- aW as executeBetweenLengthValidation,
121
- aX as executeBetweenValueValidation,
122
- aY as executeDateRangeValidation,
123
- aT as executeFieldValidationRule,
124
- aV as executeRegExpValidation,
125
- aU as executeRequiredValidation,
126
- aS as fieldValidator,
127
- aP as findFieldValidatorElements,
120
+ bq as equalFilter,
121
+ aZ as executeBetweenLengthValidation,
122
+ a_ as executeBetweenValueValidation,
123
+ a$ as executeDateRangeValidation,
124
+ aW as executeFieldValidationRule,
125
+ aY as executeRegExpValidation,
126
+ aX as executeRequiredValidation,
127
+ aV as fieldValidator,
128
+ aS as findFieldValidatorElements,
128
129
  k as formValidator,
129
- bU as formatUtil,
130
- bI as hideLoading,
131
- bF as hideTooltip,
132
- bT as i18n,
133
- bl as inFilter,
130
+ bX as formatUtil,
131
+ bL as hideLoading,
132
+ bI as hideTooltip,
133
+ bW as i18n,
134
+ bo as inFilter,
134
135
  ak as interpretMultiLangText,
135
- c0 as isBlankMultiLangImageFile,
136
- bZ as isBlankMultiLangString,
137
- c1 as isMultiLangImageFileValidRequired,
138
- b1 as isMultiLangMessage,
139
- b_ as isMultiLangStringValidRequired,
140
- b3 as isNameEmpty,
141
- aM as isValidationFailedError,
142
- bm as likeFilter,
143
- aO as loadFieldValidator,
144
- c2 as localeNameProvider,
145
- bk as notFilter,
136
+ c3 as isBlankMultiLangImageFile,
137
+ c0 as isBlankMultiLangString,
138
+ c4 as isMultiLangImageFileValidRequired,
139
+ b4 as isMultiLangMessage,
140
+ c1 as isMultiLangStringValidRequired,
141
+ b6 as isNameEmpty,
142
+ aP as isValidationFailedError,
143
+ bp as likeFilter,
144
+ aR as loadFieldValidator,
145
+ c5 as localeNameProvider,
146
+ bn as notFilter,
146
147
  n as notNull,
147
- by as notificationEntries,
148
- bj as orFilter,
149
- bY as parsePathParam,
150
- bQ as provideDefaultFrameContext,
151
- bs as provideFieldContext,
152
- bw as provideModalHandle,
153
- a_ as provideSavePoint,
148
+ bB as notificationEntries,
149
+ bm as orFilter,
150
+ b$ as parsePathParam,
151
+ bT as provideDefaultFrameContext,
152
+ bv as provideFieldContext,
153
+ bz as provideModalHandle,
154
+ b1 as provideSavePoint,
154
155
  aF as provideTabManager,
155
- b6 as serializeAddress,
156
- b2 as serializeMoney,
157
- b4 as serializeName,
158
- b5 as serializeTel,
159
- bB as showAlarm,
160
- bH as showLoading,
161
- bG as showLoadingIcon,
162
- bz as showNotification,
163
- bE as showTooltip,
164
- aN as storeFieldValidator,
165
- aK as toggleDefaultExpandMultiLang,
166
- bD as tooltipEntry,
167
- bX as tryUntil,
168
- bL as useContextMenu,
169
- bM as useContextMenuOptional,
170
- bR as useDefaultFrame,
171
- bt as useFieldContext,
172
- bv as useModal,
156
+ aJ as provideTabStatusManager,
157
+ b9 as serializeAddress,
158
+ b5 as serializeMoney,
159
+ b7 as serializeName,
160
+ b8 as serializeTel,
161
+ bE as showAlarm,
162
+ bK as showLoading,
163
+ bJ as showLoadingIcon,
164
+ bC as showNotification,
165
+ bH as showTooltip,
166
+ aQ as storeFieldValidator,
167
+ aN as toggleDefaultExpandMultiLang,
168
+ bG as tooltipEntry,
169
+ b_ as tryUntil,
170
+ bO as useContextMenu,
171
+ bP as useContextMenuOptional,
172
+ bU as useDefaultFrame,
173
+ bw as useFieldContext,
174
+ by as useModal,
173
175
  u as useModalHandle,
174
- a$ as useSavePoint,
176
+ b2 as useSavePoint,
175
177
  aG as useTabManager,
176
178
  aH as useTabManagerSilently,
179
+ aK as useTabStatusManager,
177
180
  aj as vClickOutside,
178
181
  h as vT,
179
- aQ as validateField,
180
- aR as validateFields,
181
- bW as waitDuring,
182
- bV as waitUntil,
183
- bJ as withLoading
182
+ aT as validateField,
183
+ aU as validateFields,
184
+ bZ as waitDuring,
185
+ bY as waitUntil,
186
+ bM as withLoading
184
187
  };