infinity-forge 12.3.9 → 12.4.1
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/ui/atena/presentation/dynamic-elements/elements/contact/index.d.ts +8 -0
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/index.js +64 -11
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/form-contact/index.js +1 -1
- package/dist/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/form-contact/index.js.map +1 -1
- package/dist/ui/atena/presentation/dynamic-sections/use-dynamic-section/index.js +6 -1
- package/dist/ui/atena/presentation/dynamic-sections/use-dynamic-section/index.js.map +1 -1
- package/dist/ui/components/change-password/index.d.ts +1 -0
- package/dist/ui/components/change-password/index.js +110 -0
- package/dist/ui/components/change-password/index.js.map +1 -0
- package/dist/ui/components/change-password/styles.d.ts +1 -0
- package/dist/ui/components/change-password/styles.js +14 -0
- package/dist/ui/components/change-password/styles.js.map +1 -0
- package/package.json +1 -1
|
@@ -14,6 +14,14 @@ export type ContactJSON = {
|
|
|
14
14
|
inputEmail?: boolean;
|
|
15
15
|
inputPhone?: boolean;
|
|
16
16
|
inputDescription?: boolean;
|
|
17
|
+
inputNameLabel?: string;
|
|
18
|
+
inputEmailLabel?: string;
|
|
19
|
+
inputPhoneLabel?: string;
|
|
20
|
+
inputDescriptionLabel?: string;
|
|
21
|
+
inputNamePlaceholder?: string;
|
|
22
|
+
inputEmailPlaceholder?: string;
|
|
23
|
+
inputPhonePlaceholder?: string;
|
|
24
|
+
inputDescriptionPlaceholder?: string;
|
|
17
25
|
items?: ContactItem[];
|
|
18
26
|
css?: string;
|
|
19
27
|
recaptcha?: string;
|
|
@@ -43,6 +43,15 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
43
43
|
return result;
|
|
44
44
|
};
|
|
45
45
|
})();
|
|
46
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
47
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
48
|
+
if (ar || !(i in from)) {
|
|
49
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
50
|
+
ar[i] = from[i];
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
54
|
+
};
|
|
46
55
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
47
56
|
exports.Contact = Contact;
|
|
48
57
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
@@ -50,9 +59,14 @@ var ui_1 = require("../../../../../../ui/index.js");
|
|
|
50
59
|
var Versions = __importStar(require("./versions/index.js"));
|
|
51
60
|
var S = __importStar(require("./styles.js"));
|
|
52
61
|
function Contact(_a) {
|
|
53
|
-
var _b, _c, _d, _e;
|
|
54
|
-
var isGlobal = _a.isGlobal, formHandler = _a.formHandler,
|
|
62
|
+
var _b, _c, _d, _e, _f;
|
|
63
|
+
var isGlobal = _a.isGlobal, formHandler = _a.formHandler, _g = _a.sendToPanel, sendToPanel = _g === void 0 ? true : _g;
|
|
55
64
|
var VersionsElement = Versions;
|
|
65
|
+
var dynamic = (0, ui_1.useDynamicSection)({
|
|
66
|
+
refSection: 'configuration_admin',
|
|
67
|
+
isGlobal: true,
|
|
68
|
+
});
|
|
69
|
+
var isi18n = (_b = dynamic.jsonContent) === null || _b === void 0 ? void 0 : _b.i18n;
|
|
56
70
|
var dynamicProps = {
|
|
57
71
|
refSection: 'ContactAtenaPages',
|
|
58
72
|
isGlobal: isGlobal,
|
|
@@ -63,13 +77,53 @@ function Contact(_a) {
|
|
|
63
77
|
maxWidth: '98%',
|
|
64
78
|
},
|
|
65
79
|
},
|
|
66
|
-
inputs: [
|
|
80
|
+
inputs: __spreadArray(__spreadArray([
|
|
67
81
|
[
|
|
68
82
|
{ name: 'jsonContent.inputName', InputComponent: 'InputSwitch', label: 'Input de nome' },
|
|
69
83
|
{ name: 'jsonContent.inputEmail', InputComponent: 'InputSwitch', label: 'Input de email' },
|
|
70
84
|
{ name: 'jsonContent.inputPhone', InputComponent: 'InputSwitch', label: 'Input de telefone' },
|
|
71
85
|
{ name: 'jsonContent.inputDescription', InputComponent: 'InputSwitch', label: 'Input de descrição' },
|
|
72
|
-
]
|
|
86
|
+
]
|
|
87
|
+
], (isi18n
|
|
88
|
+
? [
|
|
89
|
+
[
|
|
90
|
+
{ name: 'jsonContent.inputNameLabel', InputComponent: 'Input', label: 'Label do input de nome' },
|
|
91
|
+
{ name: 'jsonContent.inputEmailLabel', InputComponent: 'Input', label: 'Label do input de email' },
|
|
92
|
+
],
|
|
93
|
+
[
|
|
94
|
+
{ name: 'jsonContent.inputPhoneLabel', InputComponent: 'Input', label: 'Label do input de telefone' },
|
|
95
|
+
{
|
|
96
|
+
name: 'jsonContent.inputDescriptionLabel',
|
|
97
|
+
InputComponent: 'Input',
|
|
98
|
+
label: 'Label do input de descrição',
|
|
99
|
+
},
|
|
100
|
+
],
|
|
101
|
+
[
|
|
102
|
+
{
|
|
103
|
+
name: 'jsonContent.inputNamePlaceholder',
|
|
104
|
+
InputComponent: 'Input',
|
|
105
|
+
label: 'Placeholder do input de nome',
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
name: 'jsonContent.inputEmailPlaceholder',
|
|
109
|
+
InputComponent: 'Input',
|
|
110
|
+
label: 'Placeholder do input de email',
|
|
111
|
+
},
|
|
112
|
+
],
|
|
113
|
+
[
|
|
114
|
+
{
|
|
115
|
+
name: 'jsonContent.inputPhonePlaceholder',
|
|
116
|
+
InputComponent: 'Input',
|
|
117
|
+
label: 'Placeholder do input de telefone',
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
name: 'jsonContent.inputDescriptionPlaceholder',
|
|
121
|
+
InputComponent: 'Input',
|
|
122
|
+
label: 'Placeholder do input de descrição',
|
|
123
|
+
},
|
|
124
|
+
],
|
|
125
|
+
]
|
|
126
|
+
: []), true), [
|
|
73
127
|
[
|
|
74
128
|
{
|
|
75
129
|
name: 'jsonContent.messageProviderKey',
|
|
@@ -85,17 +139,16 @@ function Contact(_a) {
|
|
|
85
139
|
inputs: [
|
|
86
140
|
[
|
|
87
141
|
{ InputComponent: 'Input', name: 'titulo', label: 'Título' },
|
|
88
|
-
{ InputComponent: 'Input', name: 'link', label: 'Link' },
|
|
142
|
+
{ InputComponent: 'Input', name: 'link', label: 'Link', i18n: { disabled: true } },
|
|
89
143
|
],
|
|
90
144
|
[
|
|
91
|
-
{ InputComponent: 'InputSwitch', name: 'target', label: 'Abrir em nova aba' },
|
|
92
|
-
{ InputComponent: 'SelectIcon', name: 'icon', label: 'Icone' },
|
|
145
|
+
{ InputComponent: 'InputSwitch', name: 'target', label: 'Abrir em nova aba', i18n: { disabled: true } },
|
|
146
|
+
{ InputComponent: 'SelectIcon', name: 'icon', label: 'Icone', i18n: { disabled: true } },
|
|
93
147
|
],
|
|
94
|
-
[{ InputComponent: 'InputManager', name: 'test' }],
|
|
95
148
|
],
|
|
96
149
|
},
|
|
97
150
|
],
|
|
98
|
-
],
|
|
151
|
+
], false),
|
|
99
152
|
},
|
|
100
153
|
fields: {
|
|
101
154
|
title: {},
|
|
@@ -115,7 +168,7 @@ function Contact(_a) {
|
|
|
115
168
|
},
|
|
116
169
|
};
|
|
117
170
|
var section = (0, ui_1.useDynamicSection)(dynamicProps);
|
|
118
|
-
var Component = VersionsElement[((
|
|
119
|
-
return ((0, jsx_runtime_1.jsx)(section.Section, { children: (0, jsx_runtime_1.jsx)(S.Contact, { id: section.ref, "$css": (
|
|
171
|
+
var Component = VersionsElement[((_c = section === null || section === void 0 ? void 0 : section.jsonContent) === null || _c === void 0 ? void 0 : _c.version) || 'Default'];
|
|
172
|
+
return ((0, jsx_runtime_1.jsx)(section.Section, { children: (0, jsx_runtime_1.jsx)(S.Contact, { id: section.ref, "$css": (_d = section === null || section === void 0 ? void 0 : section.jsonContent) === null || _d === void 0 ? void 0 : _d.css, children: (0, jsx_runtime_1.jsx)(Component, __assign({}, dynamicProps, { sendToPanel: sendToPanel, formHandler: __assign({ recaptcha: (_e = section === null || section === void 0 ? void 0 : section.jsonContent) === null || _e === void 0 ? void 0 : _e.recaptcha, messageProvider: { messageProviderKey: (_f = section === null || section === void 0 ? void 0 : section.jsonContent) === null || _f === void 0 ? void 0 : _f.messageProviderKey, enabled: true } }, formHandler) })) }) }));
|
|
120
173
|
}
|
|
121
174
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/ui/atena/presentation/dynamic-elements/elements/contact/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/ui/atena/presentation/dynamic-elements/elements/contact/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BA,0BAuIC;;AArKD,2BAAuG;AAEvG,mDAAsC;AA0BtC,0CAA6B;AAE7B,SAAgB,OAAO,CAAC,EAIiD;;QAHvE,QAAQ,cAAA,EACR,WAAW,iBAAA,EACX,mBAAkB,EAAlB,WAAW,mBAAG,IAAI,KAAA;IAElB,IAAM,eAAe,GAAG,QAAQ,CAAA;IAEhC,IAAM,OAAO,GAAG,IAAA,sBAAiB,EAAC;QAChC,UAAU,EAAE,qBAAqB;QACjC,QAAQ,EAAE,IAAI;KACf,CAAC,CAAA;IAEF,IAAM,MAAM,GAAG,MAAA,OAAO,CAAC,WAAW,0CAAE,IAAI,CAAA;IAExC,IAAM,YAAY,GAAG;QACnB,UAAU,EAAE,mBAAmB;QAC/B,QAAQ,UAAA;QACR,SAAS,EAAE,EAAE,eAAe,iBAAA,EAAE;QAC9B,UAAU,EAAE;YACV,KAAK,EAAE;gBACL,MAAM,EAAE;oBACN,QAAQ,EAAE,KAAK;iBAChB;aACF;Y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,OAAO,CAAE,WAAW,0CAAE,OAAO,KAAI,SAAS,CAAC,CAAA;IAE7E,OAAO,CACL,uBAAC,OAAO,CAAC,OAAO,cACd,uBAAC,CAAC,CAAC,OAAO,IAAC,EAAE,EAAE,OAAO,CAAC,GAAG,UAAQ,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,0CAAE,GAAG,YACzD,uBAAC,SAAS,eACJ,YAAY,IAChB,WAAW,EAAE,WAAW,EACxB,WAAW,aACT,SAAS,EAAE,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,0CAAE,SAAS,EAC1C,eAAe,EAAE,EAAE,kBAAkB,EAAE,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,0CAAE,kBAAkB,EAAE,OAAO,EAAE,IAAI,EAAE,IAC7F,WAAW,KAEhB,GACQ,GACI,CACnB,CAAA;AACH,CAAC"}
|
|
@@ -142,6 +142,6 @@ function FormContact(props) {
|
|
|
142
142
|
name: (jsonContent === null || jsonContent === void 0 ? void 0 : jsonContent.inputName) ? true : false,
|
|
143
143
|
message: (jsonContent === null || jsonContent === void 0 ? void 0 : jsonContent.inputDescription) ? true : false,
|
|
144
144
|
phone: (jsonContent === null || jsonContent === void 0 ? void 0 : jsonContent.inputPhone) ? true : false,
|
|
145
|
-
} }, props.formHandler, propsSendToPanel, { children: [(jsonContent === null || jsonContent === void 0 ? void 0 : jsonContent.inputName) && ((0, jsx_runtime_1.jsx)(ui_1.Input, { name: 'name', type: 'text', label: 'Nome completo', placeholder: 'Digite seu nome completo aqui', className: 'font-16' })), (0, jsx_runtime_1.jsxs)("div", { className: 'container-fields', children: [(jsonContent === null || jsonContent === void 0 ? void 0 : jsonContent.inputEmail) && ((0, jsx_runtime_1.jsx)(ui_1.Input, { name: 'email', type: 'email', label: 'Email', placeholder: 'Digite seu email aqui', className: 'font-16' })), (jsonContent === null || jsonContent === void 0 ? void 0 : jsonContent.inputPhone) && ((0, jsx_runtime_1.jsx)(ui_1.InputMask, { name: 'phone', label: 'Telefone', placeholder: '(DDD) 00000 - 0000', className: 'font-16', mask: '(__)
|
|
145
|
+
} }, props.formHandler, propsSendToPanel, { children: [(jsonContent === null || jsonContent === void 0 ? void 0 : jsonContent.inputName) && ((0, jsx_runtime_1.jsx)(ui_1.Input, { name: 'name', type: 'text', label: (jsonContent === null || jsonContent === void 0 ? void 0 : jsonContent.inputNameLabel) || 'Nome completo', placeholder: 'Digite seu nome completo aqui', className: 'font-16' })), (0, jsx_runtime_1.jsxs)("div", { className: 'container-fields', children: [(jsonContent === null || jsonContent === void 0 ? void 0 : jsonContent.inputEmail) && ((0, jsx_runtime_1.jsx)(ui_1.Input, { name: 'email', type: 'email', label: (jsonContent === null || jsonContent === void 0 ? void 0 : jsonContent.inputEmailLabel) || 'Email', placeholder: (jsonContent === null || jsonContent === void 0 ? void 0 : jsonContent.inputEmailPlaceholder) || 'Digite seu email aqui', className: 'font-16' })), (jsonContent === null || jsonContent === void 0 ? void 0 : jsonContent.inputPhone) && ((0, jsx_runtime_1.jsx)(ui_1.InputMask, { name: 'phone', label: (jsonContent === null || jsonContent === void 0 ? void 0 : jsonContent.inputPhoneLabel) || 'Telefone', placeholder: (jsonContent === null || jsonContent === void 0 ? void 0 : jsonContent.inputPhonePlaceholder) || '(DDD) 00000 - 0000', className: 'font-16', mask: '(__) _________' }))] }), (jsonContent === null || jsonContent === void 0 ? void 0 : jsonContent.inputDescription) && ((0, jsx_runtime_1.jsx)(ui_1.Textarea, { name: 'message', label: (jsonContent === null || jsonContent === void 0 ? void 0 : jsonContent.inputDescriptionLabel) || 'Mensagem', placeholder: jsonContent === null || jsonContent === void 0 ? void 0 : jsonContent.inputDescriptionPlaceholder, className: 'font-16' }))] })) }) }));
|
|
146
146
|
}
|
|
147
147
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../../src/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/form-contact/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../../src/ui/atena/presentation/dynamic-elements/elements/contact/versions/default/form-contact/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,kCA0GC;;AA5HD,2BAWa;AAEb,+BAA+B;AAG/B,0CAA6B;AAE7B,SAAgB,WAAW,CAAC,KAAkF;IACpG,IAAA,WAAW,GAAK,IAAA,aAAQ,GAAE,YAAf,CAAe;IAE1B,IAAA,WAAW,GAAK,IAAA,sBAAiB,EAAc,KAAK,CAAC,YAA1C,CAA0C;IAE7D,SAAe,aAAa,CAAC,QAAQ;;;;;;wBAC7B,OAAO,yBACR,QAAQ,KACX,OAAO,EAAE,EAAE,EACX,SAAS,EAAE,UAAU,EACrB,WAAW,EAAE,IAAI,CAAC,SAAS,CAAC;gCAC1B,SAAS,EAAE,SAAS;gCACpB,MAAM,EAAE,SAAS;gCACjB,MAAM,eAAA;6BACP,CAAC,GACH,CAAA;;;;6BAGK,KAAK,CAAC,WAAW,EAAjB,wBAAiB;wBACnB,qBAAM,IAAA,QAAG,EAAC;gCACR,GAAG,EAAE,wBAAwB;gCAC7B,MAAM,EAAE,MAAM;gCACd,IAAI,EAAE,OAAO;6BACd,CAAC,EAAA;;wBAJF,SAIE,CAAA;;;wBAGJ,WAAW,CAAC;4BACV,MAAM,EAAE,SAAS;4BACjB,OAAO,EAAE,8BAA8B;yBACxC,CAAC,CAAA;;;;wBAEF,WAAW,CAAC;4BACV,MAAM,EAAE,OAAO;4BACf,OAAO,EAAE,6CAA6C;yBACvD,CAAC,CAAA;;;;;;KAEL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,UAAU,KAAI,CAC1B,uBAAC,UAAK,IACJ,IAAI,EAAC,OAAO,EACZ,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE,CAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,eAAe,KAAI,OAAO,EAC9C,WAAW,EAAE,CAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,qBAAqB,KAAI,uBAAuB,EAC1E,SAAS,EAAC,SAAS,GACnB,CACH,EAEA,CAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,UAAU,KAAI,CAC1B,uBAAC,cAAS,IACR,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE,CAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,eAAe,KAAI,UAAU,EACjD,WAAW,EAAE,CAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,qBAAqB,KAAI,oBAAoB,EACvE,SAAS,EAAC,SAAS,EACnB,IAAI,EAAC,gBAAgB,GACrB,CACH,IACG,EAEL,CAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,gBAAgB,KAAI,CAChC,uBAAC,aAAQ,IACP,IAAI,EAAC,SAAS,EACd,KAAK,EAAE,CAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,qBAAqB,KAAI,UAAU,EACvD,WAAW,EAAE,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,2BAA2B,EACrD,SAAS,EAAC,SAAS,GACnB,CACH,KACW,GACA,GACV,CACT,CAAA;AACH,CAAC"}
|
|
@@ -60,7 +60,12 @@ function useDynamicSection(props) {
|
|
|
60
60
|
var jsonContentFinal = parsedJsonContent;
|
|
61
61
|
if ((_a = parsedJsonContent === null || parsedJsonContent === void 0 ? void 0 : parsedJsonContent.i18n) === null || _a === void 0 ? void 0 : _a[currentLocale]) {
|
|
62
62
|
var i18nLang = parsedJsonContent.i18n[currentLocale];
|
|
63
|
-
|
|
63
|
+
if (i18nLang === null || i18nLang === void 0 ? void 0 : i18nLang.jsonContent) {
|
|
64
|
+
jsonContentFinal = mergeDeep(parsedJsonContent, i18nLang === null || i18nLang === void 0 ? void 0 : i18nLang.jsonContent, true);
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
jsonContentFinal = mergeDeep(parsedJsonContent, i18nLang, true);
|
|
68
|
+
}
|
|
64
69
|
var _ = i18nLang.jsonContent, i18nLangRootFields = __rest(i18nLang, ["jsonContent"]);
|
|
65
70
|
sectionFinal = __assign(__assign(__assign({}, findSection), i18nLangRootFields), { jsonContent: jsonContentFinal });
|
|
66
71
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ui/atena/presentation/dynamic-sections/use-dynamic-section/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ui/atena/presentation/dynamic-sections/use-dynamic-section/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,8CA8FC;;AAtGD,sCAAuC;AACvC,2BAAoD;AACpD,sCAAqC;AACrC,+CAAqD;AAGrD,+BAA+B;AAE/B,SAAgB,iBAAiB,CAAU,KAA0B;;IACnE,IAAM,MAAM,GAAG,IAAA,kBAAS,GAAE,CAAA;IAC1B,IAAM,aAAa,GAAG,MAAM,CAAC,MAAM,IAAI,OAAO,CAAA;IAE9C,IAAM,YAAY,GAAG,IAAA,gBAAW,EAAC,KAAK,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAA;IAE1E,IAAM,KAAK,GAAG,IAAA,kBAAQ,GAAE,CAAA;IACxB,IAAM,QAAQ,GAAG,IAAA,eAAO,EAAC,cAAM,OAAA,KAAK,CAAC,QAAQ,EAAd,CAAc,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;IAEhE,IAAM,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IAAI,CAAC,IAAI,CAAC,SAAK,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAE,CAAA;IAEtE,IAAI,CAAC,OAAO,CAAC,UAAC,GAAG;QACf,IAAI,iBAAiB,IAAI,GAAG,KAAK,MAAM,EAAE,CAAC;YACxC,MAAM,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAA;QACzB,CAAC;aAAM,IAAI,GAAG,IAAI,QAAQ,EAAE,CAAC;YAC3B,MAAM,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,QAAQ,CAAC,GAAG,CAAC,EAAE,KAAK,CAAC,CAAA;QAC1D,CAAC;aAAM,CAAC;YACN,MAAM,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAA;QACzB,CAAC;IACH,CAAC,CAAC,CAAA;IAEF,OAAO,MAAM,CAAA;AACf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function ChangePassword(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
36
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
37
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
38
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
39
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
40
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
41
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
42
|
+
});
|
|
43
|
+
};
|
|
44
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
45
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
46
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
47
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
48
|
+
function step(op) {
|
|
49
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
50
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
51
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
52
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
53
|
+
switch (op[0]) {
|
|
54
|
+
case 0: case 1: t = op; break;
|
|
55
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
56
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
57
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
58
|
+
default:
|
|
59
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
60
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
61
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
62
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
63
|
+
if (t[2]) _.ops.pop();
|
|
64
|
+
_.trys.pop(); continue;
|
|
65
|
+
}
|
|
66
|
+
op = body.call(thisArg, _);
|
|
67
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
68
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
72
|
+
exports.ChangePassword = ChangePassword;
|
|
73
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
74
|
+
var ui_1 = require("../../../ui/index.js");
|
|
75
|
+
var system_1 = require("../../../system/index.js");
|
|
76
|
+
var S = __importStar(require("./styles.js"));
|
|
77
|
+
function ChangePassword() {
|
|
78
|
+
var _this = this;
|
|
79
|
+
var createToast = (0, ui_1.useToast)().createToast;
|
|
80
|
+
var user = (0, system_1.useAuthAdmin)().user;
|
|
81
|
+
var isGoogleUser = (user === null || user === void 0 ? void 0 : user.externalRef) === 'google';
|
|
82
|
+
return ((0, jsx_runtime_1.jsxs)(S.ChangePassword, { children: [isGoogleUser && ((0, jsx_runtime_1.jsx)("div", { className: 'google', children: (0, jsx_runtime_1.jsx)("h3", { className: 'font-16-regular manrope', children: "Voc\u00EA realizou o acesso pela sua conta google" }) })), !isGoogleUser && ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsxs)(ui_1.FormHandler, { disableEnterKeySubmitForm: true, cleanFieldsOnSubmit: false, button: { text: 'Salvar' }, schema: {
|
|
83
|
+
password: ui_1.schema.required(),
|
|
84
|
+
newPassword: ui_1.schema.password(),
|
|
85
|
+
confirmNewPassword: ui_1.schema.confirmPassword({
|
|
86
|
+
refField: 'newPassword',
|
|
87
|
+
message: function (value) { return 'As senhas não são iguais'; },
|
|
88
|
+
}),
|
|
89
|
+
}, onSucess: function (formData) { return __awaiter(_this, void 0, void 0, function () {
|
|
90
|
+
var error_1;
|
|
91
|
+
return __generator(this, function (_a) {
|
|
92
|
+
switch (_a.label) {
|
|
93
|
+
case 0:
|
|
94
|
+
_a.trys.push([0, 2, , 3]);
|
|
95
|
+
return [4 /*yield*/, (0, ui_1.api)({ url: 'Account/user/password', method: 'post', body: formData })];
|
|
96
|
+
case 1:
|
|
97
|
+
_a.sent();
|
|
98
|
+
createToast({ message: 'Senha alterada com sucesso', status: 'success' });
|
|
99
|
+
return [3 /*break*/, 3];
|
|
100
|
+
case 2:
|
|
101
|
+
error_1 = _a.sent();
|
|
102
|
+
console.error(error_1);
|
|
103
|
+
createToast({ message: 'Erro ao alterar senha', status: 'error' });
|
|
104
|
+
return [3 /*break*/, 3];
|
|
105
|
+
case 3: return [2 /*return*/];
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
}); }, children: [(0, jsx_runtime_1.jsx)(ui_1.InputPassword, { name: 'password', label: 'Senha atual', placeholder: 'Digite sua senha atual' }), (0, jsx_runtime_1.jsx)(ui_1.InputPassword, { name: 'newPassword', label: 'Nova senha', placeholder: 'Digite sua nova senha' }), (0, jsx_runtime_1.jsx)(ui_1.InputPassword, { name: 'confirmNewPassword', label: 'Confirme a sua nova senha', placeholder: 'Confirme sua nova senha' })] }) }))] }));
|
|
109
|
+
}
|
|
110
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/components/change-password/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wCAmDC;;AAzDD,2BAAwE;AAExE,mCAAuC;AAEvC,0CAA6B;AAE7B,SAAgB,cAAc;IAA9B,iBAmDC;IAlDS,IAAA,WAAW,GAAK,IAAA,aAAQ,GAAE,YAAf,CAAe;IAE1B,IAAA,IAAI,GAAK,IAAA,qBAAY,GAAE,KAAnB,CAAmB;IAC/B,IAAM,YAAY,GAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,WAAW,MAAK,QAAQ,CAAA;IAEnD,OAAO,CACL,wBAAC,CAAC,CAAC,cAAc,eACd,YAAY,IAAI,CACf,gCAAK,SAAS,EAAC,QAAQ,YACrB,+BAAI,SAAS,EAAC,yBAAyB,kEAAkD,GACrF,CACP,EAEA,CAAC,YAAY,IAAI,CAChB,0CACE,wBAAC,gBAAW,IACV,yBAAyB,QACzB,mBAAmB,EAAE,KAAK,EAC1B,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAC1B,MAAM,EAAE;wBACN,QAAQ,EAAE,WAAM,CAAC,QAAQ,EAAE;wBAC3B,WAAW,EAAE,WAAM,CAAC,QAAQ,EAAE;wBAC9B,kBAAkB,EAAE,WAAM,CAAC,eAAe,CAAC;4BACzC,QAAQ,EAAE,aAAa;4BACvB,OAAO,EAAE,UAAC,KAAK,IAAK,OAAA,0BAA0B,EAA1B,CAA0B;yBAC/C,CAAC;qBACH,EACD,QAAQ,EAAE,UAAO,QAAQ;;;;;;oCAErB,qBAAM,IAAA,QAAG,EAAC,EAAE,GAAG,EAAE,uBAAuB,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAA;;oCAA3E,SAA2E,CAAA;oCAE3E,WAAW,CAAC,EAAE,OAAO,EAAE,4BAA4B,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAA;;;;oCAEzE,OAAO,CAAC,KAAK,CAAC,OAAK,CAAC,CAAA;oCACpB,WAAW,CAAC,EAAE,OAAO,EAAE,uBAAuB,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,CAAA;;;;;yBAErE,aAED,uBAAC,kBAAa,IAAC,IAAI,EAAC,UAAU,EAAC,KAAK,EAAC,aAAa,EAAC,WAAW,EAAC,wBAAwB,GAAG,EAC1F,uBAAC,kBAAa,IAAC,IAAI,EAAC,aAAa,EAAC,KAAK,EAAC,YAAY,EAAC,WAAW,EAAC,uBAAuB,GAAG,EAC3F,uBAAC,kBAAa,IACZ,IAAI,EAAC,oBAAoB,EACzB,KAAK,EAAC,2BAA2B,EACjC,WAAW,EAAC,yBAAyB,GACrC,IACU,GACV,CACP,IACgB,CACpB,CAAA;AACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ChangePassword: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
+
};
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ChangePassword = void 0;
|
|
11
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
+
exports.ChangePassword = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n .conntent_form_infinity_forge {\n display: flex;\n flex-direction: column;\n gap: 2rem;\n }\n\n .form-button {\n max-width: 230px;\n margin-top: 3rem;\n margin-left: auto;\n }\n\n @media only screen and (max-width: 1024px) {\n .conntent_form_infinity_forge {\n gap: 0.8rem;\n }\n }\n"], ["\n .conntent_form_infinity_forge {\n display: flex;\n flex-direction: column;\n gap: 2rem;\n }\n\n .form-button {\n max-width: 230px;\n margin-top: 3rem;\n margin-left: auto;\n }\n\n @media only screen and (max-width: 1024px) {\n .conntent_form_infinity_forge {\n gap: 0.8rem;\n }\n }\n"])));
|
|
13
|
+
var templateObject_1;
|
|
14
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../src/ui/components/change-password/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,cAAc,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,sYAAA,mUAkB1C,KAAA"}
|