@powerlines/plugin-date 0.12.279 → 0.12.280

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 (57) hide show
  1. package/dist/index-CA4VvAY_.d.mts +1 -0
  2. package/dist/index-CmCelmEL.d.cts +1 -0
  3. package/dist/index.cjs +2007 -18
  4. package/dist/index.d.cts +42 -9
  5. package/dist/index.d.cts.map +1 -0
  6. package/dist/index.d.mts +42 -9
  7. package/dist/index.d.mts.map +1 -0
  8. package/dist/index.mjs +1972 -7
  9. package/dist/index.mjs.map +1 -0
  10. package/dist/plugin-CWe-29nA.d.mts +44 -0
  11. package/dist/plugin-CWe-29nA.d.mts.map +1 -0
  12. package/dist/plugin-D82ijYIk.d.cts +44 -0
  13. package/dist/plugin-D82ijYIk.d.cts.map +1 -0
  14. package/dist/plugin-DHXHjv16.cjs +0 -0
  15. package/dist/plugin-ufqFO5xS.mjs +1 -0
  16. package/dist/runtime-B7WoCmC4.mjs +1 -0
  17. package/dist/runtime-B8LVkjWB.d.cts +712 -0
  18. package/dist/runtime-B8LVkjWB.d.cts.map +1 -0
  19. package/dist/runtime-CiYq8JJ6.d.mts +712 -0
  20. package/dist/runtime-CiYq8JJ6.d.mts.map +1 -0
  21. package/dist/runtime-D4zTdSwv.cjs +0 -0
  22. package/dist/types/index.cjs +3 -0
  23. package/dist/types/index.d.cts +3 -2
  24. package/dist/types/index.d.mts +3 -2
  25. package/dist/types/index.mjs +4 -0
  26. package/dist/types/plugin.cjs +1 -0
  27. package/dist/types/plugin.d.cts +1 -42
  28. package/dist/types/plugin.d.mts +1 -42
  29. package/dist/types/plugin.mjs +2 -0
  30. package/dist/types/runtime.cjs +1 -0
  31. package/dist/types/runtime.d.cts +1 -710
  32. package/dist/types/runtime.d.mts +1 -710
  33. package/dist/types/runtime.mjs +2 -0
  34. package/dist/types-BReKsBV6.mjs +1 -0
  35. package/dist/types-CBTc19th.cjs +0 -0
  36. package/package.json +5 -5
  37. package/dist/_virtual/rolldown_runtime.cjs +0 -29
  38. package/dist/components/date-fns.cjs +0 -528
  39. package/dist/components/date-fns.d.cts +0 -13
  40. package/dist/components/date-fns.d.mts +0 -13
  41. package/dist/components/date-fns.mjs +0 -527
  42. package/dist/components/dayjs.cjs +0 -473
  43. package/dist/components/dayjs.d.cts +0 -13
  44. package/dist/components/dayjs.d.mts +0 -13
  45. package/dist/components/dayjs.mjs +0 -472
  46. package/dist/components/index.cjs +0 -4
  47. package/dist/components/index.d.cts +0 -4
  48. package/dist/components/index.d.mts +0 -4
  49. package/dist/components/index.mjs +0 -6
  50. package/dist/components/luxon.cjs +0 -477
  51. package/dist/components/luxon.d.cts +0 -13
  52. package/dist/components/luxon.d.mts +0 -13
  53. package/dist/components/luxon.mjs +0 -476
  54. package/dist/components/moment.cjs +0 -463
  55. package/dist/components/moment.d.cts +0 -13
  56. package/dist/components/moment.d.mts +0 -13
  57. package/dist/components/moment.mjs +0 -462
package/dist/index.d.cts CHANGED
@@ -1,17 +1,50 @@
1
- import { DateLibraryType, DatePluginContext, DatePluginOptions, DatePluginResolvedConfig, DatePluginUserConfig, __ΩDateLibraryType, __ΩDatePluginContext, __ΩDatePluginOptions, __ΩDatePluginResolvedConfig, __ΩDatePluginUserConfig } from "./types/plugin.cjs";
2
- import { dateFnsModule } from "./components/date-fns.cjs";
3
- import { dayjsModule } from "./components/dayjs.cjs";
4
- import { luxonModule } from "./components/luxon.cjs";
5
- import { momentModule } from "./components/moment.cjs";
6
- import "./components/index.cjs";
7
- import { DateFormats, StormDateInterface, TimeUnit, __ΩDateFormats, __ΩStormDateInterface, __ΩTimeUnit } from "./types/runtime.cjs";
8
- import "./types/index.cjs";
1
+ import { a as DatePluginUserConfig, c as __ΩDatePluginOptions, i as DatePluginResolvedConfig, l as __ΩDatePluginResolvedConfig, n as DatePluginContext, o as __ΩDateLibraryType, r as DatePluginOptions, s as __ΩDatePluginContext, t as DateLibraryType, u as __ΩDatePluginUserConfig } from "./plugin-D82ijYIk.cjs";
2
+ import { a as __ΩStormDateInterface, i as __ΩDateFormats, n as StormDateInterface, o as __ΩTimeUnit, r as TimeUnit, t as DateFormats } from "./runtime-B8LVkjWB.cjs";
3
+ import "./index-CmCelmEL.cjs";
9
4
  import { Plugin } from "powerlines/types/plugin";
