@infotrust/ui 0.0.0-stage → 0.30.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/LICENSE +24 -0
- package/NOTICE.md +37 -0
- package/README.md +53 -2
- package/dist/assistant-session-DP4_70Xk.js +1381 -0
- package/dist/command-Bjncx7YR.js +1279 -0
- package/dist/components/actions/ItActionMenu.vue.d.ts +24 -0
- package/dist/components/actions/ItDecisionToggle.vue.d.ts +22 -0
- package/dist/components/actions/ItIconButton.vue.d.ts +24 -0
- package/dist/components/actions/ItLinkButton.vue.d.ts +17 -0
- package/dist/components/actions/action-menu.d.ts +19 -0
- package/dist/components/charts/ItBarChart.vue.d.ts +121 -0
- package/dist/components/charts/ItCalendarChart.vue.d.ts +80 -0
- package/dist/components/charts/ItChartLegend.vue.d.ts +47 -0
- package/dist/components/charts/ItChartTable.vue.d.ts +16 -0
- package/dist/components/charts/ItChartTooltip.vue.d.ts +52 -0
- package/dist/components/charts/ItDonutChart.vue.d.ts +79 -0
- package/dist/components/charts/ItProportionBar.vue.d.ts +42 -0
- package/dist/components/charts/ItSparkline.vue.d.ts +42 -0
- package/dist/components/charts/ItTrendChart.vue.d.ts +80 -0
- package/dist/components/charts/chart.d.ts +84 -0
- package/dist/components/charts/selection.d.ts +14 -0
- package/dist/components/charts/skeleton.d.ts +16 -0
- package/dist/components/command/ItAssistantPanel.vue.d.ts +56 -0
- package/dist/components/command/ItAssistantThread.vue.d.ts +73 -0
- package/dist/components/command/ItCommandPalette.vue.d.ts +102 -0
- package/dist/components/command/ItMarkdown.vue.d.ts +12 -0
- package/dist/components/command/assistant-session.d.ts +26 -0
- package/dist/components/command/command.d.ts +127 -0
- package/dist/components/command/markdown.d.ts +55 -0
- package/dist/components/content/ItDocsArticle.vue.d.ts +18 -0
- package/dist/components/content/ItDocsLayout.vue.d.ts +29 -0
- package/dist/components/content/ItDocsPager.vue.d.ts +12 -0
- package/dist/components/content/ItProse.vue.d.ts +18 -0
- package/dist/components/content/docs.d.ts +23 -0
- package/dist/components/dag/ItDagCanvas.vue.d.ts +143 -0
- package/dist/components/dag/ItDagControls.vue.d.ts +2 -0
- package/dist/components/dag/ItDagEdge.vue.d.ts +21 -0
- package/dist/components/dag/ItDagLibrary.vue.d.ts +19 -0
- package/dist/components/dag/ItDagNode.vue.d.ts +20 -0
- package/dist/components/dag/dag.d.ts +182 -0
- package/dist/components/dag/history.d.ts +51 -0
- package/dist/components/dag/layout.d.ts +54 -0
- package/dist/components/dag/route.d.ts +24 -0
- package/dist/components/data/DataError.vue.d.ts +12 -0
- package/dist/components/data/ItChangeList.vue.d.ts +48 -0
- package/dist/components/data/ItCodeBlock.vue.d.ts +23 -0
- package/dist/components/data/ItDataTable.vue.d.ts +135 -0
- package/dist/components/data/ItDataToolbar.vue.d.ts +57 -0
- package/dist/components/data/ItDescriptionList.vue.d.ts +30 -0
- package/dist/components/data/ItEmptyState.vue.d.ts +22 -0
- package/dist/components/data/ItKpiCard.vue.d.ts +89 -0
- package/dist/components/data/ItKpiDetail.vue.d.ts +40 -0
- package/dist/components/data/ItKpiGrid.vue.d.ts +19 -0
- package/dist/components/data/ItObjectName.vue.d.ts +64 -0
- package/dist/components/data/ItPaginator.vue.d.ts +46 -0
- package/dist/components/data/ItResourceList.vue.d.ts +39 -0
- package/dist/components/data/ItResourceListItem.vue.d.ts +40 -0
- package/dist/components/data/ItSkeleton.vue.d.ts +14 -0
- package/dist/components/data/ItTablePaginator.vue.d.ts +34 -0
- package/dist/components/data/ItTime.vue.d.ts +13 -0
- package/dist/components/data/ItTreeTable.vue.d.ts +109 -0
- package/dist/components/data/TableChevron.vue.d.ts +8 -0
- package/dist/components/data/TableExpansion.vue.d.ts +22 -0
- package/dist/components/data/column-sizing.d.ts +31 -0
- package/dist/components/data/data-table.d.ts +15 -0
- package/dist/components/data/highlight-worker.d.ts +1 -0
- package/dist/components/data/highlight.d.ts +3 -0
- package/dist/components/data/kpi-placement.d.ts +40 -0
- package/dist/components/data/kpi.d.ts +16 -0
- package/dist/components/data/sticky-header.d.ts +9 -0
- package/dist/components/data/table-skeleton.d.ts +11 -0
- package/dist/components/data/table-source.d.ts +77 -0
- package/dist/components/data/tree-table-public.d.ts +17 -0
- package/dist/components/data/tree-table.d.ts +30 -0
- package/dist/components/feedback/ItCallout.vue.d.ts +25 -0
- package/dist/components/feedback/ItConfirmHost.vue.d.ts +2 -0
- package/dist/components/feedback/ItOverlayHost.vue.d.ts +2 -0
- package/dist/components/feedback/ItProgressBar.vue.d.ts +19 -0
- package/dist/components/feedback/ItToastHost.vue.d.ts +2 -0
- package/dist/components/forms/FieldClearButton.vue.d.ts +11 -0
- package/dist/components/forms/ItAutoComplete.vue.d.ts +69 -0
- package/dist/components/forms/ItCheckboxGroup.vue.d.ts +27 -0
- package/dist/components/forms/ItChipInput.vue.d.ts +32 -0
- package/dist/components/forms/ItCodeEditor.vue.d.ts +64 -0
- package/dist/components/forms/ItDatePicker.vue.d.ts +35 -0
- package/dist/components/forms/ItFileDrop.vue.d.ts +47 -0
- package/dist/components/forms/ItFilterChip.vue.d.ts +13 -0
- package/dist/components/forms/ItFilterMenu.vue.d.ts +37 -0
- package/dist/components/forms/ItFilterPopover.vue.d.ts +44 -0
- package/dist/components/forms/ItFormActions.vue.d.ts +14 -0
- package/dist/components/forms/ItFormField.vue.d.ts +44 -0
- package/dist/components/forms/ItFormRows.vue.d.ts +50 -0
- package/dist/components/forms/ItFormSection.vue.d.ts +28 -0
- package/dist/components/forms/ItLabelCell.vue.d.ts +42 -0
- package/dist/components/forms/ItLabelPicker.vue.d.ts +34 -0
- package/dist/components/forms/ItMultiSelect.vue.d.ts +53 -0
- package/dist/components/forms/ItOptionCardGroup.vue.d.ts +35 -0
- package/dist/components/forms/ItRadioGroup.vue.d.ts +29 -0
- package/dist/components/forms/ItSearchInput.vue.d.ts +25 -0
- package/dist/components/forms/ItSegmentedControl.vue.d.ts +25 -0
- package/dist/components/forms/ItSelect.vue.d.ts +50 -0
- package/dist/components/forms/ItSwitch.vue.d.ts +31 -0
- package/dist/components/forms/ItTabs.vue.d.ts +27 -0
- package/dist/components/forms/OptionSourceSlot.vue.d.ts +13 -0
- package/dist/components/forms/choice.d.ts +24 -0
- package/dist/components/forms/code-editor.d.ts +17 -0
- package/dist/components/forms/field-context.d.ts +39 -0
- package/dist/components/forms/file-drop.d.ts +19 -0
- package/dist/components/forms/form-errors.d.ts +7 -0
- package/dist/components/forms/form-rows.d.ts +8 -0
- package/dist/components/forms/option-source.d.ts +39 -0
- package/dist/components/forms/virtual-options.d.ts +12 -0
- package/dist/components/layout/ItBreadcrumb.vue.d.ts +12 -0
- package/dist/components/layout/ItDetailSection.vue.d.ts +21 -0
- package/dist/components/layout/ItPage.vue.d.ts +44 -0
- package/dist/components/layout/ItPanel.vue.d.ts +47 -0
- package/dist/components/layout/ItSectionNav.vue.d.ts +43 -0
- package/dist/components/layout/ItWizard.vue.d.ts +57 -0
- package/dist/components/layout/ItWizardSteps.vue.d.ts +15 -0
- package/dist/components/layout/SectionNavLinks.vue.d.ts +15 -0
- package/dist/components/layout/panel.d.ts +18 -0
- package/dist/components/layout/section-nav.d.ts +17 -0
- package/dist/components/layout/wizard.d.ts +13 -0
- package/dist/components/logic/ItFieldPicker.vue.d.ts +40 -0
- package/dist/components/logic/ItLogicBuilder.vue.d.ts +58 -0
- package/dist/components/logic/ItLogicCondition.vue.d.ts +9 -0
- package/dist/components/logic/ItLogicGroup.vue.d.ts +9 -0
- package/dist/components/logic/ItOperatorSelect.vue.d.ts +25 -0
- package/dist/components/logic/ItValueInput.vue.d.ts +29 -0
- package/dist/components/logic/logic.d.ts +263 -0
- package/dist/components/logic/region.d.ts +44 -0
- package/dist/components/overlays/ItDrawer.vue.d.ts +48 -0
- package/dist/components/overlays/ItModal.vue.d.ts +53 -0
- package/dist/components/overlays/escape-stack.d.ts +7 -0
- package/dist/components/overlays/modal.d.ts +23 -0
- package/dist/components/shell/ItAppShell.vue.d.ts +68 -0
- package/dist/components/shell/ItCommandTrigger.vue.d.ts +17 -0
- package/dist/components/shell/ItOrgSwitcher.vue.d.ts +26 -0
- package/dist/components/shell/ItShellMenuItem.vue.d.ts +18 -0
- package/dist/components/shell/ItShellNavBranch.vue.d.ts +15 -0
- package/dist/components/shell/ItShellNavLink.vue.d.ts +18 -0
- package/dist/components/shell/ItShellSidebarButton.vue.d.ts +15 -0
- package/dist/components/shell/ItThemeControl.vue.d.ts +13 -0
- package/dist/components/shell/org.d.ts +36 -0
- package/dist/components/shell/types.d.ts +67 -0
- package/dist/components/status/ItBadge.vue.d.ts +12 -0
- package/dist/components/status/ItEntityTypeChip.vue.d.ts +14 -0
- package/dist/components/status/ItLabelChip.vue.d.ts +21 -0
- package/dist/components/status/ItLabelChipList.vue.d.ts +27 -0
- package/dist/components/status/ItPlatformChip.vue.d.ts +20 -0
- package/dist/components/status/ItPlatformLogo.vue.d.ts +17 -0
- package/dist/components/status/ItSeverityBadge.vue.d.ts +9 -0
- package/dist/components/status/ItStatus.vue.d.ts +12 -0
- package/dist/components.css +1 -0
- package/dist/composables/iconMotion.d.ts +12 -0
- package/dist/composables/ripple.d.ts +3 -0
- package/dist/composables/useItConfirm.d.ts +16 -0
- package/dist/composables/useItCopy.d.ts +4 -0
- package/dist/composables/useItCursorPager.d.ts +50 -0
- package/dist/composables/useItTheme.d.ts +26 -0
- package/dist/composables/useItToast.d.ts +24 -0
- package/dist/dag.d.ts +5 -0
- package/dist/dag.js +1754 -0
- package/dist/dev-D7A7MIn_.js +1264 -0
- package/dist/directives/truncate.d.ts +29 -0
- package/dist/elk-worker.min-O2A22ecl.js +6321 -0
- package/dist/format/index.d.ts +53 -0
- package/dist/highlight-worker-DIrLC7a2.js +25 -0
- package/dist/index.d.ts +147 -0
- package/dist/index.js +11989 -0
- package/dist/licenses/@vue-flow__core.LICENSE +20 -0
- package/dist/licenses/elkjs.LICENSE.md +263 -0
- package/dist/licenses/highlight.js.LICENSE +29 -0
- package/dist/licenses/vue-sonner.LICENSE +21 -0
- package/dist/platform-art-Bt1CnaKE.js +86 -0
- package/dist/plugin.d.ts +69 -0
- package/dist/registries/entity-type.d.ts +18 -0
- package/dist/registries/platform-art.d.ts +2 -0
- package/dist/registries/platform-marks.d.ts +12 -0
- package/dist/registries/platform.d.ts +22 -0
- package/dist/registries/severity.d.ts +23 -0
- package/dist/registries/status.d.ts +13 -0
- package/dist/styles.css +26 -0
- package/dist/text-nGkJYA88.js +470 -0
- package/dist/utils/chip-truncation.d.ts +8 -0
- package/dist/utils/chunk-recovery.d.ts +24 -0
- package/dist/utils/dev.d.ts +2 -0
- package/dist/utils/listeners.d.ts +10 -0
- package/dist/utils/router.d.ts +9 -0
- package/dist/utils/scroll.d.ts +8 -0
- package/dist/utils/select.d.ts +21 -0
- package/dist/utils/text.d.ts +6 -0
- package/package.json +92 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 InfoTrust, LLC
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
|
23
|
+
The brand marks in this package and the third-party code it bundles are not
|
|
24
|
+
covered by this license. See NOTICE.md.
|
package/NOTICE.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Notices for @infotrust/ui
|
|
2
|
+
|
|
3
|
+
The code written for this package is under the MIT License (see LICENSE). Two
|
|
4
|
+
kinds of content in it are not.
|
|
5
|
+
|
|
6
|
+
## Brand marks
|
|
7
|
+
|
|
8
|
+
`ItPlatformLogo` and `ItPlatformChip` draw the logos of other companies'
|
|
9
|
+
products (Google, Google Analytics, Google Tag Manager, Google Ads, Campaign
|
|
10
|
+
Manager 360, Display & Video 360, Search Ads 360, Google Ad Manager, BigQuery,
|
|
11
|
+
Looker Studio, Google Cloud, YouTube, Gmail, Google Sheets, Google Drive, Meta,
|
|
12
|
+
Instagram, TikTok, Snapchat, LinkedIn, Pinterest, Reddit, X, Amazon Ads,
|
|
13
|
+
Microsoft Advertising, Microsoft Teams, Microsoft Excel, Adobe Analytics,
|
|
14
|
+
Tealium, Segment, Amplitude, Snowflake, ServiceNow, Jira, Slack, Salesforce,
|
|
15
|
+
HubSpot, Shopify, and others). The art is in `dist/platform-art-*.js`.
|
|
16
|
+
|
|
17
|
+
These logos are trademarks of their owners. They are included only so that
|
|
18
|
+
InfoTrust products can name the platforms they connect to. The MIT License does
|
|
19
|
+
not grant any right to them. Their use is subject to each owner's brand
|
|
20
|
+
guidelines, and nothing here implies that any owner endorses InfoTrust or this
|
|
21
|
+
package. Tag Inspector is a trademark of InfoTrust, LLC.
|
|
22
|
+
|
|
23
|
+
## Third-party code bundled in dist
|
|
24
|
+
|
|
25
|
+
The package bundles parts of these projects. Their license texts are in
|
|
26
|
+
`dist/licenses/`.
|
|
27
|
+
|
|
28
|
+
| Project | Version | License | Where it is | Source |
|
|
29
|
+
|---|---|---|---|---|
|
|
30
|
+
| elkjs (Eclipse Layout Kernel) | 0.12.0 | EPL-2.0 OR GPL-3.0-or-later (distributed here under EPL-2.0) | `dist/elk-worker.min-*.js`, the DAG layout worker | https://github.com/kieler/elkjs |
|
|
31
|
+
| highlight.js | 11.12.0 | BSD-3-Clause, Copyright (c) 2006, Ivan Sagalaev | `dist/highlight-worker-*.js` and the code block styles | https://github.com/highlightjs/highlight.js |
|
|
32
|
+
| vue-sonner | 2.0.9 | MIT, Copyright (c) 2022 Yunwei Xiao | the toast host in `dist/index.js` and `dist/components.css` | https://github.com/xiaoluoboding/vue-sonner |
|
|
33
|
+
| @vue-flow/core (base styles) | 1.48.2 | MIT, Copyright (c) 2019-2025 webkid GmbH, Copyright (c) 2021-2025 Burak Cakmakoglu | `dist/components.css` | https://github.com/bcakmakoglu/vue-flow |
|
|
34
|
+
|
|
35
|
+
The elkjs worker is the unmodified build that elkjs publishes. Its source code
|
|
36
|
+
is available at the address above, under the Eclipse Public License 2.0
|
|
37
|
+
(https://www.eclipse.org/legal/epl-2.0/).
|
package/README.md
CHANGED
|
@@ -1,3 +1,54 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @infotrust/ui
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
InfoTrust's Vue 3 + PrimeVue 4 component library, built on [`@infotrust/design-tokens`](https://www.npmjs.com/package/@infotrust/design-tokens). It is the standard UI for the InfoTrust Suite, its modules, Tag Inspector, and new InfoTrust apps.
|
|
4
|
+
|
|
5
|
+
> **Built for InfoTrust products.** This package is public so InfoTrust's own apps and build systems can install it without credentials. It is not a general-purpose library and has no support for outside use. It changes when InfoTrust's products need it to, and a release (minor ones included, while it is 0.x) can change or remove anything without notice. Use it at your own risk under the MIT License.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pnpm add @infotrust/ui @infotrust/design-tokens "primevue@^4.5.0" "@primeuix/themes@^2.0.3" lucide-vue-next
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
No registry setup and no token: it installs from the public npm registry.
|
|
14
|
+
|
|
15
|
+
Peers: `vue ^3.5.0`, `primevue >=4.5.0 <5`, `@primeuix/themes ^2.0.3`, `lucide-vue-next >=0.400.0`, and optionally `vue-router ^4.0.0`. The DAG canvas (`@infotrust/ui/dag`) also needs `@vue-flow/core ^1.48.0` and `elkjs ^0.12.0`.
|
|
16
|
+
|
|
17
|
+
## Use
|
|
18
|
+
|
|
19
|
+
```ts
|
|
20
|
+
import '@infotrust/ui/styles.css'; // fonts, tokens, base, and component CSS, in cascade layers
|
|
21
|
+
import { createInfotrustUI, initItTheme } from '@infotrust/ui';
|
|
22
|
+
|
|
23
|
+
initItTheme(); // before mount: applies the saved light/system/dark preference
|
|
24
|
+
createApp(App).use(createInfotrustUI()).mount('#app');
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
`styles.css` declares the layer order `it-tokens, it-base, primevue, it-components, it-overrides`, and `createInfotrustUI()` puts PrimeVue's runtime theme in the `primevue` layer. App CSS is unlayered and always wins, so overrides never need `!important`. `@infotrust/ui/components.css` is the component CSS alone, for apps that load the tokens another way.
|
|
28
|
+
|
|
29
|
+
Render `<ItOverlayHost />` once in the root component (toasts and confirmations).
|
|
30
|
+
|
|
31
|
+
```vue
|
|
32
|
+
<ItPage title="Monitor">
|
|
33
|
+
<template #meta><ItStatus status="succeeded" :label="`Last scan ${formatFreshness(lastScan)}`" /></template>
|
|
34
|
+
<template #actions><Button label="Run scan" @click="run" /></template>
|
|
35
|
+
|
|
36
|
+
<ItPanel padding="none">
|
|
37
|
+
<template #toolbar>
|
|
38
|
+
<ItDataToolbar v-model:search="q" :count="rows.length" noun="findings" />
|
|
39
|
+
</template>
|
|
40
|
+
<ItDataTable :value="rows" :loading="loading" data-key="id">
|
|
41
|
+
<Column field="score" header="Severity"><template #body="{ data }"><ItSeverityBadge :severity="data.score" /></template></Column>
|
|
42
|
+
<Column field="title" header="Finding" body-class="it-cell-primary" />
|
|
43
|
+
</ItDataTable>
|
|
44
|
+
</ItPanel>
|
|
45
|
+
</ItPage>
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Component choice, APIs, and page patterns are in the `infotrust-ui` Claude Code plugin and on design.infotrust.com (InfoTrust staff sign-in).
|
|
49
|
+
|
|
50
|
+
## License and notices
|
|
51
|
+
|
|
52
|
+
MIT, Copyright (c) 2026 InfoTrust, LLC. The brand logos that `ItPlatformLogo` draws are trademarks of their owners and are not covered by the MIT License. The package bundles third-party code under its own licenses (elkjs, highlight.js, vue-sonner, and Vue Flow's base styles). Both are listed in [NOTICE.md](./NOTICE.md), and the license texts are in `dist/licenses/`.
|
|
53
|
+
|
|
54
|
+
Security problems: email ryan.bulcher@infotrustllc.com. Do not open a public issue.
|