nuxt-hs-ui 2.0.27 → 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
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.15.0"
6
6
  },
7
- "version": "2.0.27",
7
+ "version": "2.0.29",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "0.8.4",
10
10
  "unbuild": "2.0.0"
package/dist/module.mjs CHANGED
@@ -88,7 +88,6 @@ const module = defineNuxtModule({
88
88
  _nuxt.options.appConfig.tv = {
89
89
  twMerge: true,
90
90
  twMergeConfig: {
91
- prefix: twConfig.prefix,
92
91
  theme: twConfig.theme
93
92
  }
94
93
  };
@@ -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
- import { english as en } from "flatpickr/dist/l10n/default";
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,6 +24,7 @@ import {
24
24
  onMounted,
25
25
  nextTick,
26
26
  onUnmounted,
27
+ // useHead,
27
28
  } from "#imports";
28
29
  // [ utils ]
29
30
  import type { ClassType } from "../../utils/class-style";
@@ -36,6 +37,16 @@ import { useHsMultiLang } from "../../composables/use-hs-multi-lang";
36
37
  // [ Components ]
37
38
  import InputFrame from "./input-frame.vue";
38
39
 
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
+ // });
49
+
39
50
  // ----------------------------------------------------------------------------
40
51
  // [ nac-stroe ]
41
52
  DayjsInit();
@@ -388,12 +399,10 @@ const generateFlatPickerOption = () => {
388
399
  if (inputElement.value != null) {
389
400
  dayjs.locale(multiLang.state.lang);
390
401
  switch (multiLang.state.lang) {
402
+ case "jp":
391
403
  case "ja":
392
404
  state.option.locale = ja;
393
405
  break;
394
- case "en":
395
- state.option.locale = en;
396
- break;
397
406
  default:
398
407
  state.option.locale = en;
399
408
  break;
@@ -1,2 +1,2 @@
1
- declare const _default: import("#app").Plugin<Record<string, unknown>> & import("#app").ObjectPlugin<Record<string, unknown>>;
1
+ declare const _default: import("nuxt/app").Plugin<Record<string, unknown>> & import("nuxt/app").ObjectPlugin<Record<string, unknown>>;
2
2
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-hs-ui",
3
- "version": "2.0.27",
3
+ "version": "2.0.29",
4
4
  "description": "My new Nuxt module",
5
5
  "repository": "https://github.com/hare-systems-ryo/nuxt-hs-ui",
6
6
  "license": "MIT",