nuxt-hs-ui 2.0.28 → 2.0.29
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/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
import dayjs from "dayjs/esm/index";
|
|
11
11
|
import flatpickr from "flatpickr";
|
|
12
12
|
import monthSelectPlugin from "flatpickr/dist/plugins/monthSelect";
|
|
13
|
-
import { Japanese as ja } from "flatpickr/dist/l10n/ja";
|
|
14
|
-
|
|
13
|
+
import { Japanese as ja } from "flatpickr/dist/l10n/ja.js";
|
|
14
|
+
import { english as en } from "flatpickr/dist/l10n/default.js";
|
|
15
15
|
// [ vueuse ]
|
|
16
16
|
import { useMounted } from "@vueuse/core";
|
|
17
17
|
// [ NUXT ]
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
onMounted,
|
|
25
25
|
nextTick,
|
|
26
26
|
onUnmounted,
|
|
27
|
-
useHead,
|
|
27
|
+
// useHead,
|
|
28
28
|
} from "#imports";
|
|
29
29
|
// [ utils ]
|
|
30
30
|
import type { ClassType } from "../../utils/class-style";
|
|
@@ -37,13 +37,15 @@ import { useHsMultiLang } from "../../composables/use-hs-multi-lang";
|
|
|
37
37
|
// [ Components ]
|
|
38
38
|
import InputFrame from "./input-frame.vue";
|
|
39
39
|
|
|
40
|
-
useHead({
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
40
|
+
// useHead({
|
|
41
|
+
// script: [
|
|
42
|
+
// //
|
|
43
|
+
|
|
44
|
+
// { src: `https://npmcdn.com/flatpickr/dist/flatpickr.min.js` },
|
|
45
|
+
// { src: `https://npmcdn.com/flatpickr/dist/l10n/ja.js` },
|
|
46
|
+
// { src: `https://npmcdn.com/flatpickr/dist/l10n/default.js` },
|
|
47
|
+
// ],
|
|
48
|
+
// });
|
|
47
49
|
|
|
48
50
|
// ----------------------------------------------------------------------------
|
|
49
51
|
// [ nac-stroe ]
|
|
@@ -397,14 +399,12 @@ const generateFlatPickerOption = () => {
|
|
|
397
399
|
if (inputElement.value != null) {
|
|
398
400
|
dayjs.locale(multiLang.state.lang);
|
|
399
401
|
switch (multiLang.state.lang) {
|
|
402
|
+
case "jp":
|
|
400
403
|
case "ja":
|
|
401
|
-
state.option.locale =
|
|
402
|
-
break;
|
|
403
|
-
case "en":
|
|
404
|
-
state.option.locale = "en";
|
|
404
|
+
state.option.locale = ja;
|
|
405
405
|
break;
|
|
406
406
|
default:
|
|
407
|
-
state.option.locale =
|
|
407
|
+
state.option.locale = en;
|
|
408
408
|
break;
|
|
409
409
|
}
|
|
410
410
|
// state.option.position = 'above';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("
|
|
1
|
+
declare const _default: import("nuxt/app").Plugin<Record<string, unknown>> & import("nuxt/app").ObjectPlugin<Record<string, unknown>>;
|
|
2
2
|
export default _default;
|