@g1cloud/bluesea 5.0.0-alpha.21 → 5.0.0-alpha.23

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.
Files changed (119) hide show
  1. package/css/utility.scss +11 -0
  2. package/dist/{AddressSearchModal-g6x5pSGd.js → AddressSearchModal-CPegmgwQ.js} +1 -3
  3. package/dist/BSAlertModal-MxEOlzdu.js +47 -0
  4. package/dist/BSYesNoModal-Doy1TZ26.js +56 -0
  5. package/dist/bluesea.js +123 -31923
  6. package/dist/bluesea.umd.cjs +1394 -939
  7. package/dist/component/basic/BSButton.vue.d.ts +3 -2
  8. package/dist/component/basic/BSConsole.vue.d.ts +2 -2
  9. package/dist/component/basic/BSImage.vue.d.ts +3 -2
  10. package/dist/component/basic/BSLink.vue.d.ts +2 -2
  11. package/dist/component/basic/BSPopup.vue.d.ts +1 -1
  12. package/dist/component/basic/BSPopupButton.vue.d.ts +4 -3
  13. package/dist/component/basic/BSProgressBar.vue.d.ts +2 -2
  14. package/dist/component/global/AddressSearchList.gen.d.ts +2 -1
  15. package/dist/component/global/AddressSearchModal.vue.d.ts +4 -3
  16. package/dist/component/global/BSAddressInput.vue.d.ts +3 -2
  17. package/dist/component/global/BSLocaleSelect.vue.d.ts +2 -2
  18. package/dist/component/global/BSNameInput.vue.d.ts +3 -2
  19. package/dist/component/global/BSTelInput.vue.d.ts +3 -2
  20. package/dist/component/grid/BSDateRangeFilter.vue.d.ts +5 -4
  21. package/dist/component/grid/BSDateRangeFilters.vue.d.ts +5 -4
  22. package/dist/component/grid/BSGrid.vue.d.ts +30 -23
  23. package/dist/component/grid/BSGridCell.vue.d.ts +9 -8
  24. package/dist/component/grid/BSGridCellCheckbox.vue.d.ts +3 -3
  25. package/dist/component/grid/BSGridCellEdit.vue.d.ts +3 -3
  26. package/dist/component/grid/BSGridCellSerialNo.vue.d.ts +2 -2
  27. package/dist/component/grid/BSGridControl.vue.d.ts +10 -15
  28. package/dist/component/grid/BSGridHeaderCell.vue.d.ts +4 -3
  29. package/dist/component/grid/BSGridHeaderCellCheckbox.vue.d.ts +3 -3
  30. package/dist/component/grid/BSGridHeaderCellSerialNo.vue.d.ts +1 -1
  31. package/dist/component/grid/BSGridLookup.vue.d.ts +5 -4
  32. package/dist/component/grid/BSGridPageNavigation.vue.d.ts +6 -5
  33. package/dist/component/grid/BSGridRow.vue.d.ts +21 -17
  34. package/dist/component/grid/BSTextFilter.vue.d.ts +5 -4
  35. package/dist/component/grid/GridModel.d.ts +178 -3
  36. package/dist/component/input/BSCheckbox.vue.d.ts +4 -3
  37. package/dist/component/input/BSCheckboxGroup.vue.d.ts +9 -8
  38. package/dist/component/input/BSDateInput.vue.d.ts +5 -4
  39. package/dist/component/input/BSDateRange.vue.d.ts +5 -4
  40. package/dist/component/input/BSMultiSelect.vue.d.ts +12 -11
  41. package/dist/component/input/BSNumberInput.vue.d.ts +5 -4
  42. package/dist/component/input/BSPopupSelect.vue.d.ts +5 -4
  43. package/dist/component/input/BSPriceInput.vue.d.ts +5 -4
  44. package/dist/component/input/BSRadioButton.vue.d.ts +8 -7
  45. package/dist/component/input/BSRadioButtonGroup.vue.d.ts +10 -9
  46. package/dist/component/input/BSSelect.vue.d.ts +10 -9
  47. package/dist/component/input/BSSelectPopup.vue.d.ts +11 -10
  48. package/dist/component/input/BSTextArea.vue.d.ts +5 -4
  49. package/dist/component/input/BSTextInput.vue.d.ts +5 -4
  50. package/dist/component/input/BSTreeSelect.vue.d.ts +8 -7
  51. package/dist/component/input/BSYesNoGroup.vue.d.ts +4 -3
  52. package/dist/component/input/BSYesNoSelect.vue.d.ts +6 -3
  53. package/dist/component/input/ValidationErrors.vue.d.ts +3 -2
  54. package/dist/component/layout/BSCardLayout.vue.d.ts +3 -2
  55. package/dist/component/layout/BSListControl.vue.d.ts +4 -4
  56. package/dist/component/layout/BSListLayout.vue.d.ts +4 -4
  57. package/dist/component/layout/BSListLayoutItem.vue.d.ts +4 -4
  58. package/dist/component/layout/BSTabSheet.vue.d.ts +5 -4
  59. package/dist/component/layout/SlideDownTransition.vue.d.ts +1 -1
  60. package/dist/component/layout/TabSheetModel.d.ts +3 -1
  61. package/dist/component/multilang/BSMultiLangExpandButton.vue.d.ts +1 -1
  62. package/dist/component/multilang/BSMultiLangRichText.vue.d.ts +5 -4
  63. package/dist/component/multilang/BSMultiLangTextArea.vue.d.ts +5 -4
  64. package/dist/component/multilang/BSMultiLangTextInput.vue.d.ts +5 -4
  65. package/dist/component/multilang/multiLangLib.d.ts +1 -1
  66. package/dist/component/richtext/BSRichText.vue.d.ts +5 -4
  67. package/dist/component/richtext/RichTextToolbar.vue.d.ts +4 -3
  68. package/dist/component/richtext/ToolButtonColor.vue.d.ts +4 -3
  69. package/dist/component/richtext/ToolButtonFontSize.vue.d.ts +4 -3
  70. package/dist/component/tree/BSTree.vue.d.ts +13 -12
  71. package/dist/component/tree/BSTreeControl.vue.d.ts +4 -4
  72. package/dist/component/tree/BSTreeRow.vue.d.ts +9 -8
  73. package/dist/component/tree/TreeLib.d.ts +1 -1
  74. package/dist/component/tree/vTreeDndSupport.d.ts +2 -1
  75. package/dist/config/config.d.ts +1 -0
  76. package/dist/contextmenu/BSContextMenu.vue.d.ts +5 -4
  77. package/dist/contextmenu/BSContextMenuContainer.vue.d.ts +1 -1
  78. package/dist/contextmenu/contextMenuPlugin.d.ts +4 -3
  79. package/dist/directive/vClickOutside.d.ts +2 -1
  80. package/dist/directive/vFocusOnLoad.d.ts +2 -1
  81. package/dist/directive/vT.d.ts +2 -1
  82. package/dist/frame/FrameModel.d.ts +3 -2
  83. package/dist/frame/default/DefaultBody.vue.d.ts +1 -1
  84. package/dist/frame/default/DefaultFrameModel.d.ts +3 -2
  85. package/dist/frame/default/DefaultHeader.vue.d.ts +1 -1
  86. package/dist/frame/default/HeaderTab.vue.d.ts +4 -3
  87. package/dist/frame/default/HeaderTabs.vue.d.ts +1 -1
  88. package/dist/frame/default/SideBarMenuSearch.vue.d.ts +5 -4
  89. package/dist/frame/default/SidebarMenu.vue.d.ts +1 -1
  90. package/dist/frame/default/SidebarMenuItem.vue.d.ts +5 -4
  91. package/dist/frame/default/SidebarMenuLink.vue.d.ts +5 -4
  92. package/dist/index-C52dOdP2.js +32280 -0
  93. package/dist/index.d.ts +69 -69
  94. package/dist/modal/BSAlertModal.vue.d.ts +23 -0
  95. package/dist/modal/BSModalContainer.vue.d.ts +1 -1
  96. package/dist/modal/BSModalFrame.vue.d.ts +3 -2
  97. package/dist/modal/BSModalWrapper.vue.d.ts +4 -3
  98. package/dist/modal/BSYesNoModal.vue.d.ts +25 -0
  99. package/dist/modal/modalPlugin.d.ts +5 -1
  100. package/dist/model/DefaultImpl.d.ts +2 -1
  101. package/dist/model/FilterModel.d.ts +2 -1
  102. package/dist/model/SearchModel.d.ts +2 -1
  103. package/dist/notification/BSNotificationContainer.vue.d.ts +1 -1
  104. package/dist/notification/notificationPlugin.d.ts +1 -0
  105. package/dist/savepoint/SavePoint.d.ts +2 -1
  106. package/dist/style.css +4291 -3337
  107. package/dist/text/texts.d.ts +1 -0
  108. package/dist/util/debounce.d.ts +1 -1
  109. package/dist/util/elementUtil.d.ts +2 -1
  110. package/dist/util/formatUtil.d.ts +2 -1
  111. package/dist/util/multiLangUtil.d.ts +1 -0
  112. package/dist/util/routeUtil.d.ts +2 -1
  113. package/dist/validator/FieldValidator.d.ts +2 -1
  114. package/dist/validator/FormValidator.d.ts +3 -2
  115. package/package.json +29 -29
  116. package/text/bluesea_text_en.json +10 -10
  117. package/text/bluesea_text_ja.json +10 -10
  118. package/text/bluesea_text_ko.json +10 -10
  119. package/text/bluesea_text_zh.json +8 -8
