@appcorp/app-corp-vista 0.2.99 → 0.3.0

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 (150) hide show
  1. package/atoms/vista-shimmer-v1/vista-shimmer-v1.d.ts +1 -1
  2. package/atoms/vista-shimmer-v2/vista-shimmer-v2.d.ts +1 -1
  3. package/atoms/vista-vertical-divider-v1/vista-vertical-divider-v1.d.ts +1 -1
  4. package/data/vista-chat-props.d.ts +1 -1
  5. package/data/vista-chat-props.js +1 -1
  6. package/molecules/vista-avatar-v1/vista-avatar-v1.js +1 -1
  7. package/molecules/vista-avatar-v2/vista-avatar-v2.js +1 -1
  8. package/molecules/vista-button-group-v1/vista-button-group-v1.js +1 -2
  9. package/molecules/vista-button-group-v2/vista-button-group-v2.js +1 -2
  10. package/molecules/vista-button-group-v3/vista-button-group-v3.js +1 -2
  11. package/molecules/vista-button-group-v5/vista-button-group-v5.js +1 -2
  12. package/molecules/vista-button-v1/vista-button-v1.js +1 -1
  13. package/molecules/vista-chat-heading-v1/vista-chat-heading-v1.js +4 -4
  14. package/molecules/vista-checkbox-v1/vista-checkbox-v1.js +1 -1
  15. package/molecules/vista-checkbox-v2/vista-checkbox-v2.js +2 -2
  16. package/molecules/vista-combobox-v1/vista-combobox-v1.js +5 -1
  17. package/molecules/vista-contact-v1/vista-contact-v1.js +2 -3
  18. package/molecules/vista-contact-v2/vista-contact-v2.js +1 -2
  19. package/molecules/vista-contact-v3/vista-contact-v3.js +9 -5
  20. package/molecules/vista-contact-v4/vista-contact-v4.js +1 -2
  21. package/molecules/vista-contact-v5/vista-contact-v5.js +1 -2
  22. package/molecules/vista-contact-v6/vista-contact-v6.js +1 -2
  23. package/molecules/vista-contact-v7/vista-contact-v7.js +1 -2
  24. package/molecules/vista-contact-v8/vista-contact-v8.js +1 -2
  25. package/molecules/vista-dashboard-sidebar-v1/vista-dashboard-sidebar-v1.js +7 -5
  26. package/molecules/vista-dashboard-topbar-v1/vista-dashboard-topbar-v1.js +4 -4
  27. package/molecules/vista-drawer-v1/vista-drawer-v1.d.ts +2 -2
  28. package/molecules/vista-footer-v10/vista-footer-v10.js +7 -6
  29. package/molecules/vista-footer-v3/vista-footer-v3.js +6 -5
  30. package/molecules/vista-header-v1/nav-bar.d.ts +2 -2
  31. package/molecules/vista-header-v1/nav-bar.js +8 -8
  32. package/molecules/vista-header-v2/vista-header-v2.js +2 -3
  33. package/molecules/vista-header-v3/vista-header-v3.js +2 -3
  34. package/molecules/vista-header-v4/vista-header-v4.js +2 -3
  35. package/molecules/vista-header-v5/vista-header-v5.js +6 -1
  36. package/molecules/vista-header-v8/nav-bar.d.ts +16 -0
  37. package/molecules/vista-header-v8/nav-bar.js +90 -0
  38. package/molecules/vista-header-v8/vista-header-v8.js +3 -3
  39. package/molecules/vista-header-v9/vista-header-v9.js +45 -8
  40. package/molecules/vista-modal-v1/vista-modal-v1.d.ts +2 -2
  41. package/molecules/vista-notification-v1/vista-notification-v1.js +5 -5
  42. package/molecules/vista-notification-v3/vista-notification-v3.js +3 -1
  43. package/molecules/vista-progress-v2/vista-progress-v2.js +2 -2
  44. package/molecules/vista-progress-v3/vista-progress-v3.js +2 -1
  45. package/molecules/vista-progress-v8/vista-progress-v8.js +1 -2
  46. package/molecules/vista-select-v1/vista-select-v1.js +1 -1
  47. package/molecules/vista-stacked-avatar-v1/vista-stacked-avatar-v1.js +2 -2
  48. package/molecules/vista-stats-v1.d.ts +2 -2
  49. package/molecules/vista-stats-v1.js +3 -1
  50. package/molecules/vista-stats-v2.d.ts +2 -2
  51. package/molecules/vista-stats-v2.js +1 -1
  52. package/molecules/vista-stats-v3.d.ts +2 -2
  53. package/molecules/vista-stats-v4.d.ts +2 -2
  54. package/molecules/vista-stats-v4.js +7 -3
  55. package/molecules/vista-stats-v5.d.ts +2 -2
  56. package/molecules/vista-stats-v5.js +7 -3
  57. package/molecules/vista-table-footer-v1.js +2 -2
  58. package/molecules/vista-table-header-v1.js +1 -1
  59. package/molecules/vista-upload-v1/vista-upload-v1.js +5 -5
  60. package/molecules/vista-vertical-divider-v1.d.ts +2 -2
  61. package/molecules/vista-vertical-divider-v2.d.ts +2 -2
  62. package/molecules/vista-vertical-divider-v2.js +1 -1
  63. package/molecules/vista-vertical-divider-v3.d.ts +2 -2
  64. package/molecules/vista-vertical-divider-v4.d.ts +2 -2
  65. package/molecules/vista-vertical-divider-v5.d.ts +2 -2
  66. package/molecules/vista-vertical-divider-v6.d.ts +2 -2
  67. package/molecules/vista-vertical-divider-v7.d.ts +2 -2
  68. package/molecules/vista-vertical-divider-v8.d.ts +2 -2
  69. package/organisms/vista-chat-v2/vista-chat-v2.js +8 -8
  70. package/organisms/vista-dashboard-header-v1/vista-dashboard-header-v1.js +1 -1
  71. package/organisms/vista-feature-v14/vista-feature-v14.js +1 -1
  72. package/organisms/vista-feature-v18/vista-feature-v18.js +24 -6
  73. package/organisms/vista-feature-v2/vista-feature-v2.js +1 -1
  74. package/organisms/vista-feature-v22/vista-feature-v22.js +1 -1
  75. package/organisms/vista-hero-v13/slider-content.d.ts +2 -2
  76. package/organisms/vista-hero-v13/vista-hero-v13.js +3 -4
  77. package/organisms/vista-incentive-v7/vista-incentive-v7.js +15 -3
  78. package/organisms/vista-mdx-editor-v1/vista-mdx-editor-v1.js +4 -6
  79. package/organisms/vista-product-feature-v2/vista-product-feature-v2.js +12 -3
  80. package/organisms/vista-product-feature-v3/vista-product-feature-v3.js +8 -2
  81. package/organisms/vista-product-feature-v5/vista-product-feature-v5.js +4 -1
  82. package/organisms/vista-product-feature-v7/vista-product-feature-v7.js +6 -2
  83. package/organisms/vista-product-list-v1/vista-product-list-v1.js +2 -1
  84. package/organisms/vista-product-list-v10/vista-product-list-v10.js +1 -1
  85. package/organisms/vista-product-list-v2/vista-product-list-v2.js +2 -1
  86. package/organisms/vista-product-list-v5/vista-product-list-v5.js +1 -1
  87. package/organisms/vista-product-list-v8/vista-product-list-v8.js +3 -1
  88. package/organisms/vista-product-overview-v1/vista-product-overview-v1.js +24 -6
  89. package/organisms/vista-product-overview-v2/vista-product-overview-v2.js +13 -3
  90. package/organisms/vista-product-overview-v3/product-form.d.ts +2 -2
  91. package/organisms/vista-product-overview-v3/product-form.js +14 -13
  92. package/organisms/vista-product-overview-v3/product-slider.d.ts +2 -2
  93. package/organisms/vista-product-overview-v3/product-slider.js +2 -2
  94. package/organisms/vista-product-overview-v3/vista-product-overview-v3.js +16 -13
  95. package/organisms/vista-product-overview-v4/vista-product-overview-v4.js +3 -1
  96. package/organisms/vista-product-overview-v5/vista-product-overview-v5.js +6 -2
  97. package/organisms/vista-promo-section-v6/vista-promo-section-v6.js +15 -3
  98. package/organisms/vista-table-v1/empty-table.d.ts +9 -2
  99. package/organisms/vista-table-v1/empty-table.js +65 -95
  100. package/organisms/vista-table-v1/vista-table-body-v1.js +45 -35
  101. package/organisms/vista-table-v1/vista-table-head-v1.d.ts +2 -2
  102. package/organisms/vista-table-v1/vista-table-v1.js +1 -1
  103. package/package.json +11 -4
  104. package/pdf-templates/credit-receipt-template-v1.js +16 -9
  105. package/pdf-templates/credit-receipt-template-v2.js +18 -11
  106. package/pdf-templates/debit-receipt-template-v1.js +16 -9
  107. package/pdf-templates/invoice-template-v1.js +8 -8
  108. package/providers/index.js +0 -1
  109. package/templates/vista-auth-v1/vista-auth-v1.js +6 -4
  110. package/templates/vista-dashboard-v1/vista-dashboard-v1.js +3 -4
  111. package/type/vista-button-type.d.ts +2 -2
  112. package/type/vista-card-type.d.ts +1 -1
  113. package/type/vista-chat-bubble-type.d.ts +1 -1
  114. package/type/vista-chat-type.d.ts +2 -2
  115. package/type/vista-chat-type.js +1 -0
  116. package/type/vista-checkbox-type.d.ts +1 -1
  117. package/type/vista-combobox-type.js +1 -0
  118. package/type/vista-cta-type.d.ts +2 -0
  119. package/type/vista-dashboard-header-type.d.ts +1 -1
  120. package/type/vista-dashboard-setting-section-type.d.ts +1 -1
  121. package/type/vista-dashboard-setting-type.d.ts +2 -2
  122. package/type/vista-dashboard-sidebar-type.d.ts +1 -1
  123. package/type/vista-dashboard-tabs.d.ts +2 -2
  124. package/type/vista-dashboard-topbar-type.d.ts +1 -1
  125. package/type/vista-dashboard-type.d.ts +3 -3
  126. package/type/vista-drawer-type.d.ts +2 -2
  127. package/type/vista-feature-type.d.ts +4 -4
  128. package/type/vista-footer-type.d.ts +1 -1
  129. package/type/vista-footer-type.js +1 -0
  130. package/type/vista-form-elements.d.ts +11 -11
  131. package/type/vista-header-type.d.ts +3 -1
  132. package/type/vista-hero-type.d.ts +1 -1
  133. package/type/vista-modal-type.d.ts +2 -2
  134. package/type/vista-product-overview-type.d.ts +1 -1
  135. package/type/vista-progress-type.d.ts +1 -1
  136. package/type/vista-select-type.js +1 -0
  137. package/type/vista-stacked-avatar-type.d.ts +1 -1
  138. package/type/vista-stats-type.d.ts +5 -2
  139. package/type/vista-table-footer-type.d.ts +2 -2
  140. package/type/vista-table-footer-type.js +1 -0
  141. package/type/vista-table-header-type.d.ts +1 -1
  142. package/type/vista-table-type.d.ts +4 -4
  143. package/type/vista-table-type.js +1 -0
  144. package/type/vista-text-input-type.d.ts +1 -1
  145. package/type/vista-upload-type.d.ts +1 -1
  146. package/type/vista-vertical-divider-type.d.ts +1 -1
  147. package/utils/form-schema.d.ts +5 -5
  148. package/utils/form-schema.js +12 -12
  149. package/utils/generate-toast.d.ts +2 -2
  150. package/utils/sort-messages-by-timestamp.d.ts +1 -1