10
5
 
6
+ //#region src/components/date-fns.d.ts
7
+
8
+ /**
9
+ * Generates the Powerlines configuration file.
10
+ *
11
+ * @param context - The build context containing runtime information.
12
+ * @returns A string representing the configuration file content.
13
+ */
14
+ declare function dateFnsModule(context: DatePluginContext): string;
15
+ //#endregion
16
+ //#region src/components/dayjs.d.ts
17
+ /**
18
+ * Generates the Powerlines configuration file.
19
+ *
20
+ * @param context - The build context containing runtime information.
21
+ * @returns A string representing the configuration file content.
22
+ */
23
+ declare function dayjsModule(context: DatePluginContext): string;
24
+ //#endregion
25
+ //#region src/components/luxon.d.ts
26
+ /**
27
+ * Generates the Powerlines configuration file.
28
+ *
29
+ * @param context - The build context containing runtime information.
30
+ * @returns A string representing the configuration file content.
31
+ */
32
+ declare function luxonModule(context: DatePluginContext): string;
33
+ //#endregion
34
+ //#region src/components/moment.d.ts
35
+ /**
36
+ * Generates the Powerlines configuration file.
37
+ *
38
+ * @param context - The build context containing runtime information.
39
+ * @returns A string representing the configuration file content.
40
+ */
41
+ declare function momentModule(context: DatePluginContext): string;
42
+ //#endregion
11
43
  //#region src/index.d.ts
12
44
  /**
13
45
  * A Powerlines plugin to assist in developing other Powerlines plugins.
14
46
  */
15
47
  declare function plugin<TContext extends DatePluginContext = DatePluginContext>(options?: DatePluginOptions): Plugin<TContext>[];
16
48
  //#endregion
17
- export { DateFormats, DateLibraryType, DatePluginContext, DatePluginOptions, DatePluginResolvedConfig, DatePluginUserConfig, StormDateInterface, TimeUnit, __ΩDateFormats, __ΩDateLibraryType, __ΩDatePluginContext, __ΩDatePluginOptions, __ΩDatePluginResolvedConfig, __ΩDatePluginUserConfig, __ΩStormDateInterface, __ΩTimeUnit, dateFnsModule, dayjsModule, plugin as default, plugin, luxonModule, momentModule };
49
+ export { DateFormats, DateLibraryType, DatePluginContext, DatePluginOptions, DatePluginResolvedConfig, DatePluginUserConfig, StormDateInterface, TimeUnit, __ΩDateFormats, __ΩDateLibraryType, __ΩDatePluginContext, __ΩDatePluginOptions, __ΩDatePluginResolvedConfig, __ΩDatePluginUserConfig, __ΩStormDateInterface, __ΩTimeUnit, dateFnsModule, dayjsModule, plugin as default, plugin, luxonModule, momentModule };
50
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/components/date-fns.ts","../src/components/dayjs.ts","../src/components/luxon.ts","../src/components/moment.ts","../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;AA2BA;iBAAgB,aAAA,UAAuB;;;;;;;;AAAvC;iBCAgB,WAAA,UAAqB;;;;;;;;ADArC;iBEAgB,WAAA,UAAqB;;;;;;;;AFArC;iBGAgB,YAAA,UAAsB;;;;;AHAtC;iBIUgB,wBAAwB,oBAAoB,6BACjD,oBAmEJ,OAAO"}
package/dist/index.d.mts CHANGED
@@ -1,17 +1,50 @@
1
- import { DateLibraryType, DatePluginContext, DatePluginOptions, DatePluginResolvedConfig, DatePluginUserConfig, __ΩDateLibraryType, __ΩDatePluginContext, __ΩDatePluginOptions, __ΩDatePluginResolvedConfig, __ΩDatePluginUserConfig } from "./types/plugin.mjs";
2
- import { dateFnsModule } from "./components/date-fns.mjs";
3
- import { dayjsModule } from "./components/dayjs.mjs";
4
- import { luxonModule } from "./components/luxon.mjs";
5
- import { momentModule } from "./components/moment.mjs";
6
- import "./components/index.mjs";
7
- import { DateFormats, StormDateInterface, TimeUnit, __ΩDateFormats, __ΩStormDateInterface, __ΩTimeUnit } from "./types/runtime.mjs";
8
- import "./types/index.mjs";
1
+ import { a as DatePluginUserConfig, c as __ΩDatePluginOptions, i as DatePluginResolvedConfig, l as __ΩDatePluginResolvedConfig, n as DatePluginContext, o as __ΩDateLibraryType, r as DatePluginOptions, s as __ΩDatePluginContext, t as DateLibraryType, u as __ΩDatePluginUserConfig } from "./plugin-CWe-29nA.mjs";
2
+ import { a as __ΩStormDateInterface, i as __ΩDateFormats, n as StormDateInterface, o as __ΩTimeUnit, r as TimeUnit, t as DateFormats } from "./runtime-CiYq8JJ6.mjs";
3
+ import "./index-CA4VvAY_.mjs";
9
4
  import { Plugin } from "powerlines/types/plugin";
