@cloudparker/moldex.js 0.0.20 → 0.0.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.
Files changed (87) hide show
  1. package/dist/index.d.ts +1 -11
  2. package/dist/index.js +1 -11
  3. package/dist/services/dialog/dialog-service.d.ts +1 -1
  4. package/dist/services/dialog/dialog-service.js +1 -1
  5. package/dist/services/toast/toast-service.d.ts +1 -1
  6. package/dist/services/toast/toast-service.js +1 -1
  7. package/dist/views/{button → core/button}/components/button/button.svelte +4 -4
  8. package/dist/views/{button → core/button}/components/button/button.svelte.d.ts +1 -1
  9. package/dist/views/{button → core/button}/components/button-list-item/button-list-item.svelte +3 -8
  10. package/dist/views/{button → core/button}/components/button-list-item/button-list-item.svelte.d.ts +1 -1
  11. package/dist/views/{button → core/button}/components/button-menu/button-menu.svelte +4 -9
  12. package/dist/views/{button → core/button}/components/button-menu/button-menu.svelte.d.ts +1 -1
  13. package/dist/views/{dialog → core/dialog}/components/dialog/dialog.svelte +12 -5
  14. package/dist/views/{dialog → core/dialog}/components/dialog/dialog.svelte.d.ts +8 -3
  15. package/dist/views/core/dialog/index.d.ts +2 -0
  16. package/dist/views/{dialog → core/dialog}/index.js +1 -1
  17. package/dist/views/{drawer → core/drawer}/components/drawer/drawer.svelte +1 -1
  18. package/dist/views/{drawer → core/drawer}/components/drawer/drawer.svelte.d.ts +1 -1
  19. package/dist/views/{icon → core/icon}/components/icon/icon.svelte +1 -1
  20. package/dist/views/{icon → core/icon}/components/icon/icon.svelte.d.ts +1 -1
  21. package/dist/views/core/index.d.ts +13 -0
  22. package/dist/views/core/index.js +13 -0
  23. package/dist/views/{navbar → core/navbar}/components/navbar/navbar.svelte +2 -3
  24. package/dist/views/{navbar → core/navbar}/components/navbar/navbar.svelte.d.ts +1 -1
  25. package/dist/views/{pagination → core/pagination}/components/pagination/pagination.svelte +3 -4
  26. package/dist/views/{pagination → core/pagination}/components/pagination/pagination.svelte.d.ts +1 -1
  27. package/dist/views/{progressbar → core/progressbar}/components/progressbar/progressbar.svelte +1 -1
  28. package/dist/views/{progressbar → core/progressbar}/components/progressbar/progressbar.svelte.d.ts +1 -1
  29. package/dist/views/{referrer → core/referrer/components}/referrer.svelte +1 -1
  30. package/dist/views/core/referrer/index.d.ts +2 -0
  31. package/dist/views/core/referrer/index.js +2 -0
  32. package/dist/views/{ruler → core/ruler}/components/vertical-ruler/verticcal-ruler.svelte +1 -1
  33. package/dist/views/{ruler → core/ruler}/components/vertical-ruler/verticcal-ruler.svelte.d.ts +1 -1
  34. package/dist/views/{screen-detector → core/screen-detector/components}/screen-detector.svelte +1 -1
  35. package/dist/views/core/screen-detector/index.d.ts +2 -0
  36. package/dist/views/core/screen-detector/index.js +2 -0
  37. package/dist/views/{spinner → core/spinner}/components/spinner/spinner.svelte +1 -1
  38. package/dist/views/{spinner → core/spinner}/components/spinner/spinner.svelte.d.ts +1 -1
  39. package/dist/views/{text → core/text}/components/text-await/text-await.svelte +2 -1
  40. package/dist/views/{text → core/text}/components/text-await/text-await.svelte.d.ts +1 -0
  41. package/dist/views/{text → core/text}/components/text-copy/text-copy.svelte +4 -4
  42. package/dist/views/{text → core/text}/components/text-copy/text-copy.svelte.d.ts +1 -0
  43. package/dist/views/{text → core/text}/components/text-country/text-country.svelte +2 -1
  44. package/dist/views/{text → core/text}/components/text-country/text-country.svelte.d.ts +1 -0
  45. package/dist/views/{text → core/text}/components/text-country-state/text-country-state.svelte +2 -1
  46. package/dist/views/{text → core/text}/components/text-country-state/text-country-state.svelte.d.ts +1 -0
  47. package/dist/views/{text → core/text}/components/text-currency/text-currency.svelte +2 -1
  48. package/dist/views/{text → core/text}/components/text-currency/text-currency.svelte.d.ts +1 -0
  49. package/dist/views/{text → core/text}/components/text-date/text-date.svelte +2 -1
  50. package/dist/views/{text → core/text}/components/text-date/text-date.svelte.d.ts +1 -0
  51. package/dist/views/{text → core/text}/components/text-email/text-email.svelte +3 -3
  52. package/dist/views/{text → core/text}/components/text-email/text-email.svelte.d.ts +1 -0
  53. package/dist/views/core/text/components/text-html/text-html.svelte +7 -0
  54. package/dist/views/{text → core/text}/components/text-html/text-html.svelte.d.ts +1 -0
  55. package/dist/views/{text → core/text}/components/text-phone/text-phone.svelte +5 -1
  56. package/dist/views/{text → core/text}/components/text-phone/text-phone.svelte.d.ts +1 -0
  57. package/dist/views/{toast → core/toast}/components/toast/toast.svelte +1 -1
  58. package/dist/views/{toast → core/toast}/components/toast/toast.svelte.d.ts +1 -1
  59. package/dist/views/index.d.ts +1 -0
  60. package/dist/views/index.js +1 -0
  61. package/package.json +1 -1
  62. package/dist/views/dialog/index.d.ts +0 -2
  63. package/dist/views/text/components/text-html/text-html.svelte +0 -6
  64. /package/dist/views/{button → core/button}/index.d.ts +0 -0
  65. /package/dist/views/{button → core/button}/index.js +0 -0
  66. /package/dist/views/{drawer → core/drawer}/index.d.ts +0 -0
  67. /package/dist/views/{drawer → core/drawer}/index.js +0 -0
  68. /package/dist/views/{icon → core/icon}/index.d.ts +0 -0
  69. /package/dist/views/{icon → core/icon}/index.js +0 -0
  70. /package/dist/views/{icon → core/icon}/services/icon-path-service.d.ts +0 -0
  71. /package/dist/views/{icon → core/icon}/services/icon-path-service.js +0 -0
  72. /package/dist/views/{navbar → core/navbar}/index.d.ts +0 -0
  73. /package/dist/views/{navbar → core/navbar}/index.js +0 -0
  74. /package/dist/views/{pagination → core/pagination}/index.d.ts +0 -0
  75. /package/dist/views/{pagination → core/pagination}/index.js +0 -0
  76. /package/dist/views/{progressbar → core/progressbar}/index.d.ts +0 -0
  77. /package/dist/views/{progressbar → core/progressbar}/index.js +0 -0
  78. /package/dist/views/{referrer → core/referrer/components}/referrer.svelte.d.ts +0 -0
  79. /package/dist/views/{ruler → core/ruler}/index.d.ts +0 -0
  80. /package/dist/views/{ruler → core/ruler}/index.js +0 -0
  81. /package/dist/views/{screen-detector → core/screen-detector/components}/screen-detector.svelte.d.ts +0 -0
  82. /package/dist/views/{spinner → core/spinner}/index.d.ts +0 -0
  83. /package/dist/views/{spinner → core/spinner}/index.js +0 -0
  84. /package/dist/views/{text → core/text}/index.d.ts +0 -0
  85. /package/dist/views/{text → core/text}/index.js +0 -0
  86. /package/dist/views/{toast → core/toast}/index.d.ts +0 -0
  87. /package/dist/views/{toast → core/toast}/index.js +0 -0
