frst-components 0.25.6 → 0.25.8

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.
Files changed (24) hide show
  1. package/dist/index.js +257 -231
  2. package/dist/src/components/DS/hypotesisAndImpediment/hypothesisAndImpediment.style.d.ts +2 -0
  3. package/dist/src/components/DS/hypotesisAndImpediment/hypothesisAndImpediment.style.d.ts.map +1 -1
  4. package/dist/src/components/DS/hypotesisAndImpediment/index.d.ts.map +1 -1
  5. package/dist/src/components/DS/impedimentosTab/addImpedimentoModal/index.d.ts.map +1 -1
  6. package/dist/src/components/DS/impedimentosTab/index.d.ts.map +1 -1
  7. package/dist/src/components/FI/ThreadComments/utilitiesComponents/commentaryBoxReply/index.d.ts.map +1 -1
  8. package/dist/src/components/FI/ThreadComments/utilitiesComponents/inputReply/index.d.ts.map +1 -1
  9. package/dist/src/components/FI/ThreadComments/utilitiesComponents/inputReply/inputReply.styles.d.ts.map +1 -1
  10. package/dist/src/components/IJ/learningCycleCard/components/menu/index.d.ts.map +1 -1
  11. package/dist/src/components/IJ/learningCycleCard/components/menu/menuStyle.d.ts.map +1 -1
  12. package/dist/src/components/form-elements/table/parts/TableBody/index.d.ts.map +1 -1
  13. package/dist/src/components/form-elements/table/parts/TableBody/tableStyle.d.ts.map +1 -1
  14. package/dist/src/components/form-elements/table/parts/TableHead/index.d.ts.map +1 -1
  15. package/dist/src/components/form-elements/table/parts/TableHead/tableStyle.d.ts.map +1 -1
  16. package/dist/src/components/form-elements/table-actions/parts/CollaboratorAvatar/collaboratorAvatarStyle.d.ts.map +1 -1
  17. package/dist/src/components/form-elements/table-actions/parts/CollaboratorAvatar/index.d.ts.map +1 -1
  18. package/dist/src/components/form-elements/table-actions/parts/DateLimit/dateLimitStyle.d.ts.map +1 -1
  19. package/dist/src/components/form-elements/table-actions/parts/DateLimit/index.d.ts.map +1 -1
  20. package/dist/src/components/form-elements/table-actions/parts/EmptyState/emptyStateStyle.d.ts.map +1 -1
  21. package/dist/src/components/form-elements/table-actions/parts/EmptyState/index.d.ts.map +1 -1
  22. package/dist/src/components/form-elements/table-actions/parts/TagStatus/index.d.ts.map +1 -1
  23. package/dist/src/components/form-elements/table-actions/parts/TagStatus/tagStatusStyle.d.ts.map +1 -1
  24. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4256,13 +4256,13 @@ styled__default["default"].div `
4256
4256
  border: 1px solid ${({ theme }) => theme.colors.neutralsGrey4};
4257
4257
  position: absolute;
4258
4258
  `;
4259
- const LimitCharsContainer = styled__default["default"].div `
4259
+ const LimitCharsContainer$1 = styled__default["default"].div `
4260
4260
  display:flex;
4261
4261
  justify-content: flex-start;
4262
4262
  align-items: center;
4263
4263
  margin-left: 10px;
4264
4264
  `;
4265
- const LimitCharsExceededMessage = styled__default["default"].span `
4265
+ const LimitCharsExceededMessage$1 = styled__default["default"].span `
4266
4266
  color: ${({ theme }) => theme.colors.linkError};
4267
4267
  font-size: 12px;
4268
4268
  margin-left: 5px;
@@ -4864,7 +4864,7 @@ function InputComment$1({ placeholder, onChange, limit, users, showCharacterCoun
4864
4864
  }, "data-text": "enter", suppressContentEditableWarning: true, onPaste: handlePaste, children: jsxRuntime.jsx("p", { children: jsxRuntime.jsx("br", {}) }) }), jsxRuntime.jsx(InputPlaceholder, { style: { display: 'none' }, contentEditable: true, ref: divPlaceholder, children: placeholder }), showMention && users && users.length > 0 && (jsxRuntime.jsx(Mentions, { users: users, top: mentionTopPosition, onSelect: (user) => {
4865
4865
  setShowMention(false);
4866
4866
  handleMentionUser(user);
4867
- } }))] }), jsxRuntime.jsx(HelperContainer, { children: !isPlaceholder && showCharacterCounter && (jsxRuntime.jsxs(HelperText$2, { isInputLimit: styleLimitExceeded, children: [textLength, "/", limit] })) }), styleLimitExceeded && (jsxRuntime.jsxs(LimitCharsContainer, { children: [jsxRuntime.jsx(TagAlert, {}), jsxRuntime.jsx(LimitCharsExceededMessage, { children: limitMessageExceeded })] }))] }) }));
4867
+ } }))] }), jsxRuntime.jsx(HelperContainer, { children: !isPlaceholder && showCharacterCounter && (jsxRuntime.jsxs(HelperText$2, { isInputLimit: styleLimitExceeded, children: [textLength, "/", limit] })) }), styleLimitExceeded && (jsxRuntime.jsxs(LimitCharsContainer$1, { children: [jsxRuntime.jsx(TagAlert, {}), jsxRuntime.jsx(LimitCharsExceededMessage$1, { children: limitMessageExceeded })] }))] }) }));
4868
4868
  }
4869
4869
 
4870
4870
  const HeaderWrapper$1 = styled__default["default"].div `
@@ -7501,8 +7501,121 @@ const ContainerModal = styled__default["default"]('div') `
7501
7501
  box-shadow: 0px 5px 15px 0px #00000040;
7502
7502
  `;
7503
7503
 