10
5
 
6
+ //#region src/components/date-fns.d.ts
7
+
8
+ /**
9
+ * Generates the Powerlines configuration file.
10
+ *
11
+ * @param context - The build context containing runtime information.
12
+ * @returns A string representing the configuration file content.
13
+ */
14
+ declare function dateFnsModule(context: DatePluginContext): string;
15
+ //#endregion
16
+ //#region src/components/dayjs.d.ts
17
+ /**
18
+ * Generates the Powerlines configuration file.
19
+ *
20
+ * @param context - The build context containing runtime information.
21
+ * @returns A string representing the configuration file content.
22
+ */
23
+ declare function dayjsModule(context: DatePluginContext): string;
24
+ //#endregion
25
+ //#region src/components/luxon.d.ts
26
+ /**
27
+ * Generates the Powerlines configuration file.
28
+ *
29
+ * @param context - The build context containing runtime information.
30
+ * @returns A string representing the configuration file content.
31
+ */
32
+ declare function luxonModule(context: DatePluginContext): string;
33
+ //#endregion
34
+ //#region src/components/moment.d.ts
35
+ /**
36
+ * Generates the Powerlines configuration file.
37
+ *
38
+ * @param context - The build context containing runtime information.
39
+ * @returns A string representing the configuration file content.
40
+ */
41
+ declare function momentModule(context: DatePluginContext): string;
42
+ //#endregion
11
43
  //#region src/index.d.ts
12
44
  /**
13
45
  * A Powerlines plugin to assist in developing other Powerlines plugins.
14
46
  */
15
47
  declare function plugin<TContext extends DatePluginContext = DatePluginContext>(options?: DatePluginOptions): Plugin<TContext>[];
16
48
  //#endregion
17
- export { DateFormats, DateLibraryType, DatePluginContext, DatePluginOptions, DatePluginResolvedConfig, DatePluginUserConfig, StormDateInterface, TimeUnit, __ΩDateFormats, __ΩDateLibraryType, __ΩDatePluginContext, __ΩDatePluginOptions, __ΩDatePluginResolvedConfig, __ΩDatePluginUserConfig, __ΩStormDateInterface, __ΩTimeUnit, dateFnsModule, dayjsModule, plugin as default, plugin, luxonModule, momentModule };
49
+ export { DateFormats, DateLibraryType, DatePluginContext, DatePluginOptions, DatePluginResolvedConfig, DatePluginUserConfig, StormDateInterface, TimeUnit, __ΩDateFormats, __ΩDateLibraryType, __ΩDatePluginContext, __ΩDatePluginOptions, __ΩDatePluginResolvedConfig, __ΩDatePluginUserConfig, __ΩStormDateInterface, __ΩTimeUnit, dateFnsModule, dayjsModule, plugin as default, plugin, luxonModule, momentModule };
50
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/components/date-fns.ts","../src/components/dayjs.ts","../src/components/luxon.ts","../src/components/moment.ts","../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;AA2BA;iBAAgB,aAAA,UAAuB;;;;;;;;AAAvC;iBCAgB,WAAA,UAAqB;;;;;;;;ADArC;iBEAgB,WAAA,UAAqB;;;;;;;;AFArC;iBGAgB,YAAA,UAAsB;;;;;AHAtC;iBIUgB,wBAAwB,oBAAoB,6BACjD,oBAmEJ,OAAO"}