package/dist/index.d.ts CHANGED
@@ -1,13 +1,3 @@
1
1
  export * from './actions/index.js';
2
2
  export * from './services/index.js';
3
- export * from './views/button/index.js';
4
- export * from './views/dialog/index.js';
5
- export * from './views/drawer/index.js';
6
- export * from './views/icon/index.js';
7
- export * from './views/navbar/index.js';
8
- export * from './views/pagination/index.js';
9
- export * from './views/progressbar/index.js';
10
- export * from './views/ruler/index.js';
11
- export * from './views/spinner/index.js';
12
- export * from './views/text/index.js';
13
- export * from './views/toast/index.js';
3
+ export * from './views/index.js';
package/dist/index.js CHANGED
@@ -1,13 +1,3 @@
1
1
  export * from './actions/index.js';
2
2
  export * from './services/index.js';
3
- export * from './views/button/index.js';
4
- export * from './views/dialog/index.js';
5
- export * from './views/drawer/index.js';
6
- export * from './views/icon/index.js';
7
- export * from './views/navbar/index.js';
8
- export * from './views/pagination/index.js';
9
- export * from './views/progressbar/index.js';
10
- export * from './views/ruler/index.js';
11
- export * from './views/spinner/index.js';
12
- export * from './views/text/index.js';
13
- export * from './views/toast/index.js';
3
+ export * from './views/index.js';
@@ -1,2 +1,2 @@
1
- import { type DialogPropsType } from '../../views/dialog/components/dialog/dialog.svelte';
1
+ import { type DialogPropsType } from '../../views/core/dialog/components/dialog/dialog.svelte';
2
2
  export declare function openDialog<R>(props?: DialogPropsType): Promise<R>;
