bitboss-ui 2.1.97 → 2.1.98
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/README.md +138 -11
- package/dist/index108.js +9 -9
- package/dist/index115.js +1 -1
- package/dist/index121.js +4 -4
- package/dist/index123.js +12 -12
- package/dist/index131.js +1 -1
- package/dist/index133.js +4 -4
- package/dist/index135.js +1 -1
- package/dist/index137.js +2 -2
- package/dist/index14.js +1 -1
- package/dist/index145.js +2 -2
- package/dist/index16.js +4 -4
- package/dist/index18.js +3 -3
- package/dist/index20.js +8 -8
- package/dist/index219.js +5 -33
- package/dist/index22.js +14 -14
- package/dist/index220.js +5 -28
- package/dist/index221.js +7 -0
- package/dist/index222.js +5 -5
- package/dist/index223.js +3 -8
- package/dist/index224.js +2 -2
- package/dist/index225.js +6 -4
- package/dist/index226.js +6 -32
- package/dist/index227.js +268 -2
- package/dist/index228.js +52 -3
- package/dist/index229.js +52 -2
- package/dist/index230.js +31 -12
- package/dist/index231.js +60 -3
- package/dist/index232.js +13 -188
- package/dist/index233.js +5 -3
- package/dist/index234.js +5 -9
- package/dist/index235.js +5 -4
- package/dist/index236.js +2 -20
- package/dist/index237.js +3 -201
- package/dist/index238.js +22 -0
- package/dist/index239.js +6 -6
- package/dist/index24.js +10 -10
- package/dist/index241.js +86 -2
- package/dist/index243.js +27 -15
- package/dist/index244.js +17 -106
- package/dist/{index242.js → index245.js} +4 -4
- package/dist/index246.js +15 -100
- package/dist/index247.js +14 -0
- package/dist/index248.js +16 -3
- package/dist/index249.js +2 -86
- package/dist/index250.js +4 -0
- package/dist/index251.js +3 -29
- package/dist/index252.js +5 -16
- package/dist/index253.js +8 -15
- package/dist/index254.js +33 -3
- package/dist/index255.js +28 -12
- package/dist/index257.js +2 -4
- package/dist/index258.js +184 -19
- package/dist/index259.js +3 -33
- package/dist/index26.js +3 -3
- package/dist/index260.js +13 -2
- package/dist/index261.js +4 -8
- package/dist/index262.js +22 -8
- package/dist/index263.js +13 -23
- package/dist/index264.js +9 -3
- package/dist/index265.js +6 -12
- package/dist/index266.js +3 -9
- package/dist/index267.js +33 -52
- package/dist/index268.js +4 -10
- package/dist/index269.js +201 -3
- package/dist/index271.js +9 -5
- package/dist/index272.js +23 -2
- package/dist/index273.js +32 -6
- package/dist/index274.js +10 -6
- package/dist/index275.js +9 -17
- package/dist/index276.js +2 -11
- package/dist/index277.js +100 -98
- package/dist/index279.js +100 -5
- package/dist/index28.js +1 -1
- package/dist/index281.js +18 -5
- package/dist/index282.js +12 -5
- package/dist/index283.js +4 -6
- package/dist/index284.js +99 -263
- package/dist/index285.js +3 -52
- package/dist/index286.js +60 -45
- package/dist/index287.js +6 -32
- package/dist/index288.js +15 -59
- package/dist/index289.js +2 -7
- package/dist/index290.js +7 -5
- package/dist/index291.js +7 -5
- package/dist/index292.js +9 -5
- package/dist/index293.js +53 -6
- package/dist/index294.js +20 -15
- package/dist/index295.js +5 -21
- package/dist/index296.js +9 -0
- package/dist/index297.js +1 -1
- package/dist/index298.js +17 -4
- package/dist/index299.js +28 -7
- package/dist/index30.js +2 -2
- package/dist/index301.js +3 -5
- package/dist/index302.js +280 -3
- package/dist/index303.js +2 -3
- package/dist/index304.js +16 -3
- package/dist/index305.js +2 -3
- package/dist/index306.js +16 -17
- package/dist/index307.js +2 -3
- package/dist/index308.js +26 -27
- package/dist/index309.js +2 -5
- package/dist/index310.js +1 -1
- package/dist/index311.js +1 -1
- package/dist/index312.js +2 -280
- package/dist/index313.js +2 -2
- package/dist/index314.js +2 -16
- package/dist/index315.js +3 -2
- package/dist/index316.js +121 -12
- package/dist/index317.js +2 -2
- package/dist/index318.js +13 -25
- package/dist/index32.js +2 -2
- package/dist/index320.js +19 -2
- package/dist/index321.js +2 -2
- package/dist/index322.js +1 -1
- package/dist/index323.js +5 -2
- package/dist/index324.js +3 -2
- package/dist/index325.js +2 -4
- package/dist/index326.js +3 -719
- package/dist/index327.js +3 -366
- package/dist/index328.js +5 -57
- package/dist/index329.js +719 -125
- package/dist/index330.js +366 -2
- package/dist/index331.js +56 -14
- package/dist/index332.js +2 -2
- package/dist/index333.js +4 -19
- package/dist/index334.js +4 -2
- package/dist/index335.js +6 -58
- package/dist/index336.js +7 -58
- package/dist/index337.js +5 -228
- package/dist/index338.js +34 -5
- package/dist/index339.js +6 -93
- package/dist/index34.js +8 -8
- package/dist/index340.js +128 -7
- package/dist/index341.js +397 -5
- package/dist/index342.js +57 -7
- package/dist/index343.js +58 -35
- package/dist/index344.js +7 -6
- package/dist/index345.js +17 -127
- package/dist/index346.js +7 -396
- package/dist/index347.js +12 -131
- package/dist/index348.js +8 -193
- package/dist/index349.js +6 -258
- package/dist/index350.js +8 -7
- package/dist/index351.js +91 -17
- package/dist/index352.js +22 -9
- package/dist/index354.js +228 -5
- package/dist/index355.js +133 -6
- package/dist/index356.js +193 -2
- package/dist/index357.js +258 -2
- package/dist/index358.js +1 -21
- package/dist/index359.js +4 -0
- package/dist/index36.js +4 -4
- package/dist/index363.js +1 -1
- package/dist/index38.js +19 -19
- package/dist/index40.js +6 -6
- package/dist/index42.js +2 -2
- package/dist/index44.js +8 -8
- package/dist/index46.js +6 -6
- package/dist/index50.js +2 -2
- package/dist/index54.js +1 -1
- package/dist/index56.js +1 -1
- package/dist/index58.js +2 -2
- package/dist/index62.js +5 -5
- package/dist/index68.js +1 -1
- package/dist/index81.js +5 -5
- package/dist/index83.js +1 -1
- package/dist/index85.js +2 -2
- package/dist/index87.js +3 -3
- package/dist/index89.js +1 -1
- package/dist/index92.js +3 -3
- package/dist/index94.js +2 -2
- package/dist/index96.js +4 -4
- package/package.json +14 -3
- package/dist/index256.js +0 -15
- package/dist/index270.js +0 -69
- package/dist/index278.js +0 -13
- package/dist/index280.js +0 -7
- package/dist/index300.js +0 -4
- package/dist/index353.js +0 -17
package/README.md
CHANGED
|
@@ -1,18 +1,145 @@
|
|
|
1
|
-
#
|
|
1
|
+
# BitBoss UI (`bitboss-ui`)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Vue 3 component library used across BitBoss products. It ships typed building blocks (inputs, selects, tabs, navigation, overlays, and more), built with the Composition API, TypeScript, and Tailwind-oriented styling.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
---
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## What’s in the package
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Published artifacts are **`dist/`** (ESM JavaScript, `.d.ts`, and **`index.css`**) plus this **README**. The sections below match how the library is organised in code and in the [documentation](https://ui-components-docs.vercel.app/).
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
### Styles
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
- **Global stylesheet** — import `bitboss-ui/styles.css` once. It bundles design tokens, base rules, and styles for all exported components (built from the library’s PostCSS/Tailwind pipeline).
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
### TypeScript: icons
|
|
16
|
+
|
|
17
|
+
- **`IconType`**, **`IconRegistry`** — types used by icon-aware components; extend `IconRegistry` in your app to register project-specific icons.
|
|
18
|
+
|
|
19
|
+
### Composables
|
|
20
|
+
|
|
21
|
+
| Composable | Role |
|
|
22
|
+
| ----------------------------- | --------------------------------------------------------- |
|
|
23
|
+
| `useBbConfig` | Global options for the kit (locale, defaults, etc.). |
|
|
24
|
+
| `useBroadcastChannelInstance` | Shared `BroadcastChannel` helper for cross-tab messaging. |
|
|
25
|
+
| `useConfirm` | Programmatic confirm / modal flows. |
|
|
26
|
+
| `useCountdown` | Countdown timer state. |
|
|
27
|
+
| `useMobile` | Mobile / viewport-oriented behaviour. |
|
|
28
|
+
| `useQueue` | Simple async task queue. |
|
|
29
|
+
| `useToast` | Toast notifications API. |
|
|
30
|
+
|
|
31
|
+
### Base\* components (primitives)
|
|
32
|
+
|
|
33
|
+
Headless or low-level pieces used inside **Bb\*** wrappers or your own compositions:
|
|
34
|
+
|
|
35
|
+
- **Actions:** `BaseButton`
|
|
36
|
+
- **Text & numbers:** `BaseTextInput`, `BaseTextarea`, `BaseNumberInput`, `BaseTag`
|
|
37
|
+
- **Choice:** `BaseCheckbox`, `BaseCheckboxGroup`, `BaseRadio`, `BaseRadioGroup`, `BaseSwitch`, `BaseSwitchGroup`, `BaseSlider`, `BaseRating`
|
|
38
|
+
- **Rich inputs:** `BaseSelect`, `BaseColorInput`, `BaseDatePicker`, `BaseDatePickerInput`
|
|
39
|
+
- **Layout / chrome:** `BaseInputContainer`, `BaseDialog`
|
|
40
|
+
|
|
41
|
+
### Bb\* components (composed)
|
|
42
|
+
|
|
43
|
+
Product-ready components with labels, hints, errors, and consistent styling:
|
|
44
|
+
|
|
45
|
+
- **Forms & actions:** `BbTextInput`, `BbTextarea`, `BbNumberInput`, `BbSelect`, `BbCheckbox`, `BbCheckboxGroup`, `BbRadio`, `BbRadioGroup`, `BbSwitch`, `BbSwitchGroup`, `BbSlider`, `BbRating`, `BbColorInput`, `BbDatePickerInput`, `BbButton`, `BbChip`, `BbTag`, `BbDropdown`, `BbDropdownButton`
|
|
46
|
+
- **Feedback:** `BbAlert`, `BbProgress`, `BbSpinner`, `BbToast`, `BbTooltip`
|
|
47
|
+
- **Layout & navigation:** `BbAccordion`, `BbCollapsible`, `BbTab`, `BbBreadcrumbs`, `BbPagination`, `BbRows`, `BbRatio`, `BbSmoothHeight`
|
|
48
|
+
- **Overlays & panels:** `BbDialog`, `BbConfirm`, `BbConfirmPortal`, `BbOffCanvas`, `BbPopover`
|
|
49
|
+
- **Data:** `BbTable`, `BbTree`
|
|
50
|
+
- **Media & files:** `BbAvatar`, `BbDropzone`, `BbIcon`
|
|
51
|
+
- **Utilities:** `BbIntersection`
|
|
52
|
+
|
|
53
|
+
### Shared input shells
|
|
54
|
+
|
|
55
|
+
- **`CommonInputInnerContainer`**, **`CommonInputOuterContainer`** — layout primitives for building inputs that align with BitBoss spacing, icons, and clear buttons.
|
|
56
|
+
|
|
57
|
+
### Exported component types
|
|
58
|
+
|
|
59
|
+
For most **Base\*** and **Bb\*** components, the package exports matching **props**, **events**, and (where relevant) **slots** types (for example `BbSelectProps`, `BaseSelectEvents`). Use them for typed wrappers and design-system layers; the docs list the full set per component.
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## Documentation
|
|
64
|
+
|
|
65
|
+
**Primary docs (components, props, guides):**
|
|
66
|
+
|
|
67
|
+
- [BitBoss UI documentation](https://ui-components-docs.vercel.app/) — site with guides and API reference.
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## BitBoss
|
|
72
|
+
|
|
73
|
+
This package is developed and maintained by [BitBoss](https://www.bitboss.it/), a software house based in Turin, Italy.
|
|
74
|
+
|
|
75
|
+
- [BitBoss — homepage](https://www.bitboss.it/)
|
|
76
|
+
- [BitBoss Developers](https://developers.bitboss.it/) — community and developer-facing resources
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## Requirements
|
|
81
|
+
|
|
82
|
+
- **Vue** `^3.5.12` (peer dependency).
|
|
83
|
+
- **`@inertiajs/vue3`** — optional peer. Install it only if you use Inertia-specific helpers or components that expect an Inertia app; Nuxt and plain Vue apps can omit it.
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## Installation
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
npm install bitboss-ui
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
pnpm add bitboss-ui
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
yarn add bitboss-ui
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
## Quick start
|
|
104
|
+
|
|
105
|
+
### JavaScript / TypeScript
|
|
106
|
+
|
|
107
|
+
The package exposes ESM entry points (see `package.json` → `exports`).
|
|
108
|
+
|
|
109
|
+
```ts
|
|
110
|
+
import { BbButton, BbTextInput, useToast } from 'bitboss-ui';
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
### Styles
|
|
114
|
+
|
|
115
|
+
Bundled CSS is published under the `styles` export:
|
|
116
|
+
|
|
117
|
+
```ts
|
|
118
|
+
import 'bitboss-ui/styles.css';
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
Use this once in your app entry (or in Nuxt/Vite global CSS) so components match the intended look and layout.
|
|
122
|
+
|
|
123
|
+
## Local development (this repository)
|
|
124
|
+
|
|
125
|
+
Clone the repo, install dependencies, then:
|
|
126
|
+
|
|
127
|
+
| Command | Purpose |
|
|
128
|
+
| ------------------ | ---------------------------------- |
|
|
129
|
+
| `npm run dev` | Vite playground app |
|
|
130
|
+
| `npm run build` | Library build (`dist/`) |
|
|
131
|
+
| `npm run docs:dev` | Documentation site (VitePress) |
|
|
132
|
+
| `npm run lint` | ESLint + Stylelint (as configured) |
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
## Support
|
|
137
|
+
|
|
138
|
+
- **Usage and APIs:** see the [documentation](https://ui-components-docs.vercel.app/).
|
|
139
|
+
- **Company / licensing / commercial:** [BitBoss](https://www.bitboss.it/).
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
## Trademark
|
|
144
|
+
|
|
145
|
+
“BitBoss” and related branding are property of their respective owners. This README refers to the open npm package **`bitboss-ui`** and its documentation; it does not grant additional trademark rights.
|
package/dist/index108.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as D, computed as V, toRef as r, ref as E, reactive as L, watch as m, createElementBlock as b, openBlock as B, Fragment as g, renderSlot as i, createCommentVNode as P, unref as R, renderList as j } from "vue";
|
|
2
|
-
import { useItemValue as G } from "./
|
|
3
|
-
import { isNil as k } from "./
|
|
4
|
-
import { indexBy as U } from "./
|
|
5
|
-
import { hash as p } from "./
|
|
6
|
-
import { useItemsGetter as W } from "./
|
|
7
|
-
import { usePrefill as q } from "./
|
|
8
|
-
import { useIndexById as z } from "./
|
|
9
|
-
import { useBaseOptions as J } from "./
|
|
10
|
-
import { useHashedWatcher as K } from "./
|
|
2
|
+
import { useItemValue as G } from "./index292.js";
|
|
3
|
+
import { isNil as k } from "./index257.js";
|
|
4
|
+
import { indexBy as U } from "./index294.js";
|
|
5
|
+
import { hash as p } from "./index223.js";
|
|
6
|
+
import { useItemsGetter as W } from "./index243.js";
|
|
7
|
+
import { usePrefill as q } from "./index248.js";
|
|
8
|
+
import { useIndexById as z } from "./index244.js";
|
|
9
|
+
import { useBaseOptions as J } from "./index245.js";
|
|
10
|
+
import { useHashedWatcher as K } from "./index247.js";
|
|
11
11
|
const oe = /* @__PURE__ */ D({
|
|
12
12
|
__name: "BbRows",
|
|
13
13
|
props: {
|
package/dist/index115.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, computed as s, createElementBlock as b, openBlock as _, mergeProps as a, createStaticVNode as x } from "vue";
|
|
2
|
-
import { isCssColor as m } from "./
|
|
2
|
+
import { isCssColor as m } from "./index249.js";
|
|
3
3
|
const d = /* @__PURE__ */ p({
|
|
4
4
|
__name: "BbSpinner",
|
|
5
5
|
props: {
|
package/dist/index121.js
CHANGED
|
@@ -8,12 +8,12 @@ import Ce from "./index14.js";
|
|
|
8
8
|
import Be from "./index113.js";
|
|
9
9
|
/* empty css */
|
|
10
10
|
import { useFrameworkDetection as Te } from "./index143.js";
|
|
11
|
-
import { merge as qe } from "./
|
|
12
|
-
import { isNil as Le } from "./
|
|
11
|
+
import { merge as qe } from "./index273.js";
|
|
12
|
+
import { isNil as Le } from "./index257.js";
|
|
13
13
|
import { useQuery as Fe } from "./index11.js";
|
|
14
|
-
import { hash as Ee } from "./
|
|
14
|
+
import { hash as Ee } from "./index223.js";
|
|
15
15
|
import { isNotNil as Ne } from "./index146.js";
|
|
16
|
-
import { useLogger as Pe } from "./
|
|
16
|
+
import { useLogger as Pe } from "./index226.js";
|
|
17
17
|
const Ve = ["id"], Re = { class: "bb-tab__label-boundary" }, Ke = { class: "bb-tab__label" }, De = { class: "bb-tab__panes-container" }, We = ["id", "aria-labelledby", "tabindex"], rt = /* @__PURE__ */ fe({
|
|
18
18
|
__name: "BbTab",
|
|
19
19
|
props: {
|
package/dist/index123.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { defineComponent as he, mergeModels as X, ref as ke, computed as u, toRef as O, useModel as Y, watch as M, reactive as ge, createBlock as Z, openBlock as s, resolveDynamicComponent as xe, normalizeClass as i, withCtx as we, createElementBlock as o, createCommentVNode as p, createElementVNode as n, toDisplayString as m, renderSlot as c, unref as v, Fragment as k, renderList as x, normalizeStyle as H, createVNode as ee, createTextVNode as Ce, mergeProps as Ie } from "vue";
|
|
2
2
|
import { clamp as Ve } from "./index217.js";
|
|
3
|
-
import { hash as T } from "./
|
|
4
|
-
import { isNil as w } from "./
|
|
5
|
-
import { when as $e } from "./
|
|
3
|
+
import { hash as T } from "./index223.js";
|
|
4
|
+
import { isNil as w } from "./index257.js";
|
|
5
|
+
import { when as $e } from "./index283.js";
|
|
6
6
|
import { useId as Be } from "./index8.js";
|
|
7
|
-
import { useItemValue as He } from "./
|
|
8
|
-
import { useItemsGetter as Te } from "./
|
|
9
|
-
import { usePrefill as Ae } from "./
|
|
10
|
-
import { useIndexById as le } from "./
|
|
11
|
-
import { useBaseOptions as Ne } from "./
|
|
12
|
-
import { useHashedWatcher as Le } from "./
|
|
13
|
-
import { useLocale as De } from "./
|
|
7
|
+
import { useItemValue as He } from "./index292.js";
|
|
8
|
+
import { useItemsGetter as Te } from "./index243.js";
|
|
9
|
+
import { usePrefill as Ae } from "./index248.js";
|
|
10
|
+
import { useIndexById as le } from "./index244.js";
|
|
11
|
+
import { useBaseOptions as Ne } from "./index245.js";
|
|
12
|
+
import { useHashedWatcher as Le } from "./index247.js";
|
|
13
|
+
import { useLocale as De } from "./index232.js";
|
|
14
14
|
import ae from "./index18.js";
|
|
15
15
|
/* empty css */
|
|
16
16
|
import Ee from "./index32.js";
|
|
17
17
|
/* empty css */
|
|
18
|
-
import { columnKeyToSlotName as Pe, mergeHeaderClasses as Se, applyFixedTableColumns as Re, mergeCellClasses as Oe } from "./
|
|
19
|
-
import { useLogger as Me } from "./
|
|
18
|
+
import { columnKeyToSlotName as Pe, mergeHeaderClasses as Se, applyFixedTableColumns as Re, mergeCellClasses as Oe } from "./index293.js";
|
|
19
|
+
import { useLogger as Me } from "./index226.js";
|
|
20
20
|
const Fe = {
|
|
21
21
|
key: 0,
|
|
22
22
|
class: "sr-only"
|
package/dist/index131.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as a, createElementBlock as o, openBlock as e, normalizeClass as c, createVNode as l, TransitionGroup as m, withCtx as i, Fragment as p, renderList as u, unref as r, createBlock as f, mergeProps as _ } from "vue";
|
|
2
2
|
import { useToast as d, state as k } from "./index12.js";
|
|
3
|
-
import b from "./
|
|
3
|
+
import b from "./index286.js";
|
|
4
4
|
const $ = /* @__PURE__ */ a({
|
|
5
5
|
__name: "BbToast",
|
|
6
6
|
props: {
|
package/dist/index133.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as R, mergeModels as U, ref as L, computed as v, useTemplateRef as W, useModel as x, watch as m, onBeforeUnmount as F, createElementBlock as I, openBlock as g, Fragment as _, renderSlot as k, createCommentVNode as C, createVNode as j, normalizeProps as q, mergeProps as B, withCtx as T, createElementVNode as f, normalizeStyle as G, createBlock as H, unref as J } from "vue";
|
|
2
2
|
import { useId as K } from "./index8.js";
|
|
3
|
-
import { useLocale as Q } from "./
|
|
4
|
-
import { useUntil as X } from "./
|
|
3
|
+
import { useLocale as Q } from "./index232.js";
|
|
4
|
+
import { useUntil as X } from "./index260.js";
|
|
5
5
|
import Y from "./index14.js";
|
|
6
6
|
/* empty css */
|
|
7
7
|
import Z from "./index239.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import { useElementSize as ee } from "./index142.js";
|
|
10
|
-
import { extractDomContainer as V } from "./
|
|
11
|
-
import { parseWidthString as te } from "./
|
|
10
|
+
import { extractDomContainer as V } from "./index261.js";
|
|
11
|
+
import { parseWidthString as te } from "./index262.js";
|
|
12
12
|
const ce = /* @__PURE__ */ R({
|
|
13
13
|
inheritAttrs: !1,
|
|
14
14
|
__name: "BbTooltip",
|
package/dist/index135.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as $, computed as g, resolveComponent as y, createElementBlock as f, openBlock as i, Fragment as k, renderList as h, normalizeClass as b, createElementVNode as s, renderSlot as t, createVNode as v, createSlots as B, withCtx as _, mergeProps as C } from "vue";
|
|
2
|
-
import { flattenTree as T } from "./
|
|
2
|
+
import { flattenTree as T } from "./index295.js";
|
|
3
3
|
const w = { class: "bb-tree-row" }, E = { class: "bb-tree-main-content" }, N = /* @__PURE__ */ $({
|
|
4
4
|
__name: "BbTree",
|
|
5
5
|
props: {
|
package/dist/index137.js
CHANGED
|
@@ -5,8 +5,8 @@ import u from "./index87.js";
|
|
|
5
5
|
/* empty css */
|
|
6
6
|
import I from "./index115.js";
|
|
7
7
|
/* empty css */
|
|
8
|
-
import N from "./
|
|
9
|
-
import g from "./
|
|
8
|
+
import N from "./index254.js";
|
|
9
|
+
import g from "./index255.js";
|
|
10
10
|
/* empty css */
|
|
11
11
|
const h = { class: "bb-common-input-inner-container__prefix" }, B = { class: "bb-common-input-inner-container__suffix" }, R = /* @__PURE__ */ k({
|
|
12
12
|
__name: "CommonInputInnerContainer",
|
package/dist/index14.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as w, getCurrentInstance as P, computed as r, createBlock as c, openBlock as i, mergeProps as f, withCtx as v, renderSlot as d, createTextVNode as p, toDisplayString as h, resolveDynamicComponent as b } from "vue";
|
|
2
|
-
import R from "./
|
|
2
|
+
import R from "./index267.js";
|
|
3
3
|
import { useFrameworkDetection as _ } from "./index143.js";
|
|
4
4
|
import { _config as g } from "./index4.js";
|
|
5
5
|
const D = /* @__PURE__ */ w({
|
package/dist/index145.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { isArray as p } from "./
|
|
2
|
-
import { isPlainObject as i } from "./
|
|
1
|
+
import { isArray as p } from "./index252.js";
|
|
2
|
+
import { isPlainObject as i } from "./index253.js";
|
|
3
3
|
function f(e, n, u, l, r) {
|
|
4
4
|
const o = {}.propertyIsEnumerable.call(l, n) ? "enumerable" : "nonenumerable";
|
|
5
5
|
o === "enumerable" && (e[n] = u), r && o === "nonenumerable" && Object.defineProperty(e, n, {
|
package/dist/index16.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as H, ref as s, computed as M, createBlock as D, openBlock as E, normalizeClass as I, withCtx as l, createVNode as d, unref as u, withDirectives as L, createElementVNode as p, mergeProps as _, renderSlot as r, withModifiers as q, normalizeStyle as N } from "vue";
|
|
2
|
-
import { isHex as z } from "./
|
|
2
|
+
import { isHex as z } from "./index268.js";
|
|
3
3
|
import { isNotNil as F } from "./index146.js";
|
|
4
4
|
import { useId as S } from "./index8.js";
|
|
5
|
-
import { useLocale as U } from "./
|
|
6
|
-
import { vMaska as A } from "./
|
|
7
|
-
import K from "./
|
|
5
|
+
import { useLocale as U } from "./index232.js";
|
|
6
|
+
import { vMaska as A } from "./index238.js";
|
|
7
|
+
import K from "./index269.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import O from "./index137.js";
|
|
10
10
|
/* empty css */
|
package/dist/index18.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as _, ref as i, computed as t, watch as F, createElementBlock as p, openBlock as h, normalizeProps as d, guardReactiveProps as f, createCommentVNode as L, createElementVNode as s, mergeProps as k, renderSlot as M } from "vue";
|
|
2
|
-
import { isCssColor as y } from "./
|
|
3
|
-
import { booleanishToBoolean as q } from "./
|
|
4
|
-
import { isEqual as A } from "./
|
|
2
|
+
import { isCssColor as y } from "./index249.js";
|
|
3
|
+
import { booleanishToBoolean as q } from "./index250.js";
|
|
4
|
+
import { isEqual as A } from "./index251.js";
|
|
5
5
|
const N = {
|
|
6
6
|
"aria-hidden": "true",
|
|
7
7
|
class: "bb-base-checkbox-container"
|
package/dist/index20.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as z, ref as B, toRef as p, computed as G, createBlock as R, openBlock as W, unref as T, withCtx as n, renderSlot as s, normalizeProps as f, guardReactiveProps as h, createVNode as K, mergeProps as w } from "vue";
|
|
2
2
|
import N from "./index18.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import U from "./
|
|
4
|
+
import U from "./index241.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import { useItemsGetter as q } from "./
|
|
7
|
-
import { useIndexById as C } from "./
|
|
8
|
-
import { useBaseOptions as J } from "./
|
|
9
|
-
import { useCoherence as Q } from "./
|
|
10
|
-
import { hash as X } from "./
|
|
11
|
-
import { useHashedWatcher as $ } from "./
|
|
12
|
-
import { usePrefill as Y } from "./
|
|
6
|
+
import { useItemsGetter as q } from "./index243.js";
|
|
7
|
+
import { useIndexById as C } from "./index244.js";
|
|
8
|
+
import { useBaseOptions as J } from "./index245.js";
|
|
9
|
+
import { useCoherence as Q } from "./index246.js";
|
|
10
|
+
import { hash as X } from "./index223.js";
|
|
11
|
+
import { useHashedWatcher as $ } from "./index247.js";
|
|
12
|
+
import { usePrefill as Y } from "./index248.js";
|
|
13
13
|
const ce = /* @__PURE__ */ z({
|
|
14
14
|
__name: "BaseCheckboxGroup",
|
|
15
15
|
props: {
|
package/dist/index219.js
CHANGED
|
@@ -1,35 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
class: "bb-error-icon",
|
|
6
|
-
fill: "none",
|
|
7
|
-
viewBox: "0 0 20 20",
|
|
8
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
9
|
-
};
|
|
10
|
-
function i(c, r) {
|
|
11
|
-
return t(), e("svg", s, r[0] || (r[0] = [
|
|
12
|
-
o("path", {
|
|
13
|
-
d: "M9.99422 18.3333C14.5966 18.3333 18.3276 14.6024 18.3276 9.99999C18.3276 5.39762 14.5966 1.66666 9.99422 1.66666C5.39185 1.66666 1.66089 5.39762 1.66089 9.99999C1.66089 14.6024 5.39185 18.3333 9.99422 18.3333Z",
|
|
14
|
-
fill: "currentColor"
|
|
15
|
-
}, null, -1),
|
|
16
|
-
o("path", {
|
|
17
|
-
d: "M9.99414 6.66666V9.99999",
|
|
18
|
-
stroke: "white",
|
|
19
|
-
"stroke-linecap": "round",
|
|
20
|
-
"stroke-linejoin": "round",
|
|
21
|
-
"stroke-width": "2"
|
|
22
|
-
}, null, -1),
|
|
23
|
-
o("path", {
|
|
24
|
-
d: "M9.99414 13.3333H10.0025",
|
|
25
|
-
stroke: "white",
|
|
26
|
-
"stroke-linecap": "round",
|
|
27
|
-
"stroke-linejoin": "round",
|
|
28
|
-
"stroke-width": "2"
|
|
29
|
-
}, null, -1)
|
|
30
|
-
]));
|
|
31
|
-
}
|
|
32
|
-
const a = /* @__PURE__ */ n(l, [["render", i]]);
|
|
1
|
+
import { getDefaultExportFromCjs as r } from "./index335.js";
|
|
2
|
+
import { __require as o } from "./index302.js";
|
|
3
|
+
var t = o();
|
|
4
|
+
const s = /* @__PURE__ */ r(t);
|
|
33
5
|
export {
|
|
34
|
-
|
|
6
|
+
s as default
|
|
35
7
|
};
|
package/dist/index22.js
CHANGED
|
@@ -5,20 +5,20 @@ import { _config as Q } from "./index4.js";
|
|
|
5
5
|
import { useId as X } from "./index8.js";
|
|
6
6
|
import b from "./index14.js";
|
|
7
7
|
/* empty css */
|
|
8
|
-
import d from "./
|
|
9
|
-
import ee from "./
|
|
10
|
-
import ae from "./
|
|
11
|
-
import te from "./
|
|
12
|
-
import { hash as B } from "./
|
|
13
|
-
import { last as le } from "./
|
|
14
|
-
import { validateDateFormat as L } from "./
|
|
15
|
-
import { useLogger as oe } from "./
|
|
16
|
-
import re from "./
|
|
17
|
-
import se from "./
|
|
18
|
-
import de from "./
|
|
19
|
-
import S from "./
|
|
20
|
-
import ie from "./
|
|
21
|
-
import { useLocale as ne } from "./
|
|
8
|
+
import d from "./index219.js";
|
|
9
|
+
import ee from "./index220.js";
|
|
10
|
+
import ae from "./index221.js";
|
|
11
|
+
import te from "./index222.js";
|
|
12
|
+
import { hash as B } from "./index223.js";
|
|
13
|
+
import { last as le } from "./index224.js";
|
|
14
|
+
import { validateDateFormat as L } from "./index225.js";
|
|
15
|
+
import { useLogger as oe } from "./index226.js";
|
|
16
|
+
import re from "./index227.js";
|
|
17
|
+
import se from "./index228.js";
|
|
18
|
+
import de from "./index229.js";
|
|
19
|
+
import S from "./index230.js";
|
|
20
|
+
import ie from "./index231.js";
|
|
21
|
+
import { useLocale as ne } from "./index232.js";
|
|
22
22
|
const ue = { class: "bb-base-date-picker" }, me = { class: "bb-base-date-picker__body" }, ce = { class: "bb-base-date-picker__controls" }, pe = { class: "sr-only" }, fe = { class: "sr-only" }, be = { class: "sr-only" }, ve = {
|
|
23
23
|
style: { transform: "rotate(180deg)" },
|
|
24
24
|
viewBox: "0 0 24 24",
|
package/dist/index220.js
CHANGED
|
@@ -1,30 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
setup(u) {
|
|
6
|
-
const { t: o } = s();
|
|
7
|
-
return (i, e) => (r(), n("button", {
|
|
8
|
-
"aria-label": a(o)("common.clearLabel").value,
|
|
9
|
-
class: "bb-clearable-button",
|
|
10
|
-
type: "button"
|
|
11
|
-
}, e[0] || (e[0] = [
|
|
12
|
-
t("svg", {
|
|
13
|
-
viewBox: "0 0 24 24",
|
|
14
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
15
|
-
}, [
|
|
16
|
-
t("path", {
|
|
17
|
-
d: "M12 12l7 7M12 12l-7 -7M12 12l-7 7M12 12l7 -7",
|
|
18
|
-
fill: "none",
|
|
19
|
-
stroke: "currentColor",
|
|
20
|
-
"stroke-linecap": "round",
|
|
21
|
-
"stroke-linejoin": "round",
|
|
22
|
-
"stroke-width": "2"
|
|
23
|
-
})
|
|
24
|
-
], -1)
|
|
25
|
-
]), 8, c));
|
|
26
|
-
}
|
|
27
|
-
});
|
|
1
|
+
import { getDefaultExportFromCjs as r } from "./index335.js";
|
|
2
|
+
import { __require as e } from "./index304.js";
|
|
3
|
+
var t = e();
|
|
4
|
+
const m = /* @__PURE__ */ r(t);
|
|
28
5
|
export {
|
|
29
|
-
|
|
6
|
+
m as default
|
|
30
7
|
};
|
package/dist/index221.js
ADDED
package/dist/index222.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { getDefaultExportFromCjs as e } from "./index335.js";
|
|
2
|
+
import { __require as r } from "./index308.js";
|
|
3
|
+
var o = r();
|
|
4
|
+
const f = /* @__PURE__ */ e(o);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|
package/dist/index223.js
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
if (o(e) !== "Object")
|
|
4
|
-
return !1;
|
|
5
|
-
const t = Object.getPrototypeOf(e);
|
|
6
|
-
return !!t && t.constructor === Object && t === Object.prototype;
|
|
7
|
-
}
|
|
1
|
+
import { hash as o } from "./index299.js";
|
|
2
|
+
const t = (r, h = "bb") => `${h}${o(r)}`;
|
|
8
3
|
export {
|
|
9
|
-
|
|
4
|
+
t as hash
|
|
10
5
|
};
|
package/dist/index224.js
CHANGED
package/dist/index225.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
function e(t, r) {
|
|
2
|
+
if (!/\d{4}-\d{2}-\d{2}/.test(t))
|
|
3
|
+
throw new Error(`${r} must be in the format YYYY-MM-DD`);
|
|
4
|
+
return t;
|
|
5
|
+
}
|
|
3
6
|
export {
|
|
4
|
-
|
|
5
|
-
s as when
|
|
7
|
+
e as validateDateFormat
|
|
6
8
|
};
|
package/dist/index226.js
CHANGED
|
@@ -1,36 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
__name: "RouterComponent",
|
|
7
|
-
setup(g) {
|
|
8
|
-
const { isInertia: r, isNuxt: s } = k();
|
|
9
|
-
let t;
|
|
10
|
-
if (r) {
|
|
11
|
-
if (t = o(e.inertiaLinkName), typeof t == "string") {
|
|
12
|
-
const { warn: n } = i();
|
|
13
|
-
n(
|
|
14
|
-
`Inertia link component "${e.inertiaLinkName}" could not be resolved. Ensure you app registers a link component with the name "${e.inertiaLinkName}" or set bitboss-ui config key "inertiaLinkName" to the correct value globally. Please visit ${e.documentationURL}/getting-started to resolve setup issues in bitboss-ui.`
|
|
15
|
-
);
|
|
16
|
-
}
|
|
17
|
-
} else if (s) {
|
|
18
|
-
if (t = o(e.nuxtLinkName), typeof t == "string") {
|
|
19
|
-
const { warn: n } = i();
|
|
20
|
-
n(
|
|
21
|
-
`Nuxt link component "${e.nuxtLinkName}" could not be resolved. Ensure you app registers a link component with the name "${e.nuxtLinkName}" or set bitboss-ui config key "nuxtLinkName" to the correct value globally. Please visit ${e.documentationURL}/getting-started to resolve setup issues in bitboss-ui.`
|
|
22
|
-
);
|
|
23
|
-
}
|
|
24
|
-
} else
|
|
25
|
-
t = "router-link";
|
|
26
|
-
return (n, d) => (l(), u(m(c(t)), null, {
|
|
27
|
-
default: p(() => [
|
|
28
|
-
f(n.$slots, "default")
|
|
29
|
-
]),
|
|
30
|
-
_: 3
|
|
31
|
-
}));
|
|
1
|
+
const o = "bitboss-ui | ", e = () => ({
|
|
2
|
+
warn: (r) => console.warn(`${o}${r}`),
|
|
3
|
+
error: (r) => console.error(`${o}${r}`),
|
|
4
|
+
throw: (r) => {
|
|
5
|
+
throw new Error(`${o}${r}`);
|
|
32
6
|
}
|
|
33
7
|
});
|
|
34
8
|
export {
|
|
35
|
-
|
|
9
|
+
e as useLogger
|
|
36
10
|
};
|