@12-apps/ui 6.60.0 → 6.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_internal/components/data-display/Avatar/Avatar.js +3 -3
- package/dist/_internal/components/data-display/Avatar/Avatar.view.js +2 -2
- package/dist/_internal/components/data-display/Badge/Badge.js +2 -2
- package/dist/_internal/components/data-display/Chart/Chart.js +4 -4
- package/dist/_internal/components/data-display/Chart/SpecChart.js +7 -7
- package/dist/_internal/components/data-display/Chart/chart-context.js +2 -2
- package/dist/_internal/components/data-display/Chart/chart-renderers.js +3 -3
- package/dist/_internal/components/data-display/Chart/chart-spec.js +2 -2
- package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +25 -23
- package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +26 -24
- package/dist/_internal/components/data-display/DataViews/base-list-card-geometry.js +6 -4
- package/dist/_internal/components/data-display/DataViews/base-list-card-gutters.js +1 -1
- package/dist/_internal/components/data-display/DataViews/base-list-card-layout.js +7 -5
- package/dist/_internal/components/data-display/DataViews/base-list-card-slots.js +11 -6
- package/dist/_internal/components/data-display/DataViews/base-list-card.js +14 -10
- package/dist/_internal/components/data-display/DataViews/data-views-display-panel.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-export.js +1 -1
- package/dist/_internal/components/data-display/DataViews/data-views-filter-panel.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +5 -3
- package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +20 -18
- package/dist/_internal/components/data-display/DataViews/data-views-inline-bar.js +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-more-fields.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-more-filters.js +5 -5
- package/dist/_internal/components/data-display/DataViews/data-views-range-pill.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-shell-toolbar.js +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +5 -5
- package/dist/_internal/components/data-display/DataViews/list-card-breaks.js +12 -0
- package/dist/_internal/components/data-display/DataViews/list-card-breaks.js.map +1 -0
- package/dist/_internal/components/data-display/DataViews/list-card-cells.js +3 -1
- package/dist/_internal/components/data-display/DataViews/list-card-group-tracks.js +14 -0
- package/dist/_internal/components/data-display/DataViews/list-card-group-tracks.js.map +1 -0
- package/dist/_internal/components/data-display/DataViews/list-card-rails.js +4 -2
- package/dist/_internal/components/data-display/DataViews/use-data-views-state.js +4 -4
- package/dist/_internal/components/data-display/FleetMap/FleetMap.fixtures.js +1 -1
- package/dist/_internal/components/data-display/index.js +15 -15
- package/dist/_internal/components/index.js +22 -22
- package/dist/_internal/components/navigation/SectionNav/SectionNav.bar.js +6 -6
- package/dist/_internal/components/navigation/SectionNav/SectionNav.js +9 -9
- package/dist/_internal/components/navigation/SectionNav/SectionNav.parts.js +3 -3
- package/dist/_internal/components/navigation/SectionNav/SectionNav.primary.js +4 -4
- package/dist/_internal/components/navigation/SectionNav/SectionNav.rail.js +5 -5
- package/dist/_internal/components/navigation/SectionNav/SectionNav.railCreate.js +4 -4
- package/dist/_internal/components/navigation/SectionNav/SectionNav.sheet.js +4 -4
- package/dist/_internal/components/navigation/index.js +9 -9
- package/dist/_internal/en-US.data-display.js +1 -1
- package/dist/_internal/pt-BR.data-display.js +1 -1
- package/dist/_internal/user-avatar/user-avatar.js +4 -4
- package/dist/charts.js +10 -10
- package/dist/{chunk-V4V2N6YJ.js → chunk-36RYXV4R.js} +9 -6
- package/dist/chunk-36RYXV4R.js.map +1 -0
- package/dist/{chunk-W7N4ORCV.js → chunk-3JYCS7VO.js} +5 -5
- package/dist/{chunk-YIKFYWKD.js → chunk-46ZATLQV.js} +3 -3
- package/dist/{chunk-TF27Z27K.js → chunk-4JZ6XDVA.js} +2 -2
- package/dist/{chunk-EDBP62WG.js → chunk-53ACGKBW.js} +3 -3
- package/dist/{chunk-ZWBGQYVO.js → chunk-56PBNYXF.js} +8 -6
- package/dist/chunk-56PBNYXF.js.map +1 -0
- package/dist/{chunk-EWIKSTJV.js → chunk-5WJFCQFN.js} +7 -7
- package/dist/{chunk-WBDQSBLV.js → chunk-5XFJCWPY.js} +5 -5
- package/dist/{chunk-QKAYXAQE.js → chunk-6FAYTKXW.js} +24 -20
- package/dist/chunk-6FAYTKXW.js.map +1 -0
- package/dist/{chunk-HPO7PB4F.js → chunk-7AAJYWC3.js} +2 -2
- package/dist/{chunk-XW5SEW3H.js → chunk-AKC5GRJF.js} +2 -2
- package/dist/{chunk-NHVL2QPG.js → chunk-D7PVIC33.js} +2 -1
- package/dist/chunk-D7PVIC33.js.map +1 -0
- package/dist/{chunk-4QKS5Y35.js → chunk-EBSA4EYR.js} +2 -2
- package/dist/{chunk-2W2MWEP2.js → chunk-EFLRNSE6.js} +11 -11
- package/dist/{chunk-PC4H5LVB.js → chunk-EUPUEMFX.js} +7 -7
- package/dist/{chunk-COYGTEN5.js → chunk-F5S5UFGD.js} +8 -1
- package/dist/chunk-F5S5UFGD.js.map +1 -0
- package/dist/{chunk-4PPNCZWY.js → chunk-GS5EPYB4.js} +3 -3
- package/dist/{chunk-JVOEVTCZ.js → chunk-HQCZT6TO.js} +5 -5
- package/dist/{chunk-GK7JNSMK.js → chunk-IK2ZVV3M.js} +2 -2
- package/dist/{chunk-CMBZ3J6I.js → chunk-JA6GKU65.js} +2 -11
- package/dist/chunk-JA6GKU65.js.map +1 -0
- package/dist/{chunk-3FMWQQW6.js → chunk-L4Z7B7KL.js} +2 -2
- package/dist/{chunk-3K7WN2PO.js → chunk-NBM3YJ4P.js} +3 -3
- package/dist/{chunk-CTIMTEH7.js → chunk-NFCAXQ3F.js} +4 -4
- package/dist/{chunk-GYDUXL3D.js → chunk-NVXRV3PL.js} +7 -7
- package/dist/{chunk-6OSUK2C7.js → chunk-PJ5HXNBG.js} +11 -11
- package/dist/{chunk-6OSUK2C7.js.map → chunk-PJ5HXNBG.js.map} +1 -1
- package/dist/{chunk-ILNO4ZJ6.js → chunk-PKGBW7KS.js} +2 -2
- package/dist/{chunk-NTJUAPJM.js → chunk-PZPTTAO5.js} +7 -7
- package/dist/{chunk-HCYRCU4W.js → chunk-QJWIX4YZ.js} +2 -2
- package/dist/{chunk-IL4FCC54.js → chunk-RREWYOKS.js} +2 -2
- package/dist/{chunk-6D2PFC5C.js → chunk-SKOAJPOS.js} +2 -2
- package/dist/{chunk-PIIPEXRM.js → chunk-TVMSXL3R.js} +1 -1
- package/dist/chunk-TVMSXL3R.js.map +1 -0
- package/dist/chunk-U3HEYECF.js +68 -0
- package/dist/chunk-U3HEYECF.js.map +1 -0
- package/dist/{chunk-QHP5PZNC.js → chunk-U57NFQYE.js} +2 -1
- package/dist/chunk-U57NFQYE.js.map +1 -0
- package/dist/{chunk-6QBT5TPS.js → chunk-USZMUOI6.js} +3 -3
- package/dist/{chunk-ARJIKW56.js → chunk-UZCQHNXC.js} +2 -2
- package/dist/{chunk-ZYJZHXFU.js → chunk-VWW2EXH7.js} +4 -4
- package/dist/{chunk-PQ7RWH7L.js → chunk-VZCZAHMX.js} +5 -5
- package/dist/{chunk-I3CQBEKS.js → chunk-WF3P7GE5.js} +2 -2
- package/dist/{chunk-U47KRLEW.js → chunk-YP7SQ5DM.js} +22 -10
- package/dist/chunk-YP7SQ5DM.js.map +1 -0
- package/dist/chunk-ZMUXC3VB.js +11 -0
- package/dist/chunk-ZMUXC3VB.js.map +1 -0
- package/dist/{chunk-HH7PM5HT.js → chunk-ZUQX7XHJ.js} +2 -2
- package/dist/data-display/Avatar.js +3 -3
- package/dist/data-display/Badge.js +2 -2
- package/dist/data-display/CardKit.js +9 -9
- package/dist/data-display/Chart.js +10 -10
- package/dist/data-display/DataViews.js +38 -36
- package/dist/en-US.js +1 -1
- package/dist/locales.js +2 -2
- package/dist/navigation/SectionNav.js +9 -9
- package/dist/pt-BR.js +1 -1
- package/dist/types/components/data-display/DataViews/base-list-card-geometry.d.ts +9 -3
- package/dist/types/components/data-display/DataViews/base-list-card-geometry.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/base-list-card-gutters.d.ts +2 -2
- package/dist/types/components/data-display/DataViews/base-list-card-gutters.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/base-list-card-layout.d.ts +1 -0
- package/dist/types/components/data-display/DataViews/base-list-card-layout.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/base-list-card-slots.d.ts +1 -10
- package/dist/types/components/data-display/DataViews/base-list-card-slots.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/base-list-card.d.ts +1 -1
- package/dist/types/components/data-display/DataViews/base-list-card.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-copy.d.ts +7 -0
- package/dist/types/components/data-display/DataViews/data-views-copy.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-export.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/list-card-breaks.d.ts +21 -0
- package/dist/types/components/data-display/DataViews/list-card-breaks.d.ts.map +1 -0
- package/dist/types/components/data-display/DataViews/list-card-cells.d.ts +8 -0
- package/dist/types/components/data-display/DataViews/list-card-cells.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/list-card-group-tracks.d.ts +51 -0
- package/dist/types/components/data-display/DataViews/list-card-group-tracks.d.ts.map +1 -0
- package/dist/types/components/data-display/DataViews/list-card-rails.d.ts +33 -13
- package/dist/types/components/data-display/DataViews/list-card-rails.d.ts.map +1 -1
- package/dist/types/en-US.data-display.d.ts.map +1 -1
- package/dist/types/pt-BR.data-display.d.ts.map +1 -1
- package/dist/user-avatar.js +4 -4
- package/package.json +1 -1
- package/src/components/data-display/DataViews/base-list-card-geometry.tsx +22 -8
- package/src/components/data-display/DataViews/base-list-card-gutters.tsx +2 -2
- package/src/components/data-display/DataViews/base-list-card-layout.tsx +6 -3
- package/src/components/data-display/DataViews/base-list-card-slots.tsx +5 -5
- package/src/components/data-display/DataViews/base-list-card.tsx +3 -3
- package/src/components/data-display/DataViews/data-views-copy.ts +7 -0
- package/src/components/data-display/DataViews/data-views-export.tsx +1 -9
- package/src/components/data-display/DataViews/list-card-breaks.ts +21 -0
- package/src/components/data-display/DataViews/list-card-cells.tsx +16 -0
- package/src/components/data-display/DataViews/list-card-group-tracks.tsx +127 -0
- package/src/components/data-display/DataViews/list-card-rails.tsx +58 -30
- package/src/en-US.data-display.ts +4 -0
- package/src/pt-BR.data-display.ts +4 -0
- package/dist/chunk-CMBZ3J6I.js.map +0 -1
- package/dist/chunk-COYGTEN5.js.map +0 -1
- package/dist/chunk-NHVL2QPG.js.map +0 -1
- package/dist/chunk-PIIPEXRM.js.map +0 -1
- package/dist/chunk-QHP5PZNC.js.map +0 -1
- package/dist/chunk-QKAYXAQE.js.map +0 -1
- package/dist/chunk-U47KRLEW.js.map +0 -1
- package/dist/chunk-V4V2N6YJ.js.map +0 -1
- package/dist/chunk-ZWBGQYVO.js.map +0 -1
- /package/dist/{chunk-W7N4ORCV.js.map → chunk-3JYCS7VO.js.map} +0 -0
- /package/dist/{chunk-YIKFYWKD.js.map → chunk-46ZATLQV.js.map} +0 -0
- /package/dist/{chunk-TF27Z27K.js.map → chunk-4JZ6XDVA.js.map} +0 -0
- /package/dist/{chunk-EDBP62WG.js.map → chunk-53ACGKBW.js.map} +0 -0
- /package/dist/{chunk-EWIKSTJV.js.map → chunk-5WJFCQFN.js.map} +0 -0
- /package/dist/{chunk-WBDQSBLV.js.map → chunk-5XFJCWPY.js.map} +0 -0
- /package/dist/{chunk-HPO7PB4F.js.map → chunk-7AAJYWC3.js.map} +0 -0
- /package/dist/{chunk-XW5SEW3H.js.map → chunk-AKC5GRJF.js.map} +0 -0
- /package/dist/{chunk-4QKS5Y35.js.map → chunk-EBSA4EYR.js.map} +0 -0
- /package/dist/{chunk-2W2MWEP2.js.map → chunk-EFLRNSE6.js.map} +0 -0
- /package/dist/{chunk-PC4H5LVB.js.map → chunk-EUPUEMFX.js.map} +0 -0
- /package/dist/{chunk-4PPNCZWY.js.map → chunk-GS5EPYB4.js.map} +0 -0
- /package/dist/{chunk-JVOEVTCZ.js.map → chunk-HQCZT6TO.js.map} +0 -0
- /package/dist/{chunk-GK7JNSMK.js.map → chunk-IK2ZVV3M.js.map} +0 -0
- /package/dist/{chunk-3FMWQQW6.js.map → chunk-L4Z7B7KL.js.map} +0 -0
- /package/dist/{chunk-3K7WN2PO.js.map → chunk-NBM3YJ4P.js.map} +0 -0
- /package/dist/{chunk-CTIMTEH7.js.map → chunk-NFCAXQ3F.js.map} +0 -0
- /package/dist/{chunk-GYDUXL3D.js.map → chunk-NVXRV3PL.js.map} +0 -0
- /package/dist/{chunk-ILNO4ZJ6.js.map → chunk-PKGBW7KS.js.map} +0 -0
- /package/dist/{chunk-NTJUAPJM.js.map → chunk-PZPTTAO5.js.map} +0 -0
- /package/dist/{chunk-HCYRCU4W.js.map → chunk-QJWIX4YZ.js.map} +0 -0
- /package/dist/{chunk-IL4FCC54.js.map → chunk-RREWYOKS.js.map} +0 -0
- /package/dist/{chunk-6D2PFC5C.js.map → chunk-SKOAJPOS.js.map} +0 -0
- /package/dist/{chunk-6QBT5TPS.js.map → chunk-USZMUOI6.js.map} +0 -0
- /package/dist/{chunk-ARJIKW56.js.map → chunk-UZCQHNXC.js.map} +0 -0
- /package/dist/{chunk-ZYJZHXFU.js.map → chunk-VWW2EXH7.js.map} +0 -0
- /package/dist/{chunk-PQ7RWH7L.js.map → chunk-VZCZAHMX.js.map} +0 -0
- /package/dist/{chunk-I3CQBEKS.js.map → chunk-WF3P7GE5.js.map} +0 -0
- /package/dist/{chunk-HH7PM5HT.js.map → chunk-ZUQX7XHJ.js.map} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/pt-BR.data-display.ts"],"sourcesContent":["/**\n * The pt-BR pack for the data-display family. Split out of `pt-BR.ts`, which is a\n * barrel over this folder — see that file for why.\n */\nimport type { DataViewsCopy } from \"./components/data-display/DataViews/data-views-copy\";\nimport type {\n CarouselCopy,\n DataGridCopy,\n DataStateCopy,\n LightboxCopy,\n MapPreviewCopy,\n TimingDiagramCopy,\n} from './copy';\nimport { PT_BR_TABLE_FILTER_COPY } from './pt-BR.layout';\nimport {\n PT_BR_CATEGORY_SELECT_COPY,\n PT_BR_CONFIRM_ACTION_COPY,\n PT_BR_SAVED_VIEWS_LABELS,\n} from './pt-BR.shared';\n\nexport const PT_BR_LIGHTBOX_COPY: LightboxCopy = {\n close: \"Fechar\",\n previous: \"Anterior\",\n next: \"Próximo\",\n zoomIn: \"Aproximar\",\n zoomOut: \"Afastar\",\n resetZoom: \"Restaurar o zoom\",\n play: \"Iniciar a apresentação\",\n pause: \"Pausar a apresentação\",\n dialogLabel: \"Galeria de imagens\",\n itemPosition: (index, total) => `Item ${index} de ${total}`,\n videoFallback: (index, total) => `Vídeo ${index} de ${total}`,\n imageFallback: (index, total) => `Imagem ${index} de ${total}`,\n thumbnailFallback: (index) => `Miniatura ${index}`,\n};\n\nexport const PT_BR_DATA_GRID_COPY: DataGridCopy = {\n sortBy: (header) => `Ordenar por ${header}`,\n selectRow: (rowNumber) => `Selecionar linha ${rowNumber}`,\n selectAllRows: \"Selecionar todas as linhas\",\n expandRow: \"Expandir linha\",\n collapseRow: \"Recolher linha\",\n gridLabel: \"Grade de dados\",\n};\n\nexport const PT_BR_MAP_PREVIEW_COPY: MapPreviewCopy = {\n zoomIn: \"Aproximar\",\n zoomOut: \"Afastar\",\n center: \"Centralizar o mapa\",\n mapType: \"Trocar o tipo de mapa\",\n fullscreen: \"Tela cheia\",\n search: \"Buscar endereço\",\n};\n\nexport const PT_BR_CAROUSEL_COPY: CarouselCopy = {\n previous: \"Anterior\",\n next: \"Próximo\",\n};\n\nexport const PT_BR_TIMING_DIAGRAM_COPY: TimingDiagramCopy = {\n regionLabel: \"Diagrama de tempos\",\n heading: \"Tempo da requisição\",\n dns: \"Busca de DNS\",\n connect: \"Conexão\",\n ssl: \"SSL/TLS\",\n request: \"Requisição\",\n response: \"Resposta\",\n total: (formatted) => `Total: ${formatted}`,\n totalTime: (formatted) => `Tempo total: ${formatted}`,\n};\n\nexport const PT_BR_DATA_STATE_COPY: DataStateCopy = {\n empty: \"Nenhum dado por aqui\",\n loading: \"Carregando…\",\n endOfList: \"Não há mais itens para carregar\",\n dismissAlert: \"Fechar o aviso\",\n dismissBanner: \"Fechar a faixa\",\n};\n\nexport const PT_BR_DATA_VIEWS_COPY: DataViewsCopy = {\n savedViewsMenu: PT_BR_SAVED_VIEWS_LABELS,\n confirmAction: PT_BR_CONFIRM_ACTION_COPY,\n categorySelect: PT_BR_CATEGORY_SELECT_COPY,\n board: {\n countOnPage: (label, count) => `${label}: ${count} nesta página`,\n onThisPage: (count) => `${count} nesta página`,\n pageSum: (sum) => `Soma desta página: ${sum}`,\n emptyColumn: \"Nada nesta etapa\",\n pageScopeNote:\n \"As contagens e somas abaixo referem-se apenas aos itens desta página.\",\n },\n deleteView: {\n title: \"Excluir visão\",\n target: (viewName) => `Excluir \"${viewName}\"?`,\n sharedWarning: \"Esta visão está compartilhada — a equipe perderá o acesso a ela.\",\n rowsUnaffected: (entityLabel) =>\n `${entityLabel} não são afetados; apenas o recorte salvo é removido.`,\n confirm: \"Excluir visão\",\n cancel: \"Cancelar\",\n },\n manageViews: {\n title: \"Gerenciar visões\",\n empty: \"Nenhuma visão salva.\",\n edit: \"Editar\",\n defaultTag: \"Padrão\",\n otherUserTag: \"De outro usuário\",\n deleteTitle: \"Excluir a visão salva?\",\n deleteBody: \"Os filtros e colunas guardados nela são perdidos. Não é possível restaurar.\",\n deleteConfirm: \"Excluir\",\n },\n saveView: {\n sharedDescription: \"Qualquer pessoa da loja poderá abrir e usar esta visão.\",\n setDefaultTitle: \"Definir como padrão\",\n setDefaultDescription: \"Esta tela abre nesta visão em vez da Visão principal.\",\n previewHeading: \"O que esta visão guarda\",\n previewUnchanged: \"Nada foi alterado — esta visão ficará igual à Visão principal.\",\n sortRowLabel: \"Ordenação\",\n saveFailed: \"Não foi possível salvar a visão.\",\n titleEditing: \"Editar visão\",\n titleCreating: \"Salvar visão\",\n descriptionLabel: \"Descrição — opcional\",\n descriptionPlaceholder: \"Para que serve esta visão\",\n submitEditing: \"Salvar alterações\",\n submitCreating: \"Salvar visão\",\n nameLabel: \"Nome\",\n cancel: \"Cancelar\",\n pinnedTitle: \"Fixar na barra lateral\",\n pinnedDescription: \"Aparece como atalho no menu, abaixo desta tela.\",\n sharedTitle: \"Compartilhar com a equipe\",\n namePlaceholder: \"Ex.: Recusados no PIX desta semana\",\n previewFilters: \"Filtros\",\n previewHiddenColumns: \"Colunas ocultas\",\n },\n columns: {\n visibleCount: (visible, total) => `${visible} de ${total} visíveis`,\n reset: \"Padrão\",\n showAll: \"Mostrar todas\",\n dragHint: \"Arraste para reordenar as colunas.\",\n moveUp: (columnLabel) => `Mover ${columnLabel} para cima`,\n moveDown: (columnLabel) => `Mover ${columnLabel} para baixo`,\n },\n display: {\n sortTab: \"Ordenar\",\n columnsTab: \"Colunas\",\n panelTab: \"Exibição\",\n direction: \"Direção\",\n layoutHints: {\n table: \"Colunas comparáveis, boa para varrer números.\",\n list: \"Uma linha por item, com os dados principais.\",\n cards: \"Blocos maiores, bom para poucos itens.\",\n board: \"Colunas por etapa, para acompanhar o que está onde.\",\n },\n densityHeadings: {\n table: \"Altura das linhas\",\n list: \"Altura das linhas\",\n cards: \"Cards por linha\",\n board: \"Largura das colunas\",\n },\n densityLabels: {\n table: { compact: \"Baixa\", cozy: \"Média\", comfortable: \"Alta\" },\n list: { compact: \"Baixa\", cozy: \"Média\", comfortable: \"Alta\" },\n cards: { compact: \"Muitos\", cozy: \"Médio\", comfortable: \"Poucos\" },\n board: { compact: \"Estreita\", cozy: \"Média\", comfortable: \"Larga\" },\n },\n boardUnavailable: \"Esta tela não declara etapas, então não oferece quadro.\",\n densityUnavailableNarrow:\n \"Um card por linha nesta largura — a densidade volta em telas maiores.\",\n trigger: \"Exibir\",\n fieldHeading: \"Campo\",\n formatHeading: \"Formato\",\n cardZoom: \"Tamanho dos cards\",\n },\n export: {\n formats: {\n json: { label: \"JSON (.json)\", hint: \"Para integrações\" },\n },\n scopeLine: (selectedCount, totalCount) =>\n selectedCount > 0\n ? `Exportando ${selectedCount} ${selectedCount === 1 ? \"item selecionado\" : \"itens selecionados\"}`\n : `Exportando ${totalCount} ${totalCount === 1 ? \"item filtrado\" : \"itens filtrados\"}`,\n visibleColumns: (columnCount) => `${columnCount} colunas visíveis, na ordem atual`,\n trigger: \"Exportar\",\n triggerLabel: \"Exportar\",\n },\n tableFilter: PT_BR_TABLE_FILTER_COPY,\n grid: {\n ...PT_BR_DATA_GRID_COPY,\n rowActions: \"Ações\",\n bulkActions: (selectedCount) => `Ações (${selectedCount}) ▾`,\n emptyFilteredTitle: \"Nenhum resultado para esses filtros\",\n emptyFilteredHint: \"Ajuste ou remova os filtros.\",\n emptyFilteredAction: \"Limpar filtros\",\n },\n filters: {\n moreFilters: (count) => `Mais filtros: ${count} sem espaço na barra`,\n moreFiltersApplied: (count, appliedCount) =>\n `Mais filtros: ${count} sem espaço na barra, ${appliedCount} aplicado(s)`,\n moreTriggerLabel: \"Mais\",\n moreHeading: \"Mais filtros\",\n overflowNote: \"sem espaço na barra\",\n rangeEnd: \"Até\",\n rangeInvalid: \"O início precisa ser menor que o fim.\",\n rangeInclusiveNote: \"Ambas as datas entram no resultado.\",\n rangeStart: \"De\",\n dayMask: \"dd/mm/aaaa\",\n clearAllFilters: \"Limpar todos os filtros\",\n rangePresets: {\n hoje: \"Hoje\",\n ontem: \"Ontem\",\n semana: \"Esta semana\",\n mes: \"Este mês\",\n ano: \"Este ano\",\n },\n scopesLabel: \"Situação\",\n panelTitle: \"Filtros\",\n clear: \"Limpar\",\n clearAll: \"Limpar filtros\",\n clearRange: (label) => `Limpar ${label}`,\n allOption: \"Todas\",\n optionSearchPlaceholder: \"Buscar…\",\n optionsEmpty: \"Nenhum resultado\",\n optionsHeading: \"Opções\",\n },\n selection: {\n selectAllOnPage: \"Selecionar todos nesta página\",\n clearSelection: \"Limpar seleção\",\n selectAll: \"Selecionar tudo\",\n onThisPage: (count) => `${count} nesta página`,\n selectedCount: (count) => `${count} ${count === 1 ? \"selecionado\" : \"selecionados\"}`,\n selectRow: \"Selecionar\",\n expandRow: \"Expandir detalhes\",\n collapseRow: \"Recolher detalhes\",\n },\n nav: {\n mainView: \"Visão principal\",\n defaultTag: \"Padrão\",\n viewOptions: (viewName) => `Opções de ${viewName}`,\n emptyHint: \"Nenhuma visão salva. Ajuste filtros, colunas ou ordenação e salve abaixo.\",\n setDefault: \"Definir como padrão\",\n deleteView: \"Excluir visão\",\n unsavedChanges: \"Alterações não salvas\",\n label: \"Visão\",\n update: \"Atualizar visão\",\n save: \"Salvar visão\",\n saveAs: \"Salvar como nova\",\n reset: \"Redefinir\",\n updateFailed: \"Não foi possível atualizar a visão\",\n dismissError: \"Fechar o aviso\",\n goBack: \"Voltar\",\n pageSize: \"Mostrar:\",\n saveFailed: \"Não foi possível salvar a alteração da visão.\",\n editView: \"Renomear e editar\",\n pinToSidebar: \"Fixar na barra lateral\",\n shareWithTeam: \"Compartilhar com a equipe\",\n },\n search: {\n placeholder: \"Buscar…\",\n allColumnsLabel: \"Buscar em todas as colunas\",\n keywordPlaceholder: \"Pressione Enter para filtrar\",\n open: \"Buscar\",\n close: \"Fechar busca\",\n clear: \"Limpar busca\",\n },\n};\n"],"mappings":";;;;;;;;;;AAoBO,IAAM,sBAAoC;AAAA,EAC/C,OAAO;AAAA,EACP,UAAU;AAAA,EACV,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,WAAW;AAAA,EACX,MAAM;AAAA,EACN,OAAO;AAAA,EACP,aAAa;AAAA,EACb,cAAc,CAAC,OAAO,UAAU,QAAQ,KAAK,OAAO,KAAK;AAAA,EACzD,eAAe,CAAC,OAAO,UAAU,YAAS,KAAK,OAAO,KAAK;AAAA,EAC3D,eAAe,CAAC,OAAO,UAAU,UAAU,KAAK,OAAO,KAAK;AAAA,EAC5D,mBAAmB,CAAC,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,IACZ,OAAO;AAAA,IACP,UAAU;AAAA,IACV,YAAY,CAAC,UAAU,UAAU,KAAK;AAAA,IACtC,WAAW;AAAA,IACX,yBAAyB;AAAA,IACzB,cAAc;AAAA,IACd,gBAAgB;AAAA,EAClB;AAAA,EACA,WAAW;AAAA,IACT,iBAAiB;AAAA,IACjB,gBAAgB;AAAA,IAChB,WAAW;AAAA,IACX,YAAY,CAAC,UAAU,GAAG,KAAK;AAAA,IAC/B,eAAe,CAAC,UAAU,GAAG,KAAK,IAAI,UAAU,IAAI,gBAAgB,cAAc;AAAA,IAClF,WAAW;AAAA,IACX,WAAW;AAAA,IACX,aAAa;AAAA,EACf;AAAA,EACA,KAAK;AAAA,IACH,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,aAAa,CAAC,aAAa,mBAAa,QAAQ;AAAA,IAChD,WAAW;AAAA,IACX,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,gBAAgB;AAAA,IAChB,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,OAAO;AAAA,IACP,cAAc;AAAA,IACd,cAAc;AAAA,IACd,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,UAAU;AAAA,IACV,cAAc;AAAA,IACd,eAAe;AAAA,EACjB;AAAA,EACA,QAAQ;AAAA,IACN,aAAa;AAAA,IACb,iBAAiB;AAAA,IACjB,oBAAoB;AAAA,IACpB,MAAM;AAAA,IACN,OAAO;AAAA,IACP,OAAO;AAAA,EACT;AACF;","names":[]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GridShell
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PZPTTAO5.js";
|
|
4
4
|
import {
|
|
5
5
|
useDataViewsState
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-EFLRNSE6.js";
|
|
7
7
|
|
|
8
8
|
// src/components/data-display/DataViews/DataViewsGrid.tsx
|
|
9
9
|
import { useEffect, useRef } from "react";
|
|
@@ -27,4 +27,4 @@ function DataViewsGrid(props) {
|
|
|
27
27
|
export {
|
|
28
28
|
DataViewsGrid
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=chunk-
|
|
30
|
+
//# sourceMappingURL=chunk-USZMUOI6.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GridToolbar
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VZCZAHMX.js";
|
|
4
4
|
|
|
5
5
|
// src/components/data-display/DataViews/data-views-shell-toolbar.tsx
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -66,4 +66,4 @@ function ShellToolbar({
|
|
|
66
66
|
export {
|
|
67
67
|
ShellToolbar
|
|
68
68
|
};
|
|
69
|
-
//# sourceMappingURL=chunk-
|
|
69
|
+
//# sourceMappingURL=chunk-UZCQHNXC.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RaisedActionButton
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7AAJYWC3.js";
|
|
4
4
|
import {
|
|
5
5
|
SectionNavSheet
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WF3P7GE5.js";
|
|
7
7
|
import {
|
|
8
8
|
Box,
|
|
9
9
|
CONTROL_RESET,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
controlProps,
|
|
14
14
|
destinationControl,
|
|
15
15
|
focusRing
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-IK2ZVV3M.js";
|
|
17
17
|
import {
|
|
18
18
|
barSlots,
|
|
19
19
|
destinationState,
|
|
@@ -291,4 +291,4 @@ export {
|
|
|
291
291
|
sectionNavBarInset,
|
|
292
292
|
SectionNavBar
|
|
293
293
|
};
|
|
294
|
-
//# sourceMappingURL=chunk-
|
|
294
|
+
//# sourceMappingURL=chunk-VWW2EXH7.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DataViewsExportMenu
|
|
3
|
-
} from "./chunk-CMBZ3J6I.js";
|
|
4
1
|
import {
|
|
5
2
|
DataViewsDisplayPanel
|
|
6
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NFCAXQ3F.js";
|
|
4
|
+
import {
|
|
5
|
+
DataViewsExportMenu
|
|
6
|
+
} from "./chunk-JA6GKU65.js";
|
|
7
7
|
import {
|
|
8
8
|
renderBulkActions
|
|
9
9
|
} from "./chunk-NQZNV3VR.js";
|
|
@@ -138,4 +138,4 @@ function GridToolbar(props) {
|
|
|
138
138
|
export {
|
|
139
139
|
GridToolbar
|
|
140
140
|
};
|
|
141
|
-
//# sourceMappingURL=chunk-
|
|
141
|
+
//# sourceMappingURL=chunk-VZCZAHMX.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
CountedIcon,
|
|
5
5
|
controlProps,
|
|
6
6
|
focusRing
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IK2ZVV3M.js";
|
|
8
8
|
import {
|
|
9
9
|
Drawer,
|
|
10
10
|
DrawerContent,
|
|
@@ -175,4 +175,4 @@ function SectionNavSheet({
|
|
|
175
175
|
export {
|
|
176
176
|
SectionNavSheet
|
|
177
177
|
};
|
|
178
|
-
//# sourceMappingURL=chunk-
|
|
178
|
+
//# sourceMappingURL=chunk-WF3P7GE5.js.map
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
STACK_BREAK
|
|
3
|
-
} from "./chunk-ZWBGQYVO.js";
|
|
4
1
|
import {
|
|
5
2
|
CARD_RADIUS,
|
|
6
3
|
cardSurfaceStyles,
|
|
@@ -16,10 +13,14 @@ import {
|
|
|
16
13
|
RAIL_GAP,
|
|
17
14
|
railsTemplateFor,
|
|
18
15
|
useListRails
|
|
19
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6FAYTKXW.js";
|
|
20
17
|
import {
|
|
21
18
|
DENSITY_ROW_PADDING
|
|
22
19
|
} from "./chunk-MUIBNHJW.js";
|
|
20
|
+
import {
|
|
21
|
+
COMPACT_BREAK,
|
|
22
|
+
STACK_BREAK
|
|
23
|
+
} from "./chunk-ZMUXC3VB.js";
|
|
23
24
|
import {
|
|
24
25
|
rem
|
|
25
26
|
} from "./chunk-YKCAJ2TN.js";
|
|
@@ -68,7 +69,7 @@ var stackedRowSx = (inGroup, railCount, stack) => ({
|
|
|
68
69
|
...stackedCells(stack)
|
|
69
70
|
});
|
|
70
71
|
var rowSx = (theme, opts) => {
|
|
71
|
-
const { inGroup, railCount, cellTemplate, gutters, metaColumns, pad, padY, scale, divider, interactive, draggable, stack } = opts;
|
|
72
|
+
const { inGroup, railCount, cellTemplate, compactTemplate, gutters, metaColumns, pad, padY, scale, divider, interactive, draggable, stack } = opts;
|
|
72
73
|
return {
|
|
73
74
|
position: "relative",
|
|
74
75
|
borderRadius: CARD_RADIUS,
|
|
@@ -104,6 +105,15 @@ var rowSx = (theme, opts) => {
|
|
|
104
105
|
outlineColor: "primary.main",
|
|
105
106
|
outlineOffset: rem(theme, 2)
|
|
106
107
|
},
|
|
108
|
+
// COMPACT below COMPACT_BREAK: half the rail gap and, standalone, the
|
|
109
|
+
// first cell's double share. In a group the GROUP's template answers the
|
|
110
|
+
// width (`list-card-group-tracks`); the gap is the row's, since a subgrid
|
|
111
|
+
// sets its own. BEFORE the stacked rule, which overrides it below
|
|
112
|
+
// STACK_BREAK by coming later.
|
|
113
|
+
[`@container (max-width: ${rem(theme, COMPACT_BREAK)})`]: {
|
|
114
|
+
columnGap: RAIL_GAP / 2,
|
|
115
|
+
...compactTemplate == null ? {} : { gridTemplateColumns: compactTemplate }
|
|
116
|
+
},
|
|
107
117
|
// TWO-LINE below STACK_BREAK: see {@link stackedRowSx}.
|
|
108
118
|
[`@container (max-width: ${rem(theme, STACK_BREAK)})`]: stackedRowSx(inGroup, railCount, stack),
|
|
109
119
|
...divider ? { borderRadius: 0, borderWidth: 0, borderBottomWidth: 1, borderStyle: "solid" } : {}
|
|
@@ -129,8 +139,10 @@ function useRowShell(props) {
|
|
|
129
139
|
slot: slotTestIds(props.testId),
|
|
130
140
|
drag: useDragItem(dragIdFor(props, actionable)),
|
|
131
141
|
// Standalone holds no gutter open: there is no list beside it to line up
|
|
132
|
-
// with, so a reserved-but-empty rail is pure inset.
|
|
133
|
-
|
|
142
|
+
// with, so a reserved-but-empty rail is pure inset. In a group every gutter
|
|
143
|
+
// renders, empty when unused, and the GROUP decides whether its track
|
|
144
|
+
// stays (`list-card-group-tracks`): the rows cannot agree among themselves.
|
|
145
|
+
reserve: group != null,
|
|
134
146
|
// 1, not 1.5. The row's contents still have to line up with the toolbar
|
|
135
147
|
// above them, but 12px of card padding stacked on the checkbox's own 9px
|
|
136
148
|
// and an empty drag gutter's 24px read as a row indented for no reason.
|
|
@@ -172,14 +184,14 @@ function rowGutters(props, shell) {
|
|
|
172
184
|
select: reserve || selectable
|
|
173
185
|
};
|
|
174
186
|
}
|
|
175
|
-
function rowStyles(props, shell,
|
|
187
|
+
function rowStyles(props, shell, templates, stack) {
|
|
176
188
|
const { theme, group, drag, pad, padY, scale, acts } = shell;
|
|
177
189
|
return {
|
|
178
190
|
...rowSurface(props, shell),
|
|
179
191
|
...rowSx(theme, {
|
|
180
192
|
inGroup: group !== null,
|
|
181
193
|
railCount: group?.railCount ?? RAIL_COUNT,
|
|
182
|
-
|
|
194
|
+
...templates,
|
|
183
195
|
gutters: rowGutters(props, shell),
|
|
184
196
|
metaColumns: metaShape(props).columns,
|
|
185
197
|
pad,
|
|
@@ -201,4 +213,4 @@ export {
|
|
|
201
213
|
rowGutters,
|
|
202
214
|
rowStyles
|
|
203
215
|
};
|
|
204
|
-
//# sourceMappingURL=chunk-
|
|
216
|
+
//# sourceMappingURL=chunk-YP7SQ5DM.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/data-display/DataViews/base-list-card-geometry.tsx"],"sourcesContent":["\"use client\";\n\nimport { useTheme, type Theme } from \"@mui/material/styles/index.js\";\n\nimport {\n CARD_RADIUS,\n cardSurfaceStyles,\n isActionable,\n isSelectable,\n slotTestIds,\n} from \"./card-surface\";\nimport { useDragItem } from \"./data-views-drag\";\nimport { DENSITY_ROW_PADDING } from \"./data-views-layout-context\";\nimport { RAIL_COUNT, RAIL_GAP, railsTemplateFor, useListRails } from \"./list-card-rails\";\nimport { COMPACT_BREAK, STACK_BREAK } from \"./base-list-card-slots\";\nimport type { BaseListCardProps } from \"./base-list-card\";\nimport { rem } from \"../../../tokens/relative\";\n\n/**\n * THE ROW'S GEOMETRY AND SURFACE, split from the component at the size gate.\n *\n * Everything here answers \"what shape is this row, and where do its slots land\"\n * — the rails, the density padding, the two-line collapse, the drag and\n * selection plumbing. None of it renders anything, which is why the two halves\n * can live apart without either becoming harder to follow.\n */\n/**\n * Whether a click was really a click, or the tail of a text selection.\n *\n * Without this, selecting an order id to copy it navigates away instead — the\n * single most annoying thing a clickable row does.\n */\nfunction isTextSelection(): boolean {\n return (globalThis.getSelection?.()?.toString().length ?? 0) > 0;\n}\n\n/** Keyboard equivalence for a card that acts but does not navigate. */\nfunction clickKeys(onClick: () => void) {\n return (event: React.KeyboardEvent): void => {\n if (event.key !== \"Enter\" && event.key !== \" \") return;\n event.preventDefault();\n onClick();\n };\n}\n\n/**\n * Geometry: the rails, the density padding, the two-line collapse.\n *\n * SCALE IS `zoom`, NOT A SET OF MULTIPLIED FONT SIZES.\n *\n * It used to be the latter, on exactly three values — title, value, row padding\n * — so the slider left the subtitle, the meta labels, the rules, the checkbox,\n * the grip, the chip and the menu at their fixed sizes, and the row came apart\n * as you dragged it. Multiplying the rest is not a fix: the checkbox and the\n * chip are MUI internals sized in their own px, and no prop we pass reaches\n * them.\n *\n * `zoom` scales the used value of every length in the subtree — ours and theirs\n * — and unlike `transform: scale` it REFLOWS, so the row still occupies the\n * space it draws and the rails still resolve. Verified against the group: at\n * 1.4 all four rows keep identical rail edges, because subgrid tracks and the\n * zoom that reads them are the same for every row.\n */\n/** What {@link rowSx} needs to know about the row it lays out. */\ninterface RowSxOptions {\n inGroup: boolean;\n railCount: number;\n cellTemplate: string | null;\n /** A standalone configured row's template in the compact band. */\n compactTemplate: string | null;\n gutters: { disclose: boolean; drag: boolean; select: boolean };\n metaColumns: number;\n pad: number;\n padY: number;\n scale: number;\n divider: boolean;\n interactive: boolean;\n draggable: boolean;\n /** What the two-line layout below `STACK_BREAK` has to place by name. */\n stack: StackPlacement;\n}\n\n/**\n * The slots the stacked row places that the named-slot rules cannot know about.\n *\n * For a CONFIGURED row, `firstCell` is the cell that takes the title's place and\n * `valueCell` the one that takes the value's (null for a named-slot row, or for\n * a one-cell row with no value to show). `expandable` decides whether the\n * disclosure button gets a place or, when it is only a reserved empty gutter,\n * none at all.\n */\nexport interface StackPlacement {\n firstCell: string | null;\n valueCell: string | null;\n expandable: boolean;\n}\n\n/** A `[data-slot=\"cell-<id>\"]` child selector, quoted so any id is safe. */\nconst cellSlot = (id: string): string => `& > [data-slot=${JSON.stringify(`cell-${id}`)}]`;\n\n/**\n * A configured row, stacked, keeps the SAME two facts a named-slot row keeps:\n * what the record is (the first cell, in the title's place on line 1) and the\n * figure it is about (the value cell, on line 2 from under the title to the\n * right edge, where an `end` cell sits flush right). Every other cell goes, as\n * `meta` goes — a row is a fixed-height scanning unit, and what does not fit\n * belongs in its expandable body.\n *\n * Left to auto-placement these cells had flowed into whatever track was free:\n * a name squeezed beside the glyph, an amount clipped to \"R$ …\".\n *\n * The hide-all rule comes first and the two named cells after it: the\n * selectors have equal specificity, so the later rule wins for those cells.\n */\nfunction stackedCells(stack: StackPlacement): Record<string, unknown> {\n if (stack.firstCell == null) return {};\n return {\n '& > [data-slot^=\"cell-\"]': { display: \"none\" },\n [cellSlot(stack.firstCell)]: { display: \"flex\", gridArea: \"1 / 3\" },\n ...(stack.valueCell == null ? {} : { [cellSlot(stack.valueCell)]: { display: \"flex\", gridArea: \"2 / 3 / 3 / 5\" } }),\n };\n}\n\n/**\n * TWO-LINE, below the point where the shared rails stop helping.\n *\n * The standard mobile transaction row: what the record IS on the first line,\n * what it COSTS under it at the right edge. Better than\n * truncating four columns into ellipses, and the reason each slot carries a\n * `data-slot` — the placement is explicit rather than whatever order the\n * children happen to be in.\n *\n * [ select ][ leading ][ title …………… ][ menu ]\n * [ (disclose) ] [ (cells) …………… ][ value ]\n *\n * The MENU stays in the top-right corner at every width. It is the row's\n * one fixed landmark — an overflow that moves to the second line on a phone\n * is an overflow nobody finds twice.\n */\nconst stackedRowSx = (inGroup: boolean, railCount: number, stack: StackPlacement): Record<string, unknown> => ({\n gridTemplateColumns: \"auto auto minmax(0, 1fr) max-content\",\n // The GROUP's track count, which a configured list sets from its cells\n // (`cellRailCount`) — not the named-slot RAIL_COUNT, which over-spans a\n // configured group and adds an implicit track at its end.\n ...(inGroup ? { gridColumn: `span ${railCount}` } : {}),\n rowGap: 0.75,\n columnGap: 1,\n '& > [data-slot=\"drag\"]': { display: \"none\" },\n // The disclosure button, when there is one, under the checkbox: the head of\n // the row, where it sits at every other width — never beside the menu, where\n // it read as an \"open\" arrow. A reserved empty gutter takes no place at all.\n '& > [data-slot=\"disclose\"]': stack.expandable ? { gridArea: \"2 / 1\", justifySelf: \"center\" } : { display: \"none\" },\n '& > [data-slot=\"select\"]': { gridArea: \"1 / 1\" },\n '& > [data-slot=\"leading\"]': { gridArea: \"1 / 2\" },\n '& > [data-slot=\"caption\"]': { gridArea: \"1 / 3\" },\n '& > [data-slot=\"actions\"]': { gridArea: \"1 / 4\", justifyContent: \"flex-end\" },\n '& > [data-slot=\"meta\"]': { display: \"none\" },\n // Second line, starting under the title rather than under the checkbox.\n '& > [data-slot=\"value\"]': { gridArea: \"2 / 4\", textAlign: \"right\" },\n ...stackedCells(stack),\n});\n\n/**\n * DIVIDER COMPOSES WITH THE VARIANT — it changes the row's SHAPE, not its\n * surface.\n *\n * It used to set `border: 0` and hard-code its own rule colour, which discarded\n * whatever the variant had drawn: `outline`, `text` and `ghost` all collapsed\n * to one identical flush row, and the variant control silently stopped meaning\n * anything the moment `divider` was on.\n *\n * Now only the GEOMETRY changes here — the box's sides go, one edge stays — and\n * no `borderColor` is written, so the colour set by `cardSurfaceStyles` survives.\n * A variant that draws no border of its own gets the neutral rule from\n * {@link rowStyles}.\n */\nexport const rowSx = (theme: Theme, opts: RowSxOptions): Record<string, unknown> => {\n const { inGroup, railCount, cellTemplate, compactTemplate, gutters, metaColumns, pad, padY, scale, divider, interactive, draggable, stack } = opts;\n return {\n position: \"relative\",\n borderRadius: CARD_RADIUS,\n display: \"grid\",\n zoom: scale,\n // SUBGRID AND `container-type` CANNOT COEXIST on one element: containment\n // makes the box size independently of its parent, so the browser drops the\n // subgrid and every slot stacks into one column. (Observed exactly that —\n // computed `grid-template-columns: 1222px` on a card asking for subgrid.)\n //\n // So inside a group the GROUP is the query container and the row is the\n // subgrid. Standalone, the row is its own grid but NOT its own container:\n // a container query matches an ANCESTOR, never the element itself, so a\n // row that was its own container placed its children for two lines while\n // its own template stayed wide. A standalone card renders inside a wrapper\n // that is the container (`BaseListCard`).\n ...(inGroup\n ? { gridColumn: `span ${railCount}`, gridTemplateColumns: \"subgrid\" }\n : { gridTemplateColumns: cellTemplate ?? railsTemplateFor(gutters, metaColumns) }),\n alignItems: \"center\",\n // Wide enough that the meta cluster, the value and the status read as three\n // columns rather than one run of text — the complaint that started all this\n // was `MÉTODO PIX R$ 13,90` scanning as a single phrase.\n columnGap: RAIL_GAP,\n width: \"100%\",\n px: pad,\n py: padY,\n cursor: draggable ? \"grab\" : interactive ? \"pointer\" : undefined,\n ...(draggable ? { touchAction: \"none\", \"&:active\": { cursor: \"grabbing\" } } : {}),\n ...(interactive ? { \"&:hover\": { backgroundColor: \"action.hover\" } } : {}),\n // A real focus ring, which a clickable <div> never had.\n \"&:focus-visible\": {\n outline: `${rem(theme, 2)} solid`,\n outlineStyle: \"solid\",\n outlineColor: \"primary.main\",\n outlineOffset: rem(theme, 2),\n },\n // COMPACT below COMPACT_BREAK: half the rail gap and, standalone, the\n // first cell's double share. In a group the GROUP's template answers the\n // width (`list-card-group-tracks`); the gap is the row's, since a subgrid\n // sets its own. BEFORE the stacked rule, which overrides it below\n // STACK_BREAK by coming later.\n [`@container (max-width: ${rem(theme, COMPACT_BREAK)})`]: {\n columnGap: RAIL_GAP / 2,\n ...(compactTemplate == null ? {} : { gridTemplateColumns: compactTemplate }),\n },\n // TWO-LINE below STACK_BREAK: see {@link stackedRowSx}.\n [`@container (max-width: ${rem(theme, STACK_BREAK)})`]: stackedRowSx(inGroup, railCount, stack),\n ...(divider\n ? { borderRadius: 0, borderWidth: 0, borderBottomWidth: 1, borderStyle: \"solid\" }\n : {}),\n };\n};\n\n/**\n * A selectable full-width row: a marker, a title over a subtitle, labelled\n * middle columns, a value, a status, actions and a menu.\n *\n * A SHELL, like {@link BaseCard}. Domain rows live in the app and compose it.\n */\n/**\n * The id this row drags under, or nothing.\n *\n * `undefined` is the inert answer: `useDragItem` treats a missing id as \"no\n * drag\", which is how the card's own veto (`draggable={false}`) and an\n * unactionable record both switch dragging off without the card knowing\n * anything about the container above it.\n */\nfunction dragIdFor(\n props: BaseListCardProps,\n actionable: boolean,\n): string | number | undefined {\n return props.draggable === false || !actionable ? undefined : props.dragId;\n}\n\n/**\n * What the meta cluster amounts to — asked once, used three times: to size the\n * rail, to close the cluster with a rule, and to decide whether the value has\n * anything to be divided FROM.\n */\nexport function metaShape(props: BaseListCardProps): { columns: number; present: boolean } {\n const columns = props.meta?.length ?? 0;\n return { columns, present: columns > 0 || props.metaSlot != null };\n}\n\n/**\n * Everything the row derives before it can render — extracted so the component\n * stays inside the size budget.\n */\nexport function useRowShell(props: BaseListCardProps) {\n const actionable = isActionable(props.state);\n const group = useListRails();\n const scale = props.scale ?? 1;\n return {\n group,\n actionable,\n scale,\n theme: useTheme(),\n selectable: isSelectable(props),\n slot: slotTestIds(props.testId),\n drag: useDragItem(dragIdFor(props, actionable)),\n // Standalone holds no gutter open: there is no list beside it to line up\n // with, so a reserved-but-empty rail is pure inset. In a group every gutter\n // renders, empty when unused, and the GROUP decides whether its track\n // stays (`list-card-group-tracks`): the rows cannot agree among themselves.\n reserve: group != null,\n // 1, not 1.5. The row's contents still have to line up with the toolbar\n // above them, but 12px of card padding stacked on the checkbox's own 9px\n // and an empty drag gutter's 24px read as a row indented for no reason.\n //\n // Not multiplied by `scale` — the row's `zoom` already scales it, and doing\n // both would square the factor on padding alone.\n pad: 1,\n padY: DENSITY_ROW_PADDING[group?.density ?? props.density ?? \"cozy\"],\n // A card that navigates does so with a real anchor, so it takes no click\n // handler of its own — the stretched link IS the target.\n acts: props.onClick != null && props.href == null && actionable,\n };\n}\n\n/** The click/keyboard props a row that acts (but does not navigate) needs. */\nexport function actionProps(onClick: (() => void) | undefined) {\n return {\n role: \"button\",\n tabIndex: 0,\n onClick: () => {\n if (isTextSelection()) return;\n onClick?.();\n },\n onKeyDown: clickKeys(() => onClick?.()),\n };\n}\n\n/** The surface and the geometry, merged — the row's whole `sx` in one place. */\n\n/**\n * The row's painted surface, plus the divider's colour fallback.\n *\n * A variant with no border of its own (`text`, `ghost`) would draw its rule in\n * the inherited colour — the TEXT colour, i.e. a black bar across the row. The\n * neutral divider token is supplied only in that case; a variant that has a\n * border keeps it, which is the whole point of composing the two.\n */\nfunction rowSurface(\n props: BaseListCardProps,\n shell: ReturnType<typeof useRowShell>,\n): Record<string, unknown> {\n const { theme, selectable, drag } = shell;\n const surface = cardSurfaceStyles(\n { ...props, selectable, shape: \"row\", state: drag.dragging ? \"disabled\" : props.state },\n theme,\n );\n if (props.divider !== true || surface.borderColor != null) return surface;\n return { ...surface, borderBottomColor: theme.palette.divider };\n}\n\n/**\n * Which head gutters this row renders: the ones it uses, or all three inside a\n * group (empty when unused; the group decides which keep a track). The template\n * is built from this; the three gutter slots\n * (`base-list-card-gutters.tsx`) apply the SAME conditions on their own — keep\n * the two in step, because a template that disagrees with the slots is exactly\n * how cells slid two tracks.\n */\nexport function rowGutters(\n props: BaseListCardProps,\n shell: ReturnType<typeof useRowShell>,\n): { disclose: boolean; drag: boolean; select: boolean } {\n const { selectable, drag, reserve } = shell;\n return {\n disclose: reserve || props.children != null,\n drag: reserve || drag.draggable,\n select: reserve || selectable,\n };\n}\n\nexport function rowStyles(\n props: BaseListCardProps,\n shell: ReturnType<typeof useRowShell>,\n templates: { cellTemplate: string | null; compactTemplate: string | null },\n stack: StackPlacement,\n): Record<string, unknown> {\n const { theme, group, drag, pad, padY, scale, acts } = shell;\n return {\n ...rowSurface(props, shell),\n ...rowSx(theme, {\n inGroup: group !== null,\n railCount: group?.railCount ?? RAIL_COUNT,\n ...templates,\n gutters: rowGutters(props, shell),\n metaColumns: metaShape(props).columns,\n pad,\n padY,\n scale,\n divider: props.divider ?? false,\n interactive: acts || props.href != null,\n draggable: drag.draggable && drag.handleProps === undefined,\n stack,\n }),\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,SAAS,gBAA4B;AA8BrC,SAAS,kBAA2B;AAClC,UAAQ,WAAW,eAAe,GAAG,SAAS,EAAE,UAAU,KAAK;AACjE;AAGA,SAAS,UAAU,SAAqB;AACtC,SAAO,CAAC,UAAqC;AAC3C,QAAI,MAAM,QAAQ,WAAW,MAAM,QAAQ,IAAK;AAChD,UAAM,eAAe;AACrB,YAAQ;AAAA,EACV;AACF;AAuDA,IAAM,WAAW,CAAC,OAAuB,kBAAkB,KAAK,UAAU,QAAQ,EAAE,EAAE,CAAC;AAgBvF,SAAS,aAAa,OAAgD;AACpE,MAAI,MAAM,aAAa,KAAM,QAAO,CAAC;AACrC,SAAO;AAAA,IACL,4BAA4B,EAAE,SAAS,OAAO;AAAA,IAC9C,CAAC,SAAS,MAAM,SAAS,CAAC,GAAG,EAAE,SAAS,QAAQ,UAAU,QAAQ;AAAA,IAClE,GAAI,MAAM,aAAa,OAAO,CAAC,IAAI,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d,SAAS,UAAU;AAAA,MACnB,WAAW,OAAO,aAAa;AAAA,MAC/B,GAAG;AAAA,MACH,SAAS,WAAW,OAAO,KAAK;AAAA,MAChC,aAAa,UAAU,KAAK,EAAE;AAAA,MAC9B;AAAA,MACA;AAAA,MACA;AAAA,MACA,SAAS,MAAM,WAAW;AAAA,MAC1B,aAAa,QAAQ,MAAM,QAAQ;AAAA,MACnC,WAAW,KAAK,aAAa,KAAK,gBAAgB;AAAA,MAClD;AAAA,IACF,CAAC;AAAA,EACH;AACF;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/data-display/DataViews/list-card-breaks.ts"],"sourcesContent":["/**\n * THE WIDTHS A LIST ROW ANSWERS, measured on its query container (the group, or\n * a standalone card's wrapper) — never the viewport.\n *\n * Their own module because both the row (`base-list-card-*`) and the group\n * (`list-card-group-tracks`) ask the question, and the group's rails module is\n * already a dependency of the row's slots.\n */\n\n/**\n * Below this the row COMPACTS: the rail gap halves, a reserved drag track no row\n * fills leaves the template, and a configured list's first cell takes a double\n * share. Between `STACK_BREAK` and here the row is still one line of columns,\n * and at 24px a gap four columns wide was spending a third of a phone-sized row\n * on air while every name ellipsised.\n */\nexport const COMPACT_BREAK = 600;\n/** Below this the row drops its middle columns. */\nexport const META_BREAK = 520;\n/** …and below this it leaves the shared rails and goes two-line. */\nexport const STACK_BREAK = 360;\n"],"mappings":";AAgBO,IAAM,gBAAgB;AAEtB,IAAM,aAAa;AAEnB,IAAM,cAAc;","names":[]}
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-H7R6UKOE.js";
|
|
4
4
|
import {
|
|
5
5
|
DataViewsGrid
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-USZMUOI6.js";
|
|
7
7
|
import {
|
|
8
8
|
viewStateKey
|
|
9
9
|
} from "./chunk-ZOLAYP2D.js";
|
|
@@ -166,4 +166,4 @@ function renderViewDialogs(ctl, fields, columns, views, testIdPrefix, onSaved) {
|
|
|
166
166
|
export {
|
|
167
167
|
DataViewsTableBase
|
|
168
168
|
};
|
|
169
|
-
//# sourceMappingURL=chunk-
|
|
169
|
+
//# sourceMappingURL=chunk-ZUQX7XHJ.js.map
|
|
@@ -2,11 +2,11 @@ import "../chunk-UDQSIRAP.js";
|
|
|
2
2
|
import {
|
|
3
3
|
Avatar,
|
|
4
4
|
AvatarGroup
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-AKC5GRJF.js";
|
|
6
|
+
import "../chunk-NVXRV3PL.js";
|
|
7
|
+
import "../chunk-MTEQEPNY.js";
|
|
7
8
|
import "../chunk-6ZZGK5DT.js";
|
|
8
9
|
import "../chunk-3ZVUNSFF.js";
|
|
9
|
-
import "../chunk-MTEQEPNY.js";
|
|
10
10
|
import "../chunk-SSX5ITPM.js";
|
|
11
11
|
import "../chunk-F5H2ZXST.js";
|
|
12
12
|
import "../chunk-N3GAFIXG.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../chunk-5AK2EZG5.js";
|
|
2
2
|
import {
|
|
3
3
|
Badge
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-EUPUEMFX.js";
|
|
5
|
+
import "../chunk-6C5D6O3D.js";
|
|
5
6
|
import "../chunk-H6XOWGQV.js";
|
|
6
7
|
import "../chunk-OEMZFRLF.js";
|
|
7
8
|
import "../chunk-O23DG4VH.js";
|
|
8
|
-
import "../chunk-6C5D6O3D.js";
|
|
9
9
|
import "../chunk-3UIDKLML.js";
|
|
10
10
|
import "../chunk-PYC4CWCQ.js";
|
|
11
11
|
import "../chunk-TYJR4GOF.js";
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useRowConfirm
|
|
3
|
+
} from "../chunk-3YKKMZ3J.js";
|
|
4
|
+
import {
|
|
5
|
+
useRemoveConfirm
|
|
6
|
+
} from "../chunk-YBFDLR3C.js";
|
|
1
7
|
import {
|
|
2
8
|
rowActionsToMenuItems
|
|
3
9
|
} from "../chunk-ZBXG6RVJ.js";
|
|
@@ -8,19 +14,13 @@ import {
|
|
|
8
14
|
Ledger,
|
|
9
15
|
TagList
|
|
10
16
|
} from "../chunk-JOKWTRWL.js";
|
|
11
|
-
import {
|
|
12
|
-
CardKebab
|
|
13
|
-
} from "../chunk-XGIJGIN3.js";
|
|
14
|
-
import {
|
|
15
|
-
useRowConfirm
|
|
16
|
-
} from "../chunk-3YKKMZ3J.js";
|
|
17
|
-
import {
|
|
18
|
-
useRemoveConfirm
|
|
19
|
-
} from "../chunk-YBFDLR3C.js";
|
|
20
17
|
import {
|
|
21
18
|
CardActionsProvider,
|
|
22
19
|
useCardActions
|
|
23
20
|
} from "../chunk-UZANFXCK.js";
|
|
21
|
+
import {
|
|
22
|
+
CardKebab
|
|
23
|
+
} from "../chunk-XGIJGIN3.js";
|
|
24
24
|
import "../chunk-WVML3ENZ.js";
|
|
25
25
|
import "../chunk-2X2G75MV.js";
|
|
26
26
|
import "../chunk-XCBQXSTR.js";
|
|
@@ -1,23 +1,28 @@
|
|
|
1
1
|
import "../chunk-5KLSLD72.js";
|
|
2
2
|
import {
|
|
3
3
|
SpecChart
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-GS5EPYB4.js";
|
|
5
5
|
import {
|
|
6
6
|
Chart
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-5XFJCWPY.js";
|
|
8
8
|
import {
|
|
9
9
|
CHART_SEMANTIC_COLORS,
|
|
10
10
|
ChartSpecError,
|
|
11
11
|
parseChartSpec,
|
|
12
12
|
specToChartProps
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-HQCZT6TO.js";
|
|
14
|
+
import {
|
|
15
|
+
chartValueFormatter,
|
|
16
|
+
formatChartValue
|
|
17
|
+
} from "../chunk-6GPNZSAE.js";
|
|
14
18
|
import {
|
|
15
19
|
getChartSpecRenderer,
|
|
16
20
|
getRegisteredChartSpecTypes,
|
|
17
21
|
registerChartSpecRenderer
|
|
18
22
|
} from "../chunk-WKUA6P3W.js";
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-L4Z7B7KL.js";
|
|
24
|
+
import "../chunk-3JYCS7VO.js";
|
|
25
|
+
import "../chunk-FIMSPRKX.js";
|
|
21
26
|
import "../chunk-SOHQPPYJ.js";
|
|
22
27
|
import {
|
|
23
28
|
ChartContainer,
|
|
@@ -26,11 +31,6 @@ import {
|
|
|
26
31
|
ChartTooltip,
|
|
27
32
|
ChartTooltipContent
|
|
28
33
|
} from "../chunk-RIRTW5EU.js";
|
|
29
|
-
import "../chunk-FIMSPRKX.js";
|
|
30
|
-
import {
|
|
31
|
-
chartValueFormatter,
|
|
32
|
-
formatChartValue
|
|
33
|
-
} from "../chunk-6GPNZSAE.js";
|
|
34
34
|
import "../chunk-B7ZHEOQQ.js";
|
|
35
35
|
import "../chunk-BRHRK7BK.js";
|
|
36
36
|
import "../chunk-25MSGLNU.js";
|
|
@@ -1,85 +1,87 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BaseCard
|
|
3
|
+
} from "../chunk-35IEACIJ.js";
|
|
1
4
|
import {
|
|
2
5
|
DataViewsTableBase
|
|
3
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-ZUQX7XHJ.js";
|
|
4
7
|
import "../chunk-H7R6UKOE.js";
|
|
5
8
|
import {
|
|
6
9
|
DataViewsGrid
|
|
7
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-USZMUOI6.js";
|
|
8
11
|
import {
|
|
9
12
|
BaseListCard
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-V4V2N6YJ.js";
|
|
12
|
-
import "../chunk-PIIPEXRM.js";
|
|
13
|
-
import "../chunk-U47KRLEW.js";
|
|
14
|
-
import "../chunk-ZWBGQYVO.js";
|
|
13
|
+
} from "../chunk-PJ5HXNBG.js";
|
|
15
14
|
import "../chunk-2JCRNWHE.js";
|
|
16
|
-
import
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
import "../chunk-36RYXV4R.js";
|
|
16
|
+
import "../chunk-TVMSXL3R.js";
|
|
17
|
+
import "../chunk-YP7SQ5DM.js";
|
|
19
18
|
import "../chunk-EUGF43BX.js";
|
|
19
|
+
import "../chunk-56PBNYXF.js";
|
|
20
20
|
import "../chunk-ZOLAYP2D.js";
|
|
21
21
|
import {
|
|
22
22
|
DragContainerProvider,
|
|
23
23
|
DropIndicator,
|
|
24
24
|
useDragItem
|
|
25
25
|
} from "../chunk-K4EKTMTC.js";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-PZPTTAO5.js";
|
|
27
|
+
import "../chunk-PKGBW7KS.js";
|
|
28
|
+
import {
|
|
29
|
+
DataViewsBoard
|
|
30
|
+
} from "../chunk-NHHWNA5W.js";
|
|
31
|
+
import "../chunk-SKOAJPOS.js";
|
|
28
32
|
import "../chunk-6NWFX2XJ.js";
|
|
29
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-NBM3YJ4P.js";
|
|
30
34
|
import "../chunk-QLJU7UUI.js";
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
35
|
+
import "../chunk-QJWIX4YZ.js";
|
|
36
|
+
import "../chunk-EBSA4EYR.js";
|
|
33
37
|
import "../chunk-GWUJIO6Z.js";
|
|
34
38
|
import "../chunk-X3AFXHY5.js";
|
|
35
|
-
import "../chunk-
|
|
36
|
-
import
|
|
37
|
-
|
|
38
|
-
} from "../chunk-NHHWNA5W.js";
|
|
39
|
-
import "../chunk-EWIKSTJV.js";
|
|
39
|
+
import "../chunk-5WJFCQFN.js";
|
|
40
|
+
import "../chunk-FJ3UZ4RC.js";
|
|
41
|
+
import "../chunk-GCZJH4XL.js";
|
|
40
42
|
import "../chunk-7D7CJRL7.js";
|
|
41
43
|
import "../chunk-CBOB5AV6.js";
|
|
42
44
|
import "../chunk-K6WY2CHG.js";
|
|
43
45
|
import "../chunk-6QYKZMEE.js";
|
|
44
46
|
import "../chunk-DNT5PZLF.js";
|
|
45
|
-
import "../chunk-FJ3UZ4RC.js";
|
|
46
47
|
import "../chunk-5YDS6HO3.js";
|
|
47
48
|
import "../chunk-CFAIMOFE.js";
|
|
48
49
|
import "../chunk-ACBHZG3Z.js";
|
|
49
50
|
import "../chunk-5JWCNQSI.js";
|
|
50
51
|
import "../chunk-O5UGAL2V.js";
|
|
51
|
-
import "../chunk-GCZJH4XL.js";
|
|
52
52
|
import "../chunk-G6EJLEVV.js";
|
|
53
53
|
import "../chunk-X7HCS3HP.js";
|
|
54
54
|
import "../chunk-6J27G2HT.js";
|
|
55
55
|
import "../chunk-GRRW5NSR.js";
|
|
56
56
|
import "../chunk-5M4TYFR3.js";
|
|
57
|
-
import "../chunk-
|
|
58
|
-
import "../chunk-
|
|
59
|
-
import "../chunk-
|
|
60
|
-
import "../chunk-CTIMTEH7.js";
|
|
61
|
-
import "../chunk-WSAUWJFO.js";
|
|
57
|
+
import "../chunk-UZCQHNXC.js";
|
|
58
|
+
import "../chunk-VZCZAHMX.js";
|
|
59
|
+
import "../chunk-NFCAXQ3F.js";
|
|
62
60
|
import "../chunk-TTIZUZ57.js";
|
|
61
|
+
import "../chunk-WSAUWJFO.js";
|
|
63
62
|
import "../chunk-YLGY3D52.js";
|
|
63
|
+
import "../chunk-JA6GKU65.js";
|
|
64
|
+
import "../chunk-5NOCDQJD.js";
|
|
64
65
|
import "../chunk-HR7YTBR7.js";
|
|
65
66
|
import "../chunk-DZEC6RFM.js";
|
|
66
|
-
import "../chunk-
|
|
67
|
+
import "../chunk-EFLRNSE6.js";
|
|
67
68
|
import "../chunk-BTJFOPCQ.js";
|
|
68
69
|
import "../chunk-YGQX7BNI.js";
|
|
70
|
+
import "../chunk-IMLIIW77.js";
|
|
71
|
+
import "../chunk-LLZWB32X.js";
|
|
69
72
|
import {
|
|
70
73
|
DataViewsScopeTabs,
|
|
71
74
|
assertNoScopePillOverlap,
|
|
72
75
|
resolveScope
|
|
73
76
|
} from "../chunk-PL2AB5HJ.js";
|
|
77
|
+
import "../chunk-U5FOJBLG.js";
|
|
74
78
|
import "../chunk-NQZNV3VR.js";
|
|
75
|
-
import "../chunk-IMLIIW77.js";
|
|
76
|
-
import "../chunk-LLZWB32X.js";
|
|
77
79
|
import "../chunk-DUVH273U.js";
|
|
78
80
|
import {
|
|
79
81
|
DEFAULT_RAILS,
|
|
80
82
|
ListCardGroup,
|
|
81
83
|
RAIL_COUNT
|
|
82
|
-
} from "../chunk-
|
|
84
|
+
} from "../chunk-6FAYTKXW.js";
|
|
83
85
|
import {
|
|
84
86
|
cardMinWidthForZoom,
|
|
85
87
|
cardScaleForZoom
|
|
@@ -89,15 +91,15 @@ import {
|
|
|
89
91
|
DATA_VIEWS_LAYOUTS,
|
|
90
92
|
toSavedViewSummary
|
|
91
93
|
} from "../chunk-LHHAYZ55.js";
|
|
92
|
-
import {
|
|
93
|
-
DEFAULT_CELL_WIDTH
|
|
94
|
-
} from "../chunk-COYGTEN5.js";
|
|
95
|
-
import "../chunk-U5FOJBLG.js";
|
|
96
|
-
import "../chunk-5NOCDQJD.js";
|
|
97
94
|
import {
|
|
98
95
|
DataViewsCopyProvider,
|
|
99
96
|
useDataViewsCopy
|
|
100
97
|
} from "../chunk-KHG57NAE.js";
|
|
98
|
+
import "../chunk-U3HEYECF.js";
|
|
99
|
+
import {
|
|
100
|
+
DEFAULT_CELL_WIDTH
|
|
101
|
+
} from "../chunk-F5S5UFGD.js";
|
|
102
|
+
import "../chunk-ZMUXC3VB.js";
|
|
101
103
|
import "../chunk-NCS2TBIP.js";
|
|
102
104
|
import "../chunk-Y4KKS6WL.js";
|
|
103
105
|
import "../chunk-WVML3ENZ.js";
|
package/dist/en-US.js
CHANGED
package/dist/locales.js
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
EN_US_LIGHTBOX_COPY,
|
|
8
8
|
EN_US_MAP_PREVIEW_COPY,
|
|
9
9
|
EN_US_TIMING_DIAGRAM_COPY
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-D7PVIC33.js";
|
|
11
11
|
import {
|
|
12
12
|
EN_US_INSTALL_PROMPT_COPY,
|
|
13
13
|
EN_US_USER_AVATAR_COPY
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
PT_BR_LIGHTBOX_COPY,
|
|
47
47
|
PT_BR_MAP_PREVIEW_COPY,
|
|
48
48
|
PT_BR_TIMING_DIAGRAM_COPY
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-U57NFQYE.js";
|
|
50
50
|
import {
|
|
51
51
|
PT_BR_INSTALL_PROMPT_COPY,
|
|
52
52
|
PT_BR_USER_AVATAR_COPY
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import "../chunk-R26KYJHK.js";
|
|
2
2
|
import {
|
|
3
3
|
SectionNav
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-46ZATLQV.js";
|
|
5
|
+
import "../chunk-53ACGKBW.js";
|
|
6
|
+
import "../chunk-RREWYOKS.js";
|
|
7
7
|
import {
|
|
8
8
|
sectionNavBarInset
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-VWW2EXH7.js";
|
|
10
10
|
import {
|
|
11
11
|
RaisedActionButton
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-7AAJYWC3.js";
|
|
13
|
+
import "../chunk-WF3P7GE5.js";
|
|
14
|
+
import "../chunk-IK2ZVV3M.js";
|
|
15
15
|
import "../chunk-P3GBXE73.js";
|
|
16
16
|
import "../chunk-TMSWLFL4.js";
|
|
17
17
|
import "../chunk-UYCFHV2S.js";
|
|
18
18
|
import "../chunk-5AK2EZG5.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-EUPUEMFX.js";
|
|
20
|
+
import "../chunk-6C5D6O3D.js";
|
|
20
21
|
import "../chunk-H6XOWGQV.js";
|
|
21
22
|
import "../chunk-OEMZFRLF.js";
|
|
22
23
|
import "../chunk-O23DG4VH.js";
|
|
23
|
-
import "../chunk-6C5D6O3D.js";
|
|
24
24
|
import "../chunk-3UIDKLML.js";
|
|
25
25
|
import "../chunk-PYC4CWCQ.js";
|
|
26
26
|
import "../chunk-TYJR4GOF.js";
|