7504
+ const backgroundColors$2 = {
7505
+ hypothesis: {
7506
+ prioritize: '#FAB637',
7507
+ owner: '#f8d784',
7508
+ suggested: '#FBEECF'
7509
+ },
7510
+ impediment: {
7511
+ prioritize: '#D2ADE3',
7512
+ owner: '#E5CBF1',
7513
+ suggested: '#EFE1F6'
7514
+ }
7515
+ };
7516
+ const separatorColors = {
7517
+ hypothesis: {
7518
+ prioritize: '#CF8E11',
7519
+ owner: '#C8A561',
7520
+ suggested: '#E1CCA5'
7521
+ },
7522
+ impediment: {
7523
+ prioritize: '#AA83C3',
7524
+ owner: '#BF9AD6',
7525
+ suggested: '#DAB4EC'
7526
+ }
7527
+ };
7528
+ const borderAvatar = {
7529
+ hypothesis: {
7530
+ prioritize: '#C48000',
7531
+ owner: '#EE9F08',
7532
+ suggested: '#EE9F08'
7533
+ },
7534
+ impediment: {
7535
+ prioritize: '#AD46FF',
7536
+ owner: '#AD46FF',
7537
+ suggested: '#AD46FF'
7538
+ }
7539
+ };
7540
+ const MainContainer = styled__default["default"].div `
7541
+ display: flex;
7542
+ align-items: center;
7543
+ justify-content: space-between;
7544
+ width: 100%;
7545
+ min-height: 56px;
7546
+ color: #222222;
7547
+ box-sizing: border-box;
7548
+ `;
7549
+ const ContainerHypotheis = styled__default["default"].div `
7550
+ width: 100%;
7551
+ display: flex;
7552
+ justify-content: space-between;
7553
+ font-family: PT Sans;
7554
+ font-size: 14px;
7555
+ border-radius: 8px;
7556
+
7557
+ ${({ type, variant }) => {
7558
+ const backgroundColor = backgroundColors$2[variant][type];
7559
+ return styled.css `
7560
+ background: ${backgroundColor};
7561
+ `;
7562
+ }}
7563
+ `;
7564
+ const SplitContainerDescription = styled__default["default"].div `
7565
+ display: flex;
7566
+ justify-content: flex-start;
7567
+ align-items: center;
7568
+ padding: 10px 16px 10px 0px;
7569
+ gap: 16px;
7570
+ height: 100%;
7571
+ width: 100%;
7572
+ `;
7573
+ styled__default["default"].div `
7574
+ height: 24px;
7575
+ width: 1px;
7576
+ margin-left: 14px;
7577
+ margin-right: 14px;
7578
+ ${({ type, variant }) => {
7579
+ const border = separatorColors[variant][type];
7580
+ return styled.css `
7581
+ border: 1px solid ${border};
7582
+ `;
7583
+ }}
7584
+ `;
7585
+ const Title$6 = styled__default["default"].span `
7586
+ font-weight: 700;
7587
+ white-space: nowrap;
7588
+ `;
7589
+ const Description$4 = styled__default["default"].span `
7590
+ font-weight: 400;
7591
+ display: flex;
7592
+ flex-grow: 1;
7593
+ flex-wrap: wrap;
7594
+ align-items: center;
7595
+ padding: 6px 16px 6px 16px;
7596
+
7597
+ ${({ type, variant }) => {
7598
+ const border = separatorColors[variant][type];
7599
+ return styled.css `
7600
+ border-left: 1px solid ${border};
7601
+ `;
7602
+ }}
7603
+ `;
7604
+ const LimitCharsContainer = styled__default["default"].div `
7605
+ display: flex;
7606
+ justify-content: flex-start;
7607
+ align-items: center;
7608
+ margin-top: 4px;
7609
+ `;
7610
+ const LimitCharsExceededMessage = styled__default["default"].span `
7611
+ color: #a50000;
7612
+ font-size: 12px;
7613
+ margin-left: 5px;
7614
+ `;
7615
+
7504
7616
  function AddImpedimentoModal({ isOpen, onClose, onSaveBtn, anchor }) {
7505
7617
  const [text, setText] = React.useState('');
7618
+ const limitCaraterersImpediments = 365;
7506
7619
  const handleClose = () => {
7507
7620
  setText('');
7508
7621
  onClose();
@@ -7517,7 +7630,12 @@ function AddImpedimentoModal({ isOpen, onClose, onSaveBtn, anchor }) {
7517
7630
  }, transformOrigin: {
7518
7631
  horizontal: 'right',
7519
7632
  vertical: 'top'
7520
- }, children: jsxRuntime.jsxs(ContainerModal, { children: [jsxRuntime.jsx(TextField, { value: text, onChange: (e) => setText(e.target.value), placeholder: 'Sugira o impedimento aqui' }), jsxRuntime.jsx(Button$4, { label: 'Salvar', variant: 'expandedPrimary', disabled: text === '', handleClick: handleSave })] }) }));
7633
+ }, children: jsxRuntime.jsxs(ContainerModal, { children: [jsxRuntime.jsxs("div", { style: { width: '100%' }, children: [jsxRuntime.jsx(TextField, { value: text, onChange: (e) => setText(e.target.value), placeholder: "Sugira o impedimento aqui", maxLength: limitCaraterersImpediments }), text?.length >= limitCaraterersImpediments && (jsxRuntime.jsxs("div", { style: {
7634
+ display: 'flex',
7635
+ alignItems: 'flex-start',
7636
+ marginTop: '4px',
7637
+ justifyContent: 'flex-start'
7638
+ }, children: [jsxRuntime.jsx(TagAlert, { color: "#A50000" }), jsxRuntime.jsx(LimitCharsExceededMessage, { children: 'Você atingiu a quantidade máxima de caracteres' })] }))] }), jsxRuntime.jsx(Button$4, { label: "Salvar", variant: "expandedPrimary", disabled: text === '', handleClick: handleSave })] }) }));
7521
7639
  }
7522
7640
 
