frst-components 0.25.7 → 0.25.9

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 +229 -192
  2. package/dist/src/components/DS/impedimentosTab/addImpedimentoModal/index.d.ts.map +1 -1
  3. package/dist/src/components/DS/impedimentosTab/index.d.ts.map +1 -1
  4. package/dist/src/components/DS/progressGoalBar/index.d.ts.map +1 -1
  5. package/dist/src/components/DS/progressGoalBar/useProgressGoalBar.d.ts +1 -0
  6. package/dist/src/components/DS/progressGoalBar/useProgressGoalBar.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
@@ -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,186 +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
- const LimitCharsContainer = styled__default["default"].div `
7825
- display: flex;
7826
- justify-content: flex-start;
7827
- align-items: center;
7828
- margin-top: 4px;
7829
- `;
7830
- const LimitCharsExceededMessage = styled__default["default"].span `
7831
- color: #a50000;
7832
- font-size: 12px;
7833
- margin-left: 5px;
7834
- `;
7835
-
7836
7848
  const backgroundColors$1 = {
7837
7849
  hypothesis: {
7838
7850
  prioritize: '#EE9F08',
@@ -8187,8 +8199,20 @@ const MESSAGES = {
8187
8199
  TextoGoalDefault: jsxRuntime.jsx("div", { children: "META" })
8188
8200
  };
8189
8201
 
8190
- function toRange(start, middle, end) {
8191
- return ((middle - start) / (end - start)) * 100;
8202
+ function toRange(start, end, current) {
8203
+ if (start === end) {
8204
+ return 25;
8205
+ }
8206
+ let porcentagem = ((current - start) / (end - start)) * 100;
8207
+ if (porcentagem > 75) {
8208
+ return 75;
8209
+ }
8210
+ else if (porcentagem < 28) {
8211
+ return 28;
8212
+ }
8213
+ else {
8214
+ return porcentagem;
8215
+ }
8192
8216
  }
8193
8217
  var CurrentVariant;
8194
8218
  (function (CurrentVariant) {
@@ -8206,6 +8230,7 @@ const useProgressGoalBar = ({ start, current, goal }) => {
8206
8230
  const resultEvolved = (start < goal && currentValue > start && currentValue);
8207
8231
  const stabilizeExceeding = (start === goal && currentValue > start && currentValue > goal);
8208
8232
  const stabilize = (start === goal && currentValue === goal && start === currentValue);
8233
+ const stabilizeDecreased = (current < start && goal == start);
8209
8234
  const isGoalDecreased = start > goal && currentValue == goal;
8210
8235
  const isGoalIncrease = start < goal && currentValue > start && currentValue == goal;
8211
8236
  // Cálculo do progresso
@@ -8258,7 +8283,7 @@ const useProgressGoalBar = ({ start, current, goal }) => {
8258
8283
  TextoGoalDefault: MESSAGES?.TextoGoalDefault
8259
8284
  };
8260
8285
  //stabilizeExceeding
8261
- if (start === goal && currentValue > start && currentValue > goal)
8286
+ if (start === goal && currentValue > start)
8262
8287
  return {
8263
8288
  start: 0,
8264
8289
  current: 100,
@@ -8281,12 +8306,23 @@ const useProgressGoalBar = ({ start, current, goal }) => {
8281
8306
  currentTextInit: MESSAGES?.currentTextInit,
8282
8307
  textGoal: MESSAGES.textGoal
8283
8308
  };
8309
+ if (start === goal && currentValue < start)
8310
+ return {
8311
+ start: 100,
8312
+ current: 0,
8313
+ goal: 100,
8314
+ barRef: 'start',
8315
+ currentVariant: CurrentVariant?.Warning,
8316
+ message: MESSAGES?.progressNoGoal,
8317
+ currenText: MESSAGES?.currentTextResult,
8318
+ TextoGoalDefault: MESSAGES?.stabilizeExceedingText
8319
+ };
8284
8320
  // exceededTargetDecreased
8285
8321
  if (start > goal && currentValue < goal)
8286
8322
  return {
8287
8323
  start: 0,
8288
8324
  current: 100,
8289
- goal: toRange(start, goal, currentValue),
8325
+ goal: toRange(start, currentValue, goal),
8290
8326
  barRef: 'current',
8291
8327
  currentVariant: CurrentVariant?.Star,
8292
8328
  message: MESSAGES?.progressExceeded,
@@ -8311,7 +8347,7 @@ const useProgressGoalBar = ({ start, current, goal }) => {
8311
8347
  if (start > goal && currentValue > goal && currentValue < start)
8312
8348
  return {
8313
8349
  start: 0,
8314
- current: toRange(start, currentValue, goal),
8350
+ current: toRange(start, goal, currentValue),
8315
8351
  goal: 100,
8316
8352
  barRef: 'current',
8317
8353
  currentVariant: CurrentVariant?.Normal,
@@ -8347,7 +8383,7 @@ const useProgressGoalBar = ({ start, current, goal }) => {
8347
8383
  // noGoalIncrease
8348
8384
  if (start < goal && currentValue < start)
8349
8385
  return {
8350
- start: toRange(currentValue, start, goal),
8386
+ start: toRange(currentValue, goal, start),
8351
8387
  current: 0,
8352
8388
  goal: 100,
8353
8389
  barRef: 'start',
@@ -8360,7 +8396,7 @@ const useProgressGoalBar = ({ start, current, goal }) => {
8360
8396
  // noGoalDecreased
8361
8397
  if (start > goal && currentValue > start)
8362
8398
  return {
8363
- start: toRange(currentValue, start, goal),
8399
+ start: toRange(currentValue, goal, start),
8364
8400
  current: 0,
8365
8401
  goal: 100,
8366
8402
  barRef: 'start',
@@ -8370,7 +8406,7 @@ const useProgressGoalBar = ({ start, current, goal }) => {
8370
8406
  currentTextInit: MESSAGES?.currentTextInit,
8371
8407
  TextoGoalDefault: MESSAGES?.TextoGoalDefault
8372
8408
  };
8373
- }, []);
8409
+ }, [start, goal, currentValue]);
8374
8410
  const isGoalExceeded = React.useMemo(() => positions?.currentVariant == CurrentVariant?.Star, [positions]);
8375
8411
  return {
8376
8412
  progressPercentage,
@@ -8384,6 +8420,7 @@ const useProgressGoalBar = ({ start, current, goal }) => {
8384
8420
  noResult,
8385
8421
  resultEvolved,
8386
8422
  stabilizeExceeding,
8423
+ stabilizeDecreased,
8387
8424
  stabilize,
8388
8425
  isGoalDecreased,
8389
8426
  isGoalIncrease
@@ -8570,7 +8607,7 @@ const TypeProgressText = styled__default["default"].p `
8570
8607
  `;
8571
8608
 
8572
8609
  const ProgressGoalBar = ({ start, current, goal, isVisibleMessage = true }) => {
8573
- const { isGoalExceeded, isGoalReached, positions, noGoal, noResult, resultEvolved, stabilizeExceeding, stabilize, isGoalDecreased, isGoalIncrease } = useProgressGoalBar({
8610
+ const { isGoalExceeded, isGoalReached, positions, noGoal, noResult, resultEvolved, stabilizeExceeding, stabilizeDecreased, stabilize, isGoalDecreased, isGoalIncrease } = useProgressGoalBar({
8574
8611
  start,
8575
8612
  current,
8576
8613
  goal
@@ -8586,7 +8623,7 @@ const ProgressGoalBar = ({ start, current, goal, isVisibleMessage = true }) => {
8586
8623
  return positions?.currentTextInit;
8587
8624
  }
8588
8625
  };
8589
- return (jsxRuntime.jsxs(WrapperProgressGoalBar, { children: [isVisibleMessage && jsxRuntime.jsx(TextUP, { children: positions?.message }), jsxRuntime.jsxs(ProgressGoalBarContainer, { children: [jsxRuntime.jsx(StartIndicator, { position: positions?.start, children: jsxRuntime.jsx(LocalizationIcon, {}) }), jsxRuntime.jsx(IndicatorTextInit, { noResult: noResult, position: positions?.start, isGoalReached: isGoalReached, isGoalExceeded: isGoalExceeded, resultEvolved: resultEvolved, start: positions?.start, stabilize: stabilize, children: jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Number$1, { children: start }), jsxRuntime.jsx(TypeProgressText, { children: getDisplayText() })] }) }), !isGoalReached && (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(CurrentIndicator, { status: positions?.currentVariant, position: positions?.current, children: isGoalExceeded ? jsxRuntime.jsx(StarIcon$1, { color: "white", width: 14, height: 13 }) : jsxRuntime.jsx(ExclamationIcon, {}) }), jsxRuntime.jsx(IndicatorTextCurrent, { position: positions?.current, noGoal: noGoal, noResult: noResult, children: !noResult && (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Number$1, { children: current }), jsxRuntime.jsx(TypeProgressText, { children: positions?.currenText })] })) })] })), jsxRuntime.jsx(EndIndicator, { position: positions?.goal, isGoalExceeded: isGoalExceeded, isGoalReached: isGoalReached, children: jsxRuntime.jsx(GoalIcon, {}) }), jsxRuntime.jsxs(IndicatorText, { position: positions?.goal, stabilize: stabilize, children: [jsxRuntime.jsx(Number$1, { children: !stabilizeExceeding && goal }), jsxRuntime.jsx(TypeProgressText, { children: stabilizeExceeding || stabilize ? positions?.textGoal : positions?.TextoGoalDefault })] }), jsxRuntime.jsx(ProgressBarColor, { isGoalExceeded: isGoalExceeded, width: positions?.[positions?.barRef], hasRegressed: noGoal, isGoalDecreased: isGoalDecreased, isGoalIncrese: isGoalIncrease, stabileze: stabilize })] })] }));
8626
+ return (jsxRuntime.jsxs(WrapperProgressGoalBar, { children: [isVisibleMessage && jsxRuntime.jsx(TextUP, { children: positions?.message }), jsxRuntime.jsxs(ProgressGoalBarContainer, { children: [jsxRuntime.jsx(StartIndicator, { position: positions?.start, children: jsxRuntime.jsx(LocalizationIcon, {}) }), !stabilizeDecreased && jsxRuntime.jsx(IndicatorTextInit, { noResult: noResult, position: positions?.start, isGoalReached: isGoalReached, isGoalExceeded: isGoalExceeded, resultEvolved: resultEvolved, start: positions?.start, stabilize: stabilize, children: jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Number$1, { children: start }), jsxRuntime.jsx(TypeProgressText, { children: getDisplayText() })] }) }), !isGoalReached && (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(CurrentIndicator, { status: positions?.currentVariant, position: positions?.current, children: isGoalExceeded ? jsxRuntime.jsx(StarIcon$1, { color: "white", width: 14, height: 13 }) : jsxRuntime.jsx(ExclamationIcon, {}) }), jsxRuntime.jsx(IndicatorTextCurrent, { position: positions?.current, noGoal: noGoal, noResult: noResult, children: !noResult && (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Number$1, { children: current }), jsxRuntime.jsx(TypeProgressText, { children: positions?.currenText })] })) })] })), jsxRuntime.jsx(EndIndicator, { position: positions?.goal, isGoalExceeded: isGoalExceeded, isGoalReached: isGoalReached, children: jsxRuntime.jsx(GoalIcon, {}) }), jsxRuntime.jsxs(IndicatorText, { position: positions?.goal, stabilize: stabilize || stabilizeDecreased, children: [jsxRuntime.jsx(Number$1, { children: !stabilizeExceeding && goal }), jsxRuntime.jsx(TypeProgressText, { children: stabilizeExceeding || stabilize ? positions?.textGoal : positions?.TextoGoalDefault })] }), jsxRuntime.jsx(ProgressBarColor, { isGoalExceeded: isGoalExceeded, width: positions?.[positions?.barRef], hasRegressed: noGoal, isGoalDecreased: isGoalDecreased, isGoalIncrese: isGoalIncrease, stabileze: stabilize })] })] }));
8590
8627
  };
