@web-utils/component 2.7.20 → 2.7.22
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/chunks/{config.46422d7f.js → config.7dec2bf2.js} +2 -2
- package/dist/chunks/confirmable-mixin.35bd1934.js +104 -0
- package/dist/chunks/dataformat.9cc4428a.js +158 -0
- package/dist/chunks/dayjs.ed2e1b73.js +247 -0
- package/dist/chunks/detail.d47a021c.js +29 -0
- package/dist/chunks/dic.9de2fe5a.js +135 -0
- package/dist/chunks/{event.dd6f522d.js → event.fc358074.js} +31 -31
- package/dist/chunks/{form-input-mixin.ff5b58f7.js → form-input-mixin.760cd65d.js} +6 -6
- package/dist/chunks/form-item-mixin.fa314b67.js +139 -0
- package/dist/chunks/{form-pick-mixin.61ad06b2.js → form-pick-mixin.c4e0391b.js} +2 -2
- package/dist/chunks/init.e0133910.js +122 -0
- package/dist/chunks/{input-number-mixin.41a066be.js → input-number-mixin.6849fa63.js} +4 -4
- package/dist/chunks/{mixins.5a78e0db.js → mixins.6a394a6c.js} +4 -4
- package/dist/chunks/{packages.1fc9ccba.js → packages.419bde01.js} +7 -7
- package/dist/chunks/permission.07c49abf.js +16 -0
- package/dist/chunks/slot.a7387ecc.js +27 -0
- package/dist/chunks/tab-mixin.9d568df9.js +81 -0
- package/dist/chunks/util.89913643.js +261 -0
- package/dist/chunks/utils.d7f73f8d.js +185 -0
- package/dist/chunks/utils.f44207f4.js +26 -0
- package/dist/chunks/vueComponentNormalizer.77ec6792.js +32 -0
- package/dist/components/address-input/index.js +36 -36
- package/dist/components/affix/index.js +39 -39
- package/dist/components/aside-menu/index.js +29 -29
- package/dist/components/avatar/index.js +43 -43
- package/dist/components/awesome-button/index.js +64 -34
- package/dist/components/base.css +1 -1
- package/dist/components/capsule-tab/index.js +26 -26
- package/dist/components/card/index.js +49 -49
- package/dist/components/carousel/index.js +35 -35
- package/dist/components/chat/index.js +203 -203
- package/dist/components/chunk-file-uploader/index.js +46 -46
- package/dist/components/chunk-file-uploader-button/index.js +22 -22
- package/dist/components/chunk-file-uploader-drop/index.js +47 -29
- package/dist/components/chunk-file-uploader-file/index.js +119 -119
- package/dist/components/chunk-file-uploader-files/index.js +27 -27
- package/dist/components/chunk-file-uploader-list/index.js +27 -27
- package/dist/components/chunk-file-uploader-un-support/index.js +27 -27
- package/dist/components/code-mirror-editor/index.js +136 -136
- package/dist/components/color-picker/index.js +57 -39
- package/dist/components/column/index.js +66 -66
- package/dist/components/column-default/index.js +54 -54
- package/dist/components/column-dynamic/index.js +54 -54
- package/dist/components/column-menu/index.js +128 -128
- package/dist/components/column-slot/index.js +168 -168
- package/dist/components/comment/index.js +33 -33
- package/dist/components/confirm-button/index.js +18 -18
- package/dist/components/confirmable/index.js +17 -17
- package/dist/components/context-menu/index.js +89 -89
- package/dist/components/count-up/index.js +50 -39
- package/dist/components/custom-scrollbar/index.js +62 -49
- package/dist/components/data-box/index.js +41 -41
- package/dist/components/data-card/index.js +38 -38
- package/dist/components/data-cardtext/index.js +33 -33
- package/dist/components/data-display/index.js +37 -37
- package/dist/components/data-icons/index.js +40 -40
- package/dist/components/data-imgtext/index.js +44 -44
- package/dist/components/data-operatext/index.js +44 -44
- package/dist/components/data-panel/index.js +38 -38
- package/dist/components/data-pay/index.js +60 -60
- package/dist/components/data-price/index.js +38 -38
- package/dist/components/data-progress/index.js +39 -39
- package/dist/components/data-rotate/index.js +39 -39
- package/dist/components/data-table-picker/index.js +151 -53
- package/dist/components/data-tabs/index.js +39 -39
- package/dist/components/data-tabs/style.css +1 -1
- package/dist/components/dialog-column/index.js +50 -50
- package/dist/components/dialog-excel/index.js +68 -68
- package/dist/components/dialog-filter/index.js +84 -84
- package/dist/components/dialog-form/index.js +89 -89
- package/dist/components/dynamic-table/index.js +71 -71
- package/dist/components/e-charts/index.js +95 -94
- package/dist/components/easy-popup/index.js +87 -0
- package/dist/components/easy-popup/style.css +1 -0
- package/dist/components/editable-progress/index.js +48 -48
- package/dist/components/editable-tree/index.js +701 -348
- package/dist/components/egd-collapse/index.js +29 -29
- package/dist/components/egd-collapse-item/index.js +51 -51
- package/dist/components/element-dialog/index.js +74 -65
- package/dist/components/empty-view/index.js +26 -26
- package/dist/components/error-view/index.js +25 -25
- package/dist/components/flex-column/index.js +31 -19
- package/dist/components/flex-item/index.js +32 -20
- package/dist/components/flex-row/index.js +31 -19
- package/dist/components/flex-scroller/index.js +24 -24
- package/dist/components/flex-scroller/style.css +1 -1
- package/dist/components/flow/index.js +100 -100
- package/dist/components/flow-node/index.js +37 -37
- package/dist/components/flow-viewer/index.js +162 -0
- package/dist/components/flow-viewer/style.css +1 -0
- package/dist/components/form-button/index.js +32 -32
- package/dist/components/form-cascader/index.js +73 -61
- package/dist/components/form-checkbox-group/index.js +72 -61
- package/dist/components/form-date-picker/index.js +71 -62
- package/dist/components/form-group/index.js +38 -38
- package/dist/components/form-holder/index.js +50 -32
- package/dist/components/form-input/index.js +61 -50
- package/dist/components/form-input-email/index.js +55 -44
- package/dist/components/form-input-id-card/index.js +60 -49
- package/dist/components/form-input-number/index.js +60 -49
- package/dist/components/form-input-phone-number/index.js +56 -45
- package/dist/components/form-input-time/index.js +59 -48
- package/dist/components/form-item/index.js +107 -79
- package/dist/components/form-item-config-provider/index.js +19 -19
- package/dist/components/form-item-group/index.js +65 -65
- package/dist/components/form-radio-group/index.js +72 -61
- package/dist/components/form-select/index.js +63 -52
- package/dist/components/form-switch/index.js +56 -45
- package/dist/components/form-temp/index.js +50 -50
- package/dist/components/form-textarea/index.js +55 -44
- package/dist/components/form-view/index.js +172 -149
- package/dist/components/fy-array/index.js +64 -64
- package/dist/components/fy-article/index.js +34 -34
- package/dist/components/fy-cascader/index.js +52 -52
- package/dist/components/fy-checkbox/index.js +52 -52
- package/dist/components/fy-code/index.js +30 -30
- package/dist/components/fy-curd/index.js +317 -317
- package/dist/components/fy-date/index.js +45 -45
- package/dist/components/fy-dialog-form/index.js +115 -115
- package/dist/components/fy-draggable/index.js +120 -120
- package/dist/components/fy-draggable/style.css +1 -1
- package/dist/components/fy-dynamic/index.js +126 -126
- package/dist/components/fy-empty/index.js +26 -26
- package/dist/components/fy-form/index.js +384 -366
- package/dist/components/fy-form-design/index.js +6956 -459
- package/dist/components/fy-form-design/style.css +1 -1
- package/dist/components/fy-form-menu/index.js +45 -45
- package/dist/components/fy-input/index.js +61 -61
- package/dist/components/fy-input-color/index.js +41 -41
- package/dist/components/fy-input-icon/index.js +70 -70
- package/dist/components/fy-input-map/index.js +102 -102
- package/dist/components/fy-input-number/index.js +39 -39
- package/dist/components/fy-input-table/index.js +70 -70
- package/dist/components/fy-input-tree/index.js +105 -105
- package/dist/components/fy-progress/index.js +25 -25
- package/dist/components/fy-radio/index.js +36 -36
- package/dist/components/fy-rate/index.js +40 -40
- package/dist/components/fy-select/index.js +101 -101
- package/dist/components/fy-slider/index.js +42 -42
- package/dist/components/fy-switch/index.js +37 -37
- package/dist/components/fy-tabs/index.js +35 -35
- package/dist/components/fy-time/index.js +47 -47
- package/dist/components/fy-title/index.js +23 -23
- package/dist/components/fy-tree/index.js +157 -157
- package/dist/components/fy-u-editor/index.js +138 -105
- package/dist/components/fy-upload/index.js +270 -270
- package/dist/components/guide-steps/index.js +41 -41
- package/dist/components/header-menu/index.js +94 -94
- package/dist/components/header-search/index.js +121 -121
- package/dist/components/highlight-j-s/index.js +76 -0
- package/dist/components/highlight-j-s/style.css +1 -0
- package/dist/components/icon-card/index.js +28 -28
- package/dist/components/icon-temp/index.js +24 -24
- package/dist/components/iframe-window/index.js +24 -24
- package/dist/components/iframe-window/style.css +1 -1
- package/dist/components/image-cropper/index.js +128 -119
- package/dist/components/image-preview/index.js +140 -130
- package/dist/components/image-viewer/index.js +35 -35
- package/dist/components/input-number/index.js +116 -116
- package/dist/components/input-number-range/index.js +37 -37
- package/dist/components/j-s-x-component/index.js +4 -4
- package/dist/components/keep-view-alive/index.js +71 -71
- package/dist/components/keyboard/index.js +182 -182
- package/dist/components/keyboard/style.css +1 -1
- package/dist/components/license/index.js +54 -54
- package/dist/components/loading-view/index.js +25 -25
- package/dist/components/login/index.js +94 -94
- package/dist/components/name-avatar/index.js +26 -26
- package/dist/components/nav-bar/index.js +22 -22
- package/dist/components/not-implement/index.js +22 -22
- package/dist/components/notice/index.js +55 -55
- package/dist/components/page/index.js +20 -20
- package/dist/components/page-header/index.js +28 -28
- package/dist/components/page-index/index.js +86 -62
- package/dist/components/page-index-top/index.js +73 -51
- package/dist/components/page-skeleton/index.js +28 -28
- package/dist/components/page-skeleton-new/index.js +38 -38
- package/dist/components/pageable-table/index.js +206 -161
- package/dist/components/pageable-table/style.css +1 -1
- package/dist/components/pageable-view/index.js +169 -124
- package/dist/components/pageable-view/style.css +1 -1
- package/dist/components/photo-swipe/index.js +88 -66
- package/dist/components/process-designer/index.js +4668 -0
- package/dist/components/process-designer/style.css +1 -0
- package/dist/components/properties-panel/index.js +4791 -0
- package/dist/components/properties-panel/style.css +1 -0
- package/dist/components/queue/index.js +24 -24
- package/dist/components/record-video/index.js +55 -55
- package/dist/components/resize-observer/index.js +26 -26
- package/dist/components/search/index.js +64 -64
- package/dist/components/search-popover/index.js +119 -99
- package/dist/components/sign/index.js +66 -66
- package/dist/components/sign-panel/index.js +78 -78
- package/dist/components/sign-panel/style.css +1 -1
- package/dist/components/skeleton/index.js +35 -35
- package/dist/components/split-pane/index.js +108 -90
- package/dist/components/stateful/index.js +29 -29
- package/dist/components/static-pageable-table/index.js +30 -30
- package/dist/components/swiper/index.js +93 -73
- package/dist/components/tab/index.js +47 -47
- package/dist/components/tab-item/index.js +29 -29
- package/dist/components/table-column/index.js +37 -27
- package/dist/components/table-page/index.js +51 -51
- package/dist/components/table-view/index.js +175 -148
- package/dist/components/tag-render/index.js +50 -39
- package/dist/components/text-ellipsis/index.js +40 -40
- package/dist/components/tinymce-editor/index.js +85 -67
- package/dist/components/tinymce-wrapper/index.js +88 -78
- package/dist/components/toolbar/index.js +52 -52
- package/dist/components/toolbar-button/index.js +56 -38
- package/dist/components/trigger/index.js +27 -27
- package/dist/components/verify/index.js +33 -33
- package/dist/components/vue-tags-input/index.js +137 -137
- package/dist/components/watermark/index.js +37 -27
- package/dist/components/watermark/style.css +1 -1
- package/dist/index.css +1983 -228
- package/dist/index.es.js +23132 -12684
- package/package.json +18 -6
- package/web-types.json +307 -1
- package/dist/chunks/AfdColumn.vue_vue_type_template_lang.768f2ed2.js +0 -302
- package/dist/chunks/ConfigArray.vue_vue_type_template_lang.66483daa.js +0 -51
- package/dist/chunks/ConfigColor.vue_vue_type_template_lang.cd880091.js +0 -24
- package/dist/chunks/ConfigCustom.vue_vue_type_template_lang.6e03d7fd.js +0 -52
- package/dist/chunks/ConfigDate.vue_vue_type_template_lang.116fbad4.js +0 -104
- package/dist/chunks/ConfigDynamic.vue_vue_type_template_lang.99082e47.js +0 -133
- package/dist/chunks/ConfigEvent.vue_vue_type_template_lang.5e8ed6cc.js +0 -96
- package/dist/chunks/ConfigGroup.vue_vue_type_template_lang.44117322.js +0 -48
- package/dist/chunks/ConfigInput.vue_vue_type_template_lang.cc1eb052.js +0 -96
- package/dist/chunks/ConfigMap.vue_vue_type_template_lang.daee4d38.js +0 -31
- package/dist/chunks/ConfigNumber.vue_vue_type_template_lang.d60231d7.js +0 -130
- package/dist/chunks/ConfigRate.vue_vue_type_style_index_0_scoped_true_lang.cf5d437d.js +0 -125
- package/dist/chunks/ConfigSelect.vue_vue_type_template_lang.dfc91f07.js +0 -488
- package/dist/chunks/ConfigSlider.vue_vue_type_template_lang.27b8cc7b.js +0 -99
- package/dist/chunks/ConfigSwitch.vue_vue_type_style_index_0_scoped_true_lang.4caf1bd0.js +0 -54
- package/dist/chunks/ConfigTable.vue_vue_type_template_lang.b27540fd.js +0 -344
- package/dist/chunks/ConfigTextarea.vue_vue_type_template_lang.5cddf41c.js +0 -88
- package/dist/chunks/ConfigTitle.vue_vue_type_template_lang.57d9deb5.js +0 -87
- package/dist/chunks/ConfigTree.vue_vue_type_style_index_0_scoped_true_lang.89ec5376.js +0 -465
- package/dist/chunks/ConfigUEditor.vue_vue_type_template_lang.9726b4f5.js +0 -240
- package/dist/chunks/ConfigUpload.vue_vue_type_template_lang.129c0ced.js +0 -476
- package/dist/chunks/FormConfig.vue_vue_type_template_lang.82463ce5.js +0 -220
- package/dist/chunks/WidgetConfig.vue_vue_type_template_lang.3cc74fe8.js +0 -1821
- package/dist/chunks/WidgetForm.vue_vue_type_template_lang.d4b05679.js +0 -247
- package/dist/chunks/WidgetFormGroup.vue_vue_type_template_lang.bdcb6d37.js +0 -271
- package/dist/chunks/WidgetFormItem.vue_vue_type_template_lang.48d55a5c.js +0 -24
- package/dist/chunks/WidgetFormTable.vue_vue_type_template_lang.e2b788ba.js +0 -229
- package/dist/chunks/confirmable-mixin.3a79781b.js +0 -75
- package/dist/chunks/dataformat.65b92bfe.js +0 -158
- package/dist/chunks/detail.d67573b1.js +0 -28
- package/dist/chunks/dic.70feb9b4.js +0 -135
- package/dist/chunks/form-item-mixin.79f6eaff.js +0 -128
- package/dist/chunks/init.7c58eb34.js +0 -122
- package/dist/chunks/monaco.cefcb9f5.js +0 -290
- package/dist/chunks/permission.ce5d2121.js +0 -16
- package/dist/chunks/slot.4b391395.js +0 -27
- package/dist/chunks/tab-mixin.8c0142e0.js +0 -81
- package/dist/chunks/util.23fe58fb.js +0 -261
- package/dist/chunks/utils.97652d86.js +0 -26
- package/dist/chunks/utils.fa73de78.js +0 -185
- package/dist/chunks/vueComponentNormalizer.71e2aa87.js +0 -32
- package/dist/components/afd-column/index.js +0 -57
- package/dist/components/config-array/index.js +0 -28
- package/dist/components/config-color/index.js +0 -28
- package/dist/components/config-custom/index.js +0 -62
- package/dist/components/config-date/index.js +0 -28
- package/dist/components/config-dynamic/index.js +0 -28
- package/dist/components/config-event/index.js +0 -74
- package/dist/components/config-group/index.js +0 -36
- package/dist/components/config-input/index.js +0 -29
- package/dist/components/config-map/index.js +0 -28
- package/dist/components/config-number/index.js +0 -28
- package/dist/components/config-rate/index.js +0 -71
- package/dist/components/config-rate/style.css +0 -1
- package/dist/components/config-select/index.js +0 -90
- package/dist/components/config-slider/index.js +0 -28
- package/dist/components/config-switch/index.js +0 -33
- package/dist/components/config-switch/style.css +0 -1
- package/dist/components/config-table/index.js +0 -122
- package/dist/components/config-textarea/index.js +0 -28
- package/dist/components/config-title/index.js +0 -33
- package/dist/components/config-tree/index.js +0 -122
- package/dist/components/config-tree/style.css +0 -1
- package/dist/components/config-u-editor/index.js +0 -34
- package/dist/components/config-upload/index.js +0 -58
- package/dist/components/form-config/index.js +0 -28
- package/dist/components/widget-config/index.js +0 -110
- package/dist/components/widget-form/index.js +0 -71
- package/dist/components/widget-form-group/index.js +0 -96
- package/dist/components/widget-form-item/index.js +0 -71
- package/dist/components/widget-form-table/index.js +0 -95
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
let
|
|
3
|
-
constructor(
|
|
4
|
-
if (typeof
|
|
1
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.77ec6792.js";
|
|
2
|
+
let Keyboard$1 = class {
|
|
3
|
+
constructor(obj) {
|
|
4
|
+
if (typeof obj != "object") {
|
|
5
5
|
console.error('aKeyboard: The obj parameter needs to be an object <In "new aKeyboard()">');
|
|
6
6
|
return;
|
|
7
7
|
}
|
|
8
|
-
this.obj =
|
|
9
|
-
const
|
|
10
|
-
let
|
|
11
|
-
if (typeof
|
|
12
|
-
for (const
|
|
13
|
-
|
|
14
|
-
let
|
|
15
|
-
const
|
|
16
|
-
for (let
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
const
|
|
20
|
-
["`"].concat(
|
|
8
|
+
this.obj = obj;
|
|
9
|
+
const el = document.querySelector(obj.el);
|
|
10
|
+
let keyboardStyle = "";
|
|
11
|
+
if (typeof obj.style == "object")
|
|
12
|
+
for (const i in obj.style)
|
|
13
|
+
keyboardStyle += `${i}: ${obj.style[i]};`;
|
|
14
|
+
let html = `<div class="akeyboard-keyboard${obj.fixedBottomCenter ? " akeyboard-keyboard-fixedBottomCenter" : ""}" style="${keyboardStyle}">`;
|
|
15
|
+
const numberKeys = [];
|
|
16
|
+
for (let i = 1; i < 10; i++)
|
|
17
|
+
numberKeys.push(i.toString());
|
|
18
|
+
numberKeys.push("0");
|
|
19
|
+
const keys = obj.keys || [
|
|
20
|
+
["`"].concat(numberKeys).concat([
|
|
21
21
|
"-",
|
|
22
22
|
"=",
|
|
23
23
|
"Delete"
|
|
@@ -27,275 +27,275 @@ let T = class {
|
|
|
27
27
|
["Shift", "z", "x", "c", "v", "b", "n", "m", ",", ".", "/", "Shift"],
|
|
28
28
|
["Space"]
|
|
29
29
|
];
|
|
30
|
-
let
|
|
31
|
-
const
|
|
32
|
-
for (let
|
|
33
|
-
|
|
34
|
-
for (let
|
|
35
|
-
if (
|
|
36
|
-
switch (
|
|
30
|
+
let thisKeys;
|
|
31
|
+
const shiftKey = [], capsKey = [];
|
|
32
|
+
for (let i = 0; i < keys.length; i++) {
|
|
33
|
+
shiftKey.push([]), capsKey.push([]), thisKeys = keys[i];
|
|
34
|
+
for (let a = 0; a < thisKeys.length; a++) {
|
|
35
|
+
if (thisKeys[a].length === 1) {
|
|
36
|
+
switch (capsKey[i].push(thisKeys[a].toUpperCase()), thisKeys[a]) {
|
|
37
37
|
case "`":
|
|
38
|
-
|
|
38
|
+
shiftKey[i].push("~");
|
|
39
39
|
continue;
|
|
40
40
|
case "1":
|
|
41
|
-
|
|
41
|
+
shiftKey[i].push("!");
|
|
42
42
|
continue;
|
|
43
43
|
case "2":
|
|
44
|
-
|
|
44
|
+
shiftKey[i].push("@");
|
|
45
45
|
continue;
|
|
46
46
|
case "3":
|
|
47
|
-
|
|
47
|
+
shiftKey[i].push("#");
|
|
48
48
|
continue;
|
|
49
49
|
case "4":
|
|
50
|
-
|
|
50
|
+
shiftKey[i].push("$");
|
|
51
51
|
continue;
|
|
52
52
|
case "5":
|
|
53
|
-
|
|
53
|
+
shiftKey[i].push("%");
|
|
54
54
|
continue;
|
|
55
55
|
case "6":
|
|
56
|
-
|
|
56
|
+
shiftKey[i].push("^");
|
|
57
57
|
continue;
|
|
58
58
|
case "7":
|
|
59
|
-
|
|
59
|
+
shiftKey[i].push("&");
|
|
60
60
|
continue;
|
|
61
61
|
case "8":
|
|
62
|
-
|
|
62
|
+
shiftKey[i].push("*");
|
|
63
63
|
continue;
|
|
64
64
|
case "9":
|
|
65
|
-
|
|
65
|
+
shiftKey[i].push("(");
|
|
66
66
|
continue;
|
|
67
67
|
case "0":
|
|
68
|
-
|
|
68
|
+
shiftKey[i].push(")");
|
|
69
69
|
continue;
|
|
70
70
|
case "-":
|
|
71
|
-
|
|
71
|
+
shiftKey[i].push("_");
|
|
72
72
|
continue;
|
|
73
73
|
case "=":
|
|
74
|
-
|
|
74
|
+
shiftKey[i].push("+");
|
|
75
75
|
continue;
|
|
76
76
|
case "[":
|
|
77
|
-
|
|
77
|
+
shiftKey[i].push("{");
|
|
78
78
|
continue;
|
|
79
79
|
case "]":
|
|
80
|
-
|
|
80
|
+
shiftKey[i].push("}");
|
|
81
81
|
continue;
|
|
82
82
|
case "\\":
|
|
83
|
-
|
|
83
|
+
shiftKey[i].push("|");
|
|
84
84
|
continue;
|
|
85
85
|
case ";":
|
|
86
|
-
|
|
86
|
+
shiftKey[i].push(":");
|
|
87
87
|
continue;
|
|
88
88
|
case "'":
|
|
89
|
-
|
|
89
|
+
shiftKey[i].push('"');
|
|
90
90
|
continue;
|
|
91
91
|
case ",":
|
|
92
|
-
|
|
92
|
+
shiftKey[i].push("<");
|
|
93
93
|
continue;
|
|
94
94
|
case ".":
|
|
95
|
-
|
|
95
|
+
shiftKey[i].push(">");
|
|
96
96
|
continue;
|
|
97
97
|
case "/":
|
|
98
|
-
|
|
98
|
+
shiftKey[i].push("?");
|
|
99
99
|
continue;
|
|
100
100
|
}
|
|
101
|
-
|
|
101
|
+
shiftKey[i].push(thisKeys[a].toUpperCase());
|
|
102
102
|
continue;
|
|
103
103
|
}
|
|
104
|
-
|
|
104
|
+
shiftKey[i].push(thisKeys[a]), capsKey[i].push(thisKeys[a]);
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
|
-
for (let
|
|
108
|
-
|
|
109
|
-
for (let
|
|
110
|
-
|
|
111
|
-
|
|
107
|
+
for (let i = 0; i < keys.length; i++) {
|
|
108
|
+
thisKeys = keys[i], html += '<div class="akeyboard-keyboard-innerKeys">';
|
|
109
|
+
for (let a = 0; a < thisKeys.length; a++)
|
|
110
|
+
html += `<div class="akeyboard-keyboard-keys akeyboard-keyboard-keys-${thisKeys[a]}">${thisKeys[a]}</div>`;
|
|
111
|
+
html += "</div>";
|
|
112
112
|
}
|
|
113
|
-
|
|
114
|
-
let
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
}),
|
|
118
|
-
|
|
113
|
+
html += "</div>", el.innerHTML = html;
|
|
114
|
+
let containShift = !1;
|
|
115
|
+
keys.forEach((key) => {
|
|
116
|
+
key.includes("Shift") && (containShift = !0);
|
|
117
|
+
}), containShift && document.querySelectorAll(`${obj.el} .akeyboard-keyboard-keys-Shift`).forEach((el2) => {
|
|
118
|
+
el2.onclick = function() {
|
|
119
119
|
if (!this.isShift) {
|
|
120
|
-
const
|
|
121
|
-
if (
|
|
120
|
+
const caps = document.querySelector(`${obj.el} .akeyboard-keyboard-keys-Caps`);
|
|
121
|
+
if (caps && caps.isCaps)
|
|
122
122
|
return;
|
|
123
|
-
|
|
124
|
-
const
|
|
125
|
-
let
|
|
126
|
-
for (let
|
|
127
|
-
|
|
128
|
-
for (let
|
|
129
|
-
|
|
123
|
+
el2.isShift = !0, el2.innerHTML = "SHIFT", this.classList.add("keyboard-keyboard-keys-focus");
|
|
124
|
+
const keysInnerEl2 = document.querySelectorAll(`${obj.el} .akeyboard-keyboard-innerKeys`);
|
|
125
|
+
let thisEl2;
|
|
126
|
+
for (let i = 0; i < keysInnerEl2.length; i++) {
|
|
127
|
+
thisEl2 = keysInnerEl2[i];
|
|
128
|
+
for (let a = 0; a < thisEl2.childNodes.length; a++)
|
|
129
|
+
shiftKey[i][a] !== "Shift" && (thisEl2.childNodes[a].innerHTML = shiftKey[i][a]);
|
|
130
130
|
}
|
|
131
131
|
return;
|
|
132
132
|
}
|
|
133
|
-
|
|
134
|
-
const
|
|
135
|
-
let
|
|
136
|
-
for (let
|
|
137
|
-
|
|
138
|
-
for (let
|
|
139
|
-
|
|
133
|
+
el2.isShift = !1, el2.innerHTML = "Shift", this.classList.remove("keyboard-keyboard-keys-focus");
|
|
134
|
+
const keysInnerEl = document.querySelectorAll(`${obj.el} .akeyboard-keyboard-innerKeys`);
|
|
135
|
+
let thisEl;
|
|
136
|
+
for (let i = 0; i < keysInnerEl.length; i++) {
|
|
137
|
+
thisEl = keysInnerEl[i];
|
|
138
|
+
for (let a = 0; a < thisEl.childNodes.length; a++)
|
|
139
|
+
thisEl.childNodes[a].innerHTML = keys[i][a];
|
|
140
140
|
}
|
|
141
141
|
};
|
|
142
142
|
});
|
|
143
|
-
let
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
}),
|
|
147
|
-
|
|
143
|
+
let containCaps = !1;
|
|
144
|
+
keys.forEach((key) => {
|
|
145
|
+
key.includes("Caps") && (containCaps = !0);
|
|
146
|
+
}), containCaps && document.querySelectorAll(`${obj.el} .akeyboard-keyboard-keys-Caps`).forEach((el2) => {
|
|
147
|
+
el2.onclick = function() {
|
|
148
148
|
if (!this.isCaps) {
|
|
149
|
-
const
|
|
150
|
-
if (
|
|
149
|
+
const shift = document.querySelector(`${obj.el} .akeyboard-keyboard-keys-Shift`);
|
|
150
|
+
if (shift && shift.isShift)
|
|
151
151
|
return;
|
|
152
152
|
this.isCaps = !0, this.classList.add("keyboard-keyboard-keys-focus");
|
|
153
|
-
const
|
|
154
|
-
let
|
|
155
|
-
for (let
|
|
156
|
-
|
|
157
|
-
for (let
|
|
158
|
-
|
|
153
|
+
const keysInnerEl2 = document.querySelectorAll(`${obj.el} .akeyboard-keyboard-innerKeys`);
|
|
154
|
+
let thisEl2;
|
|
155
|
+
for (let i = 0; i < keysInnerEl2.length; i++) {
|
|
156
|
+
thisEl2 = keysInnerEl2[i];
|
|
157
|
+
for (let a = 0; a < thisEl2.childNodes.length; a++)
|
|
158
|
+
thisEl2.childNodes[a].innerHTML = capsKey[i][a];
|
|
159
159
|
}
|
|
160
160
|
return;
|
|
161
161
|
}
|
|
162
162
|
this.isCaps = !1, this.classList.remove("keyboard-keyboard-keys-focus");
|
|
163
|
-
const
|
|
164
|
-
let
|
|
165
|
-
for (let
|
|
166
|
-
|
|
167
|
-
for (let
|
|
168
|
-
|
|
163
|
+
const keysInnerEl = document.querySelectorAll(`${obj.el} .akeyboard-keyboard-innerKeys`);
|
|
164
|
+
let thisEl;
|
|
165
|
+
for (let i = 0; i < keysInnerEl.length; i++) {
|
|
166
|
+
thisEl = keysInnerEl[i];
|
|
167
|
+
for (let a = 0; a < thisEl.childNodes.length; a++)
|
|
168
|
+
thisEl.childNodes[a].innerHTML = keys[i][a];
|
|
169
169
|
}
|
|
170
170
|
};
|
|
171
171
|
});
|
|
172
172
|
}
|
|
173
|
-
inputOn(
|
|
174
|
-
if (typeof
|
|
173
|
+
inputOn(inputEle, type, fn, customClick) {
|
|
174
|
+
if (typeof inputEle != "string") {
|
|
175
175
|
console.error('aKeyboard: The inputEle parameter needs to be a string <In "aKeyboard.inputOn()">');
|
|
176
176
|
return;
|
|
177
177
|
}
|
|
178
|
-
if (typeof
|
|
178
|
+
if (typeof type != "string") {
|
|
179
179
|
console.error('aKeyboard: The type parameter needs to be a string <In "aKeyboard.inputOn()">');
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
|
-
const
|
|
183
|
-
for (let
|
|
184
|
-
if (!["Shift", "Caps"].includes(
|
|
185
|
-
if (
|
|
186
|
-
|
|
187
|
-
|
|
182
|
+
const inputEl = document.querySelector(inputEle), elKeysEl = document.querySelectorAll(`${this.obj.el} .akeyboard-keyboard-keys`);
|
|
183
|
+
for (let i = 0; i < elKeysEl.length; i++)
|
|
184
|
+
if (!["Shift", "Caps"].includes(elKeysEl[i].innerHTML)) {
|
|
185
|
+
if (elKeysEl[i].innerHTML === "Delete") {
|
|
186
|
+
elKeysEl[i].onclick = function() {
|
|
187
|
+
inputEl[type] = inputEl[type].substr(0, inputEl[type].length - 1), fn("Delete", inputEl[type]);
|
|
188
188
|
};
|
|
189
189
|
continue;
|
|
190
190
|
}
|
|
191
|
-
if (
|
|
192
|
-
|
|
193
|
-
|
|
191
|
+
if (elKeysEl[i].innerHTML === "Tab") {
|
|
192
|
+
elKeysEl[i].onclick = function() {
|
|
193
|
+
inputEl[type] += " ", fn("Tab", inputEl[type]);
|
|
194
194
|
};
|
|
195
195
|
continue;
|
|
196
196
|
}
|
|
197
|
-
if (
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
`,
|
|
197
|
+
if (elKeysEl[i].innerHTML === "Enter") {
|
|
198
|
+
elKeysEl[i].onclick = function() {
|
|
199
|
+
inputEl[type] += `
|
|
200
|
+
`, fn("Enter", inputEl[type]);
|
|
201
201
|
};
|
|
202
202
|
continue;
|
|
203
203
|
}
|
|
204
|
-
if (
|
|
205
|
-
|
|
206
|
-
|
|
204
|
+
if (elKeysEl[i].innerHTML === "Space") {
|
|
205
|
+
elKeysEl[i].onclick = function() {
|
|
206
|
+
inputEl[type] += " ", fn("Space", inputEl[type]);
|
|
207
207
|
};
|
|
208
208
|
continue;
|
|
209
209
|
}
|
|
210
|
-
|
|
211
|
-
|
|
210
|
+
customClick && typeof customClick == "object" && Object.keys(customClick).length > 0 && customClick[elKeysEl[i].innerHTML] ? elKeysEl[i].onclick = customClick[elKeysEl[i].innerHTML] : elKeysEl[i].onclick = function() {
|
|
211
|
+
inputEl[type] += this.innerText, fn(this.innerText, inputEl[type]);
|
|
212
212
|
};
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
|
-
onclick(
|
|
216
|
-
if (typeof
|
|
215
|
+
onclick(btn, fn) {
|
|
216
|
+
if (typeof btn != "string") {
|
|
217
217
|
console.error('aKeyboard: The btn parameter needs to be a string <In "aKeyboard.onclick()">');
|
|
218
218
|
return;
|
|
219
219
|
}
|
|
220
|
-
if (typeof
|
|
220
|
+
if (typeof fn != "function") {
|
|
221
221
|
console.error('aKeyboard: The fn parameter needs to be a function <In "aKeyboard.onclick()">');
|
|
222
222
|
return;
|
|
223
223
|
}
|
|
224
|
-
const
|
|
225
|
-
|
|
224
|
+
const elKeysEl = document.querySelector(`${this.obj.el} .akeyboard-keyboard-keys-${btn}`);
|
|
225
|
+
elKeysEl ? elKeysEl.onclick = fn : console.error(`Can not find key: ${btn}`);
|
|
226
226
|
}
|
|
227
227
|
};
|
|
228
|
-
class
|
|
229
|
-
constructor(
|
|
230
|
-
if (typeof
|
|
228
|
+
class NumberKeyboard {
|
|
229
|
+
constructor(obj) {
|
|
230
|
+
if (typeof obj != "object") {
|
|
231
231
|
console.error('aKeyboard: The obj parameter needs to be an object <In "new aKeyboard()">');
|
|
232
232
|
return;
|
|
233
233
|
}
|
|
234
|
-
this.obj =
|
|
235
|
-
const
|
|
236
|
-
let
|
|
237
|
-
if (typeof
|
|
238
|
-
for (const
|
|
239
|
-
|
|
240
|
-
let
|
|
241
|
-
|
|
242
|
-
for (let
|
|
243
|
-
|
|
244
|
-
|
|
234
|
+
this.obj = obj;
|
|
235
|
+
const el = document.querySelector(obj.el);
|
|
236
|
+
let keyboardStyle = "";
|
|
237
|
+
if (typeof obj.style == "object")
|
|
238
|
+
for (const i in obj.style)
|
|
239
|
+
keyboardStyle += `${i}: ${obj.style[i]};`;
|
|
240
|
+
let html = `<div class="akeyboard-numberKeyboard${obj.fixedBottomCenter ? " akeyboard-keyboard-fixedBottomCenter" : ""}" style="${keyboardStyle}">`;
|
|
241
|
+
html += '<div class="akeyboard-keyboard-innerKeys">';
|
|
242
|
+
for (let i = 1; i < 10; i++)
|
|
243
|
+
html += `<div class="akeyboard-keyboard-keys akeyboard-keyboard-keys-${i}">${i}</div>`, i % 3 === 0 && (html += '</div><div class="akeyboard-keyboard-innerKeys">');
|
|
244
|
+
html += '<div class="akeyboard-keyboard-keys akeyboard-keyboard-keys-0">0</div><div class="akeyboard-keyboard-keys akeyboard-keyboard-keys-Delete">Delete</div></div><div class="akeyboard-keyboard-innerKeys"><div class="akeyboard-keyboard-keys akeyboard-numberKeyboard-keys-Enter">Enter</div></div>', html += "</div>", el.innerHTML = html;
|
|
245
245
|
}
|
|
246
|
-
inputOn(
|
|
247
|
-
if (typeof
|
|
246
|
+
inputOn(inputEle, type, fn, customClick) {
|
|
247
|
+
if (typeof inputEle != "string") {
|
|
248
248
|
console.error('aKeyboard: The inputEle parameter needs to be a string <In "aKeyboard.inputOn()">');
|
|
249
249
|
return;
|
|
250
250
|
}
|
|
251
|
-
if (typeof
|
|
251
|
+
if (typeof type != "string") {
|
|
252
252
|
console.error('aKeyboard: The type parameter needs to be a string <In "aKeyboard.inputOn()">');
|
|
253
253
|
return;
|
|
254
254
|
}
|
|
255
|
-
const
|
|
256
|
-
for (let
|
|
257
|
-
if (
|
|
258
|
-
|
|
259
|
-
|
|
255
|
+
const inputEl = document.querySelector(inputEle), elKeysEl = document.querySelectorAll(`${this.obj.el} .akeyboard-keyboard-keys`);
|
|
256
|
+
for (let i = 0; i < elKeysEl.length; i++) {
|
|
257
|
+
if (elKeysEl[i].innerHTML === "Delete") {
|
|
258
|
+
elKeysEl[i].onclick = function() {
|
|
259
|
+
inputEl[type] = inputEl[type].substr(0, inputEl[type].length - 1), fn("Delete", inputEl[type]);
|
|
260
260
|
};
|
|
261
261
|
continue;
|
|
262
262
|
}
|
|
263
|
-
if (
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
`,
|
|
263
|
+
if (elKeysEl[i].innerHTML === "Enter") {
|
|
264
|
+
elKeysEl[i].onclick = function() {
|
|
265
|
+
inputEl[type] += `
|
|
266
|
+
`, fn("Enter", inputEl[type]);
|
|
267
267
|
};
|
|
268
268
|
continue;
|
|
269
269
|
}
|
|
270
|
-
|
|
271
|
-
|
|
270
|
+
customClick && typeof customClick == "object" && Object.keys(customClick).length > 0 && customClick[elKeysEl[i].innerHTML] ? elKeysEl[i].onclick = customClick[elKeysEl[i].innerHTML] : elKeysEl[i].onclick = function() {
|
|
271
|
+
inputEl[type] += this.innerText, fn(this.innerText, inputEl[type]);
|
|
272
272
|
};
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
|
-
onclick(
|
|
276
|
-
if (typeof
|
|
275
|
+
onclick(btn, fn) {
|
|
276
|
+
if (typeof btn != "string") {
|
|
277
277
|
console.error('aKeyboard: The btn parameter needs to be a string <In "aKeyboard.onclick()">');
|
|
278
278
|
return;
|
|
279
279
|
}
|
|
280
|
-
if (typeof
|
|
280
|
+
if (typeof fn != "function") {
|
|
281
281
|
console.error('aKeyboard: The fn parameter needs to be a function <In "aKeyboard.onclick()">');
|
|
282
282
|
return;
|
|
283
283
|
}
|
|
284
|
-
const
|
|
285
|
-
|
|
284
|
+
const elKeysEl = document.querySelector(`${this.obj.el} .akeyboard-keyboard-keys-${btn}`);
|
|
285
|
+
elKeysEl ? elKeysEl.onclick = fn : console.error(`Can not find key: ${btn}`);
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
|
-
var
|
|
289
|
-
var
|
|
290
|
-
return
|
|
291
|
-
class: ["avue-keyboard",
|
|
292
|
-
}, [
|
|
288
|
+
var render = function() {
|
|
289
|
+
var _vm = this, _h = _vm.$createElement, _c = _vm._self._c || _h;
|
|
290
|
+
return _c("div", {
|
|
291
|
+
class: ["avue-keyboard", _vm.className]
|
|
292
|
+
}, [_c("div", {
|
|
293
293
|
attrs: {
|
|
294
294
|
id: "keyboard"
|
|
295
295
|
}
|
|
296
296
|
})]);
|
|
297
|
-
},
|
|
298
|
-
const
|
|
297
|
+
}, staticRenderFns = [];
|
|
298
|
+
const __vue2_script = {
|
|
299
299
|
name: "Keyboard",
|
|
300
300
|
props: {
|
|
301
301
|
ele: {
|
|
@@ -306,12 +306,12 @@ const L = {
|
|
|
306
306
|
theme: {
|
|
307
307
|
type: String,
|
|
308
308
|
default: "default",
|
|
309
|
-
validator: (
|
|
309
|
+
validator: (value) => ["default", "dark", "green", "classic"].includes(value)
|
|
310
310
|
},
|
|
311
311
|
type: {
|
|
312
312
|
type: String,
|
|
313
313
|
default: "default",
|
|
314
|
-
validator: (
|
|
314
|
+
validator: (value) => ["default", "number", "mobile"].includes(value)
|
|
315
315
|
},
|
|
316
316
|
fixedBottomCenter: {
|
|
317
317
|
type: Boolean,
|
|
@@ -344,41 +344,41 @@ const L = {
|
|
|
344
344
|
init() {
|
|
345
345
|
if (!this.ele)
|
|
346
346
|
return;
|
|
347
|
-
let
|
|
348
|
-
const
|
|
347
|
+
let keyboard;
|
|
348
|
+
const config = {
|
|
349
349
|
el: "#keyboard",
|
|
350
350
|
style: {},
|
|
351
351
|
keys: this.keys,
|
|
352
352
|
fixedBottomCenter: this.fixedBottomCenter
|
|
353
353
|
};
|
|
354
|
-
this.type === "default" ?
|
|
355
|
-
const
|
|
356
|
-
|
|
357
|
-
this.$emit("click",
|
|
358
|
-
}, this.rebind ? this.customClick : null), this.keyboard =
|
|
354
|
+
this.type === "default" ? keyboard = new Keyboard$1(config) : this.type === "number" && (keyboard = new NumberKeyboard(config));
|
|
355
|
+
const ele = this.ele.indexOf("#") === 0 ? this.ele.substring(1) : this.ele;
|
|
356
|
+
keyboard.inputOn(`#${ele}`, "value", (e, val) => {
|
|
357
|
+
this.$emit("click", e, val);
|
|
358
|
+
}, this.rebind ? this.customClick : null), this.keyboard = keyboard;
|
|
359
359
|
},
|
|
360
|
-
bindClick(
|
|
361
|
-
this.keyboard.onclick(
|
|
360
|
+
bindClick(btn, fn) {
|
|
361
|
+
this.keyboard.onclick(btn, fn), this.customClick[btn] = fn;
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
},
|
|
365
|
-
var
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
364
|
+
}, __cssModules = {};
|
|
365
|
+
var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
366
|
+
__vue2_script,
|
|
367
|
+
render,
|
|
368
|
+
staticRenderFns,
|
|
369
369
|
!1,
|
|
370
|
-
|
|
370
|
+
__vue2_injectStyles,
|
|
371
371
|
null,
|
|
372
372
|
null,
|
|
373
373
|
null
|
|
374
374
|
);
|
|
375
|
-
function
|
|
376
|
-
for (let
|
|
377
|
-
this[
|
|
375
|
+
function __vue2_injectStyles(context) {
|
|
376
|
+
for (let o in __cssModules)
|
|
377
|
+
this[o] = __cssModules[o];
|
|
378
378
|
}
|
|
379
|
-
const
|
|
380
|
-
return
|
|
379
|
+
const Keyboard2 = /* @__PURE__ */ function() {
|
|
380
|
+
return __component__.exports;
|
|
381
381
|
}();
|
|
382
382
|
export {
|
|
383
|
-
|
|
383
|
+
Keyboard2 as default
|
|
384
384
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.avue-keyboard--default .akeyboard-keyboard{height:100%;width:100%;background:#f0f0f0;border-radius:5px;padding:9px 5px 5px;box-sizing:border-box}.avue-keyboard--default .akeyboard-keyboard-innerKeys{text-align:center}.avue-keyboard--default .akeyboard-keyboard-keys{height:40px;min-width:40px;padding:0 10px;border-radius:5px;background:white;display:inline-block;line-height:40px;text-align:center;box-sizing:border-box;margin:4px;cursor:pointer;user-select:none}.avue-keyboard--default .akeyboard-keyboard-keys:hover{background:#1e9fff;color:#fff}.avue-keyboard--default .akeyboard-keyboard-keys-Delete,.avue-keyboard--default .akeyboard-keyboard-keys-Tab{width:80px}.avue-keyboard--default .akeyboard-keyboard-keys-Caps{width:77px}.avue-keyboard--default .akeyboard-keyboard-keys-Enter{width:90px}.avue-keyboard--default .akeyboard-keyboard-keys-Shift{width:106px}.avue-keyboard--default .akeyboard-keyboard-keys-Space{width:350px}.avue-keyboard--default .keyboard-keyboard-keys-focus{background:#1e9fff;color:#fff}.avue-keyboard--default .akeyboard-keyboard-fixedBottomCenter{width:100%!important;height:auto!important;position:fixed;bottom:
|
|
1
|
+
.avue-keyboard--default .akeyboard-keyboard{height:100%;width:100%;background:#f0f0f0;border-radius:5px;padding:9px 5px 5px;box-sizing:border-box}.avue-keyboard--default .akeyboard-keyboard-innerKeys{text-align:center}.avue-keyboard--default .akeyboard-keyboard-keys{height:40px;min-width:40px;padding:0 10px;border-radius:5px;background:white;display:inline-block;line-height:40px;text-align:center;box-sizing:border-box;margin:4px;cursor:pointer;user-select:none}.avue-keyboard--default .akeyboard-keyboard-keys:hover{background:#1e9fff;color:#fff}.avue-keyboard--default .akeyboard-keyboard-keys-Delete,.avue-keyboard--default .akeyboard-keyboard-keys-Tab{width:80px}.avue-keyboard--default .akeyboard-keyboard-keys-Caps{width:77px}.avue-keyboard--default .akeyboard-keyboard-keys-Enter{width:90px}.avue-keyboard--default .akeyboard-keyboard-keys-Shift{width:106px}.avue-keyboard--default .akeyboard-keyboard-keys-Space{width:350px}.avue-keyboard--default .keyboard-keyboard-keys-focus{background:#1e9fff;color:#fff}.avue-keyboard--default .akeyboard-keyboard-fixedBottomCenter{width:100%!important;height:auto!important;position:fixed;bottom:0;left:0;border-radius:0!important}.avue-keyboard--default .akeyboard-numberKeyboard{height:100%;width:100%;background:#f0f0f0;border-radius:5px;padding:10px 5px 5px;box-sizing:border-box}.avue-keyboard--default .akeyboard-numberKeyboard-keys-Enter{height:40px;width:100px}.avue-keyboard--default .akeyboard-mobileKeyboard{height:100%;width:100%;background:#f0f0f0;border-radius:5px;padding:11px 5px 5px;box-sizing:border-box}.avue-keyboard--default .akeyboard-mobileKeyboard-keys{height:25px;min-width:25px;padding:0 10px;border-radius:3px;background:white;display:inline-block;line-height:25px;text-align:center;box-sizing:border-box;margin:3px 2px 2px;cursor:pointer;user-select:none;font-size:10px}.avue-keyboard--default .akeyboard-mobileKeyboard-keys:hover{background:#1e9fff!important;color:#fff}.avue-keyboard--default .akeyboard-mobileKeyboard-keys-\21e7 ,.avue-keyboard--default .akeyboard-mobileKeyboard-keys-\21e6 {width:25px;background-color:#999faf}.avue-keyboard--default .akeyboard-mobileKeyboard-keys-Space{height:28px;width:100px;line-height:28px;margin-left:55px}.avue-keyboard--default .akeyboard-mobileKeyboard-keys-Enter{height:28px;width:55px;line-height:28px;background:#1e9fff!important;color:#fff}.avue-keyboard--default .akeyboard-mobileKeyboard-keys-focus{background:#1e9fff!important;color:#fff}.avue-keyboard--green .akeyboard-keyboard{height:100%;width:100%;background:#003300;border-radius:5px;padding:9px 5px 5px;box-sizing:border-box}.avue-keyboard--green .akeyboard-keyboard-innerKeys{text-align:center}.avue-keyboard--green .akeyboard-keyboard-keys{height:40px;min-width:40px;padding:0 10px;border-radius:5px;background:#cccc99;display:inline-block;line-height:40px;text-align:center;box-sizing:border-box;margin:4px;cursor:pointer;user-select:none}.avue-keyboard--green .akeyboard-keyboard-keys:hover{background:#669933;color:#fff}.avue-keyboard--green .akeyboard-keyboard-keys-Delete,.avue-keyboard--green .akeyboard-keyboard-keys-Tab{width:80px}.avue-keyboard--green .akeyboard-keyboard-keys-Caps{width:77px}.avue-keyboard--green .akeyboard-keyboard-keys-Enter{width:90px}.avue-keyboard--green .akeyboard-keyboard-keys-Shift{width:106px}.avue-keyboard--green .akeyboard-keyboard-keys-Space{width:350px}.avue-keyboard--green .keyboard-keyboard-keys-focus{background:#669933;color:#fff}.avue-keyboard--green .akeyboard-keyboard-fixedBottomCenter{width:100%!important;height:auto!important;position:fixed;bottom:0;left:0;border-radius:0!important}.avue-keyboard--green .akeyboard-numberKeyboard{height:100%;width:100%;background:#003300;border-radius:5px;padding:10px 5px 5px;box-sizing:border-box}.avue-keyboard--green .akeyboard-numberKeyboard-keys-Enter{height:40px;width:100px}.avue-keyboard--green .akeyboard-mobileKeyboard{height:100%;width:100%;background:#003300;border-radius:5px;padding:11px 5px 5px;box-sizing:border-box}.avue-keyboard--green .akeyboard-mobileKeyboard-keys{height:25px;min-width:25px;padding:0 10px;border-radius:3px;background:#cccc99;display:inline-block;line-height:25px;text-align:center;box-sizing:border-box;margin:3px 2px 2px;cursor:pointer;user-select:none;font-size:10px}.avue-keyboard--green .akeyboard-mobileKeyboard-keys:hover{background:#669933!important;color:#fff}.avue-keyboard--green .akeyboard-mobileKeyboard-keys-\21e7 ,.avue-keyboard--green .akeyboard-mobileKeyboard-keys-\21e6 {width:25px;background-color:#999faf}.avue-keyboard--green .akeyboard-mobileKeyboard-keys-Space{height:28px;width:100px;line-height:28px;margin-left:55px}.avue-keyboard--green .akeyboard-mobileKeyboard-keys-Enter{height:28px;width:55px;line-height:28px;background:#669933!important;color:#fff}.avue-keyboard--green .akeyboard-mobileKeyboard-keys-focus{background:#669933!important;color:#fff}.avue-keyboard--dark .akeyboard-keyboard{height:100%;width:100%;background:black;color:#fff;border-radius:5px;padding:9px 5px 5px;box-sizing:border-box}.avue-keyboard--dark .akeyboard-keyboard-innerKeys{text-align:center}.avue-keyboard--dark .akeyboard-keyboard-keys{height:40px;min-width:40px;padding:0 10px;border-radius:5px;background:#393d49;color:#fff;display:inline-block;line-height:40px;text-align:center;box-sizing:border-box;margin:4px;cursor:pointer;user-select:none}.avue-keyboard--dark .akeyboard-keyboard-keys:hover{background:#1e9fff}.avue-keyboard--dark .akeyboard-keyboard-keys-Delete,.avue-keyboard--dark .akeyboard-keyboard-keys-Tab{width:80px}.avue-keyboard--dark .akeyboard-keyboard-keys-Caps{width:77px}.avue-keyboard--dark .akeyboard-keyboard-keys-Enter{width:90px}.avue-keyboard--dark .akeyboard-keyboard-keys-Shift{width:106px}.avue-keyboard--dark .akeyboard-keyboard-keys-Space{width:350px}.avue-keyboard--dark .keyboard-keyboard-keys-focus{background:#1e9fff}.avue-keyboard--dark .akeyboard-keyboard-fixedBottomCenter{width:100%!important;height:auto!important;position:fixed;bottom:0;left:0;border-radius:0!important}.avue-keyboard--dark .akeyboard-numberKeyboard{height:100%;width:100%;background:black;border-radius:5px;padding:10px 5px 5px;box-sizing:border-box}.avue-keyboard--dark .akeyboard-numberKeyboard-keys-Enter{height:40px;width:100px}.avue-keyboard--dark .akeyboard-mobileKeyboard{height:100%;width:100%;background:black;border-radius:5px;padding:11px 5px 5px;box-sizing:border-box}.avue-keyboard--dark .akeyboard-mobileKeyboard-keys{height:25px;min-width:25px;padding:0 10px;border-radius:3px;background:#393d49;color:#fff;display:inline-block;line-height:25px;text-align:center;box-sizing:border-box;margin:3px 2px 2px;cursor:pointer;user-select:none;font-size:10px}.avue-keyboard--dark .akeyboard-mobileKeyboard-keys:hover{background:#1e9fff!important;color:#fff}.avue-keyboard--dark .akeyboard-mobileKeyboard-keys-\21e7 ,.avue-keyboard--dark .akeyboard-mobileKeyboard-keys-\21e6 {width:25px;background-color:#999faf}.avue-keyboard--dark .akeyboard-mobileKeyboard-keys-Space{height:28px;width:100px;line-height:28px;margin-left:55px}.avue-keyboard--dark .akeyboard-mobileKeyboard-keys-Enter{height:28px;width:55px;line-height:28px;background:#1e9fff!important;color:#fff}.avue-keyboard--dark .akeyboard-mobileKeyboard-keys-focus{background:#1e9fff!important;color:#fff}.avue-keyboard--classic .akeyboard-keyboard{height:100%;width:100%;background:#2f4056;border-radius:5px;padding:9px 5px 5px;box-sizing:border-box}.avue-keyboard--classic .akeyboard-keyboard-innerKeys{text-align:center}.avue-keyboard--classic .akeyboard-keyboard-keys{height:40px;min-width:40px;padding:0 10px;border-radius:5px;background:white;display:inline-block;line-height:40px;text-align:center;box-sizing:border-box;margin:4px;cursor:pointer;user-select:none}.avue-keyboard--classic .akeyboard-keyboard-keys:hover{background:#c2c2c2;color:#fff}.avue-keyboard--classic .akeyboard-keyboard-keys-Delete,.avue-keyboard--classic .akeyboard-keyboard-keys-Tab{width:80px}.avue-keyboard--classic .akeyboard-keyboard-keys-Caps{width:77px}.avue-keyboard--classic .akeyboard-keyboard-keys-Enter{width:90px}.avue-keyboard--classic .akeyboard-keyboard-keys-Shift{width:106px}.avue-keyboard--classic .akeyboard-keyboard-keys-Space{width:350px}.avue-keyboard--classic .keyboard-keyboard-keys-focus{background:#c2c2c2;color:#fff}.avue-keyboard--classic .akeyboard-keyboard-fixedBottomCenter{width:100%!important;height:auto!important;position:fixed;bottom:0;left:0;border-radius:0!important}.avue-keyboard--classic .akeyboard-numberKeyboard{height:100%;width:100%;background:#2f4056;border-radius:5px;padding:10px 5px 5px;box-sizing:border-box}.avue-keyboard--classic .akeyboard-numberKeyboard-keys-Enter{height:40px;width:100px}.avue-keyboard--classic .akeyboard-mobileKeyboard{height:100%;width:100%;background:#2f4056;border-radius:5px;padding:11px 5px 5px;box-sizing:border-box}.avue-keyboard--classic .akeyboard-mobileKeyboard-keys{height:25px;min-width:25px;padding:0 10px;border-radius:3px;background:white;display:inline-block;line-height:25px;text-align:center;box-sizing:border-box;margin:3px 2px 2px;cursor:pointer;user-select:none;font-size:10px}.avue-keyboard--classic .akeyboard-mobileKeyboard-keys:hover{background:#c2c2c2!important;color:#fff}.avue-keyboard--classic .akeyboard-mobileKeyboard-keys-\21e7 ,.avue-keyboard--classic .akeyboard-mobileKeyboard-keys-\21e6 {width:25px;background-color:#999faf}.avue-keyboard--classic .akeyboard-mobileKeyboard-keys-Space{height:28px;width:100px;line-height:28px;margin-left:55px}.avue-keyboard--classic .akeyboard-mobileKeyboard-keys-Enter{height:28px;width:55px;line-height:28px;background:#c2c2c2!important;color:#fff}.avue-keyboard--classic .akeyboard-mobileKeyboard-keys-focus{background:#c2c2c2!important;color:#fff}
|