7523
7641
  const ContainerDropdown = styled__default["default"]('div') `
@@ -7580,6 +7698,7 @@ function ImpedimentosTab({ maxTabs, tabsList, showAddButton, onSaveNewImpediment
7580
7698
  const [isEdit, setIsEdit] = React.useState(false);
7581
7699
  const [editDescription, setEditDescription] = React.useState('');
7582
7700
  const [displayDescription, setDisplayDescription] = React.useState('');
7701
+ const limitCaraterersImpediments = 365;
7583
7702
  const openAddImpedimento = Boolean(addImpedimentoAnchor);
7584
7703
  const openImpedimentoSelect = Boolean(impedimentoSelectAnchor);
7585
7704
  React.useEffect(() => {
@@ -7588,14 +7707,14 @@ function ImpedimentosTab({ maxTabs, tabsList, showAddButton, onSaveNewImpediment
7588
7707
  React.useEffect(() => {
7589
7708
  if (idSelectedTab) {
7590
7709
  if (allTabs?.length > 0) {
7591
- let tab = allTabs?.find(value => value.id == idSelectedTab);
7710
+ let tab = allTabs?.find((value) => value.id == idSelectedTab);
7592
7711
  handleClickTab(tab);
7593
7712
  }
7594
7713
  }
7595
7714
  }, [idSelectedTab]);
7596
7715
  React.useEffect(() => {
7597
7716
  if (allTabs.length > 0) {
7598
- const tabToSelect = allTabs.find(tab => tab.id === currentTab);
7717
+ const tabToSelect = allTabs.find((tab) => tab.id === currentTab);
7599
7718
  setSelectedTab(tabToSelect ? tabToSelect : allTabs[0]);
7600
7719
  setOnShowTabs(allTabs.slice(0, maxTabs));
7601
7720
  setOnHideTabs(allTabs.slice(maxTabs, allTabs.length));
@@ -7617,7 +7736,7 @@ function ImpedimentosTab({ maxTabs, tabsList, showAddButton, onSaveNewImpediment
7617
7736
  };
7618
7737
  const handleClickSelectImpedimento = (impedimento) => {
7619
7738
  //novo Array sem o impedimento selecionado
7620
- let newArray = allTabs.filter(value => value.id !== impedimento.id);
7739
+ let newArray = allTabs.filter((value) => value.id !== impedimento.id);
7621
7740
  //coloca o impedimento selecionado na primeira posição
7622
7741
  newArray.unshift(impedimento);
7623
7742
  //atualiza o array de impedimentos
@@ -7642,6 +7761,16 @@ function ImpedimentosTab({ maxTabs, tabsList, showAddButton, onSaveNewImpediment
7642
7761
  const startEditing = () => {
7643
7762
  setEditDescription(displayDescription);
7644
7763
  };
7764
+ const handleChange = (event) => {
7765
+ if (limitCaraterersImpediments > editDescription?.length ||
7766
+ event.target.value?.length < editDescription?.length) {
7767
+ let newValue = event.target.value;
7768
+ if (newValue.length > limitCaraterersImpediments) {
7769
+ newValue = newValue.substring(0, limitCaraterersImpediments);
7770
+ }
7771
+ setEditDescription(newValue);
7772
+ }
7773
+ };
7645
7774
  React.useEffect(() => {
7646
7775
  if (isEdit) {
7647
7776
  startEditing();
@@ -7653,175 +7782,69 @@ function ImpedimentosTab({ maxTabs, tabsList, showAddButton, onSaveNewImpediment
7653
7782
  setEditDescription(selectedTab.description || '');
7654
7783
  }
7655
7784
  }, [selectedTab]);
7656
- return (jsxRuntime.jsx(styled.ThemeProvider, { theme: FRSTTheme, children: allTabs.length > 0 ?
7657
- jsxRuntime.jsxs(ContainerImpedimentos, { children: [jsxRuntime.jsxs(TabWrapper, { children: [jsxRuntime.jsxs(material.Box, { display: 'flex', alignItems: 'center', children: [onShowTabs.map((item, index) => renderTabs(item, index)), onHideTabs.length > 0 ?
7658
- jsxRuntime.jsx(Tooltip$2, { content: 'Ver todos os impedimentos', direction: 'bottom', delay: 200, style: { textAlign: 'center' }, children: jsxRuntime.jsxs(WrapperImpedimentoSelect, { activeSelect: openImpedimentoSelect, onClick: (e) => setImpedimentoSelectAnchor(e.currentTarget), children: [jsxRuntime.jsxs("p", { children: ["Mais ", onHideTabs.length] }), jsxRuntime.jsx(WrapperSelectIcon, { isOpenSelect: openImpedimentoSelect, children: jsxRuntime.jsx(ArrrowExpandDropdown, {}) })] }) })
7659
- :
7660
- jsxRuntime.jsx(jsxRuntime.Fragment, {})] }), jsxRuntime.jsx(material.Box, { display: 'flex', alignItems: 'center', children: showAddButton ?
7661
- jsxRuntime.jsx(Tooltip$2, { content: 'Sugerir impedimento', direction: 'bottom', delay: 200, style: { textAlign: 'center' }, children: jsxRuntime.jsxs(WrapperAddButton, { activeButton: openAddImpedimento, onClick: handleClickAddImpedimento, children: [jsxRuntime.jsx(AddIcon, {}), jsxRuntime.jsx("p", { children: addButtonText })] }) })
7662
- :
7663
- jsxRuntime.jsx(jsxRuntime.Fragment, {}) })] }), selectedTab?.id ?
7664
- jsxRuntime.jsxs(TabInfoWrapper, { onDoubleClick: () => selectedTab?.showOptions && setIsEdit(true), children: [jsxRuntime.jsx(Tooltip$2, { content: selectedTab?.user_name, direction: 'bottom', delay: 200, style: {
7665
- fontFamily: 'PT Sans',
7666
- fontWeight: 400,
7667
- fontSize: '14px',
7668
- color: 'rgba(117, 117, 117, 1)',
7669
- width: 'fit-content',
7670
- height: '31px',
7671
- top: '8px',
7672
- left: '4px',
7673
- whiteSpace: 'nowrap',
7674
- boxShadow: ' 0px 0px 18px 0px rgba(34, 34, 34, 0.2)'
7675
- }, children: selectedTab.isGoalOwner ?
7676
- jsxRuntime.jsx(material.Box, { border: '2px solid #AD46FF', borderRadius: '50%', onClick: selectedTab?.handleClickAvatar, children: jsxRuntime.jsx(Avatar, { src: selectedTab.avatar, size: '24px', isActiveClick: true }) })
7677
- :
7678
- jsxRuntime.jsx(Avatar, { src: selectedTab.avatar, size: '24px', isActiveClick: true, onClick: selectedTab?.handleClickAvatar }) }), isEdit ?
7679
- jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsx(material.TextField, { placeholder: editDescription, value: editDescription, onChange: (e) => setEditDescription(e.target.value), fullWidth: true, multiline: true, variant: 'standard', InputProps: {
7680
- disableUnderline: true,
7681
- style: {
7682
- fontFamily: 'PT Sans',
7683
- fontSize: '14px',
7684
- lineHeight: 1.3
7685
- }
7686
- }, inputRef: (input) => input && input.focus(), onKeyDown: (event) => {
7687
- if (event.key === 'Enter') {
7688
- handleUpdate();
7689
- }
7690
- if (event.key === 'Escape') {
7691
- handleCancelUpdate();
7692
- }
7693
- }, onBlur: handleUpdate, onFocus: (e) => e.currentTarget.setSelectionRange(e.currentTarget.value.length, e.currentTarget.value.length) }) })
7694
- :
7695
- jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("p", { children: displayDescription }), selectedTab?.showOptions ?
7696
- jsxRuntime.jsx(WrapperMenuMore, { children: jsxRuntime.jsx(MenuMore, { options: [
7697
- ...(selectedTab?.handlePriorize ? [{
7698
- description: 'Priorizar',
7699
- onClick: () => selectedTab?.handlePriorize(selectedTab),
7700
- disabled: !!selectedTab?.disabledPriorize,
7701
- color: !!selectedTab?.disabledPriorize ? "#b7b7b7" : "#222222",
7702
- startIcon: jsxRuntime.jsx(StarPrioritize, { stroke: !!selectedTab?.disabledPriorize ? "#b7b7b7" : "#222222" })
7703
- }] : []),
7704
- ...(selectedTab?.handleEdit ? [{
7705
- description: 'Editar',
7706
- onClick: () => setIsEdit(true),
7707
- startIcon: jsxRuntime.jsx(EditHipoteses, {})
7708
- }] : []),
7709
- ...(selectedTab?.handleDelete ? [{
7710
- description: 'Excluir',
7711
- onClick: () => selectedTab?.handleDelete(selectedTab),
7712
- startIcon: jsxRuntime.jsx(TrashHipoteses, {}),
7713
- color: '#C00F00'
7714
- }] : []),
7715
- ], closeAfterClick: true, isContainerOptions: true }) })
7716
- :
7717
- jsxRuntime.jsx(jsxRuntime.Fragment, {})] })] })
7718
- :
7719
- jsxRuntime.jsx(jsxRuntime.Fragment, {}), jsxRuntime.jsx(AddImpedimentoModal, { isOpen: openAddImpedimento, anchor: addImpedimentoAnchor, onClose: () => setAddImpedimentoAnchor(null), onSaveBtn: handleSaveNewImpedimento }), jsxRuntime.jsx(Dropdown$1, { isOpen: openImpedimentoSelect, anchor: impedimentoSelectAnchor, onClose: () => setImpedimentoSelectAnchor(null), impedimentoList: onHideTabs, maxTabs: maxTabs, onClickImpedimento: handleClickSelectImpedimento })] })
7720
- :
7721
- jsxRuntime.jsx(jsxRuntime.Fragment, {}) }));
7785
+ return (jsxRuntime.jsx(styled.ThemeProvider, { theme: FRSTTheme, children: allTabs.length > 0 ? (jsxRuntime.jsxs(ContainerImpedimentos, { children: [jsxRuntime.jsxs(TabWrapper, { children: [jsxRuntime.jsxs(material.Box, { display: 'flex', alignItems: 'center', children: [onShowTabs.map((item, index) => renderTabs(item, index)), onHideTabs.length > 0 ? (jsxRuntime.jsx(Tooltip$2, { content: "Ver todos os impedimentos", direction: "bottom", delay: 200, style: { textAlign: 'center' }, children: jsxRuntime.jsxs(WrapperImpedimentoSelect, { activeSelect: openImpedimentoSelect, onClick: (e) => setImpedimentoSelectAnchor(e.currentTarget), children: [jsxRuntime.jsxs("p", { children: ["Mais ", onHideTabs.length] }), jsxRuntime.jsx(WrapperSelectIcon, { isOpenSelect: openImpedimentoSelect, children: jsxRuntime.jsx(ArrrowExpandDropdown, {}) })] }) })) : (jsxRuntime.jsx(jsxRuntime.Fragment, {}))] }), jsxRuntime.jsx(material.Box, { display: 'flex', alignItems: 'center', children: showAddButton ? (jsxRuntime.jsx(Tooltip$2, { content: "Sugerir impedimento", direction: "bottom", delay: 200, style: { textAlign: 'center' }, children: jsxRuntime.jsxs(WrapperAddButton, { activeButton: openAddImpedimento, onClick: handleClickAddImpedimento, children: [jsxRuntime.jsx(AddIcon, {}), jsxRuntime.jsx("p", { children: addButtonText })] }) })) : (jsxRuntime.jsx(jsxRuntime.Fragment, {})) })] }), selectedTab?.id ? (jsxRuntime.jsxs(TabInfoWrapper, { onDoubleClick: () => selectedTab?.showOptions && setIsEdit(true), children: [jsxRuntime.jsx(Tooltip$2, { content: selectedTab?.user_name, direction: "bottom", delay: 200, style: {
7786
+ fontFamily: 'PT Sans',
7787
+ fontWeight: 400,
7788
+ fontSize: '14px',
7789
+ color: 'rgba(117, 117, 117, 1)',
7790
+ width: 'fit-content',
7791
+ height: '31px',
7792
+ top: '8px',
7793
+ left: '4px',
7794
+ whiteSpace: 'nowrap',
7795
+ boxShadow: ' 0px 0px 18px 0px rgba(34, 34, 34, 0.2)'
7796
+ }, children: selectedTab.isGoalOwner ? (jsxRuntime.jsx(material.Box, { border: '2px solid #AD46FF', borderRadius: '50%', onClick: selectedTab?.handleClickAvatar, children: jsxRuntime.jsx(Avatar, { src: selectedTab.avatar, size: "24px", isActiveClick: true }) })) : (jsxRuntime.jsx(Avatar, { src: selectedTab.avatar, size: "24px", isActiveClick: true, onClick: selectedTab?.handleClickAvatar })) }), isEdit ? (jsxRuntime.jsxs("div", { style: { width: '100%' }, children: [jsxRuntime.jsx(material.TextField, { placeholder: editDescription, value: editDescription, onChange: handleChange, fullWidth: true, multiline: true, variant: "standard", InputProps: {
7797
+ disableUnderline: true,
7798
+ style: {
7799
+ fontFamily: 'PT Sans',
7800
+ fontSize: '14px',
7801
+ lineHeight: 1.3
7802
+ }
7803
+ }, inputRef: (input) => input && input.focus(), onKeyDown: (event) => {
7804
+ if (event.key === 'Enter') {
7805
+ handleUpdate();
7806
+ }
7807
+ if (event.key === 'Escape') {
7808
+ handleCancelUpdate();
7809
+ }
7810
+ }, onBlur: handleUpdate, onFocus: (e) => e.currentTarget.setSelectionRange(e.currentTarget.value.length, e.currentTarget.value.length) }), editDescription?.length >= limitCaraterersImpediments && (jsxRuntime.jsxs(LimitCharsContainer, { children: [jsxRuntime.jsx(TagAlert, { color: "#A50000" }), jsxRuntime.jsx(LimitCharsExceededMessage, { children: 'Você atingiu a quantidade máxima de caracteres' })] }))] })) : (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("p", { children: displayDescription }), selectedTab?.showOptions ? (jsxRuntime.jsx(WrapperMenuMore, { children: jsxRuntime.jsx(MenuMore, { options: [
7811
+ ...(selectedTab?.handlePriorize
7812
+ ? [
7813
+ {
7814
+ description: 'Priorizar',
7815
+ onClick: () => selectedTab?.handlePriorize(selectedTab),
7816
+ disabled: !!selectedTab?.disabledPriorize,
7817
+ color: !!selectedTab?.disabledPriorize
7818
+ ? '#b7b7b7'
7819
+ : '#222222',
7820
+ startIcon: (jsxRuntime.jsx(StarPrioritize, { stroke: !!selectedTab?.disabledPriorize
7821
+ ? '#b7b7b7'
7822
+ : '#222222' }))
7823
+ }
7824
+ ]
7825
+ : []),
7826
+ ...(selectedTab?.handleEdit
7827
+ ? [
7828
+ {
7829
+ description: 'Editar',
7830
+ onClick: () => setIsEdit(true),
7831
+ startIcon: jsxRuntime.jsx(EditHipoteses, {})
7832
+ }
7833
+ ]
7834
+ : []),
7835
+ ...(selectedTab?.handleDelete
7836
+ ? [
7837
+ {
7838
+ description: 'Excluir',
7839
+ onClick: () => selectedTab?.handleDelete(selectedTab),
7840
+ startIcon: jsxRuntime.jsx(TrashHipoteses, {}),
7841
+ color: '#C00F00'
7842
+ }
7843
+ ]
7844
+ : [])
7845
+ ], closeAfterClick: true, isContainerOptions: true }) })) : (jsxRuntime.jsx(jsxRuntime.Fragment, {}))] }))] })) : (jsxRuntime.jsx(jsxRuntime.Fragment, {})), jsxRuntime.jsx(AddImpedimentoModal, { isOpen: openAddImpedimento, anchor: addImpedimentoAnchor, onClose: () => setAddImpedimentoAnchor(null), onSaveBtn: handleSaveNewImpedimento }), jsxRuntime.jsx(Dropdown$1, { isOpen: openImpedimentoSelect, anchor: impedimentoSelectAnchor, onClose: () => setImpedimentoSelectAnchor(null), impedimentoList: onHideTabs, maxTabs: maxTabs, onClickImpedimento: handleClickSelectImpedimento })] })) : (jsxRuntime.jsx(jsxRuntime.Fragment, {})) }));
7722
7846
  }
7723
7847
 
7724
- const backgroundColors$2 = {
7725
- hypothesis: {
7726
- prioritize: '#FAB637',
7727
- owner: '#f8d784',
7728
- suggested: '#FBEECF',
7729
- },
7730
- impediment: {
7731
- prioritize: '#D2ADE3',
7732
- owner: '#E5CBF1',
7733
- suggested: '#EFE1F6',
7734
- }
7735
- };
7736
- const separatorColors = {
7737
- hypothesis: {
7738
- prioritize: '#CF8E11',
7739
- owner: '#C8A561',
7740
- suggested: '#E1CCA5',
7741
- },
7742
- impediment: {
7743
- prioritize: '#AA83C3',
7744
- owner: '#BF9AD6',
7745
- suggested: '#DAB4EC',
7746
- }
7747
- };
7748
- const borderAvatar = {
7749
- hypothesis: {
7750
- prioritize: '#C48000',
7751
- owner: '#EE9F08',
7752
- suggested: '#EE9F08',
7753
- },
7754
- impediment: {
7755
- prioritize: '#AD46FF',
7756
- owner: '#AD46FF',
7757
- suggested: '#AD46FF',
7758
- }
7759
- };
7760
- const MainContainer = styled__default["default"].div `
7761
- display: flex;
7762
- align-items: center;
7763
- justify-content: space-between;
7764
- width: 100%;
7765
- min-height: 56px;
7766
- color: #222222;
7767
- box-sizing: border-box;
7768
- `;
7769
- const ContainerHypotheis = styled__default["default"].div `
7770
- width: 100%;
7771
- display: flex;
7772
- justify-content: space-between;
7773
- font-family: PT Sans;
7774
- font-size: 14px;
7775
- border-radius: 8px;
7776
-
7777
- ${({ type, variant }) => {
7778
- const backgroundColor = backgroundColors$2[variant][type];
7779
- return styled.css `
7780
- background: ${backgroundColor};
7781
- `;
7782
- }}
7783
- `;
7784
- const SplitContainerDescription = styled__default["default"].div `
7785
- display: flex;
7786
- justify-content: flex-start;
7787
- align-items: center;
7788
- padding: 10px 16px 10px 0px;
7789
- gap: 16px;
7790
- height: 100%;
7791
- width: 100%;
7792
- `;
7793
- styled__default["default"].div `
7794
- height: 24px;
7795
- width: 1px;
7796
- margin-left: 14px;
7797
- margin-right: 14px;
7798
- ${({ type, variant }) => {
7799
- const border = separatorColors[variant][type];
7800
- return styled.css `
7801
- border: 1px solid ${border};
7802
- `;
7803
- }}
7804
- `;
7805
- const Title$6 = styled__default["default"].span `
7806
- font-weight: 700;
7807
- white-space: nowrap;
7808
- `;
7809
- const Description$4 = styled__default["default"].span `
7810
- font-weight: 400;
7811
- display: flex;
7812
- flex-grow: 1;
7813
- flex-wrap: wrap;
7814
- align-items: center;
7815
- padding: 6px 16px 6px 16px;
7816
-
7817
- ${({ type, variant }) => {
7818
- const border = separatorColors[variant][type];
7819
- return styled.css `
7820
- border-left: 1px solid ${border};
7821
- `;
7822
- }}
7823
- `;
7824
-
7825
7848
  const backgroundColors$1 = {
7826
7849
  hypothesis: {
7827
7850
  prioritize: '#EE9F08',
@@ -8017,44 +8040,45 @@ const Voting = ({ type, voteText, onDeleteVote, onChangeVote, votersList, onVote
8017
8040
  jsxRuntime.jsxs("div", { onClick: handleChangeVote, children: [jsxRuntime.jsx(SwitchVoteIcon, {}), "Trocar voto"] })] })) : (jsxRuntime.jsxs("span", { children: [votersList?.length, " ", votersList?.length > 1 ? 'votos' : 'voto'] })) })] })) : (jsxRuntime.jsx(ContainerVoting, { type: type, children: jsxRuntime.jsxs(ContainerTitleVoting, { onClick: onVote, children: [jsxRuntime.jsx(NewVoteIcon, {}), jsxRuntime.jsx(TitleVoting, { children: voteText })] }) })) }));
8018
8041
  };
8019
8042
 
8020
- const HypothesisAndImpediment = ({ description, variant, type, avatar, id, index, authorGoalId, // id do dono do desafio
8021
- userLoggedId, authorName, // nome autor da hipotese ou do impedimento
8022
- handleViewProfile, authorId, // id do autor do impedimento ou da hipotese
8023
- hasVoting, voteHasAlreadyBeenRegistered, isVotedByUserLogged, voteText, onDeleteVote, onChangeVote, votersList, onDeleteHipotesisOrImpediment, onSaveEditHipotesisOrImpediment, hasEditHipotesisOrImpediment, onVote, onPrioritize, onDown, onUp, hasUpdownButtons, onClickAction, onAddActions, hasAddActions, popperStyle }) => {
8043
+ const HypothesisAndImpediment = ({ description, variant, type, avatar, id, index, authorGoalId, userLoggedId, authorName, handleViewProfile, authorId, hasVoting, voteHasAlreadyBeenRegistered, isVotedByUserLogged, voteText, onDeleteVote, onChangeVote, votersList, onDeleteHipotesisOrImpediment, onSaveEditHipotesisOrImpediment, hasEditHipotesisOrImpediment, onVote, onPrioritize, onDown, onUp, hasUpdownButtons, onClickAction, onAddActions, hasAddActions, popperStyle }) => {
8024
8044
  const [editDescription, setEditDescription] = React.useState(description);
8025
8045
  const [isEditing, setIsEditing] = React.useState(false);
8026
8046
  const isOwnerGoal = authorGoalId === authorId;
8047
+ const limitCaraterers = variant === 'impediment' ? 365 : 200;
8048
+ const [isLimitExceeded, setIsLimitExceeded] = React.useState(false);
8027
8049
  const options = [
8028
- hasUpdownButtons && userLoggedId === authorGoalId &&
8029
- ({
8030
- startIcon: jsxRuntime.jsx(StarPrioritize, { stroke: type === 'prioritize' ? "#9C9C9C" : "#222222" }),
8031
- description: 'Priorizar',
8032
- onClick: () => onPrioritize(id),
8033
- disabled: type === 'prioritize',
8034
- color: type === 'prioritize' ? '#9C9C9C' : '#222222'
8035
- }),
8050
+ hasUpdownButtons &&
8051
+ userLoggedId === authorGoalId && {
8052
+ startIcon: jsxRuntime.jsx(StarPrioritize, { stroke: type === 'prioritize' ? '#9C9C9C' : '#222222' }),
8053
+ description: 'Priorizar',
8054
+ onClick: () => onPrioritize(id),
8055
+ disabled: type === 'prioritize',
8056
+ color: type === 'prioritize' ? '#9C9C9C' : '#222222'
8057
+ },
8036
8058
  {
8037
8059
  startIcon: jsxRuntime.jsx(EditHipoteses, {}),
8038
8060
  description: 'Editar',
8039
8061
  onClick: (e) => setIsEditing(true)
8040
8062
  },
8041
- hasAddActions &&
8042
- ({
8043
- startIcon: jsxRuntime.jsx(AddAction, {}),
8044
- description: 'Adicionar ações',
8045
- onClick: () => onAddActions(id),
8046
- color: '#222222'
8047
- }),
8063
+ hasAddActions && {
8064
+ startIcon: jsxRuntime.jsx(AddAction, {}),
8065
+ description: 'Adicionar ações',
8066
+ onClick: () => onAddActions(id),
8067
+ color: '#222222'
8068
+ },
8048
8069
  {
8049
8070
  startIcon: jsxRuntime.jsx(TrashHipoteses, {}),
8050
8071
  description: 'Excluir',
8051
8072
  onClick: () => onDeleteHipotesisOrImpediment(id),
8052
8073
  color: '#C00F00'
8053
8074
  }
8054
- ].filter(item => item);
8075
+ ].filter((item) => item);
8055
8076
  React.useEffect(() => {
8056
8077
  setEditDescription(description);
8057
8078
  }, [description]);
8079
+ React.useEffect(() => {
8080
+ editDescription?.length >= limitCaraterers ? setIsLimitExceeded(true) : setIsLimitExceeded(false);
8081
+ }, [editDescription]);
8058
8082
  const title = React.useMemo(() => {
8059
8083
  if (type === 'prioritize' && variant === 'hypothesis')
8060
8084
  return 'HIPÓTESE PRIORIZADA';
@@ -8099,7 +8123,13 @@ hasVoting, voteHasAlreadyBeenRegistered, isVotedByUserLogged, voteText, onDelete
8099
8123
  };
8100
8124
  const inputRef = React.useRef(null);
8101
8125
  const handleChange = (event) => {
8102
- setEditDescription(event.target.value);
8126
+ if (limitCaraterers > editDescription?.length || event.target.value?.length < editDescription?.length) {
8127
+ let newValue = event.target.value;
8128
+ if (newValue.length > limitCaraterers) {
8129
+ newValue = newValue.substring(0, limitCaraterers);
8130
+ }
8131
+ setEditDescription(newValue);
8132
+ }
8103
8133
  };
8104
8134
  const handleKeyDown = (event) => {
8105
8135
  if (event.key === 'Enter') {
@@ -8116,47 +8146,43 @@ hasVoting, voteHasAlreadyBeenRegistered, isVotedByUserLogged, voteText, onDelete
8116
8146
  }, 200);
8117
8147
  }
8118
8148
  }, [isEditing]);
8119
- return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsx(MainContainer, { children: jsxRuntime.jsxs(ContainerHypotheis, { type: type, variant: variant, children: [hasUpdownButtons &&
8120
- jsxRuntime.jsx(UpDownButtons, { type: type, variant: variant, onDownClick: () => onDown(id, index), onUpClick: () => onUp(id, index) }), jsxRuntime.jsxs(SplitContainerDescription, { children: [jsxRuntime.jsx(Tooltip$2, { content: authorName, direction: 'bottom', style: {
8121
- fontFamily: 'PT Sans',
8122
- fontWeight: 400,
8123
- fontSize: '14px',
8124
- color: 'rgba(117, 117, 117, 1)',
8125
- width: 'fit-content',
8126
- height: '31px',
8127
- top: '8px',
8128
- left: '4px',
8129
- whiteSpace: 'nowrap',
8130
- boxShadow: ' 0px 0px 18px 0px rgba(34, 34, 34, 0.2)'
8131
- }, children: jsxRuntime.jsx(Avatar, { src: avatar, size: isOwnerGoal ? '24px' : '24px', border: avatarBorder, style: { cursor: 'pointer', marginLeft: '16px' }, onClick: () => handleViewProfile(authorId) }) }), jsxRuntime.jsx(Title$6, { children: title }), jsxRuntime.jsx(Description$4, { type: type, variant: variant, onClick: handleClickAction, onDoubleClick: () => {
8132
- if (clickTimeoutRef.current) {
8133
- clearTimeout(clickTimeoutRef.current);
8134
- }
8135
- if (hasEditHipotesisOrImpediment)
8136
- setIsEditing(true);
8137
- }, style: { height: isEditing ? "auto" : "fit-content" }, children: isEditing ?
8138
- jsxRuntime.jsx(material.TextField, { inputRef: inputRef, value: editDescription, onBlur: handleSaveDescription, onChange: handleChange, onKeyDown: handleKeyDown, multiline: true, fullWidth: true, variant: 'standard', InputProps: {
8149
+ return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(MainContainer, { children: jsxRuntime.jsxs(ContainerHypotheis, { type: type, variant: variant, children: [hasUpdownButtons && (jsxRuntime.jsx(UpDownButtons, { type: type, variant: variant, onDownClick: () => onDown(id, index), onUpClick: () => onUp(id, index) })), jsxRuntime.jsxs(SplitContainerDescription, { children: [jsxRuntime.jsx(Tooltip$2, { content: authorName, direction: 'bottom', style: {
8150
+ fontFamily: 'PT Sans',
8151
+ fontWeight: 400,
8152
+ fontSize: '14px',
8153
+ color: 'rgba(117, 117, 117, 1)',
8154
+ width: 'fit-content',
8155
+ height: '31px',
8156
+ top: '8px',
8157
+ left: '4px',
8158
+ whiteSpace: 'nowrap',
8159
+ boxShadow: ' 0px 0px 18px 0px rgba(34, 34, 34, 0.2)'
8160
+ }, children: jsxRuntime.jsx(Avatar, { src: avatar, size: isOwnerGoal ? '24px' : '24px', border: avatarBorder, style: { cursor: 'pointer', marginLeft: '16px' }, onClick: () => handleViewProfile(authorId) }) }), jsxRuntime.jsx(Title$6, { children: title }), jsxRuntime.jsx(Description$4, { type: type, variant: variant, onClick: handleClickAction, onDoubleClick: () => {
8161
+ if (clickTimeoutRef.current) {
8162
+ clearTimeout(clickTimeoutRef.current);
8163
+ }
8164
+ if (hasEditHipotesisOrImpediment)
8165
+ setIsEditing(true);
8166
+ }, style: { height: isEditing ? 'auto' : 'fit-content' }, children: isEditing ? (jsxRuntime.jsx(material.TextField, { inputRef: inputRef, value: editDescription, onBlur: handleSaveDescription, onChange: handleChange, onKeyDown: handleKeyDown, multiline: true, fullWidth: true, variant: "standard", InputProps: {
8139
8167
  disableUnderline: true,
8140
8168
  style: {
8141
8169
  fontFamily: 'PT Sans',
8142
8170
  fontSize: '14px',
8143
8171
  lineHeight: 1.3
8144
- },
8145
- }, onFocus: (e) => e.currentTarget.setSelectionRange(e.currentTarget.value.length, e.currentTarget.value.length) })
8146
- :
8147
- jsxRuntime.jsx(Tooltip$2, { content: 'Clique na hipótese para ver as ações vinculadas', direction: 'bottom', wrapperWidth: '100%', style: {
8148
- fontFamily: 'PT Sans',
8149
- fontWeight: 400,
8150
- fontSize: '14px',
8151
- color: '#757575',
8152
- width: '171px',
8153
- height: '52px',
8154
- top: '8px',
8155
- left: '4px',
8156
- whiteSpace: 'wrap',
8157
- boxShadow: ' 0px 25px 18px -20px #22222233;',
8158
- display: variant === 'impediment' || isEditing ? 'none' : 'block'
8159
- }, children: jsxRuntime.jsx("div", { style: { width: '100%', overflow: 'hidden' }, children: editDescription }) }) }), !isEditing && hasVoting && (jsxRuntime.jsx(Voting, { voteText: voteText, type: type, onDeleteVote: onDeleteVote, votersList: votersList, onVote: () => onVote(id), onChangeVote: () => onChangeVote(id), isVotedByUserLogged: isVotedByUserLogged, voteHasAlreadyBeenRegistered: voteHasAlreadyBeenRegistered, popperStyle: popperStyle })), !isEditing && validHasEditHipotesisOrImpediment && (jsxRuntime.jsx(MenuMore, { options: options, isContainerOptions: true, closeAfterClick: true }))] })] }) }) }));
8172
+ }
8173
+ }, onFocus: (e) => e.currentTarget.setSelectionRange(e.currentTarget.value.length, e.currentTarget.value.length) })) : (jsxRuntime.jsx(Tooltip$2, { content: 'Clique na hipótese para ver as ações vinculadas', direction: 'bottom', wrapperWidth: "100%", style: {
8174
+ fontFamily: 'PT Sans',
8175
+ fontWeight: 400,
8176
+ fontSize: '14px',
8177
+ color: '#757575',
8178
+ width: '171px',
8179
+ height: '52px',
8180
+ top: '8px',
8181
+ left: '4px',
8182
+ whiteSpace: 'wrap',
8183
+ boxShadow: ' 0px 25px 18px -20px #22222233;',
8184
+ display: variant === 'impediment' || isEditing ? 'none' : 'block'
8185
+ }, children: jsxRuntime.jsx("div", { style: { width: '100%', overflow: 'hidden' }, children: editDescription }) })) }), !isEditing && hasVoting && (jsxRuntime.jsx(Voting, { voteText: voteText, type: type, onDeleteVote: onDeleteVote, votersList: votersList, onVote: () => onVote(id), onChangeVote: () => onChangeVote(id), isVotedByUserLogged: isVotedByUserLogged, voteHasAlreadyBeenRegistered: voteHasAlreadyBeenRegistered, popperStyle: popperStyle })), !isEditing && validHasEditHipotesisOrImpediment && (jsxRuntime.jsx(MenuMore, { options: options, isContainerOptions: true, closeAfterClick: true }))] })] }) }), isEditing && isLimitExceeded && (jsxRuntime.jsxs(LimitCharsContainer, { children: [jsxRuntime.jsx(TagAlert, { color: "#A50000" }), jsxRuntime.jsx(LimitCharsExceededMessage, { children: 'Você atingiu a quantidade máxima de caracteres' })] }))] }));
8160
8186
  };
8161
8187
 
8162
8188
  const MESSAGES = {
@@ -23,4 +23,6 @@ export declare const Description: import("styled-components").StyledComponent<"s
23
23
  type: string;
24
24
  variant: string;
25
25
  }, never>;
26
+ export declare const LimitCharsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
27
+ export declare const LimitCharsExceededMessage: import("styled-components").StyledComponent<"span", any, {}, never>;
26
28
  //# sourceMappingURL=hypothesisAndImpediment.style.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hypothesisAndImpediment.style.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/hypotesisAndImpediment/hypothesisAndImpediment.style.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AA4B9D,eAAO,MAAM,YAAY;;;;;;;;;;;CAWxB,CAAA;AAED,eAAO,MAAM,aAAa,oEAQzB,CAAA;AAED,eAAO,MAAM,kBAAkB,mFAc9B,CAAA;AAED,eAAO,MAAM,yBAAyB,oEAQrC,CAAA;AAGD,eAAO,MAAM,SAAS;UAAsB,MAAM;aAAW,MAAM;SAWlE,CAAA;AACD,eAAO,MAAM,KAAK,qEAGjB,CAAA;AACD,eAAO,MAAM,WAAW;UAAuB,MAAM;aAAW,MAAM;SAcrE,CAAA"}
1
+ {"version":3,"file":"hypothesisAndImpediment.style.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/hypotesisAndImpediment/hypothesisAndImpediment.style.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AA4B7D,eAAO,MAAM,YAAY;;;;;;;;;;;CAWxB,CAAA;AAED,eAAO,MAAM,aAAa,oEAQzB,CAAA;AAED,eAAO,MAAM,kBAAkB,mFAc9B,CAAA;AAED,eAAO,MAAM,yBAAyB,oEAQrC,CAAA;AAED,eAAO,MAAM,SAAS;UAAsB,MAAM;aAAW,MAAM;SAWlE,CAAA;AACD,eAAO,MAAM,KAAK,qEAGjB,CAAA;AACD,eAAO,MAAM,WAAW;UAAuB,MAAM;aAAW,MAAM;SAcrE,CAAA;AAED,eAAO,MAAM,mBAAmB,oEAK/B,CAAA;AAED,eAAO,MAAM,yBAAyB,qEAIrC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/hypotesisAndImpediment/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iCAAiC,EAAE,MAAM,2BAA2B,CAAA;AAW7E,eAAO,MAAM,uBAAuB,wbA+BjC,iCAAiC,4CA0PnC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/hypotesisAndImpediment/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iCAAiC,EAAE,MAAM,2BAA2B,CAAA;AAY7E,eAAO,MAAM,uBAAuB,wbA+BjC,iCAAiC,4CAsQnC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/impedimentosTab/addImpedimentoModal/index.tsx"],"names":[],"mappings":"AAQA,UAAU,UAAU;IAChB,MAAM,EAAE,OAAO,CAAA;IACf,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,MAAM,EAAE,cAAc,GAAG,IAAI,CAAA;CAChC;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,EACxC,MAAM,EACN,OAAO,EACP,SAAS,EACT,MAAM,EACT,EAAE,UAAU,2CA2CZ"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/impedimentosTab/addImpedimentoModal/index.tsx"],"names":[],"mappings":"AAWA,UAAU,UAAU;IAChB,MAAM,EAAE,OAAO,CAAA;IACf,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,MAAM,EAAE,cAAc,GAAG,IAAI,CAAA;CAChC;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,UAAU,2CA0D7F"}
@@ -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,EACV,aAAa,EAChB,EAAE,oBAAoB,2CAkRtB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/impedimentosTab/index.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,oBAAoB,EAAW,MAAM,mBAAmB,CAAA;AAejE,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACpC,OAAO,EACP,QAAQ,EACR,aAAa,EACb,oBAAoB,EACpB,aAAa,EACb,aAAa,EACb,UAAU,EACV,aAAa,EAChB,EAAE,oBAAoB,2CAqUtB"}
@@ -1 +1 @@
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,2dAiC5B,yBAAyB,4CAsH3B,CAAA"}
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,2dAiC5B,yBAAyB,4CAsH3B,CAAA"}
@@ -1 +1 @@
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
+ {"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":["../../../../../../../src/components/FI/ThreadComments/utilitiesComponents/inputReply/inputReply.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,oEAI1B,CAAA;AAED,eAAO,MAAM,SAAS,oEAGrB,CAAA"}
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":["../../../../../../../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
+ {"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":["../../../../../../../src/components/IJ/learningCycleCard/components/menu/menuStyle.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,oEAuBxB,CAAA"}
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":["../../../../../../../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
+ {"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":["../../../../../../../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
+ {"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":["../../../../../../../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
+ {"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":["../../../../../../../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,sEAGvB,CAAC;AAEF,eAAO,MAAM,UAAU,mEAEtB,CAAC;AAEF,eAAO,MAAM,iBAAiB,sFAY7B,CAAC"}
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,sEAGvB,CAAC;AAEF,eAAO,MAAM,UAAU,mEAEtB,CAAC;AAEF,eAAO,MAAM,iBAAiB,sFAY7B,CAAC"}
@@ -1 +1 @@
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"}
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"}
@@ -1 +1 @@
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,EACvC,GAAG,EACH,aAAa,EACb,qBAAqB,EACrB,IAAI,EACJ,KAAK,EACL,aAAa,EACb,QAAQ,EACX,EAAE,mBAAmB,2CA8CrB"}
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,EACvC,GAAG,EACH,aAAa,EACb,qBAAqB,EACrB,IAAI,EACJ,KAAK,EACL,aAAa,EACb,QAAQ,EACX,EAAE,mBAAmB,2CA8CrB"}
@@ -1 +1 @@
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
+ {"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":["../../../../../../../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"}
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"}
@@ -1 +1 @@
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
+ {"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":["../../../../../../../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
+ {"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":["../../../../../../../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"}
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"}
@@ -1 +1 @@
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"}
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"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "frst-components",
3
3
  "homepage": "http://FRST-Falconi.github.io/storybook.frstfalconi.com",
4
- "version": "0.25.6",
4
+ "version": "0.25.8",
5
5
  "private": false,
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",