@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.
- package/css/utility.scss +11 -0
- package/dist/{AddressSearchModal-g6x5pSGd.js → AddressSearchModal-CPegmgwQ.js} +1 -3
- package/dist/BSAlertModal-MxEOlzdu.js +47 -0
- package/dist/BSYesNoModal-Doy1TZ26.js +56 -0
- package/dist/bluesea.js +123 -31923
- package/dist/bluesea.umd.cjs +1394 -939
- package/dist/component/basic/BSButton.vue.d.ts +3 -2
- package/dist/component/basic/BSConsole.vue.d.ts +2 -2
- package/dist/component/basic/BSImage.vue.d.ts +3 -2
- package/dist/component/basic/BSLink.vue.d.ts +2 -2
- package/dist/component/basic/BSPopup.vue.d.ts +1 -1
- package/dist/component/basic/BSPopupButton.vue.d.ts +4 -3
- package/dist/component/basic/BSProgressBar.vue.d.ts +2 -2
- package/dist/component/global/AddressSearchList.gen.d.ts +2 -1
- package/dist/component/global/AddressSearchModal.vue.d.ts +4 -3
- package/dist/component/global/BSAddressInput.vue.d.ts +3 -2
- package/dist/component/global/BSLocaleSelect.vue.d.ts +2 -2
- package/dist/component/global/BSNameInput.vue.d.ts +3 -2
- package/dist/component/global/BSTelInput.vue.d.ts +3 -2
- package/dist/component/grid/BSDateRangeFilter.vue.d.ts +5 -4
- package/dist/component/grid/BSDateRangeFilters.vue.d.ts +5 -4
- package/dist/component/grid/BSGrid.vue.d.ts +30 -23
- package/dist/component/grid/BSGridCell.vue.d.ts +9 -8
- package/dist/component/grid/BSGridCellCheckbox.vue.d.ts +3 -3
- package/dist/component/grid/BSGridCellEdit.vue.d.ts +3 -3
- package/dist/component/grid/BSGridCellSerialNo.vue.d.ts +2 -2
- package/dist/component/grid/BSGridControl.vue.d.ts +10 -15
- package/dist/component/grid/BSGridHeaderCell.vue.d.ts +4 -3
- package/dist/component/grid/BSGridHeaderCellCheckbox.vue.d.ts +3 -3
- package/dist/component/grid/BSGridHeaderCellSerialNo.vue.d.ts +1 -1
- package/dist/component/grid/BSGridLookup.vue.d.ts +5 -4
- package/dist/component/grid/BSGridPageNavigation.vue.d.ts +6 -5
- package/dist/component/grid/BSGridRow.vue.d.ts +21 -17
- package/dist/component/grid/BSTextFilter.vue.d.ts +5 -4
- package/dist/component/grid/GridModel.d.ts +178 -3
- package/dist/component/input/BSCheckbox.vue.d.ts +4 -3
- package/dist/component/input/BSCheckboxGroup.vue.d.ts +9 -8
- package/dist/component/input/BSDateInput.vue.d.ts +5 -4
- package/dist/component/input/BSDateRange.vue.d.ts +5 -4
- package/dist/component/input/BSMultiSelect.vue.d.ts +12 -11
- package/dist/component/input/BSNumberInput.vue.d.ts +5 -4
- package/dist/component/input/BSPopupSelect.vue.d.ts +5 -4
- package/dist/component/input/BSPriceInput.vue.d.ts +5 -4
- package/dist/component/input/BSRadioButton.vue.d.ts +8 -7
- package/dist/component/input/BSRadioButtonGroup.vue.d.ts +10 -9
- package/dist/component/input/BSSelect.vue.d.ts +10 -9
- package/dist/component/input/BSSelectPopup.vue.d.ts +11 -10
- package/dist/component/input/BSTextArea.vue.d.ts +5 -4
- package/dist/component/input/BSTextInput.vue.d.ts +5 -4
- package/dist/component/input/BSTreeSelect.vue.d.ts +8 -7
- package/dist/component/input/BSYesNoGroup.vue.d.ts +4 -3
- package/dist/component/input/BSYesNoSelect.vue.d.ts +6 -3
- package/dist/component/input/ValidationErrors.vue.d.ts +3 -2
- package/dist/component/layout/BSCardLayout.vue.d.ts +3 -2
- package/dist/component/layout/BSListControl.vue.d.ts +4 -4
- package/dist/component/layout/BSListLayout.vue.d.ts +4 -4
- package/dist/component/layout/BSListLayoutItem.vue.d.ts +4 -4
- package/dist/component/layout/BSTabSheet.vue.d.ts +5 -4
- package/dist/component/layout/SlideDownTransition.vue.d.ts +1 -1
- package/dist/component/layout/TabSheetModel.d.ts +3 -1
- package/dist/component/multilang/BSMultiLangExpandButton.vue.d.ts +1 -1
- package/dist/component/multilang/BSMultiLangRichText.vue.d.ts +5 -4
- package/dist/component/multilang/BSMultiLangTextArea.vue.d.ts +5 -4
- package/dist/component/multilang/BSMultiLangTextInput.vue.d.ts +5 -4
- package/dist/component/multilang/multiLangLib.d.ts +1 -1
- package/dist/component/richtext/BSRichText.vue.d.ts +5 -4
- package/dist/component/richtext/RichTextToolbar.vue.d.ts +4 -3
- package/dist/component/richtext/ToolButtonColor.vue.d.ts +4 -3
- package/dist/component/richtext/ToolButtonFontSize.vue.d.ts +4 -3
- package/dist/component/tree/BSTree.vue.d.ts +13 -12
- package/dist/component/tree/BSTreeControl.vue.d.ts +4 -4
- package/dist/component/tree/BSTreeRow.vue.d.ts +9 -8
- package/dist/component/tree/TreeLib.d.ts +1 -1
- package/dist/component/tree/vTreeDndSupport.d.ts +2 -1
- package/dist/config/config.d.ts +1 -0
- package/dist/contextmenu/BSContextMenu.vue.d.ts +5 -4
- package/dist/contextmenu/BSContextMenuContainer.vue.d.ts +1 -1
- package/dist/contextmenu/contextMenuPlugin.d.ts +4 -3
- package/dist/directive/vClickOutside.d.ts +2 -1
- package/dist/directive/vFocusOnLoad.d.ts +2 -1
- package/dist/directive/vT.d.ts +2 -1
- package/dist/frame/FrameModel.d.ts +3 -2
- package/dist/frame/default/DefaultBody.vue.d.ts +1 -1
- package/dist/frame/default/DefaultFrameModel.d.ts +3 -2
- package/dist/frame/default/DefaultHeader.vue.d.ts +1 -1
- package/dist/frame/default/HeaderTab.vue.d.ts +4 -3
- package/dist/frame/default/HeaderTabs.vue.d.ts +1 -1
- package/dist/frame/default/SideBarMenuSearch.vue.d.ts +5 -4
- package/dist/frame/default/SidebarMenu.vue.d.ts +1 -1
- package/dist/frame/default/SidebarMenuItem.vue.d.ts +5 -4
- package/dist/frame/default/SidebarMenuLink.vue.d.ts +5 -4
- package/dist/index-C52dOdP2.js +32280 -0
- package/dist/index.d.ts +69 -69
- package/dist/modal/BSAlertModal.vue.d.ts +23 -0
- package/dist/modal/BSModalContainer.vue.d.ts +1 -1
- package/dist/modal/BSModalFrame.vue.d.ts +3 -2
- package/dist/modal/BSModalWrapper.vue.d.ts +4 -3
- package/dist/modal/BSYesNoModal.vue.d.ts +25 -0
- package/dist/modal/modalPlugin.d.ts +5 -1
- package/dist/model/DefaultImpl.d.ts +2 -1
- package/dist/model/FilterModel.d.ts +2 -1
- package/dist/model/SearchModel.d.ts +2 -1
- package/dist/notification/BSNotificationContainer.vue.d.ts +1 -1
- package/dist/notification/notificationPlugin.d.ts +1 -0
- package/dist/savepoint/SavePoint.d.ts +2 -1
- package/dist/style.css +4291 -3337
- package/dist/text/texts.d.ts +1 -0
- package/dist/util/debounce.d.ts +1 -1
- package/dist/util/elementUtil.d.ts +2 -1
- package/dist/util/formatUtil.d.ts +2 -1
- package/dist/util/multiLangUtil.d.ts +1 -0
- package/dist/util/routeUtil.d.ts +2 -1
- package/dist/validator/FieldValidator.d.ts +2 -1
- package/dist/validator/FormValidator.d.ts +3 -2
- package/package.json +29 -29
- package/text/bluesea_text_en.json +10 -10
- package/text/bluesea_text_ja.json +10 -10
- package/text/bluesea_text_ko.json +10 -10
- 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,
|
|
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
|
+
};
|