@luzmo/analytics-components-kit 1.0.1-alpha.85 → 1.0.1-alpha.87
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/angular/README.md +1 -0
- package/angular/components/ai-interaction-textarea.component.ts +2 -0
- package/angular/components/dataset-icon.component.ts +21 -0
- package/angular/components/dataset-selector-row.component.ts +2 -0
- package/angular/esm/components/ai-interaction-textarea.component.d.ts +2 -1
- package/angular/esm/components/ai-interaction-textarea.component.js +7 -2
- package/angular/esm/components/dataset-icon.component.d.ts +9 -0
- package/angular/esm/components/dataset-icon.component.js +36 -0
- package/angular/esm/components/dataset-selector-row.component.d.ts +2 -1
- package/angular/esm/components/dataset-selector-row.component.js +7 -2
- package/angular/esm/index.d.ts +3 -1
- package/angular/esm/index.js +3 -0
- package/angular/esm/types.d.ts +14 -0
- package/angular/index.ts +3 -0
- package/angular/types.ts +13 -0
- package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +7 -1
- package/components/ai-interaction-textarea/index.cjs +32 -28
- package/components/ai-interaction-textarea/index.js +60 -48
- package/components/dataset-icon/dataset-icon.d.ts +45 -0
- package/components/dataset-icon/index.cjs +60 -0
- package/components/dataset-icon/index.d.ts +7 -0
- package/components/dataset-icon/index.js +166 -0
- package/components/dataset-selector-list/dataset-selector-list.d.ts +1 -0
- package/components/dataset-selector-list/index.cjs +10 -8
- package/components/dataset-selector-list/index.js +55 -58
- package/components/dataset-selector-row/dataset-selector-row.d.ts +7 -0
- package/components/dataset-selector-row/index.cjs +21 -18
- package/components/dataset-selector-row/index.js +61 -57
- package/components/display-settings-binning/index.js +1 -1
- package/components/display-settings-datetime/index.js +1 -1
- package/components/display-settings-grand-totals/index.js +1 -1
- package/components/display-settings-numeric/index.js +1 -1
- package/components/display-settings-period-over-period/index.js +1 -1
- package/components/draggable-data-item/index.js +1 -1
- package/components/droppable-slot/index.js +1 -1
- package/components/filter-data-item-picker/index.js +1 -1
- package/components/filter-expression-picker/index.js +1 -1
- package/components/filter-item/index.js +2 -2
- package/components/filter-value-picker/index.js +1 -1
- package/components/filter-value-picker-datetime/index.js +1 -1
- package/components/filter-value-picker-hierarchy/index.js +1 -1
- package/components/filter-value-picker-numeric/index.js +1 -1
- package/components/grid/index.js +1 -1
- package/components/{index-BDFBUGBc.js → index-DdyZ2g5L.js} +1 -1
- package/components/index.cjs +1 -1
- package/components/index.js +90 -88
- package/components/{set-locale-nv7fWEtl.js → set-locale-hKTMz37h.js} +6 -1
- package/components/slot-contents-picker/index.js +1 -1
- package/components/slot-menu/index.cjs +1 -1
- package/components/slot-menu/index.js +1 -1
- package/custom-elements.json +154 -0
- package/index.d.ts +1 -0
- package/package.json +8 -3
- package/types.d.ts +14 -0
package/components/index.js
CHANGED
|
@@ -21,49 +21,50 @@ import { LuzmoAiChatMessageAssistant as p } from "./ai-chat-message-assistant/in
|
|
|
21
21
|
import { LuzmoAiChatMessageUser as u } from "./ai-chat-message-user/index.js";
|
|
22
22
|
import { LuzmoAiChatMessagesContainer as n } from "./ai-chat-messages-container/index.js";
|
|
23
23
|
import { LuzmoAiInteractionTextarea as s } from "./ai-interaction-textarea/index.js";
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
24
|
+
import { LuzmoDatasetIcon as h } from "./dataset-icon/index.js";
|
|
25
|
+
import { LuzmoDatasetSelectorList as z } from "./dataset-selector-list/index.js";
|
|
26
|
+
import { LuzmoDatasetSelectorRow as f } from "./dataset-selector-row/index.js";
|
|
27
|
+
import { L as C } from "./index-3WsfvkZF.js";
|
|
28
|
+
import { LuzmoDisplaySettingsBinning as v } from "./display-settings-binning/index.js";
|
|
29
|
+
import { LuzmoDisplaySettingsDatetime as S } from "./display-settings-datetime/index.js";
|
|
30
|
+
import { LuzmoDisplaySettingsGrandTotals as F } from "./display-settings-grand-totals/index.js";
|
|
31
|
+
import { LuzmoDisplaySettingsNumeric as w } from "./display-settings-numeric/index.js";
|
|
32
|
+
import { LuzmoDisplaySettingsPeriodOverPeriod as E } from "./display-settings-period-over-period/index.js";
|
|
33
|
+
import { LuzmoDraggableDataItem as B } from "./draggable-data-item/index.js";
|
|
34
|
+
import { LuzmoDraggableDataItemLevel as A } from "./draggable-data-item-level/index.js";
|
|
35
|
+
import { LuzmoDroppableSlot as H } from "./droppable-slot/index.js";
|
|
36
|
+
import { LuzmoEditItem as R } from "./edit-item/index.js";
|
|
37
|
+
import { L as V } from "./index-haa7WNrl.js";
|
|
38
|
+
import { LuzmoEditOptionActionButtonGroup as W } from "./edit-option-action-button-group/index.js";
|
|
39
|
+
import { LuzmoEditOptionColorPalettePicker as j } from "./edit-option-color-palette-picker/index.js";
|
|
40
|
+
import { LuzmoEditOptionColorPicker as K } from "./edit-option-color-picker/index.js";
|
|
41
|
+
import { LuzmoEditOptionColorRange as X } from "./edit-option-color-range/index.js";
|
|
42
|
+
import { LuzmoEditOptionMultiLangField as Z } from "./edit-option-multi-language-field/index.js";
|
|
43
|
+
import { LuzmoEditOptionNumberField as $ } from "./edit-option-number-field/index.js";
|
|
44
|
+
import { LuzmoEditOptionPicker as oe } from "./edit-option-picker/index.js";
|
|
45
|
+
import { LuzmoEditOptionPositionPicker as te } from "./edit-option-position-picker/index.js";
|
|
46
|
+
import { LuzmoEditOptionPositionsNumberField as ae } from "./edit-option-positions-number-field/index.js";
|
|
47
|
+
import { LuzmoEditOptionRadioButtonGroup as pe } from "./edit-option-radio-button-group/index.js";
|
|
48
|
+
import { LuzmoEditOptionSlider as ue } from "./edit-option-slider/index.js";
|
|
49
|
+
import { LuzmoEditOptionSwitch as ne } from "./edit-option-switch/index.js";
|
|
50
|
+
import { LuzmoEditOptionTextField as se } from "./edit-option-text-field/index.js";
|
|
51
|
+
import { LuzmoFilterDataItemPicker as he } from "./filter-data-item-picker/index.js";
|
|
52
|
+
import { L as ze } from "./index-DdyZ2g5L.js";
|
|
53
|
+
import { LuzmoFilterItem as fe } from "./filter-item/index.js";
|
|
54
|
+
import { LuzmoFilterValuePicker as Ce } from "./filter-value-picker/index.js";
|
|
55
|
+
import { LuzmoFilterValuePickerDatetime as ve } from "./filter-value-picker-datetime/index.js";
|
|
56
|
+
import { LuzmoFilterValuePickerHierarchy as Se } from "./filter-value-picker-hierarchy/index.js";
|
|
57
|
+
import { LuzmoFilterValuePickerNumeric as Fe } from "./filter-value-picker-numeric/index.js";
|
|
58
|
+
import { LuzmoGrid as we, LuzmoGridItemActionsMenu as Me } from "./grid/index.js";
|
|
59
|
+
import { LuzmoSlotContentsPicker as Oe } from "./slot-contents-picker/index.js";
|
|
60
|
+
import { LuzmoSlotMenu as Te } from "./slot-menu/index.js";
|
|
61
|
+
import { LuzmoSlotMenuList as Ge } from "./slot-menu-list/index.js";
|
|
62
|
+
import { P as Ie } from "./types-RxAJdtVT.js";
|
|
63
|
+
import { d as Ne } from "./decompose-numeric-format-BuZcjH2k.js";
|
|
64
|
+
import { f as Ue } from "./en-CtCctD2c.js";
|
|
65
|
+
import { l as qe } from "./localize-CcDpq940.js";
|
|
66
|
+
import { switchItem as Je } from "./utils.js";
|
|
67
|
+
import { g as Qe, s as Xe } from "./index-CgnTl6Sc.js";
|
|
67
68
|
(function() {
|
|
68
69
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
|
69
70
|
const e = document.createElement("style");
|
|
@@ -481,52 +482,53 @@ export {
|
|
|
481
482
|
u as LuzmoAiChatMessageUser,
|
|
482
483
|
n as LuzmoAiChatMessagesContainer,
|
|
483
484
|
s as LuzmoAiInteractionTextarea,
|
|
484
|
-
h as
|
|
485
|
-
z as
|
|
486
|
-
f as
|
|
487
|
-
C as
|
|
488
|
-
v as
|
|
489
|
-
S as
|
|
490
|
-
F as
|
|
491
|
-
w as
|
|
492
|
-
E as
|
|
493
|
-
B as
|
|
494
|
-
A as
|
|
495
|
-
H as
|
|
496
|
-
R as
|
|
497
|
-
V as
|
|
498
|
-
W as
|
|
499
|
-
j as
|
|
500
|
-
K as
|
|
501
|
-
X as
|
|
502
|
-
Z as
|
|
503
|
-
$ as
|
|
504
|
-
oe as
|
|
505
|
-
te as
|
|
506
|
-
ae as
|
|
507
|
-
pe as
|
|
508
|
-
ue as
|
|
509
|
-
ne as
|
|
510
|
-
se as
|
|
511
|
-
he as
|
|
512
|
-
ze as
|
|
513
|
-
fe as
|
|
514
|
-
Ce as
|
|
515
|
-
ve as
|
|
516
|
-
Se as
|
|
517
|
-
Fe as
|
|
518
|
-
|
|
519
|
-
Me as
|
|
520
|
-
Oe as
|
|
521
|
-
Te as
|
|
522
|
-
Ge as
|
|
523
|
-
Ie as
|
|
524
|
-
Ne as
|
|
525
|
-
|
|
485
|
+
h as LuzmoDatasetIcon,
|
|
486
|
+
z as LuzmoDatasetSelectorList,
|
|
487
|
+
f as LuzmoDatasetSelectorRow,
|
|
488
|
+
C as LuzmoDisplaySettings,
|
|
489
|
+
v as LuzmoDisplaySettingsBinning,
|
|
490
|
+
S as LuzmoDisplaySettingsDatetime,
|
|
491
|
+
F as LuzmoDisplaySettingsGrandTotals,
|
|
492
|
+
w as LuzmoDisplaySettingsNumeric,
|
|
493
|
+
E as LuzmoDisplaySettingsPeriodOverPeriod,
|
|
494
|
+
B as LuzmoDraggableDataItem,
|
|
495
|
+
A as LuzmoDraggableDataItemLevel,
|
|
496
|
+
H as LuzmoDroppableSlot,
|
|
497
|
+
R as LuzmoEditItem,
|
|
498
|
+
V as LuzmoEditOption,
|
|
499
|
+
W as LuzmoEditOptionActionButtonGroup,
|
|
500
|
+
j as LuzmoEditOptionColorPalettePicker,
|
|
501
|
+
K as LuzmoEditOptionColorPicker,
|
|
502
|
+
X as LuzmoEditOptionColorRange,
|
|
503
|
+
Z as LuzmoEditOptionMultiLangField,
|
|
504
|
+
$ as LuzmoEditOptionNumberField,
|
|
505
|
+
oe as LuzmoEditOptionPicker,
|
|
506
|
+
te as LuzmoEditOptionPositionPicker,
|
|
507
|
+
ae as LuzmoEditOptionPositionsNumberField,
|
|
508
|
+
pe as LuzmoEditOptionRadioButtonGroup,
|
|
509
|
+
ue as LuzmoEditOptionSlider,
|
|
510
|
+
ne as LuzmoEditOptionSwitch,
|
|
511
|
+
se as LuzmoEditOptionTextField,
|
|
512
|
+
he as LuzmoFilterDataItemPicker,
|
|
513
|
+
ze as LuzmoFilterExpressionPicker,
|
|
514
|
+
fe as LuzmoFilterItem,
|
|
515
|
+
Ce as LuzmoFilterValuePicker,
|
|
516
|
+
ve as LuzmoFilterValuePickerDatetime,
|
|
517
|
+
Se as LuzmoFilterValuePickerHierarchy,
|
|
518
|
+
Fe as LuzmoFilterValuePickerNumeric,
|
|
519
|
+
we as LuzmoGrid,
|
|
520
|
+
Me as LuzmoGridItemActionsMenu,
|
|
521
|
+
Oe as LuzmoSlotContentsPicker,
|
|
522
|
+
Te as LuzmoSlotMenu,
|
|
523
|
+
Ge as LuzmoSlotMenuList,
|
|
524
|
+
Ie as PeriodOverPeriodCondition,
|
|
525
|
+
Ne as decomposeNumericFormat,
|
|
526
|
+
Ue as formatter,
|
|
527
|
+
Qe as getTheme,
|
|
526
528
|
r as itemGroups,
|
|
527
529
|
l as itemList,
|
|
528
530
|
t as itemTypes,
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
531
|
+
qe as localize,
|
|
532
|
+
Je as switchItem,
|
|
533
|
+
Xe as systemThemeIds
|
|
532
534
|
};
|
|
@@ -23,7 +23,12 @@ const a = (t, o, r) => {
|
|
|
23
23
|
return e ? typeof e == "function" ? e() : Promise.resolve(e) : new Promise((c, n) => {
|
|
24
24
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(n.bind(null, /* @__PURE__ */ new Error("Unknown variable dynamic import: " + o + (o.split("/").length !== r ? ". Note that variables only represent file names one level deep." : ""))));
|
|
25
25
|
});
|
|
26
|
-
}, l = "en", i = [
|
|
26
|
+
}, l = "en", i = [
|
|
27
|
+
"de",
|
|
28
|
+
"es",
|
|
29
|
+
"fr",
|
|
30
|
+
"nl"
|
|
31
|
+
], { getLocale: u, setLocale: p } = s({
|
|
27
32
|
sourceLocale: l,
|
|
28
33
|
targetLocales: i,
|
|
29
34
|
loadLocale: (t) => a(/* @__PURE__ */ Object.assign({ "../../generated/locales/de.ts": () => import("./de-DU0DlXuf.js"), "../../generated/locales/es.ts": () => import("./es-BxR1uGKR.js"), "../../generated/locales/fr.ts": () => import("./fr-CvltYxR_.js"), "../../generated/locales/nl.ts": () => import("./nl-CLs7FmRK.js") }), `../../generated/locales/${t}.ts`, 5)
|
|
@@ -31,7 +31,7 @@ import { html as a, unsafeCSS as y } from "lit";
|
|
|
31
31
|
import { property as c, state as C } from "lit/decorators.js";
|
|
32
32
|
import { L as S } from "../focusable-BS2pbY7w.js";
|
|
33
33
|
import { S as _ } from "../sized-mixin-cJbo3PKR.js";
|
|
34
|
-
import { g as k, t as x, s as $ } from "../set-locale-
|
|
34
|
+
import { g as k, t as x, s as $ } from "../set-locale-hKTMz37h.js";
|
|
35
35
|
import "../index-3WsfvkZF.js";
|
|
36
36
|
import "../slot-menu/index.js";
|
|
37
37
|
(function() {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
class="slot-contents-container ${this._slotContents?.length>1?"multiple":""}"
|
|
34
34
|
>
|
|
35
35
|
${this.variant==="popup"?"":p.html`<div class="close" @click=${this.close}>
|
|
36
|
-
${h.luzmoIcon(h.
|
|
36
|
+
${h.luzmoIcon(h.luzmoClose)}
|
|
37
37
|
</div>`}
|
|
38
38
|
<div class="inner-container">
|
|
39
39
|
${this._slotContents?.length>1&&typeof this.slotIndex!="number"?p.html`<luzmo-slot-menu-list
|
|
@@ -22,7 +22,7 @@ import { unsafeCSS as P, html as p } from "lit";
|
|
|
22
22
|
import { s as A } from "../index-3WsfvkZF.js";
|
|
23
23
|
import { SignalWatcher as M } from "@lit-labs/signals";
|
|
24
24
|
import { consume as R } from "@lit/context";
|
|
25
|
-
import { luzmoIcon as _, luzmoArrows as X, luzmoTrashOutline as q,
|
|
25
|
+
import { luzmoIcon as _, luzmoArrows as X, luzmoTrashOutline as q, luzmoClose as N } from "@luzmo/icons";
|
|
26
26
|
import { d as g } from "../index-BGb_wRRW.js";
|
|
27
27
|
import { l as Y } from "../localize-CcDpq940.js";
|
|
28
28
|
import { property as r, state as k, query as $ } from "lit/decorators.js";
|
package/custom-elements.json
CHANGED
|
@@ -374,6 +374,17 @@
|
|
|
374
374
|
"default": "false",
|
|
375
375
|
"description": "When true, restricts results to public datasets (opendata parity)",
|
|
376
376
|
"attribute": "flag-opendata"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"kind": "field",
|
|
380
|
+
"name": "disabled",
|
|
381
|
+
"type": {
|
|
382
|
+
"text": "boolean"
|
|
383
|
+
},
|
|
384
|
+
"default": "false",
|
|
385
|
+
"description": "When true, disables the entire component (sets opacity to 60% and prevents all interactions)",
|
|
386
|
+
"attribute": "disabled",
|
|
387
|
+
"reflects": true
|
|
377
388
|
}
|
|
378
389
|
],
|
|
379
390
|
"events": [
|
|
@@ -386,6 +397,15 @@
|
|
|
386
397
|
}
|
|
387
398
|
],
|
|
388
399
|
"attributes": [
|
|
400
|
+
{
|
|
401
|
+
"type": {
|
|
402
|
+
"text": "boolean"
|
|
403
|
+
},
|
|
404
|
+
"description": "When true, disables the entire component (sets opacity to 60% and prevents all interactions)",
|
|
405
|
+
"name": "disabled",
|
|
406
|
+
"default": "false",
|
|
407
|
+
"fieldName": "disabled"
|
|
408
|
+
},
|
|
389
409
|
{
|
|
390
410
|
"name": "placeholder",
|
|
391
411
|
"type": {
|
|
@@ -470,6 +490,120 @@
|
|
|
470
490
|
}
|
|
471
491
|
]
|
|
472
492
|
},
|
|
493
|
+
{
|
|
494
|
+
"kind": "javascript-module",
|
|
495
|
+
"path": "src/components/dataset-icon/dataset-icon.ts",
|
|
496
|
+
"declarations": [
|
|
497
|
+
{
|
|
498
|
+
"kind": "variable",
|
|
499
|
+
"name": "publicConnectors",
|
|
500
|
+
"type": {
|
|
501
|
+
"text": "[\n 'amazonathena',\n 'asana',\n 'bigquery',\n 'citybikes',\n 'clickhouse',\n 'demodataplugin',\n 'elasticsearch',\n 'exact',\n 'exactonline',\n 'exactonlinenl',\n 'google',\n 'googleanalytics',\n 'googleanalyticsv4',\n 'googledrive',\n 'hubspot',\n 'mailchimp',\n 'mariadb',\n 'mongodb',\n 'mysql',\n 'oracle',\n 'panoply',\n 'pipedrive',\n 'pipelinedb',\n 'postgresql',\n 'presto',\n 'redshift',\n 'salesforce',\n 'saphana',\n 'snowflake',\n 'sqlserver',\n 'stardog',\n 'synapse',\n 'teamleader',\n 'trino',\n 'typeform',\n 'zendesk'\n]"
|
|
502
|
+
},
|
|
503
|
+
"default": "[ 'amazonathena', 'asana', 'bigquery', 'citybikes', 'clickhouse', 'demodataplugin', 'elasticsearch', 'exact', 'exactonline', 'exactonlinenl', 'google', 'googleanalytics', 'googleanalyticsv4', 'googledrive', 'hubspot', 'mailchimp', 'mariadb', 'mongodb', 'mysql', 'oracle', 'panoply', 'pipedrive', 'pipelinedb', 'postgresql', 'presto', 'redshift', 'salesforce', 'saphana', 'snowflake', 'sqlserver', 'stardog', 'synapse', 'teamleader', 'trino', 'typeform', 'zendesk' ]",
|
|
504
|
+
"description": "Public connectors list - these are well-known connectors that may have CSS-based icons\nThis list should match the one from"
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"kind": "class",
|
|
508
|
+
"description": "",
|
|
509
|
+
"name": "LuzmoDatasetIcon",
|
|
510
|
+
"members": [
|
|
511
|
+
{
|
|
512
|
+
"kind": "field",
|
|
513
|
+
"name": "tagName",
|
|
514
|
+
"type": {
|
|
515
|
+
"text": "string"
|
|
516
|
+
},
|
|
517
|
+
"static": true,
|
|
518
|
+
"default": "'luzmo-dataset-icon'"
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"kind": "field",
|
|
522
|
+
"name": "datasetInfo",
|
|
523
|
+
"type": {
|
|
524
|
+
"text": "DatasetIcon | undefined"
|
|
525
|
+
},
|
|
526
|
+
"description": "The dataset information containing subtype and thumbnail data",
|
|
527
|
+
"attribute": "dataset"
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"kind": "field",
|
|
531
|
+
"name": "size",
|
|
532
|
+
"type": {
|
|
533
|
+
"text": "'16px' | '24px' | '32px' | '48px' | '64px'"
|
|
534
|
+
},
|
|
535
|
+
"default": "'32px'",
|
|
536
|
+
"description": "The size of the icon",
|
|
537
|
+
"attribute": "size",
|
|
538
|
+
"reflects": true
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"kind": "field",
|
|
542
|
+
"name": "appUrl",
|
|
543
|
+
"type": {
|
|
544
|
+
"text": "string"
|
|
545
|
+
},
|
|
546
|
+
"default": "''",
|
|
547
|
+
"description": "The base URL for the application (used for thumbnail URLs)",
|
|
548
|
+
"attribute": "app-url"
|
|
549
|
+
}
|
|
550
|
+
],
|
|
551
|
+
"attributes": [
|
|
552
|
+
{
|
|
553
|
+
"name": "dataset",
|
|
554
|
+
"type": {
|
|
555
|
+
"text": "DatasetIcon | undefined"
|
|
556
|
+
},
|
|
557
|
+
"description": "The dataset information containing subtype and thumbnail data",
|
|
558
|
+
"fieldName": "datasetInfo"
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"name": "size",
|
|
562
|
+
"type": {
|
|
563
|
+
"text": "'16px' | '24px' | '32px' | '48px' | '64px'"
|
|
564
|
+
},
|
|
565
|
+
"default": "'32px'",
|
|
566
|
+
"description": "The size of the icon",
|
|
567
|
+
"fieldName": "size"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
"name": "app-url",
|
|
571
|
+
"type": {
|
|
572
|
+
"text": "string"
|
|
573
|
+
},
|
|
574
|
+
"default": "''",
|
|
575
|
+
"description": "The base URL for the application (used for thumbnail URLs)",
|
|
576
|
+
"fieldName": "appUrl"
|
|
577
|
+
}
|
|
578
|
+
],
|
|
579
|
+
"superclass": {
|
|
580
|
+
"name": "LitElement",
|
|
581
|
+
"package": "lit"
|
|
582
|
+
},
|
|
583
|
+
"tagName": "luzmo-dataset-icon",
|
|
584
|
+
"customElement": true,
|
|
585
|
+
"summary": "Displays an icon for a dataset based on its type, thumbnails, and connector"
|
|
586
|
+
}
|
|
587
|
+
],
|
|
588
|
+
"exports": [
|
|
589
|
+
{
|
|
590
|
+
"kind": "js",
|
|
591
|
+
"name": "publicConnectors",
|
|
592
|
+
"declaration": {
|
|
593
|
+
"name": "publicConnectors",
|
|
594
|
+
"module": "src/components/dataset-icon/dataset-icon.ts"
|
|
595
|
+
}
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"kind": "js",
|
|
599
|
+
"name": "LuzmoDatasetIcon",
|
|
600
|
+
"declaration": {
|
|
601
|
+
"name": "LuzmoDatasetIcon",
|
|
602
|
+
"module": "src/components/dataset-icon/dataset-icon.ts"
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
]
|
|
606
|
+
},
|
|
473
607
|
{
|
|
474
608
|
"kind": "javascript-module",
|
|
475
609
|
"path": "src/components/dataset-selector-list/dataset-selector-list.ts",
|
|
@@ -886,6 +1020,17 @@
|
|
|
886
1020
|
"default": "false",
|
|
887
1021
|
"description": "When true, restricts results to public datasets (opendata parity)",
|
|
888
1022
|
"attribute": "flag-opendata"
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
"kind": "field",
|
|
1026
|
+
"name": "disabled",
|
|
1027
|
+
"type": {
|
|
1028
|
+
"text": "boolean"
|
|
1029
|
+
},
|
|
1030
|
+
"default": "false",
|
|
1031
|
+
"description": "When true, disables all interactions with the component",
|
|
1032
|
+
"attribute": "disabled",
|
|
1033
|
+
"reflects": true
|
|
889
1034
|
}
|
|
890
1035
|
],
|
|
891
1036
|
"events": [
|
|
@@ -905,6 +1050,15 @@
|
|
|
905
1050
|
}
|
|
906
1051
|
],
|
|
907
1052
|
"attributes": [
|
|
1053
|
+
{
|
|
1054
|
+
"type": {
|
|
1055
|
+
"text": "boolean"
|
|
1056
|
+
},
|
|
1057
|
+
"description": "When true, disables all interactions with the component",
|
|
1058
|
+
"name": "disabled",
|
|
1059
|
+
"default": "false",
|
|
1060
|
+
"fieldName": "disabled"
|
|
1061
|
+
},
|
|
908
1062
|
{
|
|
909
1063
|
"name": "selectedDatasets",
|
|
910
1064
|
"type": {
|
package/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './components/ai-chat-message-assistant';
|
|
|
2
2
|
export * from './components/ai-chat-message-user';
|
|
3
3
|
export * from './components/ai-chat-messages-container';
|
|
4
4
|
export * from './components/ai-interaction-textarea';
|
|
5
|
+
export * from './components/dataset-icon';
|
|
5
6
|
export * from './components/dataset-selector-list';
|
|
6
7
|
export * from './components/dataset-selector-row';
|
|
7
8
|
export * from './components/display-settings';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luzmo/analytics-components-kit",
|
|
3
|
-
"version": "1.0.1-alpha.
|
|
3
|
+
"version": "1.0.1-alpha.87",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./components/index.js",
|
|
6
6
|
"module": "./components/index.js",
|
|
@@ -31,6 +31,11 @@
|
|
|
31
31
|
"import": "./components/ai-interaction-textarea/index.js",
|
|
32
32
|
"require": "./components/ai-interaction-textarea/index.cjs"
|
|
33
33
|
},
|
|
34
|
+
"./dataset-icon": {
|
|
35
|
+
"types": "./components/dataset-icon/index.d.ts",
|
|
36
|
+
"import": "./components/dataset-icon/index.js",
|
|
37
|
+
"require": "./components/dataset-icon/index.cjs"
|
|
38
|
+
},
|
|
34
39
|
"./dataset-selector-list": {
|
|
35
40
|
"types": "./components/dataset-selector-list/index.d.ts",
|
|
36
41
|
"import": "./components/dataset-selector-list/index.js",
|
|
@@ -277,8 +282,8 @@
|
|
|
277
282
|
"@lit/context": "^1.1.5",
|
|
278
283
|
"@lit/localize": "^0.12.2",
|
|
279
284
|
"@lit/task": "^1.0.1",
|
|
280
|
-
"@luzmo/icons": "^1.0.1-alpha.
|
|
281
|
-
"@luzmo/lucero": "^1.0.1-alpha.
|
|
285
|
+
"@luzmo/icons": "^1.0.1-alpha.21",
|
|
286
|
+
"@luzmo/lucero": "^1.0.1-alpha.35",
|
|
282
287
|
"colorjs.io": "^0.5.2",
|
|
283
288
|
"lit": "^3.3.1"
|
|
284
289
|
},
|
package/types.d.ts
CHANGED
|
@@ -64,6 +64,20 @@ export type DataItem = {
|
|
|
64
64
|
lowestLevel?: string;
|
|
65
65
|
};
|
|
66
66
|
export type GridItemRenderer = (item: GridItemData, index: number) => TemplateResult;
|
|
67
|
+
/**
|
|
68
|
+
* Dataset icon interface matching the Angular component
|
|
69
|
+
*/
|
|
70
|
+
export interface DatasetIcon {
|
|
71
|
+
subtype: string;
|
|
72
|
+
account?: {
|
|
73
|
+
plugin?: {
|
|
74
|
+
thumbnails?: {
|
|
75
|
+
url: string;
|
|
76
|
+
size: string;
|
|
77
|
+
}[];
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
}
|
|
67
81
|
export type { ElementSize, Placement } from '@luzmo/lucero';
|
|
68
82
|
export interface Dataset {
|
|
69
83
|
id: string;
|