package/css/utility.scss CHANGED
@@ -123,6 +123,17 @@
123
123
  }
124
124
  }
125
125
 
126
+ // min width, height
127
+ @for $index from 2 through 80 {
128
+ $value: $index * 16;
129
+ .min-w-#{$value} {
130
+ min-width: #{$value}px !important;
131
+ }
132
+ .min-h-#{$value} {
133
+ min-height: #{$value}px !important;
134
+ }
135
+ }
136
+
126
137
  // display
127
138
 
128
139
  @mixin display() {
@@ -1,7 +1,5 @@
1
1
  import { defineComponent, ref, onMounted, openBlock, createBlock, withCtx, createElementVNode, createVNode, unref } from "vue";
2
- import { SearchParam, PaginatedList, useModalHandle, BSModalFrame as _sfc_main$1, BSGridLookup as _sfc_main$2, BSGrid as _sfc_main$3, BSButton, waitDuring } from "./bluesea.js";
3
- import "dayjs";
4
- import "vue-router";
2
+ import { S as SearchParam, P as PaginatedList, u as useModalHandle, _ as _sfc_main$1, a as _sfc_main$2, b as _sfc_main$3, B as BSButton, w as waitDuring } from "./index-C52dOdP2.js";
5
3
  const gridColumns = [
6
4
  { propertyId: "zipCode", caption: "Zipcode", width: 80 },
7
5
  { propertyId: "address1", caption: "state/province/region", width: 150 },
@@ -0,0 +1,47 @@
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, c as vT } from "./index-C52dOdP2.js";
3
+ const _hoisted_1 = { class: "text-right" };
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "BSAlertModal",
6
+ props: {
7
+ title: {},
8
+ message: {}
9
+ },
10
+ emits: ["click"],
11
+ setup(__props, { emit: __emit }) {
12
+ const emit = __emit;
13
+ const modalHandle = useModalHandle();
14
+ modalHandle.setDefaultStyle({
15
+ minWidth: "300px"
16
+ });
17
+ const clickOk = () => {
18
+ emit("click");
19
+ modalHandle.close();
20
+ };
21
+ return (_ctx, _cache) => {
22
+ return openBlock(), createBlock(_sfc_main$1, { title: _ctx.title }, {
23
+ buttons: withCtx(() => [
24
+ createElementVNode("div", _hoisted_1, [
25
+ withDirectives(createVNode(BSButton, {
26
+ caption: { key: "bs.ok" },
27
+ "button-color": "blue",
28
+ class: "min-w-80",
29
+ onClick: clickOk
30
+ }, null, 512), [
31
+ [unref(vFocusOnLoad)]
32
+ ])
33
+ ])
34
+ ]),
35
+ default: withCtx(() => [
36
+ withDirectives(createElementVNode("div", null, null, 512), [
37
+ [unref(vT), _ctx.message]
38
+ ])
39
+ ]),
40
+ _: 1
41
+ }, 8, ["title"]);
42
+ };
43
+ }
44
+ });
45
+ export {
46
+ _sfc_main as default
47
+ };
@@ -0,0 +1,56 @@
1
+ import { defineComponent, openBlock, createBlock, withCtx, createElementVNode, createVNode, withDirectives, unref } from "vue";
2
+ import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, v as vFocusOnLoad, c as vT } from "./index-C52dOdP2.js";
3
+ const _hoisted_1 = { class: "text-right" };
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "BSYesNoModal",
6
+ props: {
7
+ title: {},
8
+ message: {}
9
+ },
10
+ emits: ["clickNo", "clickYes"],
11
+ setup(__props, { emit: __emit }) {
12
+ const emit = __emit;
13
+ const modalHandle = useModalHandle();
14
+ modalHandle.setDefaultStyle({
15
+ minWidth: "300px"
16
+ });
17
+ const clickNo = () => {
18
+ emit("clickNo");
19
+ modalHandle.close();
20
+ };
21
+ const clickYes = () => {
22
+ emit("clickYes");
23
+ modalHandle.close();
24
+ };
25
+ return (_ctx, _cache) => {
26
+ return openBlock(), createBlock(_sfc_main$1, { title: _ctx.title }, {
27
+ buttons: withCtx(() => [
28
+ createElementVNode("div", _hoisted_1, [
29
+ createVNode(BSButton, {
30
+ caption: { key: "bs.yes" },
31
+ "button-color": "blue",
32
+ class: "min-w-80",
33
+ onClick: clickYes
34
+ }),
35
+ withDirectives(createVNode(BSButton, {
36
+ caption: { key: "bs.no" },
37
+ class: "ml-8 min-w-80",
38
+ onClick: clickNo
39
+ }, null, 512), [
40
+ [unref(vFocusOnLoad)]
41
+ ])
42
+ ])
43
+ ]),
44
+ default: withCtx(() => [
45
+ withDirectives(createElementVNode("div", null, null, 512), [
46
+ [unref(vT), _ctx.message]
47
+ ])
48
+ ]),
49
+ _: 1
50
+ }, 8, ["title"]);
51
+ };
52
+ }
53
+ });
54
+ export {
55
+ _sfc_main as default
56
+ };