manolis-ui 0.12.0 → 0.13.2

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.
@@ -0,0 +1,4 @@
1
+ import { DatetimePicker as e } from "./manolis-ui.js";
2
+ export {
3
+ e as default
4
+ };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { ComponentOptionsMixin } from 'vue';
2
2
  import { ComponentProvideOptions } from 'vue';
3
3
  import { ComputedRef } from 'vue';
4
- import { default as DatetimePicker } from './components/data-input/datetimePicker.vue';
5
4
  import { DefineComponent } from 'vue';
6
5
  import { ExtractPropTypes } from 'vue';
7
6
  import { default as FilterableSelect } from './components/data-input/filterableSelect.vue';
@@ -23,7 +22,7 @@ declare const __VLS_component_10: DefineComponent<__VLS_Props, {}, {}, {}, {}, C
23
22
  inputRef: HTMLInputElement;
24
23
  }, HTMLDivElement>;
25
24
 
26
- declare const __VLS_component_11: DefineComponent<Props_12, {
25
+ declare const __VLS_component_11: DefineComponent<Props_13, {
27
26
  focusInput: () => void;
28
27
  isValid: typeof isValid;
29
28
  isTouched: typeof isTouched;
@@ -31,7 +30,7 @@ errorMessage: typeof errorMessage;
31
30
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
32
31
  "update:modelValue": (value: string | number | null) => any;
33
32
  validate: (isValid: boolean) => any;
34
- }, string, PublicProps, Readonly<Props_12> & Readonly<{
33
+ }, string, PublicProps, Readonly<Props_13> & Readonly<{
35
34
  "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
36
35
  onValidate?: ((isValid: boolean) => any) | undefined;
37
36
  }>, {
@@ -56,19 +55,19 @@ successMessage: string;
56
55
  inputElement: HTMLInputElement;
57
56
  }, HTMLDivElement>;
58
57
 
59
- declare const __VLS_component_12: DefineComponent<Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_14> & Readonly<{}>, {
58
+ declare const __VLS_component_12: DefineComponent<Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_15> & Readonly<{}>, {
60
59
  collapseOnMobile: boolean;
61
60
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
62
61
 
63
62
  declare const __VLS_component_13: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
64
63
 
65
- declare const __VLS_component_14: DefineComponent<Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_16> & Readonly<{}>, {
64
+ declare const __VLS_component_14: DefineComponent<Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_17> & Readonly<{}>, {
66
65
  isCollapsed: boolean;
67
66
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
68
67
 
69
- declare const __VLS_component_15: DefineComponent<Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
68
+ declare const __VLS_component_15: DefineComponent<Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
70
69
  "tab-changed": (...args: any[]) => void;
71
- }, string, PublicProps, Readonly<Props_17> & Readonly<{
70
+ }, string, PublicProps, Readonly<Props_18> & Readonly<{
72
71
  "onTab-changed"?: ((...args: any[]) => any) | undefined;
73
72
  }>, {
74
73
  withControlls: boolean;
@@ -543,6 +542,11 @@ export declare const Badge: __VLS_WithTemplateSlots_5<typeof __VLS_component_5,
543
542
 
544
543
  export declare const ButtonComponent: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
545
544
 
545
+ declare type CallyInitialDate = Date | string | {
546
+ start: Date | string;
547
+ end: Date | string;
548
+ } | null;
549
+
546
550
  export declare const Card: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
547
551
 
548
552
  export declare const Carousel: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
@@ -554,13 +558,47 @@ declare interface Category {
554
558
  tabs: Tab_3[];
555
559
  }
556
560
 
557
- export declare const CategoryNavigation: DefineComponent<Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
561
+ export declare const CategoryNavigation: DefineComponent<Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
558
562
  "update:currentCategory": (category: string) => any;
559
- }, string, PublicProps, Readonly<Props_15> & Readonly<{
563
+ }, string, PublicProps, Readonly<Props_16> & Readonly<{
560
564
  "onUpdate:currentCategory"?: ((category: string) => any) | undefined;
561
565
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
562
566
 
563
- export { DatetimePicker }
567
+ export declare const DatetimePicker: DefineComponent<Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
568
+ "update:modelValue": (value: string | {
569
+ start: string;
570
+ end: string;
571
+ } | null) => any;
572
+ change: (value: string | {
573
+ start: string;
574
+ end: string;
575
+ } | null) => any;
576
+ }, string, PublicProps, Readonly<Props_11> & Readonly<{
577
+ "onUpdate:modelValue"?: ((value: string | {
578
+ start: string;
579
+ end: string;
580
+ } | null) => any) | undefined;
581
+ onChange?: ((value: string | {
582
+ start: string;
583
+ end: string;
584
+ } | null) => any) | undefined;
585
+ }>, {
586
+ disabled: boolean;
587
+ id: string;
588
+ locale: string;
589
+ range: boolean;
590
+ mode: "datetime" | "date" | "time";
591
+ placeholder: string;
592
+ popup: boolean;
593
+ initialDate: CallyInitialDate;
594
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
595
+ pickerContainer: HTMLDivElement;
596
+ datePicker: unknown;
597
+ rangeDatePicker: unknown;
598
+ timeFromInput: HTMLInputElement;
599
+ timeToInput: HTMLInputElement;
600
+ timeInput: HTMLInputElement;
601
+ }, HTMLDivElement>;
564
602
 
565
603
  export declare const Dropdown: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
566
604
 
@@ -606,7 +644,7 @@ declare const isTouched: Ref<boolean, boolean>;
606
644
 
607
645
  declare const isValid: ComputedRef<boolean>;
608
646
 
609
- export declare const Loader: DefineComponent<Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_13> & Readonly<{}>, {
647
+ export declare const Loader: DefineComponent<Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_14> & Readonly<{}>, {
610
648
  loading: boolean;
611
649
  type: "spinner" | "dots" | "ring" | "balls" | "bars" | "infinity";
612
650
  size: "xs" | "sm" | "md" | "lg" | "xl";
@@ -644,6 +682,19 @@ declare interface Props_10 {
644
682
  }
645
683
 
646
684
  declare interface Props_11 {
685
+ mode?: "datetime" | "date" | "time";
686
+ range?: boolean;
687
+ placeholder?: string;
688
+ popup?: boolean;
689
+ id?: string;
690
+ initialDate?: CallyInitialDate;
691
+ disabled?: boolean;
692
+ locale?: string;
693
+ min?: string;
694
+ max?: string;
695
+ }
696
+
697
+ declare interface Props_12 {
647
698
  initialRating: number;
648
699
  numberOfStars?: number;
649
700
  halfStars?: boolean;
@@ -654,7 +705,7 @@ declare interface Props_11 {
654
705
  gap?: number;
655
706
  }
656
707
 
657
- declare interface Props_12 {
708
+ declare interface Props_13 {
658
709
  modelValue: string | number | null;
659
710
  label?: string;
660
711
  placeholder?: string;
@@ -674,30 +725,30 @@ declare interface Props_12 {
674
725
  disabled?: boolean;
675
726
  }
676
727
 
677
- declare interface Props_13 {
728
+ declare interface Props_14 {
678
729
  loading?: boolean;
679
730
  size?: "xs" | "sm" | "md" | "lg" | "xl";
680
731
  type: "spinner" | "dots" | "ring" | "balls" | "bars" | "infinity";
681
732
  color: "primary" | "secondary" | "accent" | "neutral" | "info" | "success" | "warning" | "error";
682
733
  }
683
734
 
684
- declare interface Props_14 {
735
+ declare interface Props_15 {
685
736
  items: Array<FooterNavigation>;
686
737
  background?: string;
687
738
  color?: string;
688
739
  collapseOnMobile?: boolean;
689
740
  }
690
741
 
691
- declare interface Props_15 {
742
+ declare interface Props_16 {
692
743
  searchOptions: Array<Category>;
693
744
  currentCategory: string;
694
745
  }
695
746
 
696
- declare interface Props_16 {
747
+ declare interface Props_17 {
697
748
  isCollapsed: boolean;
698
749
  }
699
750
 
700
- declare interface Props_17 {
751
+ declare interface Props_18 {
701
752
  items: Array<string>;
702
753
  withControlls?: boolean;
703
754
  rotateTabsAfter?: number;
@@ -762,7 +813,7 @@ declare interface Props_9 {
762
813
  horizontal?: boolean;
763
814
  }
764
815
 
765
- export declare const Rating: DefineComponent<Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_11> & Readonly<{}>, {
816
+ export declare const Rating: DefineComponent<Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_12> & Readonly<{}>, {
766
817
  size: "xs" | "sm" | "md" | "lg";
767
818
  shape: "star" | "star-bold" | "heart" | "squircle" | "hexagon-vertical" | "hexagon-horizontal" | "decagon" | "pentagon" | "diamond" | "square" | "triangle-top" | "triangle-bottom" | "triangle-left" | "triangle-right";
768
819
  color: string;
@@ -1 +1 @@
1
- .carousel[data-v-db55a6a5]{-ms-overflow-style:none;scrollbar-width:none}.carousel[data-v-db55a6a5]::-webkit-scrollbar{display:none}.carousel-item[data-v-507384bc]{flex-shrink:0}.tab-content[data-v-577c3624]{background-color:var(--color-base-100);padding:1rem;border-radius:var(--radius-box, .5rem);box-shadow:var(--tw-shadow-lg);border:1px solid var(--color-base-300)}.tabs button[data-v-577c3624]{cursor:pointer;flex-grow:1;flex-shrink:1;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:0 1rem;position:relative}.tabs button .text-sm[data-v-577c3624],.tabs button .text-xs[data-v-577c3624]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.tabs button>.inline-component-wrapper[data-v-577c3624]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:0 1rem;background-color:var(--color-base-100);z-index:1}.tabs button.tab-active-inline .flex-col[data-v-577c3624]{visibility:hidden}@media (max-width: 768px){.tab-content[data-v-577c3624]{width:90%;left:50%!important;transform:translate(-50%)!important;top:auto!important;bottom:unset!important;margin-top:10px;position:fixed;max-height:80vh;overflow-y:auto}}@media (min-width: 769px){.tab-content[data-v-577c3624]{width:auto;left:unset;transform:unset;position:absolute;max-height:unset;overflow-y:visible}.tabs-boxed .tab[data-v-577c3624]{flex-basis:0}}@media (max-width: 768px){.collapse-title>div[data-v-577c3624]:last-child{opacity:.75}}.tabs-boxed .tab.tab-active[data-v-577c3624],.tabs-boxed .tab.tab-active[data-v-577c3624]:hover{background-color:var(--color-primary);color:var(--color-primary-content)}.tabs-boxed .tab.tab-active-inline[data-v-577c3624]{background-color:var(--color-primary);color:var(--color-primary-content);flex:6}.tabs button>.inline-component-wrapper[data-v-577c3624] *{color:var(--color-base-content)}.input[data-v-bab9b3c1]{cursor:pointer}.navigationbar[data-v-8ddb2b45]{display:grid;grid-template-columns:auto auto auto;grid-template-rows:auto auto;grid-template-areas:"center center center" "bottom bottom bottom";position:fixed;width:100%!important;gap:0 1rem;align-items:center;padding:var(--navbar-padding, .5rem);min-height:4rem;z-index:5}@media (min-width: 768px){.navigationbar[data-v-8ddb2b45]{grid-template-columns:.7fr 1.6fr .7fr;grid-template-areas:"start center end" "bottom bottom bottom";grid-row-gap:2rem;padding:2rem}}.navbar-start[data-v-8ddb2b45]{grid-area:start;height:100%}.navbar-center[data-v-8ddb2b45]{grid-area:center;width:100%;height:100%}.navbar-end[data-v-8ddb2b45]{width:100%;height:100%;grid-area:end}.navbar-bottom[data-v-8ddb2b45]{grid-area:center;width:100%;display:flex;justify-content:center;align-items:center}@media (min-width: 768px){.navbar-bottom[data-v-8ddb2b45]{grid-area:bottom}}nav.navigationbar.collapsed[data-v-8ddb2b45]{top:0;z-index:10;grid-template-columns:auto 1fr auto!important}@media (min-width: 768px){nav.navigationbar.collapsed[data-v-8ddb2b45]{row-gap:0;padding:1rem}}nav.navigationbar.collapsed .navbar-bottom[data-v-8ddb2b45]{grid-area:center!important}
1
+ .carousel[data-v-db55a6a5]{-ms-overflow-style:none;scrollbar-width:none}.carousel[data-v-db55a6a5]::-webkit-scrollbar{display:none}.carousel-item[data-v-507384bc]{flex-shrink:0}.tab-content[data-v-577c3624]{background-color:var(--color-base-100);padding:1rem;border-radius:var(--radius-box, .5rem);box-shadow:var(--tw-shadow-lg);border:1px solid var(--color-base-300)}.tabs button[data-v-577c3624]{cursor:pointer;flex-grow:1;flex-shrink:1;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:0 1rem;position:relative}.tabs button .text-sm[data-v-577c3624],.tabs button .text-xs[data-v-577c3624]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.tabs button>.inline-component-wrapper[data-v-577c3624]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:0 1rem;background-color:var(--color-base-100);z-index:1}.tabs button.tab-active-inline .flex-col[data-v-577c3624]{visibility:hidden}@media (max-width: 768px){.tab-content[data-v-577c3624]{width:90%;left:50%!important;transform:translate(-50%)!important;top:auto!important;bottom:unset!important;margin-top:10px;position:fixed;max-height:80vh;overflow-y:auto}}@media (min-width: 769px){.tab-content[data-v-577c3624]{width:auto;left:unset;transform:unset;position:absolute;max-height:unset;overflow-y:visible}.tabs-boxed .tab[data-v-577c3624]{flex-basis:0}}@media (max-width: 768px){.collapse-title>div[data-v-577c3624]:last-child{opacity:.75}}.tabs-boxed .tab.tab-active[data-v-577c3624],.tabs-boxed .tab.tab-active[data-v-577c3624]:hover{background-color:var(--color-primary);color:var(--color-primary-content)}.tabs-boxed .tab.tab-active-inline[data-v-577c3624]{background-color:var(--color-primary);color:var(--color-primary-content);flex:6}.tabs button>.inline-component-wrapper[data-v-577c3624] *{color:var(--color-base-content)}input[type=time]{position:relative}input[type=time]::-webkit-calendar-picker-indicator{opacity:0;position:absolute;height:100%;width:100%}@media screen and (min-width: 1024px){.cally ::part(selected){border-radius:var(--radius-field)}}.navigationbar[data-v-8ddb2b45]{display:grid;grid-template-columns:auto auto auto;grid-template-rows:auto auto;grid-template-areas:"center center center" "bottom bottom bottom";position:fixed;width:100%!important;gap:0 1rem;align-items:center;padding:var(--navbar-padding, .5rem);min-height:4rem;z-index:5}@media (min-width: 768px){.navigationbar[data-v-8ddb2b45]{grid-template-columns:.7fr 1.6fr .7fr;grid-template-areas:"start center end" "bottom bottom bottom";grid-row-gap:2rem;padding:2rem}}.navbar-start[data-v-8ddb2b45]{grid-area:start;height:100%}.navbar-center[data-v-8ddb2b45]{grid-area:center;width:100%;height:100%}.navbar-end[data-v-8ddb2b45]{width:100%;height:100%;grid-area:end}.navbar-bottom[data-v-8ddb2b45]{grid-area:center;width:100%;display:flex;justify-content:center;align-items:center}@media (min-width: 768px){.navbar-bottom[data-v-8ddb2b45]{grid-area:bottom}}nav.navigationbar.collapsed[data-v-8ddb2b45]{top:0;z-index:10;grid-template-columns:auto 1fr auto!important}@media (min-width: 768px){nav.navigationbar.collapsed[data-v-8ddb2b45]{row-gap:0;padding:1rem}}nav.navigationbar.collapsed .navbar-bottom[data-v-8ddb2b45]{grid-area:center!important}