@salesql/sql_components_vue3 3.29.0 → 3.29.1
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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +1409 -1404
- package/dist/index.es.js.map +1 -1
- package/dist/sql_components_vue3.css +1 -1
- package/llms-full.txt +33 -29
- package/package.json +1 -1
package/llms-full.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @salesql/sql_components_vue3 — SalesQL Design System (v3.29.
|
|
1
|
+
# @salesql/sql_components_vue3 — SalesQL Design System (v3.29.1)
|
|
2
2
|
|
|
3
3
|
> Librería de componentes Vue 3 (SalesQL) Presentational-only Vue 3 components (props in, events out; the consuming app owns state, i18n and data). This file is auto-generated from the component stories for LLM/agent consumption — do not edit by hand.
|
|
4
4
|
|
|
@@ -278,39 +278,43 @@ switches look with `variant` and `size`.
|
|
|
278
278
|
The library knows nothing about campaigns or sending: it renders the list you pass and
|
|
279
279
|
emits the intent.
|
|
280
280
|
|
|
281
|
+
A chosen campaign never leaves sight: when a search or a reload leaves it out of
|
|
282
|
+
`campaigns`, it stays checked on top of the list (above the spinner and the empty state too),
|
|
283
|
+
so Add never sends a campaign the user cannot see. One still listed keeps its place.
|
|
284
|
+
|
|
281
285
|
### Props
|
|
282
286
|
|
|
283
|
-
| Prop | Type | Default | Description
|
|
284
|
-
| ------------------- | --------------------------- | ------------- |
|
|
285
|
-
| `label` | `string` | — | Trigger label (required).
|
|
286
|
-
| `tooltip` | `string` | `''` | Empty = no tooltip. Leave it empty when it would only repeat the label (the export's tip does); it hides while the panel is open.
|
|
287
|
-
| `channelsLabel` | `string` | — | Caption above the radios ("Send to") (required).
|
|
288
|
-
| `channels` | `DsSequenceChannelOption[]` | — | `{ value: 'work' \| 'direct', label }` — the app passes the labels (required).
|
|
289
|
-
| `defaultChannel` | `'work' \| 'direct'` | `'work'` | Initially selected channel.
|
|
290
|
-
| `campaignsLabel` | `string` | `''` | Caption above the list ("Recent campaigns"). Empty = none.
|
|
291
|
-
| `campaigns` | `DsPickerOption[]` | — | The campaigns to offer (required).
|
|
292
|
-
| `selection` | `'multiple' \| 'single'` | `'multiple'` | `multiple`: checkboxes. `single`: radios, one campaign per Add.
|
|
293
|
-
| `loading` | `boolean` | `false` | The app is fetching campaigns: a spinner replaces the list and the empty state. The search stays usable.
|
|
294
|
-
| `loadingLabel` | `string` | `''` | Accessible name of the spinner. Empty = DsSpinner's own ("Loading").
|
|
295
|
-
| `searchPlaceholder` | `string` | `''` |
|
|
296
|
-
| `emptyLabel` | `string` | `''` | Shown when the list is empty: no campaigns, or a search with no matches.
|
|
297
|
-
| `createLabel` | `string` | `''` | The empty state's CTA ("Create campaign"): a tertiary `DsButton` under `emptyLabel` that emits `create`. Empty = no CTA.
|
|
298
|
-
| `addLabel` | `string` | — | The confirm (required).
|
|
299
|
-
| `variant` | `'secondary' \| 'primary'` | `'secondary'` | `DsButton outline` (white, hairline ring) or `DsButton primary` (solid accent).
|
|
300
|
-
| `size` | `'medium' \| 'large'` | `'medium'` | 32px / 36px trigger.
|
|
301
|
-
| `pill` | `boolean` | `false` | Fully round trigger (`DsButton pill`) — the bulk-bar look beside `DsItemSelectorButton`.
|
|
302
|
-
| `align` | `'start' \| 'end'` | `'end'` | Which trigger edge the 288px panel hangs from.
|
|
303
|
-
| `disabled` | `boolean` | `false` |
|
|
304
|
-
| `teleported` | `boolean` | `false` | Render the picker panel in `<body>` (or the app's `DS_TELEPORT_TARGET`), so a scroll container doesn't clip it.
|
|
287
|
+
| Prop | Type | Default | Description |
|
|
288
|
+
| ------------------- | --------------------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
289
|
+
| `label` | `string` | — | Trigger label (required). |
|
|
290
|
+
| `tooltip` | `string` | `''` | Empty = no tooltip. Leave it empty when it would only repeat the label (the export's tip does); it hides while the panel is open. |
|
|
291
|
+
| `channelsLabel` | `string` | — | Caption above the radios ("Send to") (required). |
|
|
292
|
+
| `channels` | `DsSequenceChannelOption[]` | — | `{ value: 'work' \| 'direct', label }` — the app passes the labels (required). |
|
|
293
|
+
| `defaultChannel` | `'work' \| 'direct'` | `'work'` | Initially selected channel. |
|
|
294
|
+
| `campaignsLabel` | `string` | `''` | Caption above the list ("Recent campaigns"). Empty = none. |
|
|
295
|
+
| `campaigns` | `DsPickerOption[]` | — | The campaigns to offer (required). |
|
|
296
|
+
| `selection` | `'multiple' \| 'single'` | `'multiple'` | `multiple`: checkboxes. `single`: radios, one campaign per Add. |
|
|
297
|
+
| `loading` | `boolean` | `false` | The app is fetching campaigns: a spinner replaces the list and the empty state, under any pinned chosen campaign. The search stays usable. |
|
|
298
|
+
| `loadingLabel` | `string` | `''` | Accessible name of the spinner. Empty = DsSpinner's own ("Loading"). |
|
|
299
|
+
| `searchPlaceholder` | `string` | `''` | |
|
|
300
|
+
| `emptyLabel` | `string` | `''` | Shown when the list is empty: no campaigns, or a search with no matches. |
|
|
301
|
+
| `createLabel` | `string` | `''` | The empty state's CTA ("Create campaign"): a tertiary `DsButton` under `emptyLabel` that emits `create`. Empty = no CTA. |
|
|
302
|
+
| `addLabel` | `string` | — | The confirm (required). |
|
|
303
|
+
| `variant` | `'secondary' \| 'primary'` | `'secondary'` | `DsButton outline` (white, hairline ring) or `DsButton primary` (solid accent). |
|
|
304
|
+
| `size` | `'medium' \| 'large'` | `'medium'` | 32px / 36px trigger. |
|
|
305
|
+
| `pill` | `boolean` | `false` | Fully round trigger (`DsButton pill`) — the bulk-bar look beside `DsItemSelectorButton`. |
|
|
306
|
+
| `align` | `'start' \| 'end'` | `'end'` | Which trigger edge the 288px panel hangs from. |
|
|
307
|
+
| `disabled` | `boolean` | `false` | |
|
|
308
|
+
| `teleported` | `boolean` | `false` | Render the picker panel in `<body>` (or the app's `DS_TELEPORT_TARGET`), so a scroll container doesn't clip it. |
|
|
305
309
|
|
|
306
310
|
### Events
|
|
307
311
|
|
|
308
|
-
| Event | Payload | When
|
|
309
|
-
| ------------- | -------------------------------------------------------------- |
|
|
310
|
-
| `add` | `{ channel: 'work' \| 'direct', campaigns: DsPickerOption[] }` | Add clicked. Panel closes, selection resets. `campaigns` keeps the order they were chosen in (one item in `single`).
|
|
311
|
-
| `search` | `string` | Every keystroke, no debounce. The list also filters locally; an app that searches on the server debounces this and swaps `campaigns` (with `loading` while it waits). A chosen campaign survives the swap. |
|
|
312
|
-
| `create` | `string` | The empty state's CTA was clicked. Payload: the search text, trimmed. Panel closes; the app owns creation (it navigates to Campaigns).
|
|
313
|
-
| `update:open` | `boolean` | The panel opened or closed.
|
|
312
|
+
| Event | Payload | When |
|
|
313
|
+
| ------------- | -------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
314
|
+
| `add` | `{ channel: 'work' \| 'direct', campaigns: DsPickerOption[] }` | Add clicked. Panel closes, selection resets. `campaigns` keeps the order they were chosen in (one item in `single`). |
|
|
315
|
+
| `search` | `string` | Every keystroke, no debounce. The list also filters locally; an app that searches on the server debounces this and swaps `campaigns` (with `loading` while it waits). A chosen campaign survives the swap and stays pinned on top. |
|
|
316
|
+
| `create` | `string` | The empty state's CTA was clicked. Payload: the search text, trimmed. Panel closes; the app owns creation (it navigates to Campaigns). |
|
|
317
|
+
| `update:open` | `boolean` | The panel opened or closed. |
|
|
314
318
|
|
|
315
319
|
### Accessibility
|
|
316
320
|
|