argous 1.2.183 → 1.2.185
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/api/index.d.ts
CHANGED
|
@@ -62,6 +62,6 @@ export function getFileFromLink({ URL: link }?: {
|
|
|
62
62
|
}): Promise<string>;
|
|
63
63
|
export function getLink(idDocumento: any, nrRevisao: any, timeout: any): Promise<any>;
|
|
64
64
|
export function scanDocument(idDocumento: any, nrRevisao: any): Promise<any>;
|
|
65
|
-
export function getWidgets(
|
|
65
|
+
export function getWidgets(data: any, abortController: any): Promise<any>;
|
|
66
66
|
export function getWidgetInfo(pgCode: any): Promise<any>;
|
|
67
67
|
export function sendWidgets(widgets: any): Promise<any>;
|
package/dist/api/index.js
CHANGED
|
@@ -792,14 +792,14 @@ var scanDocument = function (idDocumento, nrRevisao) { return __awaiter(void 0,
|
|
|
792
792
|
});
|
|
793
793
|
}); };
|
|
794
794
|
exports.scanDocument = scanDocument;
|
|
795
|
-
var getWidgets = function (
|
|
795
|
+
var getWidgets = function (data, abortController) { return __awaiter(void 0, void 0, void 0, function () {
|
|
796
796
|
var res;
|
|
797
797
|
return __generator(this, function (_a) {
|
|
798
798
|
switch (_a.label) {
|
|
799
799
|
case 0: return [4 /*yield*/, fetch(exports.api() + "agetwidgets.rslvr", {
|
|
800
800
|
method: 'post',
|
|
801
801
|
headers: exports.headers(),
|
|
802
|
-
body: JSON.stringify(
|
|
802
|
+
body: JSON.stringify(data),
|
|
803
803
|
signal: abortController === null || abortController === void 0 ? void 0 : abortController.signal
|
|
804
804
|
})];
|
|
805
805
|
case 1:
|
|
@@ -151,4 +151,7 @@ export { default as AutoCompleteFavorites } from './AutoCompleteFavorites';
|
|
|
151
151
|
export * from './AutoCompleteFavorites';
|
|
152
152
|
|
|
153
153
|
export { default as PercentageDisplay } from './PercentageDisplay';
|
|
154
|
-
export * from './PercentageDisplay';
|
|
154
|
+
export * from './PercentageDisplay';
|
|
155
|
+
|
|
156
|
+
export { default as HalfGauge } from './HalfGauge';
|
|
157
|
+
export * from './HalfGauge';
|
package/dist/components/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
14
14
|
};
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.AutoCompleteFavorites = exports.UtilAutoComplete = exports.ThreadLog = exports.TextArea = exports.Tabs = exports.TablePicker = exports.Stepper = exports.SimpleTable = exports.Select = exports.ProgressBar = exports.Programa = exports.Pagination = exports.OutputText = exports.OtpInput = exports.MultipleSelect = exports.MonthPicker = exports.ModalProvider = exports.MenuBar = exports.MaterialButton = exports.ListSelect = exports.InputTags = exports.Input = exports.ImageResizeButton = exports.ImageResize = exports.Highlight = exports.FormVisualizer = exports.FileUploader = exports.FilePreparer = exports.DropArea = exports.Compartilhar = exports.Collapse = exports.CartaoUsuario = exports.Calendar = exports.Cabecalho = exports.Button = exports.BarraFerramentas = exports.BarChart = exports.AutoComplete = exports.ArgousSimpleTable = exports.ArgousProgressBar = exports.ArgousPagination = exports.ArgousInput = exports.ArgousComplexTableToolbar = exports.ArgousComplexTableHead = exports.ArgousComplexTableBody = exports.ArgousComplexTable = exports.ArgousComplexPagination = exports.ArgousAvatar = exports.ArgousAction = exports.Alert = void 0;
|
|
17
|
-
exports.PercentageDisplay = void 0;
|
|
17
|
+
exports.HalfGauge = exports.PercentageDisplay = void 0;
|
|
18
18
|
var Alert_1 = require("./Alert");
|
|
19
19
|
Object.defineProperty(exports, "Alert", { enumerable: true, get: function () { return __importDefault(Alert_1).default; } });
|
|
20
20
|
__exportStar(require("./Alert"), exports);
|
|
@@ -167,3 +167,6 @@ __exportStar(require("./AutoCompleteFavorites"), exports);
|
|
|
167
167
|
var PercentageDisplay_1 = require("./PercentageDisplay");
|
|
168
168
|
Object.defineProperty(exports, "PercentageDisplay", { enumerable: true, get: function () { return __importDefault(PercentageDisplay_1).default; } });
|
|
169
169
|
__exportStar(require("./PercentageDisplay"), exports);
|
|
170
|
+
var HalfGauge_1 = require("./HalfGauge");
|
|
171
|
+
Object.defineProperty(exports, "HalfGauge", { enumerable: true, get: function () { return __importDefault(HalfGauge_1).default; } });
|
|
172
|
+
__exportStar(require("./HalfGauge"), exports);
|
package/lib/api/index.js
CHANGED
|
@@ -416,11 +416,11 @@ export const scanDocument = async (idDocumento, nrRevisao) => {
|
|
|
416
416
|
return await res.json();
|
|
417
417
|
};
|
|
418
418
|
|
|
419
|
-
export const getWidgets = async (
|
|
419
|
+
export const getWidgets = async (data, abortController) => {
|
|
420
420
|
const res = await fetch(`${api()}agetwidgets.rslvr`, {
|
|
421
421
|
method: 'post',
|
|
422
422
|
headers: headers(),
|
|
423
|
-
body: JSON.stringify(
|
|
423
|
+
body: JSON.stringify(data),
|
|
424
424
|
signal: abortController?.signal
|
|
425
425
|
});
|
|
426
426
|
return await res.json();
|
|
@@ -151,4 +151,7 @@ export { default as AutoCompleteFavorites } from './AutoCompleteFavorites';
|
|
|
151
151
|
export * from './AutoCompleteFavorites';
|
|
152
152
|
|
|
153
153
|
export { default as PercentageDisplay } from './PercentageDisplay';
|
|
154
|
-
export * from './PercentageDisplay';
|
|
154
|
+
export * from './PercentageDisplay';
|
|
155
|
+
|
|
156
|
+
export { default as HalfGauge } from './HalfGauge';
|
|
157
|
+
export * from './HalfGauge';
|
package/lib/components/index.js
CHANGED
|
@@ -149,4 +149,7 @@ export { default as AutoCompleteFavorites } from './AutoCompleteFavorites';
|
|
|
149
149
|
export * from './AutoCompleteFavorites';
|
|
150
150
|
|
|
151
151
|
export { default as PercentageDisplay } from './PercentageDisplay';
|
|
152
|
-
export * from './PercentageDisplay';
|
|
152
|
+
export * from './PercentageDisplay';
|
|
153
|
+
|
|
154
|
+
export { default as HalfGauge } from './HalfGauge';
|
|
155
|
+
export * from './HalfGauge';
|