infinity-forge 6.7.5 → 6.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/system/components/data/buttons/sidebar-button/styles.d.ts +1 -3
- package/dist/system/components/data/chat/card-message/styles.d.ts +1 -3
- package/dist/system/components/data/chat/styles.d.ts +1 -3
- package/dist/system/components/data/detail-card/styles.d.ts +1 -3
- package/dist/system/components/data/highlight-icon/styles.d.ts +1 -3
- package/dist/system/components/data/highlight-text/styles.d.ts +1 -3
- package/dist/system/components/data/input-search/styles.d.ts +1 -3
- package/dist/system/components/data/menu/modes/collapsed-menu/styles.d.ts +1 -3
- package/dist/system/components/data/menu/modes/opened/index.d.ts +1 -3
- package/dist/system/components/data/menu/modes/opened/styles.d.ts +1 -3
- package/dist/system/components/data/menu/styles.d.ts +2 -6
- package/dist/system/components/data/notifications/card/styles.d.ts +1 -3
- package/dist/system/components/data/notifications/styles.d.ts +2 -6
- package/dist/system/components/data/page-wrapper/styles.d.ts +1 -3
- package/dist/system/components/data/profile-infos/profile/styles.d.ts +1 -3
- package/dist/system/components/data/profile-infos/styles.d.ts +1 -3
- package/dist/system/components/data/select-workspace/styles.d.ts +2 -6
- package/dist/system/components/data/tab/styles.d.ts +1 -3
- package/dist/system/components/data/tab/tab-item/styles.d.ts +1 -3
- package/dist/system/components/layout/header/components/menu-right/messages/content/card/styles.d.ts +1 -3
- package/dist/system/components/layout/header/components/search-modal/trigger/styles.d.ts +1 -3
- package/dist/system/components/layout/styles.d.ts +1 -3
- package/dist/system/context/auth/components/login/styles.d.ts +1 -3
- package/dist/system/hooks/ui/use-table/components/table/actions/styles.d.ts +1 -3
- package/dist/system/hooks/ui/use-table/components/table/active-filters/styles.d.ts +1 -3
- package/dist/system/hooks/ui/use-table/components/table/create/styles.d.ts +1 -3
- package/dist/system/hooks/ui/use-table/components/table/export/styles.d.ts +1 -3
- package/dist/system/hooks/ui/use-table/components/table/filters/styles.d.ts +1 -3
- package/dist/system/hooks/ui/use-table/components/table/skeleton-table/styles.d.ts +1 -3
- package/dist/system/hooks/ui/use-table/components/table/styles.d.ts +3 -9
- package/dist/system/hooks/ui/use-table/components/table/thead-item/styles.d.ts +1 -3
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/styles.d.ts +1 -3
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/details-contact/info/styles.d.ts +1 -3
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/details-contact/styles.d.ts +1 -3
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/form-contact/styles.d.ts +1 -3
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/styles.d.ts +1 -3
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/version-01/styles.d.ts +1 -3
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/blog-item/styles.d.ts +4 -6
- package/dist/ui/atena/presentation/dynamic-elements/pages/blog/components/featured-blog/featured-blog-item/styles.d.ts +4 -6
- package/dist/ui/atena/presentation/dynamic-sections/use-dynamic-section/edit-css/editor-code/styles.d.ts +1 -3
- package/dist/ui/atena/presentation/dynamic-sections/use-dynamic-section/edit-css/styles.d.ts +1 -3
- package/dist/ui/components/breadcrumb/styles.d.ts +1 -3
- package/dist/ui/components/button/styles.d.ts +1 -3
- package/dist/ui/components/carousel/styles.d.ts +1 -3
- package/dist/ui/components/form/checkbox/styles.d.ts +1 -3
- package/dist/ui/components/form/handler/dynamic_form_handler/styles.d.ts +1 -3
- package/dist/ui/components/form/handler/styles.d.ts +1 -3
- package/dist/ui/components/form/input-control/error/styles.d.ts +1 -3
- package/dist/ui/components/form/input-control/label/styles.d.ts +1 -3
- package/dist/ui/components/form/input-control/loader-input/styles.d.ts +1 -3
- package/dist/ui/components/form/input-control/styles.d.ts +1 -3
- package/dist/ui/components/form/input-date-picker/calendar/calendar-header/styles.d.ts +1 -3
- package/dist/ui/components/form/input-date-picker/calendar/days/styles.d.ts +1 -3
- package/dist/ui/components/form/input-date-picker/calendar/months/styles.d.ts +1 -3
- package/dist/ui/components/form/input-date-picker/calendar/styles.d.ts +1 -3
- package/dist/ui/components/form/input-date-picker/calendar/years/styles.d.ts +1 -3
- package/dist/ui/components/form/input-date-picker-new/calendar/calendar-header/styles.d.ts +1 -3
- package/dist/ui/components/form/input-date-picker-new/calendar/days/styles.d.ts +1 -3
- package/dist/ui/components/form/input-date-picker-new/calendar/months/styles.d.ts +1 -3
- package/dist/ui/components/form/input-date-picker-new/calendar/styles.d.ts +1 -3
- package/dist/ui/components/form/input-date-picker-new/styles.d.ts +1 -3
- package/dist/ui/components/form/input-date-range/filter/styles.d.ts +2 -6
- package/dist/ui/components/form/input-date-range/styles.d.ts +1 -3
- package/dist/ui/components/form/input-file/render-files/file-item/styles.d.ts +1 -3
- package/dist/ui/components/form/input-file/render-files/styles.d.ts +1 -3
- package/dist/ui/components/form/input-file/styles.d.ts +2 -6
- package/dist/ui/components/form/input-manager/styles.d.ts +1 -3
- package/dist/ui/components/form/input-password/styles.d.ts +1 -3
- package/dist/ui/components/form/input-seo/input-meta-image/styles.d.ts +1 -3
- package/dist/ui/components/form/input-seo/styles.d.ts +1 -3
- package/dist/ui/components/form/input-svg/styles.d.ts +1 -3
- package/dist/ui/components/form/input-switch/styles.d.ts +1 -3
- package/dist/ui/components/form/input-youtube/styles.d.ts +1 -3
- package/dist/ui/components/form/radio/styles.d.ts +1 -3
- package/dist/ui/components/form/select/styles.d.ts +1 -3
- package/dist/ui/components/form/select-icon/styles.d.ts +1 -3
- package/dist/ui/components/form/text-editor/index.js +1 -1
- package/dist/ui/components/form/text-editor/index.js.map +1 -1
- package/dist/ui/components/google-translate-page/styles.d.ts +1 -3
- package/dist/ui/components/loading-screen/styles.d.ts +1 -3
- package/dist/ui/components/pix/pix-sucess/styles.d.ts +1 -3
- package/dist/ui/components/pix/styles.d.ts +1 -3
- package/dist/ui/components/pix/timer/styles.d.ts +1 -3
- package/dist/ui/components/sidebar/styles.d.ts +1 -3
- package/dist/ui/components/site/context/scripts/acept-cookies/index.js +3 -2
- package/dist/ui/components/site/context/scripts/acept-cookies/index.js.map +1 -1
- package/dist/ui/components/site/context/scripts/component.js +5 -26
- package/dist/ui/components/site/context/scripts/component.js.map +1 -1
- package/dist/ui/components/site/context/scripts/conditional-scripts/index.d.ts +9 -0
- package/dist/ui/components/site/context/scripts/conditional-scripts/index.js +15 -0
- package/dist/ui/components/site/context/scripts/conditional-scripts/index.js.map +1 -0
- package/dist/ui/components/site/context/scripts/facebook/use-track-page-views.d.ts +6 -0
- package/dist/ui/components/site/context/scripts/facebook/use-track-page-views.js +33 -0
- package/dist/ui/components/site/context/scripts/facebook/use-track-page-views.js.map +1 -0
- package/dist/ui/components/site/effect/styles.d.ts +6 -18
- package/dist/ui/components/site/header-link/versions/version-01/styles.d.ts +1 -3
- package/dist/ui/components/site/list-blog/card/styles.d.ts +1 -3
- package/dist/ui/components/site/list-blog/styles.d.ts +1 -3
- package/dist/ui/components/site/mvv/versions/version-01/styles.d.ts +1 -3
- package/dist/ui/components/tooltip/hooks/use-tool-tip.d.ts +2 -2
- package/dist/ui/components/warning/styles.d.ts +1 -3
- package/dist/ui/contexts/i18n/translate.d.ts +1 -3
- package/dist/ui/contexts/toast/styles.d.ts +1 -3
- package/dist/ui/contexts/toast/toast-item/styles.d.ts +1 -3
- package/dist/ui/hooks/permitions/camera/styles.d.ts +1 -3
- package/package.json +9 -8
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export declare const FileItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
2
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
3
|
-
}, never>> & string;
|
|
1
|
+
export declare const FileItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export declare const FileCard: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
2
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
3
|
-
}, never>> & string;
|
|
1
|
+
export declare const FileCard: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
export declare const InputFileStyles: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
2
|
-
|
|
3
|
-
}, never>> & string;
|
|
4
|
-
export declare const FileButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
5
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
6
|
-
}, never>> & string;
|
|
1
|
+
export declare const InputFileStyles: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
2
|
+
export declare const FileButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { InputManagerProps } from './interfaces.js';
|
|
2
|
-
export declare const InputManager: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<
|
|
3
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
4
|
-
}, {
|
|
2
|
+
export declare const InputManager: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, {
|
|
5
3
|
$gridColumns: InputManagerProps["gridColumns"];
|
|
6
4
|
}>> & string;
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export declare const InputPassword: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
2
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
3
|
-
}, never>> & string;
|
|
1
|
+
export declare const InputPassword: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export declare const InputMetaImage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
2
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
3
|
-
}, never>> & string;
|
|
1
|
+
export declare const InputMetaImage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export declare const InputSeo: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
2
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
3
|
-
}, never>> & string;
|
|
1
|
+
export declare const InputSeo: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export declare const InputSvg: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
2
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
3
|
-
}, never>> & string;
|
|
1
|
+
export declare const InputSvg: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export declare const InputSwitch: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
2
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
3
|
-
}, never>> & string;
|
|
1
|
+
export declare const InputSwitch: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export declare const Video: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
2
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
3
|
-
}, never>> & string;
|
|
1
|
+
export declare const Video: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export declare const InputRadio: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
2
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
3
|
-
}, never>> & string;
|
|
1
|
+
export declare const InputRadio: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export declare const SelectWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
2
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
3
|
-
}, never>> & string;
|
|
1
|
+
export declare const SelectWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export declare const SelectIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
2
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
3
|
-
}, never>> & string;
|
|
1
|
+
export declare const SelectIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
@@ -57,7 +57,7 @@ var EditorQuill = (0, dynamic_1.default)(function () { return Promise.resolve().
|
|
|
57
57
|
ssr: false,
|
|
58
58
|
});
|
|
59
59
|
function TextEditor(props) {
|
|
60
|
-
var _a = (0, formik_1.useField)(props), field = _a[0], _ = _a[1], helpers = _a[2];
|
|
60
|
+
var _a = (0, formik_1.useField)({ name: props.name }), field = _a[0], _ = _a[1], helpers = _a[2];
|
|
61
61
|
var handleOnChange = function (value) {
|
|
62
62
|
helpers.setValue(value);
|
|
63
63
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/text-editor/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,gCAcC;;AA1BD,iCAAiC;AAEjC,kDAA+C;AAG/C,yDAAkC;AAElC,IAAM,WAAW,GAAG,IAAA,iBAAO,EAAC,cAAM,OAAA,iEAAO,SAAS,OAAE,IAAI,CAAC,UAAA,CAAC,IAAI,OAAA,CAAC,CAAC,WAAW,EAAb,CAAa,CAAC,EAA1C,CAA0C,EAAE;IAC5E,OAAO,EAAE,cAAM,OAAA,yDAAqB,EAArB,CAAqB;IACpC,GAAG,EAAE,KAAK;CACX,CAAC,CAAC;AAEH,SAAgB,UAAU,CAAC,KAAiB;IACpC,IAAA,KAAsB,IAAA,iBAAQ,EAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/text-editor/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,gCAcC;;AA1BD,iCAAiC;AAEjC,kDAA+C;AAG/C,yDAAkC;AAElC,IAAM,WAAW,GAAG,IAAA,iBAAO,EAAC,cAAM,OAAA,iEAAO,SAAS,OAAE,IAAI,CAAC,UAAA,CAAC,IAAI,OAAA,CAAC,CAAC,WAAW,EAAb,CAAa,CAAC,EAA1C,CAA0C,EAAE;IAC5E,OAAO,EAAE,cAAM,OAAA,yDAAqB,EAArB,CAAqB;IACpC,GAAG,EAAE,KAAK;CACX,CAAC,CAAC;AAEH,SAAgB,UAAU,CAAC,KAAiB;IACpC,IAAA,KAAsB,IAAA,iBAAQ,EAAC,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC,EAAnD,KAAK,QAAA,EAAE,CAAC,QAAA,EAAE,OAAO,QAAkC,CAAA;IAE1D,IAAM,cAAc,GAAG,UAAC,KAAa;QACnC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;IACzB,CAAC,CAAA;IAED,OAAO,CACL,gCAAK,EAAE,EAAC,aAAa,YACnB,uBAAC,4BAAY,eAAK,KAAK,cACrB,uBAAC,WAAW,IAAE,KAAK,EAAE,KAAK,CAAC,KAAK,IAAI,EAAE,EAAE,cAAc,EAAE,cAAc,GAAI,IAC7D,GACX,CACP,CAAA;AACH,CAAC"}
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export declare const GoogleTranslatePage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
2
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
3
|
-
}, never>> & string;
|
|
1
|
+
export declare const GoogleTranslatePage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export declare const LoadingScreen: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
2
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
3
|
-
}, never>> & string;
|
|
1
|
+
export declare const LoadingScreen: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export declare const PixSucess: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
2
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
3
|
-
}, never>> & string;
|
|
1
|
+
export declare const PixSucess: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export declare const Pix: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
2
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
3
|
-
}, never>> & string;
|
|
1
|
+
export declare const Pix: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export declare const Timer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
2
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
3
|
-
}, never>> & string;
|
|
1
|
+
export declare const Timer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
@@ -4,7 +4,5 @@ interface IStyledSideBar {
|
|
|
4
4
|
$overlay?: boolean;
|
|
5
5
|
$direction?: 'left' | 'right';
|
|
6
6
|
}
|
|
7
|
-
export declare const SideBar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<
|
|
8
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
9
|
-
}, IStyledSideBar>> & string;
|
|
7
|
+
export declare const SideBar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, IStyledSideBar>> & string;
|
|
10
8
|
export {};
|
|
@@ -95,9 +95,10 @@ function AceptCookies(_a) {
|
|
|
95
95
|
(0, react_1.useEffect)(function () {
|
|
96
96
|
(function () { return __awaiter(_this, void 0, void 0, function () {
|
|
97
97
|
var aceptCookie;
|
|
98
|
-
|
|
98
|
+
var _a;
|
|
99
|
+
return __generator(this, function (_b) {
|
|
99
100
|
if (process.browser) {
|
|
100
|
-
aceptCookie = ui_1.cookies.get("acept-cookie").value;
|
|
101
|
+
aceptCookie = (_a = ui_1.cookies.get("acept-cookie")) === null || _a === void 0 ? void 0 : _a.value;
|
|
101
102
|
if (aceptCookie === undefined) {
|
|
102
103
|
setAcept('default');
|
|
103
104
|
return [2 /*return*/];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/ui/components/site/context/scripts/acept-cookies/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,oCAyEC;;AAlFD,+BAA2C;AAE3C,mDAA4B;AAC5B,sCAAuC;AAEvC,2BAA8B;AAE9B,0CAA6B;AAE7B,SAAgB,YAAY,CAAC,EAA2C;IAAxE,iBAyEC;QAzE8B,QAAQ,cAAA;IAC/B,IAAA,KAAoB,IAAA,gBAAQ,EAAoC,QAAQ,CAAC,EAAxE,KAAK,QAAA,EAAE,QAAQ,QAAyD,CAAA;IAE/E,SAAS,QAAQ;QACf,QAAQ,CAAC,QAAQ,CAAC,CAAA;QAElB,YAAO,CAAC,GAAG,CAAC,cAAc,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC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
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.Scripts = Scripts;
|
|
7
7
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
-
var react_1 = require("react");
|
|
9
8
|
var head_1 = __importDefault(require("next/head"));
|
|
10
|
-
var
|
|
11
|
-
var
|
|
9
|
+
var google_1 = require("@next/third-parties/google");
|
|
10
|
+
var conditional_scripts_1 = require("./conditional-scripts/index.js");
|
|
11
|
+
var use_track_page_views_1 = require("./facebook/use-track-page-views.js");
|
|
12
12
|
var acept_ratedr_1 = require("./acept-ratedr/index.js");
|
|
13
13
|
var acept_cookies_1 = require("./acept-cookies/index.js");
|
|
14
14
|
var whatsapp_fixed_1 = require("./whatsapp-fixed/index.js");
|
|
15
15
|
function Scripts(_a) {
|
|
16
16
|
var children = _a.children, siteConfigurations = _a.siteConfigurations;
|
|
17
|
-
|
|
18
|
-
(0,
|
|
19
|
-
if (process.browser && (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.ua)) {
|
|
20
|
-
var pageview_1 = function (router) {
|
|
21
|
-
;
|
|
22
|
-
(window === null || window === void 0 ? void 0 : window.fbq) && window.fbq('track', router);
|
|
23
|
-
};
|
|
24
|
-
var handleRouteChange_1 = function () {
|
|
25
|
-
pageview_1(router.asPath);
|
|
26
|
-
};
|
|
27
|
-
// initialize(siteConfigurations?.ua)
|
|
28
|
-
// pg(router?.asPath)
|
|
29
|
-
router.events.on('routeChangeComplete', handleRouteChange_1);
|
|
30
|
-
return function () {
|
|
31
|
-
router.events.off('routeChangeComplete', handleRouteChange_1);
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
}, [router.events, router.pathname, router.asPath, siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.ua]);
|
|
35
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)(head_1.default, { children: [(0, jsx_runtime_1.jsx)("link", { rel: 'icon', href: (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.favicon) || '/favicon.ico' }), (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.facebookDomainVerification) && ((0, jsx_runtime_1.jsx)("meta", { name: 'facebook-domain-verification', content: siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.facebookDomainVerification })), (0, jsx_runtime_1.jsx)("link", { rel: 'preconnect', href: 'https://www.google-analytics.com' }), (0, jsx_runtime_1.jsx)("link", { rel: 'dns-prefetch', href: 'https://www.google-analytics.com' }), (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.pixelFacebook) && ((0, jsx_runtime_1.jsx)("script", { id: 'fb-pixel', dangerouslySetInnerHTML: {
|
|
36
|
-
__html: "\n !function(f,b,e,v,n,t,s)\n {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n n.queue=[];t=b.createElement(e);t.async=!0;\n t.src=v;s=b.getElementsByTagName(e)[0];\n s.parentNode.insertBefore(t,s)}(window, document,'script',\n 'https://connect.facebook.net/en_US/fbevents');\n fbq('init', ".concat(siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.pixelFacebook, ");\n fbq('track', 'PageView');\n "),
|
|
37
|
-
} })), (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.gtm) && ((0, jsx_runtime_1.jsx)("script", { dangerouslySetInnerHTML: {
|
|
38
|
-
__html: "\n (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm'});var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n })(window,document,'script','dataLayer','".concat(siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.gtm, "');\n "),
|
|
39
|
-
} }))] }), (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.gtm) && ((0, jsx_runtime_1.jsx)("noscript", { children: (0, jsx_runtime_1.jsx)("iframe", { src: "https://www.googletagmanager.com/ns.html?id=".concat(siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.gtm), height: '0', width: '0', style: { display: 'none', visibility: 'hidden' } }) })), (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.propertyId) && (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.widgetId) && ((0, jsx_runtime_1.jsx)(script_1.default, { async: true, src: "https://embed.tawk.to/".concat(siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.propertyId, "/").concat(siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.widgetId) })), (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.whatsappfixo) && (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.whatsapp) && ((0, jsx_runtime_1.jsx)(whatsapp_fixed_1.Whatsappfixed, { href: siteConfigurations.whatsapp })), (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.ratedR) ? ((0, jsx_runtime_1.jsx)(acept_ratedr_1.AceptRatedr, { children: (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.enableCookieVerification) ? (0, jsx_runtime_1.jsx)(acept_cookies_1.AceptCookies, { children: children }) : children })) : (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.enableCookieVerification) ? ((0, jsx_runtime_1.jsx)(acept_cookies_1.AceptCookies, { children: children })) : (children), process.browser && (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.aw) && ((0, jsx_runtime_1.jsx)(script_1.default, { async: true, src: "https://www.googletagmanager.com/gtag/js?id=".concat(siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.aw), type: 'text/javascript', strategy: 'afterInteractive' })), process.browser && (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.aw) && ((0, jsx_runtime_1.jsx)(script_1.default, { id: 'google-analytics', children: "\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n \n gtag('js', new Date());\n gtag('config', '".concat(siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.aw, "');\n ") })), (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.habilitarRD) && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [process.browser && siteConfigurations.rdstation1 && ((0, jsx_runtime_1.jsx)(script_1.default, { async: true, type: 'text/javascript', strategy: 'afterInteractive', src: siteConfigurations.rdstation1 })), process.browser && siteConfigurations.rdstation2 && ((0, jsx_runtime_1.jsx)(script_1.default, { async: true, type: 'text/javascript', strategy: 'afterInteractive', src: siteConfigurations.rdstation2 }))] }))] }));
|
|
17
|
+
(0, use_track_page_views_1.useTrackPageViews)(siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.pixelFacebook);
|
|
18
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)(head_1.default, { children: [(0, jsx_runtime_1.jsx)("link", { rel: 'icon', href: (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.favicon) || '/favicon.ico' }), (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.facebookDomainVerification) && ((0, jsx_runtime_1.jsx)("meta", { name: 'facebook-domain-verification', content: siteConfigurations.facebookDomainVerification })), (0, jsx_runtime_1.jsx)("link", { rel: 'preconnect', href: 'https://www.google-analytics.com' }), (0, jsx_runtime_1.jsx)("link", { rel: 'dns-prefetch', href: 'https://www.google-analytics.com' })] }), (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.pixelFacebook) && (0, jsx_runtime_1.jsx)(use_track_page_views_1.FacebookPixel, { pixelId: siteConfigurations.pixelFacebook }), (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.gtm) && (0, jsx_runtime_1.jsx)(google_1.GoogleTagManager, { gtmId: siteConfigurations.gtm }), (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.aw) && (0, jsx_runtime_1.jsx)(google_1.GoogleAnalytics, { gaId: siteConfigurations.aw }), (0, jsx_runtime_1.jsx)(conditional_scripts_1.ConditionalScript, { condition: !!((siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.habilitarRD) && siteConfigurations.rdstation1), src: siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.rdstation1, strategy: 'afterInteractive' }), (0, jsx_runtime_1.jsx)(conditional_scripts_1.ConditionalScript, { condition: !!((siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.habilitarRD) && siteConfigurations.rdstation2), src: siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.rdstation2, strategy: 'afterInteractive' }), (0, jsx_runtime_1.jsx)(conditional_scripts_1.ConditionalScript, { condition: !!((siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.propertyId) && (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.widgetId)), src: "https://embed.tawk.to/".concat(siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.propertyId, "/").concat(siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.widgetId), strategy: 'afterInteractive' }), (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.whatsappfixo) && (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.whatsapp) && ((0, jsx_runtime_1.jsx)(whatsapp_fixed_1.Whatsappfixed, { href: siteConfigurations.whatsapp })), (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.ratedR) ? ((0, jsx_runtime_1.jsx)(acept_ratedr_1.AceptRatedr, { children: (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.enableCookieVerification) ? (0, jsx_runtime_1.jsx)(acept_cookies_1.AceptCookies, { children: children }) : children })) : (siteConfigurations === null || siteConfigurations === void 0 ? void 0 : siteConfigurations.enableCookieVerification) ? ((0, jsx_runtime_1.jsx)(acept_cookies_1.AceptCookies, { children: children })) : (children)] }));
|
|
40
19
|
}
|
|
41
20
|
//# sourceMappingURL=component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../../../src/ui/components/site/context/scripts/component.tsx"],"names":[],"mappings":";;;;;AAYA,
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../../../src/ui/components/site/context/scripts/component.tsx"],"names":[],"mappings":";;;;;AAYA,0BA8DC;;AA1ED,mDAA6B;AAE7B,qDAA+E;AAE/E,6DAA0D;AAC1D,wEAAmF;AAGnF,+CAA6C;AAC7C,iDAA+C;AAC/C,mDAAiD;AAEjD,SAAgB,OAAO,CAAC,EAA0C;QAAxC,QAAQ,cAAA,EAAE,kBAAkB,wBAAA;IACpD,IAAA,wCAAiB,EAAC,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,aAAa,CAAC,CAAC;IAErD,OAAO,CACL,6DAEE,wBAAC,cAAI,eACH,iCAAM,GAAG,EAAC,MAAM,EAAC,IAAI,EAAE,CAAA,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,OAAO,KAAI,cAAc,GAAI,EAEvE,CAAA,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,0BAA0B,KAAI,CACjD,iCAAM,IAAI,EAAC,8BAA8B,EAAC,OAAO,EAAE,kBAAkB,CAAC,0BAA0B,GAAI,CACrG,EAED,iCAAM,GAAG,EAAC,YAAY,EAAC,IAAI,EAAC,kCAAkC,GAAG,EACjE,iCAAM,GAAG,EAAC,cA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,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,QAAQ,CAAE,EAC9F,QAAQ,EAAC,kBAAkB,GAC3B,EAGD,CAAA,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,YAAY,MAAI,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,QAAQ,CAAA,IAAI,CACnE,uBAAC,8BAAa,IAAC,IAAI,EAAE,kBAAkB,CAAC,QAAQ,GAAI,CACrD,EAGA,CAAA,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,MAAM,EAAC,CAAC,CAAC,CAC5B,uBAAC,0BAAW,cACT,CAAA,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,wBAAwB,EAAC,CAAC,CAAC,uBAAC,4BAAY,cAAE,QAAQ,GAAgB,CAAC,CAAC,CAAC,QAAQ,GACtF,CACf,CAAC,CAAC,CAAC,CAAA,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,wBAAwB,EAAC,CAAC,CAAC,CACjD,uBAAC,4BAAY,cAAE,QAAQ,GAAgB,CACxC,CAAC,CAAC,CAAC,CACF,QAAQ,CACT,IACA,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface ConditionalScriptProps {
|
|
2
|
+
condition?: boolean;
|
|
3
|
+
src?: string;
|
|
4
|
+
id?: string;
|
|
5
|
+
strategy?: 'afterInteractive' | 'lazyOnload';
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export declare function ConditionalScript({ condition, src, id, strategy, children }: ConditionalScriptProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ConditionalScript = ConditionalScript;
|
|
7
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
+
var script_1 = __importDefault(require("next/script"));
|
|
9
|
+
function ConditionalScript(_a) {
|
|
10
|
+
var condition = _a.condition, src = _a.src, id = _a.id, strategy = _a.strategy, children = _a.children;
|
|
11
|
+
if (!condition)
|
|
12
|
+
return null;
|
|
13
|
+
return ((0, jsx_runtime_1.jsx)(script_1.default, { id: id, src: src, strategy: strategy, children: children }));
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/ui/components/site/context/scripts/conditional-scripts/index.tsx"],"names":[],"mappings":";;;;;AAUE,8CAQC;;AAlBH,uDAAiC;AAU/B,SAAgB,iBAAiB,CAAC,EAAkE;QAAhE,SAAS,eAAA,EAAE,GAAG,SAAA,EAAE,EAAE,QAAA,EAAE,QAAQ,cAAA,EAAE,QAAQ,cAAA;IACxE,IAAI,CAAC,SAAS;QAAE,OAAO,IAAI,CAAC;IAE5B,OAAO,CACL,uBAAC,gBAAM,IAAC,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,YACzC,QAAQ,GACF,CACV,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.FacebookPixel = FacebookPixel;
|
|
7
|
+
exports.useTrackPageViews = useTrackPageViews;
|
|
8
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
9
|
+
var react_1 = require("react");
|
|
10
|
+
var router_1 = require("next/router");
|
|
11
|
+
var head_1 = __importDefault(require("next/head"));
|
|
12
|
+
function FacebookPixel(_a) {
|
|
13
|
+
var pixelId = _a.pixelId;
|
|
14
|
+
return ((0, jsx_runtime_1.jsx)(head_1.default, { children: (0, jsx_runtime_1.jsx)("script", { dangerouslySetInnerHTML: {
|
|
15
|
+
__html: "\n !function(f,b,e,v,n,t,s) {\n if (f.fbq) return;\n n = f.fbq = function() {\n n.callMethod ? n.callMethod.apply(n, arguments) : n.queue.push(arguments);\n };\n if (!f._fbq) f._fbq = n;\n n.push = n;\n n.loaded = !0;\n n.version = '2.0';\n n.queue = [];\n t = b.createElement(e);\n t.async = !0;\n t.src = v;\n s = b.getElementsByTagName(e)[0];\n s.parentNode.insertBefore(t, s);\n }(window, document, 'script', 'https://connect.facebook.net/en_US/fbevents.js');\n\n fbq('init', '".concat(pixelId, "');\n fbq('track', 'PageView');\n "),
|
|
16
|
+
} }) }));
|
|
17
|
+
}
|
|
18
|
+
function useTrackPageViews(pixelId) {
|
|
19
|
+
var router = (0, router_1.useRouter)();
|
|
20
|
+
(0, react_1.useEffect)(function () {
|
|
21
|
+
if (!pixelId || typeof window === 'undefined' || !window.fbq) {
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
var handleRouteChange = function (url) {
|
|
25
|
+
window.fbq('track', 'PageView', { url: url });
|
|
26
|
+
};
|
|
27
|
+
router.events.on('routeChangeComplete', handleRouteChange);
|
|
28
|
+
return function () {
|
|
29
|
+
router.events.off('routeChangeComplete', handleRouteChange);
|
|
30
|
+
};
|
|
31
|
+
}, [pixelId, router.events]);
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=use-track-page-views.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-track-page-views.js","sourceRoot":"","sources":["../../../../../../../src/ui/components/site/context/scripts/facebook/use-track-page-views.tsx"],"names":[],"mappings":";;;;;AAUA,sCA8BC;AAED,8CAkBC;;AA5DD,+BAAkC;AAClC,sCAAwC;AAGxC,mDAA6B;AAM7B,SAAgB,aAAa,CAAC,EAA+B;QAA7B,OAAO,aAAA;IACrC,OAAO,CACL,uBAAC,cAAI,cACL,mCACE,uBAAuB,EAAE;gBACvB,MAAM,EAAE,kqBAkBS,OAAO,uDAEvB;aACF,GACD,GACG,CACN,CAAC;AACJ,CAAC;AAED,SAAgB,iBAAiB,CAAC,OAAgB;IAChD,IAAM,MAAM,GAAG,IAAA,kBAAS,GAAE,CAAC;IAE3B,IAAA,iBAAS,EAAC;QACR,IAAI,CAAC,OAAO,IAAI,OAAO,MAAM,KAAK,WAAW,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;YAC7D,OAAO;QACT,CAAC;QAED,IAAM,iBAAiB,GAAG,UAAC,GAAW;YACpC,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,UAAU,EAAE,EAAE,GAAG,KAAA,EAAE,CAAC,CAAC;QAC3C,CAAC,CAAC;QAEF,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,qBAAqB,EAAE,iBAAiB,CAAC,CAAC;QAE3D,OAAO;YACL,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,qBAAqB,EAAE,iBAAiB,CAAC,CAAC;QAC9D,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;AAC/B,CAAC"}
|
|
@@ -1,18 +1,6 @@
|
|
|
1
|
-
export declare const noEffect: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export declare const hoverUnderline: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
8
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
9
|
-
}, never>> & string;
|
|
10
|
-
export declare const bounceToBottom: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
11
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
12
|
-
}, never>> & string;
|
|
13
|
-
export declare const bounceToTop: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
14
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
15
|
-
}, never>> & string;
|
|
16
|
-
export declare const hoverScaling: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
17
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
18
|
-
}, never>> & string;
|
|
1
|
+
export declare const noEffect: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
2
|
+
export declare const hoverBg: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
3
|
+
export declare const hoverUnderline: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
4
|
+
export declare const bounceToBottom: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
5
|
+
export declare const bounceToTop: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
6
|
+
export declare const hoverScaling: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export declare const HeaderLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
2
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
3
|
-
}, never>> & string;
|
|
1
|
+
export declare const HeaderLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export declare const BlogCard: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
2
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
3
|
-
}, never>> & string;
|
|
1
|
+
export declare const BlogCard: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export declare const ListBlog: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
2
|
-
ref?: import("react").Ref<HTMLElement>;
|
|
3
|
-
}, never>> & string;
|
|
1
|
+
export declare const ListBlog: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLElement> & import("react").HTMLAttributes<HTMLElement>, never>> & string;
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export declare const MVV: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
2
|
-
ref?: import("react").Ref<HTMLElement>;
|
|
3
|
-
}, never>> & string;
|
|
1
|
+
export declare const MVV: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLElement> & import("react").HTMLAttributes<HTMLElement>, never>> & string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PositionProp } from '../interfaces.js';
|
|
2
2
|
export declare function useToolTip(position: PositionProp, rest: any, idTooltip: string): {
|
|
3
3
|
isOpen: boolean;
|
|
4
|
-
contentRef: import("react").
|
|
5
|
-
toolTipRef: import("react").
|
|
4
|
+
contentRef: import("react").RefObject<HTMLDivElement>;
|
|
5
|
+
toolTipRef: import("react").RefObject<HTMLDivElement>;
|
|
6
6
|
tooltipStyle: import("react").CSSProperties;
|
|
7
7
|
handleToggle: (state?: boolean) => void;
|
|
8
8
|
};
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export declare const Warning: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
2
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
3
|
-
}, never>> & string;
|
|
1
|
+
export declare const Warning: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
@@ -4,6 +4,4 @@ export type TranslateProps = {
|
|
|
4
4
|
isGlobal?: boolean;
|
|
5
5
|
};
|
|
6
6
|
export declare function Translate({ referenceID, defaultTranslate, isGlobal }: TranslateProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export declare const TranslateStyles: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
8
|
-
ref?: import("react").Ref<HTMLSpanElement>;
|
|
9
|
-
}, never>> & string;
|
|
7
|
+
export declare const TranslateStyles: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement>, never>> & string;
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export declare const Toast: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
2
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
3
|
-
}, never>> & string;
|
|
1
|
+
export declare const Toast: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export declare const ToastItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
2
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
3
|
-
}, never>> & string;
|
|
1
|
+
export declare const ToastItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export declare const Camera: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
2
|
-
ref?: import("react").Ref<HTMLDivElement>;
|
|
3
|
-
}, never>> & string;
|
|
1
|
+
export declare const Camera: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "infinity-forge",
|
|
3
|
-
"version": "6.7.
|
|
3
|
+
"version": "6.7.6",
|
|
4
4
|
"description": "codie Library",
|
|
5
5
|
"main": "./dist/index",
|
|
6
6
|
"module": "./dist/index",
|
|
@@ -36,6 +36,8 @@
|
|
|
36
36
|
"license": "MIT",
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/node": "^22.8.1",
|
|
39
|
+
"@types/react": "^19.0.8",
|
|
40
|
+
"@types/react-dom": "^19.0.3",
|
|
39
41
|
"@types/styled-components": "^5.1.34",
|
|
40
42
|
"concurrently": "^9.1.1",
|
|
41
43
|
"copyfiles": "^2.4.1",
|
|
@@ -44,23 +46,22 @@
|
|
|
44
46
|
"postcss": "^8.4.49",
|
|
45
47
|
"postcss-cli": "^11.0.0",
|
|
46
48
|
"tsc-alias": "^1.8.10",
|
|
47
|
-
"typescript": "^5.7.2"
|
|
48
|
-
"@types/react": "^18.3.0",
|
|
49
|
-
"@types/react-dom": "^18.3.0"
|
|
49
|
+
"typescript": "^5.7.2"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
+
"@next/third-parties": "^15.1.6",
|
|
52
53
|
"axios": "^1.7.9",
|
|
53
54
|
"cpx": "^1.5.0",
|
|
54
55
|
"formik": "^2.4.6",
|
|
55
56
|
"fs": "0.0.1-security",
|
|
56
57
|
"moment": "^2.30.1",
|
|
57
|
-
|
|
58
|
+
"next": "^15.1.6",
|
|
58
59
|
"node": "^22.13.0",
|
|
59
60
|
"quill": "^2.0.3",
|
|
60
|
-
"react": "
|
|
61
|
-
|
|
61
|
+
"react": "19.0.0",
|
|
62
|
+
"react-dom": "19.0.0",
|
|
62
63
|
"react-select": "^5.9.0",
|
|
63
|
-
"styled-components": "^6.1.
|
|
64
|
+
"styled-components": "^6.1.15",
|
|
64
65
|
"yup": "^1.6.1",
|
|
65
66
|
"zustand": "^5.0.2"
|
|
66
67
|
}
|