@@ -1,5 +1,5 @@
1
1
  import { mount, unmount } from 'svelte';
2
- import Dialog, {} from '../../views/dialog/components/dialog/dialog.svelte';
2
+ import Dialog, {} from '../../views/core/dialog/components/dialog/dialog.svelte';
3
3
  function addDialog(props) {
4
4
  const dialog = mount(Dialog, { target: document.getElementsByTagName('body')[0], props });
5
5
  dialog.openDialog();
@@ -1,4 +1,4 @@
1
- import { type ToastPropsType } from "../../views/toast/components/toast/toast.svelte";
1
+ import type { ToastPropsType } from "../../views";
2
2
  export declare function showToast(props: ToastPropsType | string): void;
3
3
  export declare function showSuccessToast(): void;
4
4
  export declare function showFailedToast(): void;
@@ -1,5 +1,5 @@
1
+ import Toast from "../../views/core/toast/components/toast/toast.svelte";
1
2
  import { mount } from "svelte";
2
- import Toast, {} from "../../views/toast/components/toast/toast.svelte";
3
3
  function addToast(props) {
4
4
  const toast = mount(Toast, { target: document.getElementsByTagName('body')[0], props });
5
5
  toast.openToast();
@@ -1,7 +1,7 @@
1
- <script lang="ts">import "../../../../tailwind.css";
2
- import { ripple } from "../../../../actions/ripple.js";
3
- import Icon from "../../../icon/components/icon/icon.svelte";
4
- import { Spinner } from "../../../spinner/index.js";
1
+ <script lang="ts">import "../../../../../tailwind.css";
2
+ import { ripple } from "../../../../../actions/ripple.js";
3
+ import { Spinner } from "../../../spinner";
4
+ import { Icon } from "../../../icon";
5
5
  let {
6
6
  id = "",
7
7
  form = void 0,
@@ -1,4 +1,4 @@
1
- import '../../../../tailwind.css';
1
+ import '../../../../../tailwind.css';
2
2
  import type { Snippet } from 'svelte';
3
3
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
4
4
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
@@ -1,13 +1,8 @@
1
1
  <script context="module" lang="ts"></script>
2
2
 
3
- <script lang="ts">import "../../../../tailwind.css";
4
- import { ripple } from "../../../../actions/ripple.js";
5
- import Icon from "../../../icon/components/icon/icon.svelte";
6
- import {
7
- mdiCheckCircle,
8
- mdiCheckCircleOutline,
9
- mdiChevronRight
10
- } from "../../../icon/services/icon-path-service.js";
3
+ <script lang="ts">import "../../../../../tailwind.css";
4
+ import { ripple } from "../../../../../actions/ripple.js";
5
+ import { Icon, mdiCheckCircle, mdiCheckCircleOutline, mdiChevronRight } from "../../../icon";
11
6
  let {
12
7
  item,
13
8
  index,
@@ -18,7 +18,7 @@ export type ListItemType = {
18
18
  arrowIconPath?: string;
19
19
  arrowClassName?: string;
20
20
  };
21
- import '../../../../tailwind.css';
21
+ import '../../../../../tailwind.css';
22
22
  import type { Snippet } from 'svelte';
23
23
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
24
24
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
@@ -1,12 +1,7 @@
1
- <script lang="ts">import "../../../../tailwind.css";
2
- import Icon from "../../../icon/components/icon/icon.svelte";
3
- import {
4
- mdiCheckCircle,
5
- mdiCheckCircleOutline,
6
- mdiChevronDown
7
- } from "../../../icon/services/icon-path-service.js";
1
+ <script lang="ts">import "../../../../../tailwind.css";
2
+ import { ripple } from "../../../../../actions/ripple.js";
3
+ import { Icon, mdiCheckCircle, mdiCheckCircleOutline, mdiChevronDown } from "../../../icon";
8
4
  import ButtonListItem from "../button-list-item/button-list-item.svelte";
9
- import { ripple } from "../../../../actions/ripple.js";
10
5
  var MenuStateEnum = /* @__PURE__ */ ((MenuStateEnum2) => {
11
6
  MenuStateEnum2[MenuStateEnum2["OPENED"] = 0] = "OPENED";
12
7
  MenuStateEnum2[MenuStateEnum2["CLOSED"] = 1] = "CLOSED";
@@ -128,7 +123,7 @@ $effect(() => {
128
123
  {#if dropIconPath}
129
124
  <Icon path={dropIconPath} className="w-5 h-5 text-gray-400 {dropIconClassName}" />
130
125
  {/if}
131
- {/if}
126
+ {/if}ß
132
127
  </div>
133
128
  </button>
134
129
  {#if dropdownState == MenuStateEnum.OPENED}
@@ -1,4 +1,4 @@
1
- import '../../../../tailwind.css';
1
+ import '../../../../../tailwind.css';
2
2
  import type { Snippet } from 'svelte';
3
3
  import type { ListItemType } from '../button-list-item/button-list-item.svelte';
4
4
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
@@ -1,9 +1,16 @@
1
- <script lang="ts" context="module"></script>
1
+ <script lang="ts" context="module">export var DialogSizeEnum = /* @__PURE__ */ ((DialogSizeEnum2) => {
2
+ DialogSizeEnum2["SM"] = "sm";
3
+ DialogSizeEnum2["MD"] = "md";
4
+ DialogSizeEnum2["LG"] = "lg";
5
+ DialogSizeEnum2["FULL"] = "full";
6
+ return DialogSizeEnum2;
7
+ })(DialogSizeEnum || {});
8
+ </script>
2
9
 
3
- <script lang="ts">import "../../../../tailwind.css";
4
- import Button from "../../../button/components/button/button.svelte";
5
- import { mdiArrowLeft, mdiClose } from "../../../icon/services/icon-path-service.js";
10
+ <script lang="ts">import Button from "../../../button/components/button/button.svelte";
6
11
  import {} from "svelte";
12
+ import "../../../../../tailwind.css";
13
+ import { mdiArrowLeft, mdiClose } from "../../../icon";
7
14
  let {
8
15
  id = "",
9
16
  cancelable = true,
@@ -40,7 +47,7 @@ let {
40
47
  footerOkButtonSpinner = false,
41
48
  footerOkButtonDisabled = false,
42
49
  submitButtonFormId = void 0,
43
- size = "sm",
50
+ size = DialogSizeEnum.SM,
44
51
  bodyClassName = "",
45
52
  component,
46
53
  props = {},
@@ -1,10 +1,15 @@
1
+ export declare enum DialogSizeEnum {
2
+ SM = "sm",
3
+ MD = "md",
4
+ LG = "lg",
5
+ FULL = "full"
6
+ }
1
7
  export type DialogPropsType = {
2
8
  id?: string;
3
9
  cancelable?: boolean;
4
10
  className?: string;
5
11
  containerClassName?: string;
6
12
  backdropClassName?: string;
7
- isFullScreen?: boolean;
8
13
  hasTitle?: boolean;
9
14
  hasSubtitle?: boolean;
10
15
  title?: string;
@@ -38,7 +43,7 @@ export type DialogPropsType = {
38
43
  bodyClassName?: string;
39
44
  component?: any;
40
45
  props?: any;
41
- size?: 'sm' | 'md' | 'lg' | 'full';
46
+ size?: DialogSizeEnum;
42
47
  children?: Snippet;
43
48
  headerChildren?: Snippet<[dialogExports: DialogExportsType]>;
44
49
  bodyChildren?: Snippet<[dialogExports: DialogExportsType]>;
@@ -52,8 +57,8 @@ export type DialogExportsType = {
52
57
  setOkSpinner: (value: boolean) => void;
53
58
  setOkDisabled: (value: boolean) => void;
54
59
  };
55
- import '../../../../tailwind.css';
56
60
  import { type Snippet } from 'svelte';
61
+ import '../../../../../tailwind.css';
57
62
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
58
63
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
59
64
  $$bindings?: Bindings;
@@ -0,0 +1,2 @@
1
+ import Dialog, { type DialogExportsType, type DialogPropsType, type DialogSizeEnum } from './components/dialog/dialog.svelte';
2
+ export { Dialog, type DialogExportsType, type DialogPropsType, type DialogSizeEnum, };
@@ -1,2 +1,2 @@
1
1
  import Dialog, {} from './components/dialog/dialog.svelte';
2
- export { Dialog };
2
+ export { Dialog, };
@@ -1,4 +1,4 @@
1
- <script lang="ts">import "../../../../tailwind.css";
1
+ <script lang="ts">import "../../../../../tailwind.css";
2
2
  let {
3
3
  id = "",
4
4
  children,
@@ -1,5 +1,5 @@
1
- import '../../../../tailwind.css';
2
1
  import type { Snippet } from 'svelte';
2
+ import '../../../../../tailwind.css';
3
3
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
4
4
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
5
5
  $$bindings?: Bindings;
@@ -1,4 +1,4 @@
1
- <script lang="ts">import "../../../../tailwind.css";
1
+ <script lang="ts">import "../../../../../tailwind.css";
2
2
  let {
3
3
  path,
4
4
  className = "",
@@ -1,4 +1,4 @@
1
- import '../../../../tailwind.css';
1
+ import '../../../../../tailwind.css';
2
2
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
3
3
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
4
4
  $$bindings?: Bindings;
@@ -0,0 +1,13 @@
1
+ export * from './button/index.js';
2
+ export * from './dialog/index.js';
3
+ export * from './drawer/index.js';
4
+ export * from './icon/index.js';
5
+ export * from './navbar/index.js';
6
+ export * from './pagination/index.js';
7
+ export * from './progressbar/index.js';
8
+ export * from './ruler/index.js';
9
+ export * from './spinner/index.js';
10
+ export * from './text/index.js';
11
+ export * from './toast/index.js';
12
+ export * from './screen-detector/index.js';
13
+ export * from './referrer/index.js';
@@ -0,0 +1,13 @@
1
+ export * from './button/index.js';
2
+ export * from './dialog/index.js';
3
+ export * from './drawer/index.js';
4
+ export * from './icon/index.js';
5
+ export * from './navbar/index.js';
6
+ export * from './pagination/index.js';
7
+ export * from './progressbar/index.js';
8
+ export * from './ruler/index.js';
9
+ export * from './spinner/index.js';
10
+ export * from './text/index.js';
11
+ export * from './toast/index.js';
12
+ export * from './screen-detector/index.js';
13
+ export * from './referrer/index.js';
@@ -1,7 +1,6 @@
1
- <script lang="ts">import "../../../../tailwind.css";
1
+ <script lang="ts">import "../../../../../tailwind.css";
2
2
  import Button from "../../../button/components/button/button.svelte";
3
- import Icon from "../../../icon/components/icon/icon.svelte";
4
- import { mdiMenu } from "../../../icon/services/icon-path-service.js";
3
+ import { Icon, mdiMenu } from "../../../icon";
5
4
  let {
6
5
  id = "",
7
6
  children,
@@ -1,4 +1,4 @@
1
- import '../../../../tailwind.css';
1
+ import '../../../../../tailwind.css';
2
2
  import type { Snippet } from 'svelte';
3
3
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
4
4
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
@@ -1,10 +1,9 @@
1
- <script lang="ts">import "../../../../tailwind.css";
2
- import { ripple } from "../../../../actions";
1
+ <script lang="ts">import "../../../../../tailwind.css";
2
+ import { ripple } from "../../../../../actions";
3
3
  import ButtonMenu from "../../../button/components/button-menu/button-menu.svelte";
4
4
  import Button from "../../../button/components/button/button.svelte";
5
- import { mdiChevronLeft, mdiChevronRight, mdiPageFirst, mdiPageLast } from "../../../icon";
6
- import Icon from "../../../icon/components/icon/icon.svelte";
7
5
  import { BROWSER } from "esm-env";
6
+ import { mdiChevronLeft, mdiChevronRight, mdiPageFirst, mdiPageLast } from "../../../icon";
8
7
  let {
9
8
  length = 0,
10
9
  pageIndex = 0,
@@ -1,4 +1,4 @@
1
- import '../../../../tailwind.css';
1
+ import '../../../../../tailwind.css';
2
2
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
3
3
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
4
4
  $$bindings?: Bindings;
@@ -1,4 +1,4 @@
1
- <script lang="ts">import "../../../../tailwind.css";
1
+ <script lang="ts">import "../../../../../tailwind.css";
2
2
  let {
3
3
  backgroundClassName = "",
4
4
  className = "h-4",
@@ -1,4 +1,4 @@
1
- import '../../../../tailwind.css';
1
+ import '../../../../../tailwind.css';
2
2
  import type { Snippet } from 'svelte';
3
3
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
4
4
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">import { page } from "$app/stores";
2
- import { referrer } from "../../services/navigation/navigation-service";
2
+ import { referrer } from "../../../../services/navigation/navigation-service";
3
3
  import { BROWSER } from "esm-env";
4
4
  $effect(() => {
5
5
  if (BROWSER) {
@@ -0,0 +1,2 @@
1
+ import Referrer from "./components/referrer.svelte";
2
+ export { Referrer, };
@@ -0,0 +1,2 @@
1
+ import Referrer from "./components/referrer.svelte";
2
+ export { Referrer, };
@@ -1,4 +1,4 @@
1
- <script lang="ts">import "../../../../tailwind.css";
1
+ <script lang="ts">import "../../../../../tailwind.css";
2
2
  let { className = "" } = $props();
3
3
  </script>
4
4
 
@@ -1,4 +1,4 @@
1
- import '../../../../tailwind.css';
1
+ import '../../../../../tailwind.css';
2
2
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
3
3
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
4
4
  $$bindings?: Bindings;
@@ -1,4 +1,4 @@
1
- <script lang="ts">import { handleScreenSizeUpdate } from "../../services";
1
+ <script lang="ts">import { handleScreenSizeUpdate } from "../../../../services";
2
2
  import { BROWSER } from "esm-env";
3
3
  let innerWidth = $state(0);
4
4
  function screenSizeChanged(size) {
@@ -0,0 +1,2 @@
1
+ import ScreenDetector from "./components/screen-detector.svelte";
2
+ export { ScreenDetector, };
@@ -0,0 +1,2 @@
1
+ import ScreenDetector from "./components/screen-detector.svelte";
2
+ export { ScreenDetector, };
@@ -1,4 +1,4 @@
1
- <script lang="ts">import "../../../../tailwind.css";
1
+ <script lang="ts">import "../../../../../tailwind.css";
2
2
  let { className = "" } = $props();
3
3
  </script>
4
4
 
@@ -1,4 +1,4 @@
1
- import '../../../../tailwind.css';
1
+ import '../../../../../tailwind.css';
2
2
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
3
3
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
4
4
  $$bindings?: Bindings;
@@ -1,4 +1,5 @@
1
- <script lang="ts">let { input, key, hasTitle } = $props();
1
+ <script lang="ts">import "../../../../../tailwind.css";
2
+ let { input, key, hasTitle } = $props();
2
3
  </script>
3
4
 
4
5
  {#if input}
@@ -1,3 +1,4 @@
1
+ import '../../../../../tailwind.css';
1
2
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
3
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
4
  $$bindings?: Bindings;
@@ -1,7 +1,7 @@
1
- <script lang="ts">import Button from "../../../button/components/button/button.svelte";
2
- import { mdiContentCopy } from "../../../icon/index.js";
3
- import { showToast } from "../../../toast/index.js";
4
- import { copyText } from "../../../../services/index.js";
1
+ <script lang="ts">import "../../../../../tailwind.css";
2
+ import Button from "../../../button/components/button/button.svelte";
3
+ import { copyText, showToast } from "../../../../../services/index.js";
4
+ import { mdiContentCopy } from "../../../icon";
5
5
  let {
6
6
  input,
7
7
  containerClassName = "",
@@ -1,3 +1,4 @@
1
+ import '../../../../../tailwind.css';
1
2
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
3
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
4
  $$bindings?: Bindings;
@@ -1,4 +1,5 @@
1
- <script lang="ts">import EasyScriptLoader from "@cloudparker/easy-script-loader-svelte";
1
+ <script lang="ts">import "../../../../../tailwind.css";
2
+ import EasyScriptLoader from "@cloudparker/easy-script-loader-svelte";
2
3
  import { BROWSER } from "esm-env";
3
4
  let { input } = $props();
4
5
  let countries = $state([]);
@@ -1,3 +1,4 @@
1
+ import '../../../../../tailwind.css';
1
2
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
3
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
4
  $$bindings?: Bindings;
@@ -1,4 +1,5 @@
1
- <script lang="ts">import EasyScriptLoader from "@cloudparker/easy-script-loader-svelte";
1
+ <script lang="ts">import "../../../../../tailwind.css";
2
+ import EasyScriptLoader from "@cloudparker/easy-script-loader-svelte";
2
3
  import { BROWSER } from "esm-env";
3
4
  let { input } = $props();
4
5
  let states = $state([]);
@@ -1,3 +1,4 @@
1
+ import '../../../../../tailwind.css';
1
2
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
3
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
4
  $$bindings?: Bindings;
@@ -1,4 +1,5 @@
1
- <script lang="ts">import { BROWSER } from "esm-env";
1
+ <script lang="ts">import "../../../../../tailwind.css";
2
+ import { BROWSER } from "esm-env";
2
3
  let { input, symbol = "$", hasSymbol = true } = $props();
3
4
  let value = $state("");
4
5
  function prepare(..._) {
@@ -1,3 +1,4 @@
1
+ import '../../../../../tailwind.css';
1
2
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
3
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
4
  $$bindings?: Bindings;
@@ -1,4 +1,5 @@
1
- <script lang="ts">import { dateFormat, dateToAgo, toDate } from "../../../../services/date";
1
+ <script lang="ts">import "../../../../../tailwind.css";
2
+ import { dateFormat, dateToAgo, toDate } from "../../../../../services";
2
3
  import { BROWSER } from "esm-env";
3
4
  let { input, format = "DD-MM-YYYY hh:mm a" } = $props();
4
5
  let dateString = $state("");
@@ -1,3 +1,4 @@
1
+ import '../../../../../tailwind.css';
1
2
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
3
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
4
  $$bindings?: Bindings;
@@ -1,6 +1,6 @@
1
- <script lang="ts">import { ripple } from "../../../../actions";
2
- import { mdiEmailOutline } from "../../../icon";
3
- import Icon from "../../../icon/components/icon/icon.svelte";
1
+ <script lang="ts">import "../../../../../tailwind.css";
2
+ import { ripple } from "../../../../../actions";
3
+ import { Icon, mdiEmailOutline } from "../../../icon";
4
4
  let { input, buttonClassName, iconClassName, iconPath = mdiEmailOutline } = $props();
5
5
  </script>
6
6
 
@@ -1,3 +1,4 @@
1
+ import '../../../../../tailwind.css';
1
2
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
3
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
4
  $$bindings?: Bindings;
@@ -0,0 +1,7 @@
1
+ <script lang="ts">import "../../../../../tailwind.css";
2
+ let { input } = $props();
3
+ </script>
4
+
5
+ <span>
6
+ {@html input || ''}
7
+ </span>
@@ -1,3 +1,4 @@
1
+ import '../../../../../tailwind.css';
1
2
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
3
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
4
  $$bindings?: Bindings;
@@ -1,12 +1,16 @@
1
1
  <script lang="ts">import { mdiPhone } from "../../../icon";
2
2
  import Icon from "../../../icon/components/icon/icon.svelte";
3
+ import "../../../../../tailwind.css";
3
4
  let { input, buttonClassName, iconClassName, iconPath = mdiPhone } = $props();
4
5
  </script>
5
6
 
6
7
  <span class="flex items-center">
7
8
  <span>{input || ''}</span>
8
9
  {#if input}
9
- <a class="ms-1 p-1 rounded text-gray-500 hover:text-gray-700 hover:bg-gray-100 {buttonClassName}" href="tel:{input}">
10
+ <a
11
+ class="ms-1 p-1 rounded text-gray-500 hover:text-gray-700 hover:bg-gray-100 {buttonClassName}"
12
+ href="tel:{input}"
13
+ >
10
14
  <Icon path={iconPath} className="w-4 h-4 {iconClassName} " />
11
15
  </a>
12
16
  {/if}
@@ -1,3 +1,4 @@
1
+ import '../../../../../tailwind.css';
1
2
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
3
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
4
  $$bindings?: Bindings;
@@ -1,6 +1,6 @@
1
1
  <script context="module" lang="ts"></script>
2
2
 
3
- <script lang="ts">import "../../../../tailwind.css";
3
+ <script lang="ts">import "../../../../../tailwind.css";
4
4
  let isPlaced = $state(false);
5
5
  let isOpened = $state(false);
6
6
  let { id, msg, duration = 3e3, className, children } = $props();
@@ -6,7 +6,7 @@ export type ToastPropsType = {
6
6
  className?: string;
7
7
  children?: Snippet;
8
8
  };
9
- import '../../../../tailwind.css';
9
+ import '../../../../../tailwind.css';
10
10
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
11
11
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
12
12
  $$bindings?: Bindings;
@@ -0,0 +1 @@
1
+ export * from './core/index.js';
@@ -0,0 +1 @@
1
+ export * from './core/index.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudparker/moldex.js",
3
- "version": "0.0.20",
3
+ "version": "0.0.23",
4
4
  "author": "cloudparker.com",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -1,2 +0,0 @@
1
- import Dialog, { type DialogExportsType, type DialogPropsType } from './components/dialog/dialog.svelte';
2
- export { Dialog, type DialogExportsType, type DialogPropsType };
@@ -1,6 +0,0 @@
1
- <script lang="ts">let { input } = $props();
2
- </script>
3
-
4
- <span>
5
- {@html input || ''}
6
- </span>
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes