@gustavo-valsechi/client 1.3.44 → 1.3.46

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.
@@ -35,7 +35,7 @@ __export(badge_exports, {
35
35
  module.exports = __toCommonJS(badge_exports);
36
36
  var import_jsx_runtime = require("react/jsx-runtime");
37
37
  var import_styles = require("./styles");
38
- var import_contexts = require("@contexts");
38
+ var import_contexts = require("../../../contexts");
39
39
  var import_lodash = __toESM(require("lodash"));
40
40
  function Badge(props) {
41
41
  const { content } = (0, import_contexts.useTheme)();
@@ -2,7 +2,7 @@
2
2
  "use client";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import { Container } from "./styles";
5
- import { useTheme } from "@contexts";
5
+ import { useTheme } from "../../../contexts";
6
6
  import _ from "lodash";
7
7
  function Badge(props) {
8
8
  const { content } = useTheme();
@@ -35,7 +35,7 @@ __export(chart_exports, {
35
35
  module.exports = __toCommonJS(chart_exports);
36
36
  var import_jsx_runtime = require("react/jsx-runtime");
37
37
  var import_styles = require("./styles");
38
- var import_contexts = require("@contexts");
38
+ var import_contexts = require("../../../contexts");
39
39
  var import_dynamic = __toESM(require("next/dynamic"));
40
40
  var import_lodash = __toESM(require("lodash"));
41
41
  const ApexChart = (0, import_dynamic.default)(() => import("react-apexcharts").then((mod) => mod.default), { ssr: false });
@@ -2,7 +2,7 @@
2
2
  "use client";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import { Container } from "./styles";
5
- import { useTheme } from "@contexts";
5
+ import { useTheme } from "../../../contexts";
6
6
  import dynamic from "next/dynamic";
7
7
  import _ from "lodash";
8
8
  const ApexChart = dynamic(() => import("react-apexcharts").then((mod) => mod.default), { ssr: false });
@@ -37,9 +37,9 @@ module.exports = __toCommonJS(table_exports);
37
37
  var import_jsx_runtime = require("react/jsx-runtime");
38
38
  var import_react = require("react");
39
39
  var import_styles = require("./styles");
40
- var import_components = require("@components");
40
+ var import_components = require("../../../components");
41
41
  var import_paginate = require("./paginate");
42
- var import_contexts = require("@contexts");
42
+ var import_contexts = require("../../../contexts");
43
43
  var import_lodash = __toESM(require("lodash"));
44
44
  var import_modal = __toESM(require("./modal"));
45
45
  __reExport(table_exports, require("./paginate"), module.exports);
@@ -3,9 +3,9 @@
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
  import { useEffect } from "react";
5
5
  import { Container } from "./styles";
6
- import { LoadingBar } from "@components";
6
+ import { LoadingBar } from "../../../components";
7
7
  import { Paginate } from "./paginate";
8
- import { useModal, useTheme } from "@contexts";
8
+ import { useModal, useTheme } from "../../../contexts";
9
9
  import _ from "lodash";
10
10
  import Modal from "./modal";
11
11
  export * from "./paginate";
@@ -22,7 +22,7 @@ __export(actions_exports, {
22
22
  default: () => actions_default
23
23
  });
24
24
  module.exports = __toCommonJS(actions_exports);
25
- var import_content = require("@contexts/theme/content");
25
+ var import_content = require("../../../../contexts/theme/content");
26
26
  const actionConfig = {
27
27
  "fa-solid fa-pen-to-square": { label: "editar" },
28
28
  "fa-solid fa-trash-can": { label: "remover", color: import_content.CommonTheme.negative }
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { CommonTheme } from "@contexts/theme/content";
2
+ import { CommonTheme } from "../../../../contexts/theme/content";
3
3
  const actionConfig = {
4
4
  "fa-solid fa-pen-to-square": { label: "editar" },
5
5
  "fa-solid fa-trash-can": { label: "remover", color: CommonTheme.negative }
@@ -37,7 +37,7 @@ var import_jsx_runtime = require("react/jsx-runtime");
37
37
  var import_styles = require("./styles");
38
38
  var import_styles2 = require("../styles");
39
39
  var import__ = require("../../..");
40
- var import_contexts = require("@contexts");
40
+ var import_contexts = require("../../../../contexts");
41
41
  var import_lodash = __toESM(require("lodash"));
42
42
  var import_actions = __toESM(require("./actions"));
43
43
  function Modal(props) {
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  import { Content } from "./styles";
5
5
  import { Container } from "../styles";
6
6
  import { Component } from "../../..";
7
- import { useModal } from "@contexts";
7
+ import { useModal } from "../../../../contexts";
8
8
  import _ from "lodash";
9
9
  import actionConfig from "./actions";
10
10
  function Modal(props) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gustavo-valsechi/client",
3
- "version": "1.3.44",
3
+ "version": "1.3.46",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,7 +11,7 @@
11
11
  "scripts": {
12
12
  "clean": "rimraf dist && rimraf node_modules/.cache",
13
13
  "build:types": "tsc -p tsconfig.json",
14
- "build:js": "tsup",
14
+ "build:js": "tsup && tsc-alias",
15
15
  "build:remodel": "node scripts/remodel.js",
16
16
  "build:assets": "node scripts/assets.js",
17
17
  "build": "npm run clean && npm run build:js && npm run build:types && npm run build:assets && npm run build:remodel",