8591
8628
 
8592
8629
  const ModalContainer = styled__default["default"].div `
@@ -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/DS/progressGoalBar/index.tsx"],"names":[],"mappings":"AAIA,UAAU,oBAAoB;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC7B;AAED,eAAO,MAAM,eAAe,+CAAuD,oBAAoB,4CAgGtG,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/progressGoalBar/index.tsx"],"names":[],"mappings":"AAIA,UAAU,oBAAoB;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC7B;AAED,eAAO,MAAM,eAAe,+CAAuD,oBAAoB,4CAkGtG,CAAA"}
@@ -98,6 +98,7 @@ export declare const useProgressGoalBar: ({ start, current, goal }: {
98
98
  noResult: boolean;
99
99
  resultEvolved: any;
100
100
  stabilizeExceeding: boolean;
101
+ stabilizeDecreased: boolean;
101
102
  stabilize: boolean;
102
103
  isGoalDecreased: boolean;
103
104
  isGoalIncrease: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"useProgressGoalBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/progressGoalBar/useProgressGoalBar.tsx"],"names":[],"mappings":"AAQA,oBAAY,cAAc;IACtB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,IAAI,SAAS;CAChB;AACD,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,CAAA;AAEtF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuN9B,CAAA"}
1
+ {"version":3,"file":"useProgressGoalBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/progressGoalBar/useProgressGoalBar.tsx"],"names":[],"mappings":"AAmBA,oBAAY,cAAc;IACtB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,IAAI,SAAS;CAChB;AACD,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,CAAA;AAEtF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqO9B,CAAA"}
@@ -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.7",
4
+ "version": "0.25.9",
5
5
  "private": false,
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",