@@ -11,4 +11,3 @@ function Providers(_a) {
11
11
  return (react_1.default.createElement("main", { className: "font-primary" },
12
12
  react_1.default.createElement(next_themes_1.ThemeProvider, { attribute: "class", defaultTheme: "light", enableSystem: true }, children)));
13
13
  }
14
- ;
@@ -15,11 +15,11 @@ var vista_checkbox_v2_1 = require("../../molecules/vista-checkbox-v2/vista-check
15
15
  var VistaAuthV1 = function (_a) {
16
16
  var _b, _c;
17
17
  var actionLabel = _a.actionLabel, actionRoute = _a.actionRoute, banner = _a.banner, bannerAlt = _a.bannerAlt, _d = _a.buttonDisabled, buttonDisabled = _d === void 0 ? false : _d, description = _a.description, emailAuthButtonLabel = _a.emailAuthButtonLabel, forgotPassword = _a.forgotPassword, forgotPasswordRoute = _a.forgotPasswordRoute, handleAuth = _a.handleAuth, heading = _a.heading, _e = _a.inputElements, inputElements = _e === void 0 ? [] : _e, _f = _a.label, label = _f === void 0 ? false : _f, logo = _a.logo, logoAlt = _a.logoAlt, rememberMeChecked = _a.rememberMeChecked, rememberMeDescription = _a.rememberMeDescription, rememberMeHandleOnChange = _a.rememberMeHandleOnChange, rememberMeHeading = _a.rememberMeHeading, rememberMeId = _a.rememberMeId, rememberMeRoute = _a.rememberMeRoute, _g = _a.reverted, reverted = _g === void 0 ? false : _g, _h = _a.socialProviders, socialProviders = _h === void 0 ? [] : _h, termsOfUseChecked = _a.termsOfUseChecked, termsOfUseDescription = _a.termsOfUseDescription, termsOfUseError = _a.termsOfUseError, termsOfUseHandleOnChange = _a.termsOfUseHandleOnChange, termsOfUseHeading = _a.termsOfUseHeading, termsOfUseId = _a.termsOfUseId, termsOfUseRoute = _a.termsOfUseRoute;
18
- return (react_1.default.createElement("section", { className: 'h-screen bg-white dark:bg-gray-900' },
18
+ return (react_1.default.createElement("section", { className: "h-screen bg-white dark:bg-gray-900" },
19
19
  react_1.default.createElement("div", { className: "flex min-h-full flex-1" },
20
20
  react_1.default.createElement("div", { className: "flex flex-1 flex-col justify-center px-4 py-12 sm:px-6 lg:flex-none lg:px-20 xl:px-24 ".concat(reverted ? 'order-2' : 'order-1') },
21
21
  react_1.default.createElement("div", { className: "mx-auto w-full max-w-sm lg:w-96" },
22
- react_1.default.createElement("div", { className: 'pb-4' },
22
+ react_1.default.createElement("div", { className: "pb-4" },
23
23
  react_1.default.createElement(image_1.default, { alt: logoAlt, src: logo, width: 40, height: 40 }),
24
24
  react_1.default.createElement("h2", { className: "mt-8 text-2xl/9 font-bold tracking-tight text-gray-900 dark:text-white" }, heading),
25
25
  react_1.default.createElement("p", { className: "mt-2 text-sm/6 text-gray-500 dark:text-gray-300" },
@@ -37,11 +37,13 @@ var VistaAuthV1 = function (_a) {
37
37
  return (react_1.default.createElement(vista_text_input_v1_1.VistaTextInputV1, { error: error, handleOnChange: handleOnChange, id: id, key: id, label: inputLabel, placeholder: placeholder, type: inputType, value: value }));
38
38
  }),
39
39
  react_1.default.createElement("div", { className: "flex items-center justify-between" },
40
- rememberMeHandleOnChange && rememberMeHeading && rememberMeId && (react_1.default.createElement(vista_checkbox_v2_1.VistaCheckboxV2, { checked: rememberMeChecked, description: rememberMeDescription || '', handleOnChange: rememberMeHandleOnChange, heading: rememberMeHeading, id: rememberMeId, route: rememberMeRoute })),
40
+ rememberMeHandleOnChange &&
41
+ rememberMeHeading &&
42
+ rememberMeId && (react_1.default.createElement(vista_checkbox_v2_1.VistaCheckboxV2, { checked: rememberMeChecked, description: rememberMeDescription || '', handleOnChange: rememberMeHandleOnChange, heading: rememberMeHeading, id: rememberMeId, route: rememberMeRoute })),
41
43
  forgotPassword && forgotPasswordRoute && (react_1.default.createElement("div", { className: "text-sm/6" },
42
44
  react_1.default.createElement("a", { href: forgotPasswordRoute, className: "font-semibold text-primary" }, forgotPassword)))),
43
45
  emailAuthButtonLabel && handleAuth && (react_1.default.createElement("div", null,
44
- react_1.default.createElement(vista_button_v1_1.VistaButtonV1, { handleOnClick: handleAuth, label: emailAuthButtonLabel, className: 'w-full', size: vista_button_type_1.VISTA_BUTTON_SIZE.LG, disabled: buttonDisabled }))),
46
+ react_1.default.createElement(vista_button_v1_1.VistaButtonV1, { handleOnClick: handleAuth, label: emailAuthButtonLabel, className: "w-full", size: vista_button_type_1.VISTA_BUTTON_SIZE.LG, disabled: buttonDisabled }))),
45
47
  (inputElements === null || inputElements === void 0 ? void 0 : inputElements.length) >= 1 && (socialProviders === null || socialProviders === void 0 ? void 0 : socialProviders.length) >= 1 && (react_1.default.createElement("div", { className: "relative" },
46
48
  react_1.default.createElement("div", { "aria-hidden": "true", className: "absolute inset-0 flex items-center" },
47
49
  react_1.default.createElement("div", { className: "w-full border-t border-gray-200" })),
@@ -21,10 +21,9 @@ var react_2 = require("@headlessui/react");
21
21
  var outline_1 = require("@heroicons/react/24/outline");
22
22
  var vista_dashboard_sidebar_v1_1 = require("../../molecules/vista-dashboard-sidebar-v1/vista-dashboard-sidebar-v1");
23
23
  var vista_dashboard_topbar_v1_1 = require("../../molecules/vista-dashboard-topbar-v1/vista-dashboard-topbar-v1");
24
- var vista_dashboard_type_1 = require("../../type/vista-dashboard-type");
25
24
  var VistaDashboardV1 = function (_a) {
26
- var children = _a.children, handleIsSideBarOpen = _a.handleIsSideBarOpen, isSideBarOpen = _a.isSideBarOpen, sideBar = _a.sideBar, topBar = _a.topBar, _b = _a.dir, dir = _b === void 0 ? vista_dashboard_type_1.APP_DIR.LTR : _b;
27
- return (react_1.default.createElement("section", { className: 'h-full' },
25
+ var children = _a.children, handleIsSideBarOpen = _a.handleIsSideBarOpen, isSideBarOpen = _a.isSideBarOpen, sideBar = _a.sideBar, topBar = _a.topBar;
26
+ return (react_1.default.createElement("section", { className: "h-full" },
28
27
  react_1.default.createElement(react_2.Dialog, { className: "relative z-10 xl:hidden", onClose: handleIsSideBarOpen, open: isSideBarOpen },
29
28
  react_1.default.createElement(react_2.DialogBackdrop, { className: "fixed inset-0 bg-gray-900/80 transition-opacity duration-300 ease-linear data-[closed]:opacity-0", transition: true }),
30
29
  react_1.default.createElement("div", { className: "fixed inset-0 flex" },
@@ -35,7 +34,7 @@ var VistaDashboardV1 = function (_a) {
35
34
  react_1.default.createElement("span", { className: "sr-only" }, "Close sidebar"),
36
35
  react_1.default.createElement(outline_1.XMarkIcon, { "aria-hidden": "true", className: "size-6 text-white" })))),
37
36
  react_1.default.createElement(vista_dashboard_sidebar_v1_1.VistaDashboardSidebarV1, __assign({}, sideBar))))),
38
- react_1.default.createElement("div", { className: 'grid grid-cols-12' },
37
+ react_1.default.createElement("div", { className: "grid grid-cols-12" },
39
38
  react_1.default.createElement("div", { className: "hidden ".concat(!isSideBarOpen ? 'xl:z-10 xl:flex col-span-2' : '') },
40
39
  react_1.default.createElement(vista_dashboard_sidebar_v1_1.VistaDashboardSidebarV1, __assign({}, sideBar))),
41
40
  react_1.default.createElement("div", { className: !isSideBarOpen ? 'col-span-12 xl:col-span-10 h-full' : '' },
@@ -1,5 +1,5 @@
1
- import { ReactNode, MouseEvent } from "react";
2
- import { APP_DIR } from "./vista-dashboard-type";
1
+ import { ReactNode, MouseEvent } from 'react';
2
+ import { APP_DIR } from './vista-dashboard-type';
3
3
  export declare enum VISTA_BUTTON_SIZE {
4
4
  XS = "XS",
5
5
  SM = "SM",
@@ -1,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import { ReactNode } from 'react';
2
2
  export interface VistaCardV1Props {
3
3
  bodyClassName?: string;
4
4
  cardFooter: ReactNode;
@@ -1,4 +1,4 @@
1
- import { VistaChatV2Psychic, VistaChatV2User } from "./vista-chat-type";
1
+ import { VistaChatV2Psychic, VistaChatV2User } from './vista-chat-type';
2
2
  export interface VistaChatBubbleV1Props {
3
3
  createdAt: string;
4
4
  isLast: boolean;
@@ -1,5 +1,5 @@
1
- import { ReactNode } from "react";
2
- import { VISTA_BUTTON_VARIANT } from "./vista-button-type";
1
+ import { ReactNode } from 'react';
2
+ import { VISTA_BUTTON_VARIANT } from './vista-button-type';
3
3
  export declare enum VISTA_CHAT_BUBBLE_TYPES {
4
4
  PSYCHIC = "PSYCHIC",
5
5
  USER = "USER"
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ /* eslint-disable @typescript-eslint/no-explicit-any */
2
3
  Object.defineProperty(exports, "__esModule", { value: true });
3
4
  exports.VISTA_CHAT_BUBBLE_STATUS = exports.VISTA_CHAT_BUBBLE_TYPES = void 0;
4
5
  var VISTA_CHAT_BUBBLE_TYPES;
@@ -1,4 +1,4 @@
1
- import { ChangeEvent } from "react";
1
+ import { ChangeEvent } from 'react';
2
2
  export interface VistaCheckboxV1Props {
3
3
  checked: boolean;
4
4
  description: string;
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
+ /* eslint-disable @typescript-eslint/no-explicit-any */
2
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,6 @@
1
1
  export interface VistaCtaV3Props {
2
+ id?: string;
2
3
  }
3
4
  export interface VistaCtaV5Props {
5
+ id?: string;
4
6
  }
@@ -1,4 +1,4 @@
1
- import { VistaDashboardTabNavigatorListItem } from "./vista-dashboard-tab-navigator-type";
1
+ import { VistaDashboardTabNavigatorListItem } from './vista-dashboard-tab-navigator-type';
2
2
  export interface VistaDashboardHeaderV1Props {
3
3
  heading: string;
4
4
  items: VistaDashboardTabNavigatorListItem[];
@@ -1,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import { ReactNode } from 'react';
2
2
  export interface VistaDashboardSettingSectionV1Props {
3
3
  children: ReactNode;
4
4
  description: string;
@@ -1,5 +1,5 @@
1
- import { ReactNode } from "react";
2
- import { VistaDashboardTabNavigatorListItem } from "./vista-dashboard-tab-navigator-type";
1
+ import { ReactNode } from 'react';
2
+ import { VistaDashboardTabNavigatorListItem } from './vista-dashboard-tab-navigator-type';
3
3
  export interface VistaDashboardActiveComponentMapItemProps {
4
4
  component: ReactNode;
5
5
  description: string;
@@ -1,4 +1,4 @@
1
- import { ForwardRefExoticComponent, RefAttributes, SVGProps } from "react";
1
+ import { ForwardRefExoticComponent, RefAttributes, SVGProps } from 'react';
2
2
  export interface VistaDashboardSideBarNavigationItemVariant1Props {
3
3
  app: string;
4
4
  enabled: boolean;
@@ -1,5 +1,5 @@
1
- import { ReactNode } from "react";
2
- import { VistaDashboardTabNavigatorListItem } from "./vista-dashboard-tab-navigator-type";
1
+ import { ReactNode } from 'react';
2
+ import { VistaDashboardTabNavigatorListItem } from './vista-dashboard-tab-navigator-type';
3
3
  export interface VistaDashboardTabsV1Props {
4
4
  children: ReactNode;
5
5
  headerTabs: VistaDashboardTabNavigatorListItem[];
@@ -1,4 +1,4 @@
1
- import { MouseEvent } from "react";
1
+ import { MouseEvent } from 'react';
2
2
  export declare enum VISTA_THEME {
3
3
  LIGHT = "light",
4
4
  DARK = "dark"
@@ -1,6 +1,6 @@
1
- import { ReactNode } from "react";
2
- import { VistaDashboardSideBarV1Props } from "./vista-dashboard-sidebar-type";
3
- import { VistaDashboardTopBarV1Props } from "./vista-dashboard-topbar-type";
1
+ import { ReactNode } from 'react';
2
+ import { VistaDashboardSideBarV1Props } from './vista-dashboard-sidebar-type';
3
+ import { VistaDashboardTopBarV1Props } from './vista-dashboard-topbar-type';
4
4
  export declare enum APP_DIR {
5
5
  RTL = "rtl",
6
6
  LTR = "ltr"
@@ -1,5 +1,5 @@
1
- import { ReactNode } from "react";
2
- import { VISTA_BUTTON_ROUNDED, VISTA_BUTTON_SIZE } from "./vista-button-type";
1
+ import { ReactNode } from 'react';
2
+ import { VISTA_BUTTON_ROUNDED, VISTA_BUTTON_SIZE } from './vista-button-type';
3
3
  export declare enum VISTA_DRAWER_SIZE {
4
4
  MD = "MD",
5
5
  LG = "LG",
@@ -1,8 +1,8 @@
1
- import { ForwardRefExoticComponent, SVGProps } from "react";
1
+ import { ForwardRefExoticComponent, SVGProps } from 'react';
2
2
  export interface VistaFeatureV1Item {
3
3
  description: string;
4
4
  enabled: boolean;
5
- icon: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref">>;
5
+ icon: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, 'ref'>>;
6
6
  name: string;
7
7
  order: number;
8
8
  }
@@ -19,7 +19,7 @@ export interface VistaFeatureV1Props {
19
19
  export interface VistaFeatureV2Item {
20
20
  name: string;
21
21
  description: string;
22
- icon: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref">>;
22
+ icon: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, 'ref'>>;
23
23
  }
24
24
  export interface VistaFeatureV2Props {
25
25
  description: string;
@@ -90,7 +90,7 @@ export interface VistaFeatureV21Props {
90
90
  export interface VistaFeatureV22Item {
91
91
  name: string;
92
92
  description: string;
93
- icon: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref">>;
93
+ icon: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, 'ref'>>;
94
94
  }
95
95
  export interface VistaFeatureV22Props {
96
96
  description: string;
@@ -1,4 +1,4 @@
1
- import { FC } from "react";
1
+ import { FC } from 'react';
2
2
  export interface VistaFooterV1Props {
3
3
  id: string;
4
4
  }
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
+ /* eslint-disable @typescript-eslint/no-explicit-any */
2
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,14 +1,14 @@
1
- import { VISTA_FORM_ELEMENTS } from "../utils/form-schema";
2
- import { VistaButtonV1Props } from "./vista-button-type";
3
- import { VistaCheckboxV1Props } from "./vista-checkbox-type";
4
- import { VistaComboboxV1Props } from "./vista-combobox-type";
5
- import { VistaRadioV1Props } from "./vista-radio-type";
6
- import { VistaSelectV1Props } from "./vista-select-type";
7
- import { VistaTextAreaV1Props } from "./vista-text-area-type";
8
- import { VistaTextInputV1Props } from "./vista-text-input-type";
9
- import { VistaToggleV1Props } from "./vista-toggle-type";
10
- import { VistaUploadV1Props } from "./vista-upload-type";
11
- import { VistaVerticalDividerV4Props } from "./vista-vertical-divider-type";
1
+ import { VISTA_FORM_ELEMENTS } from '../utils/form-schema';
2
+ import { VistaButtonV1Props } from './vista-button-type';
3
+ import { VistaCheckboxV1Props } from './vista-checkbox-type';
4
+ import { VistaComboboxV1Props } from './vista-combobox-type';
5
+ import { VistaRadioV1Props } from './vista-radio-type';
6
+ import { VistaSelectV1Props } from './vista-select-type';
7
+ import { VistaTextAreaV1Props } from './vista-text-area-type';
8
+ import { VistaTextInputV1Props } from './vista-text-input-type';
9
+ import { VistaToggleV1Props } from './vista-toggle-type';
10
+ import { VistaUploadV1Props } from './vista-upload-type';
11
+ import { VistaVerticalDividerV4Props } from './vista-vertical-divider-type';
12
12
  interface Base {
13
13
  enabled: boolean;
14
14
  order: number;
@@ -1,4 +1,4 @@
1
- import { ReactElement } from "react";
1
+ import { ReactElement } from 'react';
2
2
  export interface VistaHeaderMegaMenuItem {
3
3
  name: string;
4
4
  icon?: ReactElement;
@@ -47,6 +47,8 @@ export interface VistaHeaderV7Props {
47
47
  export interface VistaHeaderV8Props {
48
48
  companyName: string;
49
49
  containerClassName?: string;
50
+ ctaButtonHandler: () => void;
51
+ ctaButtonLabel: string;
50
52
  handleMenuOpen: () => void;
51
53
  items: VistaHeaderV1Item[];
52
54
  loginVisible?: boolean;
@@ -1,4 +1,4 @@
1
- import { VISTA_BUTTON_VARIANT, VistaButtonV1Props } from "./vista-button-type";
1
+ import { VISTA_BUTTON_VARIANT, VistaButtonV1Props } from './vista-button-type';
2
2
  export interface VistaHeroV13CtaItem {
3
3
  className?: string;
4
4
  enabled: boolean;
@@ -1,5 +1,5 @@
1
- import { ReactNode } from "react";
2
- import { VISTA_BUTTON_ROUNDED, VISTA_BUTTON_SIZE } from "./vista-button-type";
1
+ import { ReactNode } from 'react';
2
+ import { VISTA_BUTTON_ROUNDED, VISTA_BUTTON_SIZE } from './vista-button-type';
3
3
  export declare enum VISTA_MODAL_SIZE {
4
4
  MD = "MD",
5
5
  LG = "LG",
@@ -1,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import { ReactNode } from 'react';
2
2
  export interface VistaProductOverviewV1Props {
3
3
  id: string;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import { ReactNode } from 'react';
2
2
  export interface VistaProgressV1StepProps {
3
3
  id: string;
4
4
  name: string;
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
+ /* eslint-disable @typescript-eslint/no-explicit-any */
2
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- import { VISTA_AVATAR_SIZE } from "./vista-avatar-type";
1
+ import { VISTA_AVATAR_SIZE } from './vista-avatar-type';
2
2
  export interface VistaStackedAvatarItem {
3
3
  alt: string;
4
4
  enabled: boolean;
@@ -1,4 +1,4 @@
1
- import { JSXElementConstructor } from "react";
1
+ import { FunctionComponent } from 'react';
2
2
  export interface VistaStatItemV1 {
3
3
  change: string;
4
4
  changeType: string;
@@ -26,7 +26,10 @@ export interface VistaStatItemV4 {
26
26
  change: string;
27
27
  changeType: string;
28
28
  enabled: true;
29
- icon: JSXElementConstructor<any>;
29
+ icon: FunctionComponent<{
30
+ ariaHidden: boolean;
31
+ className: string;
32
+ }>;
30
33
  id: string;
31
34
  name: string;
32
35
  order: number;
@@ -1,4 +1,4 @@
1
- import { APP_DIR } from "./vista-dashboard-type";
1
+ import { APP_DIR } from './vista-dashboard-type';
2
2
  export interface VistaTableFooterV1Props {
3
3
  currentPage: number;
4
4
  dir?: APP_DIR;
@@ -7,7 +7,7 @@ export interface VistaTableFooterV1Props {
7
7
  handlePreviousOnClick: () => void;
8
8
  isNextDisabled: boolean;
9
9
  isPreviousDisabled: boolean;
10
- listOptions: Object[];
10
+ listOptions: object[];
11
11
  nextLabel: string;
12
12
  nodeSelectKey: string;
13
13
  ofLabel?: string;
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
+ /* eslint-disable @typescript-eslint/no-explicit-any */
2
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- import { VistaTableHeaderActionItem } from "./vista-table-type";
1
+ import { VistaTableHeaderActionItem } from './vista-table-type';
2
2
  export interface VistaTableHeaderV1Props {
3
3
  handleSearchInput: (k: string, v: string) => void;
4
4
  handleSuffixOnClick?: () => void;
@@ -1,6 +1,6 @@
1
- import { ReactNode } from "react";
2
- import { RowActionItem } from "./vista-dropdown-menu-type";
3
- import { APP_DIR } from "./vista-dashboard-type";
1
+ import { ReactNode } from 'react';
2
+ import { RowActionItem } from './vista-dropdown-menu-type';
3
+ import { APP_DIR } from './vista-dashboard-type';
4
4
  export interface VistaTableHeaderActionItem {
5
5
  enabled: boolean;
6
6
  handleOnClick: () => void;
@@ -35,7 +35,7 @@ export interface VistaTableV1Props {
35
35
  headerActions: VistaTableHeaderActionItem[];
36
36
  isNextDisabled: boolean;
37
37
  isPreviousDisabled: boolean;
38
- listOptions: Object[];
38
+ listOptions: object[];
39
39
  loading: boolean;
40
40
  nextLabel?: string;
41
41
  nodeSelectKey: string;
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ /* eslint-disable @typescript-eslint/no-explicit-any */
2
3
  Object.defineProperty(exports, "__esModule", { value: true });
3
4
  exports.VISTA_TABLE_CELL_TYPE = void 0;
4
5
  var VISTA_TABLE_CELL_TYPE;
@@ -1,4 +1,4 @@
1
- import { ReactNode, HTMLInputTypeAttribute, KeyboardEvent } from "react";
1
+ import { ReactNode, HTMLInputTypeAttribute, KeyboardEvent } from 'react';
2
2
  export interface VistaTextInputV1Props {
3
3
  autoFocus?: boolean;
4
4
  className?: string;
@@ -1,4 +1,4 @@
1
- import { ChangeEvent, HTMLInputTypeAttribute } from "react";
1
+ import { ChangeEvent, HTMLInputTypeAttribute } from 'react';
2
2
  export interface VistaUploadV1Props {
3
3
  className?: string;
4
4
  disabled?: boolean;
@@ -1,4 +1,4 @@
1
- import { ForwardRefExoticComponent, SVGProps, RefAttributes } from "react";
1
+ import { ForwardRefExoticComponent, SVGProps, RefAttributes } from 'react';
2
2
  export interface VistaVerticalDividerV1Props {
3
3
  label: string;
4
4
  }
@@ -1,7 +1,7 @@
1
- import React from "react";
2
- import { VistaComboboxV1Props } from "../type/vista-combobox-type";
3
- import { VistaCheckboxV2Props, VistaCheckboxV3Props } from "../type/vista-checkbox-type";
4
- import { ButtonV1, CheckboxV1, DividerV4, RadioV1, SelectV1, TextAreaV1, TextInputV1, ToggleV1, UploadV1 } from "../type/vista-form-elements";
1
+ import React from 'react';
2
+ import { VistaComboboxV1Props } from '../type/vista-combobox-type';
3
+ import { VistaCheckboxV2Props, VistaCheckboxV3Props } from '../type/vista-checkbox-type';
4
+ import { ButtonV1, CheckboxV1, DividerV4, RadioV1, SelectV1, TextAreaV1, TextInputV1, ToggleV1, UploadV1 } from '../type/vista-form-elements';
5
5
  export declare enum VISTA_FORM_ELEMENTS {
6
6
  AUDIO_V1 = "AUDIO_V1",
7
7
  BUTTON_V1 = "BUTTON_V1",
@@ -18,7 +18,7 @@ export declare enum VISTA_FORM_ELEMENTS {
18
18
  UPLOAD_V1 = "UPLOAD_V1"
19
19
  }
20
20
  export declare const vistaFormSchema: {
21
- AUDIO_V1: (props: any) => React.JSX.Element;
21
+ AUDIO_V1: (props: object) => React.JSX.Element;
22
22
  BUTTON_V1: (props: ButtonV1) => React.JSX.Element;
23
23
  CHECKBOX_V1: (props: CheckboxV1) => React.JSX.Element;
24
24
  CHECKBOX_V2: (props: VistaCheckboxV2Props) => React.JSX.Element;
@@ -47,16 +47,16 @@ var VISTA_FORM_ELEMENTS;
47
47
  })(VISTA_FORM_ELEMENTS || (exports.VISTA_FORM_ELEMENTS = VISTA_FORM_ELEMENTS = {}));
48
48
  exports.vistaFormSchema = (_a = {},
49
49
  _a[VISTA_FORM_ELEMENTS.AUDIO_V1] = function (props) { return react_1.default.createElement("audio", __assign({}, props)); },
50
- _a[VISTA_FORM_ELEMENTS.BUTTON_V1] = function (props) { return react_1.default.createElement(vista_button_v1_1.VistaButtonV1, __assign({}, props)); },
51
- _a[VISTA_FORM_ELEMENTS.CHECKBOX_V1] = function (props) { return react_1.default.createElement(vista_checkbox_v1_1.VistaCheckboxV1, __assign({}, props)); },
52
- _a[VISTA_FORM_ELEMENTS.CHECKBOX_V2] = function (props) { return react_1.default.createElement(vista_checkbox_v2_1.VistaCheckboxV2, __assign({}, props)); },
53
- _a[VISTA_FORM_ELEMENTS.CHECKBOX_V3] = function (props) { return react_1.default.createElement(vista_checkbox_v3_1.VistaCheckboxV3, __assign({}, props)); },
54
- _a[VISTA_FORM_ELEMENTS.COMBOBOX_V1] = function (props) { return react_1.default.createElement(vista_combobox_v1_1.VistaComboboxV1, __assign({}, props)); },
55
- _a[VISTA_FORM_ELEMENTS.DIVIDER_V4] = function (props) { return react_1.default.createElement(vista_vertical_divider_v4_1.VistaVerticalDividerV4, __assign({}, props)); },
56
- _a[VISTA_FORM_ELEMENTS.RADIO_V1] = function (props) { return react_1.default.createElement(vista_radio_v1_1.VistaRadioV1, __assign({}, props)); },
57
- _a[VISTA_FORM_ELEMENTS.SELECT_V1] = function (props) { return react_1.default.createElement(vista_select_v1_1.VistaSelectV1, __assign({}, props)); },
58
- _a[VISTA_FORM_ELEMENTS.TEXT_AREA_V1] = function (props) { return react_1.default.createElement(vista_text_area_v1_1.VistaTextAreaV1, __assign({}, props)); },
59
- _a[VISTA_FORM_ELEMENTS.TEXT_INPUT_V1] = function (props) { return react_1.default.createElement(vista_text_input_v1_1.VistaTextInputV1, __assign({}, props)); },
60
- _a[VISTA_FORM_ELEMENTS.TOGGLE_V1] = function (props) { return react_1.default.createElement(vista_toggle_v1_1.VistaToggleV1, __assign({}, props)); },
61
- _a[VISTA_FORM_ELEMENTS.UPLOAD_V1] = function (props) { return react_1.default.createElement(vista_upload_v1_1.VistaUploadV1, __assign({}, props)); },
50
+ _a[VISTA_FORM_ELEMENTS.BUTTON_V1] = function (props) { return (react_1.default.createElement(vista_button_v1_1.VistaButtonV1, __assign({}, props))); },
51
+ _a[VISTA_FORM_ELEMENTS.CHECKBOX_V1] = function (props) { return (react_1.default.createElement(vista_checkbox_v1_1.VistaCheckboxV1, __assign({}, props))); },
52
+ _a[VISTA_FORM_ELEMENTS.CHECKBOX_V2] = function (props) { return (react_1.default.createElement(vista_checkbox_v2_1.VistaCheckboxV2, __assign({}, props))); },
53
+ _a[VISTA_FORM_ELEMENTS.CHECKBOX_V3] = function (props) { return (react_1.default.createElement(vista_checkbox_v3_1.VistaCheckboxV3, __assign({}, props))); },
54
+ _a[VISTA_FORM_ELEMENTS.COMBOBOX_V1] = function (props) { return (react_1.default.createElement(vista_combobox_v1_1.VistaComboboxV1, __assign({}, props))); },
55
+ _a[VISTA_FORM_ELEMENTS.DIVIDER_V4] = function (props) { return (react_1.default.createElement(vista_vertical_divider_v4_1.VistaVerticalDividerV4, __assign({}, props))); },
56
+ _a[VISTA_FORM_ELEMENTS.RADIO_V1] = function (props) { return (react_1.default.createElement(vista_radio_v1_1.VistaRadioV1, __assign({}, props))); },
57
+ _a[VISTA_FORM_ELEMENTS.SELECT_V1] = function (props) { return (react_1.default.createElement(vista_select_v1_1.VistaSelectV1, __assign({}, props))); },
58
+ _a[VISTA_FORM_ELEMENTS.TEXT_AREA_V1] = function (props) { return (react_1.default.createElement(vista_text_area_v1_1.VistaTextAreaV1, __assign({}, props))); },
59
+ _a[VISTA_FORM_ELEMENTS.TEXT_INPUT_V1] = function (props) { return (react_1.default.createElement(vista_text_input_v1_1.VistaTextInputV1, __assign({}, props))); },
60
+ _a[VISTA_FORM_ELEMENTS.TOGGLE_V1] = function (props) { return (react_1.default.createElement(vista_toggle_v1_1.VistaToggleV1, __assign({}, props))); },
61
+ _a[VISTA_FORM_ELEMENTS.UPLOAD_V1] = function (props) { return (react_1.default.createElement(vista_upload_v1_1.VistaUploadV1, __assign({}, props))); },
62
62
  _a);
@@ -1,5 +1,5 @@
1
- import React from "react";
2
- import { VISTA_NOTIFICATION_V1_VARIANT } from "../type/vista-notification-type";
1
+ import React from 'react';
2
+ import { VISTA_NOTIFICATION_V1_VARIANT } from '../type/vista-notification-type';
3
3
  interface Params {
4
4
  description: string;
5
5
  variant: VISTA_NOTIFICATION_V1_VARIANT;
@@ -1,4 +1,4 @@
1
- import { messages } from "../data/vista-chat-props";
1
+ import { messages } from '../data/vista-chat-props';
2
2
  export declare const sortMessagesByTimestamp: (message: typeof messages) => {
3
3
  message: string;
4
4
  timestamp: string;