frst-components 0.23.82 → 0.23.84
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/index.js +16 -13
- package/dist/src/components/DS/impedimentosTab/index.d.ts.map +1 -1
- package/dist/src/components/FI/ThreadComments/utilitiesComponents/commentaryBoxReply/index.d.ts.map +1 -1
- package/dist/src/components/FI/ThreadComments/utilitiesComponents/inputReply/index.d.ts.map +1 -1
- package/dist/src/components/FI/ThreadComments/utilitiesComponents/inputReply/inputReply.styles.d.ts.map +1 -1
- package/dist/src/components/IJ/learningCycleCard/components/menu/index.d.ts.map +1 -1
- package/dist/src/components/IJ/learningCycleCard/components/menu/menuStyle.d.ts.map +1 -1
- package/dist/src/components/form-elements/table/parts/TableBody/index.d.ts.map +1 -1
- package/dist/src/components/form-elements/table/parts/TableBody/tableStyle.d.ts.map +1 -1
- package/dist/src/components/form-elements/table/parts/TableHead/index.d.ts.map +1 -1
- package/dist/src/components/form-elements/table/parts/TableHead/tableStyle.d.ts.map +1 -1
- package/dist/src/components/form-elements/table-actions/parts/CollaboratorAvatar/collaboratorAvatarStyle.d.ts.map +1 -1
- package/dist/src/components/form-elements/table-actions/parts/CollaboratorAvatar/index.d.ts.map +1 -1
- package/dist/src/components/form-elements/table-actions/parts/DateLimit/dateLimitStyle.d.ts.map +1 -1
- package/dist/src/components/form-elements/table-actions/parts/DateLimit/index.d.ts.map +1 -1
- package/dist/src/components/form-elements/table-actions/parts/EmptyState/emptyStateStyle.d.ts.map +1 -1
- package/dist/src/components/form-elements/table-actions/parts/EmptyState/index.d.ts.map +1 -1
- package/dist/src/components/form-elements/table-actions/parts/TagStatus/index.d.ts.map +1 -1
- package/dist/src/components/form-elements/table-actions/parts/TagStatus/tagStatusStyle.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7579,6 +7579,18 @@ function ImpedimentosTab({ maxTabs, tabsList, showAddButton, onSaveNewImpediment
|
|
|
7579
7579
|
const renderTabs = (tabInfo, index) => {
|
|
7580
7580
|
return (jsxRuntime.jsx(Tab, { selected: tabInfo.id === selectedTab?.id, onClick: () => handleClickTab(tabInfo), children: jsxRuntime.jsx("p", { children: tabInfo.title }) }, index));
|
|
7581
7581
|
};
|
|
7582
|
+
const handleUpdate = () => {
|
|
7583
|
+
if (editDescription == '')
|
|
7584
|
+
return;
|
|
7585
|
+
setDisplayDescription(editDescription);
|
|
7586
|
+
let editTab = { ...selectedTab, description: editDescription };
|
|
7587
|
+
selectedTab?.handleEdit(editTab);
|
|
7588
|
+
setIsEdit(false);
|
|
7589
|
+
};
|
|
7590
|
+
const handleCancelUpdate = () => {
|
|
7591
|
+
setEditDescription(displayDescription);
|
|
7592
|
+
setIsEdit(false);
|
|
7593
|
+
};
|
|
7582
7594
|
const startEditing = () => {
|
|
7583
7595
|
setEditDescription(displayDescription);
|
|
7584
7596
|
};
|
|
@@ -7615,21 +7627,12 @@ function ImpedimentosTab({ maxTabs, tabsList, showAddButton, onSaveNewImpediment
|
|
|
7615
7627
|
}
|
|
7616
7628
|
}, onKeyDown: (event) => {
|
|
7617
7629
|
if (event.key === 'Enter') {
|
|
7618
|
-
|
|
7619
|
-
return;
|
|
7620
|
-
setDisplayDescription(editDescription);
|
|
7621
|
-
let editTab = { ...selectedTab, description: editDescription };
|
|
7622
|
-
selectedTab?.handleEdit(editTab);
|
|
7623
|
-
setIsEdit(false);
|
|
7630
|
+
handleUpdate();
|
|
7624
7631
|
}
|
|
7625
7632
|
if (event.key === 'Escape') {
|
|
7626
|
-
|
|
7627
|
-
setIsEdit(false);
|
|
7633
|
+
handleCancelUpdate();
|
|
7628
7634
|
}
|
|
7629
|
-
}, onBlur:
|
|
7630
|
-
setEditDescription(displayDescription);
|
|
7631
|
-
setIsEdit(false);
|
|
7632
|
-
} }) })
|
|
7635
|
+
}, onBlur: handleUpdate }) })
|
|
7633
7636
|
:
|
|
7634
7637
|
jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("p", { children: displayDescription }), selectedTab?.showOptions ?
|
|
7635
7638
|
jsxRuntime.jsx(WrapperMenuMore, { children: jsxRuntime.jsx(MenuMore, { options: [
|
|
@@ -7967,7 +7970,7 @@ hasVoting, voteHasAlreadyBeenRegistered, isVotedByUserLogged, voteText, onDelete
|
|
|
7967
7970
|
description: 'Editar',
|
|
7968
7971
|
onClick: (e) => setIsEditing(true)
|
|
7969
7972
|
},
|
|
7970
|
-
hasAddActions &&
|
|
7973
|
+
hasAddActions &&
|
|
7971
7974
|
({
|
|
7972
7975
|
startIcon: jsxRuntime.jsx(AddAction, {}),
|
|
7973
7976
|
description: 'Adicionar ações',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/impedimentosTab/index.tsx"],"names":[],"mappings":"AAUA,OAAO,EACH,oBAAoB,EAEvB,MAAM,mBAAmB,CAAA;AAa1B,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACpC,OAAO,EACP,QAAQ,EACR,aAAa,EACb,oBAAoB,EACpB,aAAa,EACb,aAAa,EACb,UAAU,EACb,EAAE,oBAAoB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/impedimentosTab/index.tsx"],"names":[],"mappings":"AAUA,OAAO,EACH,oBAAoB,EAEvB,MAAM,mBAAmB,CAAA;AAa1B,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACpC,OAAO,EACP,QAAQ,EACR,aAAa,EACb,oBAAoB,EACpB,aAAa,EACb,aAAa,EACb,UAAU,EACb,EAAE,oBAAoB,2CAmQtB"}
|
package/dist/src/components/FI/ThreadComments/utilitiesComponents/commentaryBoxReply/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/FI/ThreadComments/utilitiesComponents/commentaryBoxReply/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAA;AAKtE,eAAO,MAAM,kBAAkB,scAgC5B,yBAAyB,4CAsH3B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/FI/ThreadComments/utilitiesComponents/inputReply/index.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,eAAO,MAAM,UAAU,oMAapB,WAAW,4CAkGb,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inputReply.styles.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"inputReply.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/FI/ThreadComments/utilitiesComponents/inputReply/inputReply.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,oEAI1B,CAAA;AAED,eAAO,MAAM,SAAS,oEAGrB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/IJ/learningCycleCard/components/menu/index.tsx"],"names":[],"mappings":"AAUA,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAAE,EAAE,EAAE,WAAW,EAAE;;;CAAA,2CAiFnD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menuStyle.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"menuStyle.d.ts","sourceRoot":"","sources":["../../../../../../src/components/IJ/learningCycleCard/components/menu/menuStyle.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,oEAuBxB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form-elements/table/parts/TableBody/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAY,UAAU,EAAE,MAAM,aAAa,CAAA;AAUlD,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,iBAAiB,EAAE,OAAO,EAAE,EAAE,UAAU,2CAiB/F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tableStyle.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"tableStyle.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form-elements/table/parts/TableBody/tableStyle.ts"],"names":[],"mappings":"AAEA,UAAU,oBAAoB;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,eAAO,MAAM,cAAc,qFAI1B,CAAC;AAEF,eAAO,MAAM,gBAAgB,mEAM5B,CAAC;AAEF,eAAO,MAAM,qBAAqB,qFAMjC,CAAC;AAEF,eAAO,MAAM,8BAA8B,sFAI1C,CAAC;AAEF,eAAO,MAAM,WAAW,sFAUvB,CAAC;AAEF,UAAU,wBAAwB;IAChC,UAAU,EAAE,OAAO,CAAA;CACpB;AAED,eAAO,MAAM,mBAAmB,0FAU/B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form-elements/table/parts/TableHead/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAGxC,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAAE,OAAO,EAAE,EAAE,UAAU,2CAmBxD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tableStyle.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"tableStyle.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form-elements/table/parts/TableHead/tableStyle.ts"],"names":[],"mappings":"AAEA,UAAU,qBAAqB;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,eAAO,MAAM,WAAW,sEAEvB,CAAC;AAEF,eAAO,MAAM,UAAU,mEAEtB,CAAC;AAEF,eAAO,MAAM,iBAAiB,sFAW7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collaboratorAvatarStyle.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"collaboratorAvatarStyle.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form-elements/table-actions/parts/CollaboratorAvatar/collaboratorAvatarStyle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB;;SASrC,CAAC"}
|
package/dist/src/components/form-elements/table-actions/parts/CollaboratorAvatar/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form-elements/table-actions/parts/CollaboratorAvatar/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAI3D,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EAAE,GAAG,EAAE,aAAa,EAAE,qBAAqB,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,mBAAmB,2CA6BzH"}
|
package/dist/src/components/form-elements/table-actions/parts/DateLimit/dateLimitStyle.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dateLimitStyle.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"dateLimitStyle.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form-elements/table-actions/parts/DateLimit/dateLimitStyle.ts"],"names":[],"mappings":"AAEA,UAAU,kBAAkB;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAGD,eAAO,MAAM,gBAAgB,oFAkB5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form-elements/table-actions/parts/DateLimit/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAGxC,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,UAAU,2CAE7D"}
|
package/dist/src/components/form-elements/table-actions/parts/EmptyState/emptyStateStyle.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emptyStateStyle.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"emptyStateStyle.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form-elements/table-actions/parts/EmptyState/emptyStateStyle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,oEAY7B,CAAA;AAED,eAAO,MAAM,eAAe,oEAE3B,CAAA;AAED,eAAO,MAAM,eAAe,oEAY3B,CAAA;AAED,eAAO,MAAM,kBAAkB,oEAuB9B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form-elements/table-actions/parts/EmptyState/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAI1C,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAAE,UAAU,EAAE,WAAW,EAAE,EAAE,WAAW,2CA2B1E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form-elements/table-actions/parts/TagStatus/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAGxC,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,UAAU,2CAS9D"}
|
package/dist/src/components/form-elements/table-actions/parts/TagStatus/tagStatusStyle.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tagStatusStyle.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"tagStatusStyle.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form-elements/table-actions/parts/TagStatus/tagStatusStyle.ts"],"names":[],"mappings":"AAEA,UAAU,WAAW;IACnB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAGD,eAAO,MAAM,YAAY,oEAKxB,CAAA;AAED,eAAO,MAAM,UAAU,6EAqBtB,CAAC;AAEF,eAAO,MAAM,QAAQ,6EAapB,CAAC"}
|