@luzmo/analytics-components-kit 1.0.1-alpha.38 → 1.0.1-alpha.39
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/components/{calculate-data-item-icon-BpMATs29.cjs → calculate-data-item-icon-Bygfq3KO.cjs} +1 -1
- package/components/{calculate-data-item-icon-BPZYysi7.js → calculate-data-item-icon-DlyGQVBA.js} +1 -1
- package/components/{de-CCq00pbq.js → de-BbcctJsI.js} +7 -0
- package/components/de-eIqMhTVC.cjs +20 -0
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +9 -9
- package/components/display-settings-binning/index.cjs +1 -1
- package/components/display-settings-binning/index.js +10 -10
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +12 -12
- package/components/display-settings-grand-totals/index.cjs +1 -1
- package/components/display-settings-grand-totals/index.js +10 -10
- package/components/display-settings-numeric/index.cjs +1 -1
- package/components/display-settings-numeric/index.js +12 -12
- package/components/display-settings-period-over-period/index.cjs +1 -1
- package/components/display-settings-period-over-period/index.js +10 -10
- package/components/draggable-data-item/index.cjs +1 -1
- package/components/draggable-data-item/index.js +6 -6
- package/components/draggable-data-item-level/index.cjs +1 -1
- package/components/draggable-data-item-level/index.js +8 -8
- package/components/droppable-slot/index.cjs +1 -1
- package/components/droppable-slot/index.js +9 -9
- package/components/edit-item/index.cjs +5 -5
- package/components/edit-item/index.js +5 -5
- package/components/edit-option/index.cjs +1 -1
- package/components/edit-option/index.js +1 -1
- package/components/edit-option-action-button-group/index.cjs +1 -1
- package/components/edit-option-action-button-group/index.js +5 -5
- package/components/{edit-option-base-J7XNb_vp.cjs → edit-option-base-B7owFMOO.cjs} +1 -1
- package/components/{edit-option-base-BHvx3Mlq.js → edit-option-base-Cw2iO2Av.js} +4 -4
- package/components/edit-option-color-picker/index.cjs +30 -30
- package/components/edit-option-color-picker/index.js +6 -6
- package/components/edit-option-multi-language-field/index.cjs +1 -1
- package/components/edit-option-multi-language-field/index.js +3 -3
- package/components/edit-option-number-field/index.cjs +1 -1
- package/components/edit-option-number-field/index.js +3 -3
- package/components/edit-option-picker/index.cjs +1 -1
- package/components/edit-option-picker/index.js +4 -4
- package/components/edit-option-position-picker/index.cjs +1 -1
- package/components/edit-option-position-picker/index.js +3 -3
- package/components/edit-option-positions-number-field/index.cjs +1 -1
- package/components/edit-option-positions-number-field/index.js +5 -5
- package/components/edit-option-radio-button-group/index.cjs +1 -1
- package/components/edit-option-radio-button-group/index.js +3 -3
- package/components/edit-option-slider/index.cjs +1 -1
- package/components/edit-option-slider/index.js +2 -2
- package/components/edit-option-switch/index.cjs +1 -1
- package/components/edit-option-switch/index.js +2 -2
- package/components/edit-option-text-field/index.cjs +1 -1
- package/components/edit-option-text-field/index.js +3 -3
- package/components/{es-DBmbFw-L.js → es-ByWFTJ0s.js} +7 -0
- package/components/es-tWaYVbsQ.cjs +20 -0
- package/components/filter-data-item-picker/index.cjs +1 -1
- package/components/filter-data-item-picker/index.js +7 -7
- package/components/filter-expression-picker/index.cjs +1 -1
- package/components/filter-expression-picker/index.js +1 -1
- package/components/filter-item/index.cjs +1 -1
- package/components/filter-item/index.js +6 -6
- package/components/filter-value-picker/index.cjs +1 -1
- package/components/filter-value-picker/index.js +3 -3
- package/components/filter-value-picker-datetime/index.cjs +8 -8
- package/components/filter-value-picker-datetime/index.js +12 -12
- package/components/filter-value-picker-hierarchy/index.cjs +1 -1
- package/components/filter-value-picker-hierarchy/index.js +8 -7
- package/components/filter-value-picker-numeric/index.cjs +1 -1
- package/components/filter-value-picker-numeric/index.js +7 -7
- package/components/{focusable-_wp5pWO-.cjs → focusable-BTJYY_Mf.cjs} +1 -1
- package/components/{focusable-DB6Uhr-C.js → focusable-BXhQz3_k.js} +1 -1
- package/components/fr-2igiTsHU.cjs +20 -0
- package/components/{fr-BOwMikLT.js → fr-C5b2Wgoz.js} +7 -0
- package/components/get-css-variable-BEYG097C.js +1446 -0
- package/components/get-css-variable-BZxY4IOa.cjs +35 -0
- package/components/grid/actions.d.ts +21 -0
- package/components/grid/default-actions.d.ts +14 -0
- package/components/grid/grid-item-actions-menu.d.ts +35 -0
- package/components/grid/grid.d.ts +165 -0
- package/components/grid/index.cjs +326 -0
- package/components/grid/index.d.ts +10 -0
- package/components/grid/index.js +8948 -0
- package/components/{if-defined-DqthfJme.cjs → if-defined-Bulnuz1A.cjs} +1 -1
- package/components/{if-defined-B4gwZxx6.js → if-defined-CTc4c9nr.js} +1 -1
- package/components/{index-BNBJLKST.js → index-BC1LV3vH.js} +1 -1
- package/components/{index-BlLF9xYw.js → index-BNwJ9moR.js} +5 -5
- package/components/{index-DJKhZGty.cjs → index-B_dW2-QA.cjs} +14 -14
- package/components/{index-5mZhN-HJ.js → index-BiY07GvX.js} +4 -4
- package/components/{index-Dh6CgbzT.js → index-Boxjo5I0.js} +79 -79
- package/components/{index-uoJRMChX.cjs → index-C2PPSv8E.cjs} +2 -2
- package/components/{index-BhpqKmwq.cjs → index-CAJRL5rT.cjs} +1 -1
- package/components/{index-ROT368zu.cjs → index-CBOAQ3-E.cjs} +5 -5
- package/components/{index-eHmbYtYG.cjs → index-CT2vEcpn.cjs} +2 -2
- package/components/{index-C0mIH6sE.cjs → index-CaVIv7B9.cjs} +1 -1
- package/components/{index-DFe4VuxB.js → index-CbuHBIDB.js} +2 -2
- package/components/index-CcDZIqpD.cjs +192 -0
- package/components/index-CcLRp9ao.js +1685 -0
- package/components/{index-0AQhhYNR.js → index-Ciad94jH.js} +4 -4
- package/components/index-CpGRysX_.js +691 -0
- package/components/{index-COiTyPcJ.cjs → index-CzRmB9z3.cjs} +1 -1
- package/components/{index-CyAospmR.js → index-DE3d0E0P.js} +2 -2
- package/components/index-DFHExzGq.cjs +20 -0
- package/components/{index-BHXq1-M1.cjs → index-DQbl3h5H.cjs} +1 -1
- package/components/{index-CKenYdIM.cjs → index-DSQyBS9Z.cjs} +1 -1
- package/components/{index-jlphu2Tm.js → index-Desl7GJ0.js} +2 -2
- package/components/index-GgkqKtE6.cjs +20 -0
- package/components/{index-BFPa6sJd.js → index-Jmmy73Aq.js} +1 -1
- package/components/{index-B0rH2mr9.cjs → index-Tx5oQjbt.cjs} +1 -1
- package/components/{index-5UNCjfdE.js → index-UWOCtc0Y.js} +6 -6
- package/components/{index-C7pagyza.cjs → index-cHKqEi5-.cjs} +3 -3
- package/components/{index-DDR_JmOh.js → index-rQxtPaJl.js} +1 -1
- package/components/{index-D5asknFy.js → index-sCesmw8l.js} +5 -5
- package/components/index.cjs +1 -1
- package/components/index.js +25 -21
- package/components/item-list.cjs +1 -1
- package/components/item-list.js +267 -46
- package/components/item-menu/item-list/item-list.d.ts +2 -0
- package/components/{localized-decorator-DGnMToFa.js → localized-decorator-DNr1P1m0.js} +1 -1
- package/components/{localized-decorator-ClAOFk8M.cjs → localized-decorator-SOrjcPab.cjs} +1 -1
- package/components/luzmo-icons-DAsjNJNI.cjs +31 -0
- package/components/{luzmo-icons-BZPchcMw.js → luzmo-icons-DEoJcvoL.js} +145 -113
- package/components/{luzmo-icons-NEyaMpEM-1fxXxs3F.cjs → luzmo-icons-DbwDQtuO-DSQ-uVxy.cjs} +2 -2
- package/components/{luzmo-icons-NEyaMpEM-DbyDs_5B.js → luzmo-icons-DbwDQtuO-QG0fLECn.js} +9 -9
- package/components/{nl-CY0iO3Ch.js → nl-76jn_zMH.js} +7 -0
- package/components/nl-B50x7wMn.cjs +20 -0
- package/components/{pending-state-DTX7ggyF-B_9VbFxI.js → pending-state-DTX7ggyF-D1SvcIIz.js} +2 -2
- package/components/{pending-state-DTX7ggyF-C_go9EJh.cjs → pending-state-DTX7ggyF-DZzxjogp.cjs} +1 -1
- package/components/{periods.const-D2cMP5hH.js → periods.const-C89NNRX-.js} +1 -1
- package/components/{periods.const-BbgInj9J.cjs → periods.const-CfXsouLz.cjs} +1 -1
- package/components/{property-Dlf9S6Jz.cjs → property-BCb4Kybn.cjs} +7 -7
- package/components/{property-CxtZroGf.js → property-Dn4zSyxu.js} +46 -36
- package/components/query-all-CR2wWKRD.cjs +24 -0
- package/components/query-all-Ddzx2fEK.js +34 -0
- package/components/{set-locale-5FFfQpVQ.cjs → set-locale-Cam8nRIW.cjs} +1 -1
- package/components/{set-locale-DAGnJZD8.js → set-locale-DbEAMqUs.js} +1 -1
- package/components/{sized-mixin-ZTphZKLm.cjs → sized-mixin-BNtmplgF.cjs} +1 -1
- package/components/{sized-mixin-C7R5uRbF.js → sized-mixin-BR_Ii7le.js} +1 -1
- package/components/slot-menu/index.cjs +1 -1
- package/components/slot-menu/index.js +4 -4
- package/components/slot-menu-list/index.cjs +2 -6
- package/components/slot-menu-list/index.js +59 -70
- package/components/{state-CrfOw8Zp.cjs → state-BxZEcclm.cjs} +1 -1
- package/components/{state-BVYsk_HZ.js → state-vVJlsarL.js} +1 -1
- package/components/{task-DH8UFyxP.js → task-PQaVY8Iw.js} +1 -1
- package/components/{task-CdvrMX8r.cjs → task-qPJdeXO1.cjs} +1 -1
- package/components/{text-field-B9IkRRxO-CRU1UGaM.cjs → text-field-BIADXoLC-B8w9TVmS.cjs} +1 -1
- package/components/{text-field-B9IkRRxO-CWWQN_rn.js → text-field-BIADXoLC-B9oE05VF.js} +1 -1
- package/components/utils.cjs +1 -1
- package/components/utils.js +56 -472
- package/custom-elements.json +491 -0
- package/index.d.ts +1 -0
- package/package.json +6 -1
- package/utils/filters/expressions.d.ts +1 -1
- package/utils/themes/bliss.d.ts +43 -0
- package/utils/themes/classic-dark.d.ts +34 -0
- package/utils/themes/classic.d.ts +43 -0
- package/utils/themes/default-dark.d.ts +46 -0
- package/utils/themes/default.d.ts +46 -0
- package/utils/themes/index.d.ts +121 -120
- package/utils/themes/orion.d.ts +44 -0
- package/utils/themes/pinky.d.ts +42 -0
- package/utils/themes/radiant.d.ts +42 -0
- package/utils/themes/royale.d.ts +36 -0
- package/utils/themes/seasonal.d.ts +43 -0
- package/utils/themes/urban.d.ts +44 -0
- package/utils/themes/vivid.d.ts +42 -0
- package/components/de-DcZysUyZ.cjs +0 -20
- package/components/es-CGiBfBKJ.cjs +0 -20
- package/components/fr-DZbYwMlh.cjs +0 -20
- package/components/index-B4EIbvuW.cjs +0 -192
- package/components/luzmo-icons-BpFUFRQm.cjs +0 -31
- package/components/nl-0V96M02q.cjs +0 -20
package/custom-elements.json
CHANGED
@@ -5414,6 +5414,497 @@
|
|
5414
5414
|
}
|
5415
5415
|
]
|
5416
5416
|
},
|
5417
|
+
{
|
5418
|
+
"kind": "javascript-module",
|
5419
|
+
"path": "src/components/grid/actions.ts",
|
5420
|
+
"declarations": [
|
5421
|
+
{
|
5422
|
+
"kind": "function",
|
5423
|
+
"name": "generateActionsMenu",
|
5424
|
+
"return": {
|
5425
|
+
"type": {
|
5426
|
+
"text": "ActionGroup[] | undefined"
|
5427
|
+
}
|
5428
|
+
},
|
5429
|
+
"parameters": [
|
5430
|
+
{
|
5431
|
+
"name": "data",
|
5432
|
+
"optional": true,
|
5433
|
+
"type": {
|
5434
|
+
"text": "InputActionGroup[]"
|
5435
|
+
}
|
5436
|
+
}
|
5437
|
+
]
|
5438
|
+
},
|
5439
|
+
{
|
5440
|
+
"kind": "function",
|
5441
|
+
"name": "defaultActionsMenu",
|
5442
|
+
"return": {
|
5443
|
+
"type": {
|
5444
|
+
"text": "ActionGroup[]"
|
5445
|
+
}
|
5446
|
+
}
|
5447
|
+
}
|
5448
|
+
],
|
5449
|
+
"exports": [
|
5450
|
+
{
|
5451
|
+
"kind": "js",
|
5452
|
+
"name": "generateActionsMenu",
|
5453
|
+
"declaration": {
|
5454
|
+
"name": "generateActionsMenu",
|
5455
|
+
"module": "src/components/grid/actions.ts"
|
5456
|
+
}
|
5457
|
+
},
|
5458
|
+
{
|
5459
|
+
"kind": "js",
|
5460
|
+
"name": "defaultActionsMenu",
|
5461
|
+
"declaration": {
|
5462
|
+
"name": "defaultActionsMenu",
|
5463
|
+
"module": "src/components/grid/actions.ts"
|
5464
|
+
}
|
5465
|
+
}
|
5466
|
+
]
|
5467
|
+
},
|
5468
|
+
{
|
5469
|
+
"kind": "javascript-module",
|
5470
|
+
"path": "src/components/grid/grid-item-actions-menu.ts",
|
5471
|
+
"declarations": [
|
5472
|
+
{
|
5473
|
+
"kind": "class",
|
5474
|
+
"description": "",
|
5475
|
+
"name": "LuzmoGridItemActionsMenu",
|
5476
|
+
"members": [
|
5477
|
+
{
|
5478
|
+
"kind": "field",
|
5479
|
+
"name": "placement",
|
5480
|
+
"type": {
|
5481
|
+
"text": "Placement"
|
5482
|
+
},
|
5483
|
+
"default": "'right-start'",
|
5484
|
+
"description": "The preferred placement of the menu",
|
5485
|
+
"attribute": "placement",
|
5486
|
+
"reflects": true
|
5487
|
+
},
|
5488
|
+
{
|
5489
|
+
"kind": "field",
|
5490
|
+
"name": "actions",
|
5491
|
+
"type": {
|
5492
|
+
"text": "ActionGroup[]"
|
5493
|
+
},
|
5494
|
+
"description": "The Actions to display in the menu",
|
5495
|
+
"attribute": "actions"
|
5496
|
+
},
|
5497
|
+
{
|
5498
|
+
"kind": "field",
|
5499
|
+
"name": "language",
|
5500
|
+
"type": {
|
5501
|
+
"text": "string"
|
5502
|
+
},
|
5503
|
+
"default": "'en'",
|
5504
|
+
"description": "The language to display the actions in",
|
5505
|
+
"attribute": "language"
|
5506
|
+
}
|
5507
|
+
],
|
5508
|
+
"events": [
|
5509
|
+
{
|
5510
|
+
"name": "action",
|
5511
|
+
"type": {
|
5512
|
+
"text": "CustomEvent"
|
5513
|
+
}
|
5514
|
+
}
|
5515
|
+
],
|
5516
|
+
"attributes": [
|
5517
|
+
{
|
5518
|
+
"name": "placement",
|
5519
|
+
"type": {
|
5520
|
+
"text": "Placement"
|
5521
|
+
},
|
5522
|
+
"default": "'right-start'",
|
5523
|
+
"description": "The preferred placement of the menu",
|
5524
|
+
"fieldName": "placement"
|
5525
|
+
},
|
5526
|
+
{
|
5527
|
+
"name": "actions",
|
5528
|
+
"type": {
|
5529
|
+
"text": "ActionGroup[]"
|
5530
|
+
},
|
5531
|
+
"description": "The Actions to display in the menu",
|
5532
|
+
"fieldName": "actions"
|
5533
|
+
},
|
5534
|
+
{
|
5535
|
+
"name": "language",
|
5536
|
+
"type": {
|
5537
|
+
"text": "string"
|
5538
|
+
},
|
5539
|
+
"default": "'en'",
|
5540
|
+
"description": "The language to display the actions in",
|
5541
|
+
"fieldName": "language"
|
5542
|
+
}
|
5543
|
+
],
|
5544
|
+
"superclass": {
|
5545
|
+
"name": "LuzmoElement",
|
5546
|
+
"package": "@luzmo/lucero/utils"
|
5547
|
+
},
|
5548
|
+
"tagName": "luzmo-grid-item-actions-menu",
|
5549
|
+
"customElement": true
|
5550
|
+
}
|
5551
|
+
],
|
5552
|
+
"exports": [
|
5553
|
+
{
|
5554
|
+
"kind": "js",
|
5555
|
+
"name": "LuzmoGridItemActionsMenu",
|
5556
|
+
"declaration": {
|
5557
|
+
"name": "LuzmoGridItemActionsMenu",
|
5558
|
+
"module": "src/components/grid/grid-item-actions-menu.ts"
|
5559
|
+
}
|
5560
|
+
}
|
5561
|
+
]
|
5562
|
+
},
|
5563
|
+
{
|
5564
|
+
"kind": "javascript-module",
|
5565
|
+
"path": "src/components/grid/grid.ts",
|
5566
|
+
"declarations": [
|
5567
|
+
{
|
5568
|
+
"kind": "class",
|
5569
|
+
"description": "",
|
5570
|
+
"name": "LuzmoGrid",
|
5571
|
+
"members": [
|
5572
|
+
{
|
5573
|
+
"kind": "field",
|
5574
|
+
"name": "appServer",
|
5575
|
+
"type": {
|
5576
|
+
"text": "string | undefined"
|
5577
|
+
},
|
5578
|
+
"default": "'https://app.luzmo.com/'",
|
5579
|
+
"description": "The URL of the app server",
|
5580
|
+
"attribute": "app-server",
|
5581
|
+
"reflects": true
|
5582
|
+
},
|
5583
|
+
{
|
5584
|
+
"kind": "field",
|
5585
|
+
"name": "apiHost",
|
5586
|
+
"type": {
|
5587
|
+
"text": "string | undefined"
|
5588
|
+
},
|
5589
|
+
"default": "'https://api.luzmo.com'",
|
5590
|
+
"description": "The API Host of the databroker",
|
5591
|
+
"attribute": "api-host",
|
5592
|
+
"reflects": true
|
5593
|
+
},
|
5594
|
+
{
|
5595
|
+
"kind": "field",
|
5596
|
+
"name": "authKey",
|
5597
|
+
"type": {
|
5598
|
+
"text": "string | undefined"
|
5599
|
+
},
|
5600
|
+
"description": "The auth key of the databroker",
|
5601
|
+
"attribute": "auth-key",
|
5602
|
+
"reflects": true
|
5603
|
+
},
|
5604
|
+
{
|
5605
|
+
"kind": "field",
|
5606
|
+
"name": "authToken",
|
5607
|
+
"type": {
|
5608
|
+
"text": "string | undefined"
|
5609
|
+
},
|
5610
|
+
"description": "The auth token of the databroker",
|
5611
|
+
"attribute": "auth-token",
|
5612
|
+
"reflects": true
|
5613
|
+
},
|
5614
|
+
{
|
5615
|
+
"kind": "field",
|
5616
|
+
"name": "cacheTime",
|
5617
|
+
"type": {
|
5618
|
+
"text": "number | undefined"
|
5619
|
+
},
|
5620
|
+
"description": "The cache time of the databroker",
|
5621
|
+
"default": "30000",
|
5622
|
+
"attribute": "cache-time",
|
5623
|
+
"reflects": true
|
5624
|
+
},
|
5625
|
+
{
|
5626
|
+
"kind": "field",
|
5627
|
+
"name": "language",
|
5628
|
+
"type": {
|
5629
|
+
"text": "string"
|
5630
|
+
},
|
5631
|
+
"default": "'en'",
|
5632
|
+
"description": "The language of the settings interface",
|
5633
|
+
"attribute": "language",
|
5634
|
+
"reflects": true
|
5635
|
+
},
|
5636
|
+
{
|
5637
|
+
"kind": "field",
|
5638
|
+
"name": "contentLanguage",
|
5639
|
+
"type": {
|
5640
|
+
"text": "string"
|
5641
|
+
},
|
5642
|
+
"default": "'en'",
|
5643
|
+
"description": "The language to use for locale-aware formatting and labels",
|
5644
|
+
"attribute": "content-language",
|
5645
|
+
"reflects": true
|
5646
|
+
},
|
5647
|
+
{
|
5648
|
+
"kind": "field",
|
5649
|
+
"name": "columns",
|
5650
|
+
"type": {
|
5651
|
+
"text": "number"
|
5652
|
+
},
|
5653
|
+
"default": "48",
|
5654
|
+
"description": "The number of columns in the grid.",
|
5655
|
+
"attribute": "columns",
|
5656
|
+
"reflects": true
|
5657
|
+
},
|
5658
|
+
{
|
5659
|
+
"kind": "field",
|
5660
|
+
"name": "rowHeight",
|
5661
|
+
"type": {
|
5662
|
+
"text": "number"
|
5663
|
+
},
|
5664
|
+
"default": "16",
|
5665
|
+
"description": "The height of each row in pixels in the grid.",
|
5666
|
+
"attribute": "row-height",
|
5667
|
+
"reflects": true
|
5668
|
+
},
|
5669
|
+
{
|
5670
|
+
"kind": "field",
|
5671
|
+
"name": "viewMode",
|
5672
|
+
"type": {
|
5673
|
+
"text": "boolean"
|
5674
|
+
},
|
5675
|
+
"default": "false",
|
5676
|
+
"description": "Whether the grid is in view mode. When true, dragging, resizing and action buttons are disabled.",
|
5677
|
+
"attribute": "view-mode",
|
5678
|
+
"reflects": true
|
5679
|
+
},
|
5680
|
+
{
|
5681
|
+
"kind": "field",
|
5682
|
+
"name": "placementItemActionsMenu",
|
5683
|
+
"type": {
|
5684
|
+
"text": "Placement"
|
5685
|
+
},
|
5686
|
+
"default": "'right-start'",
|
5687
|
+
"description": "The placement of the item actions menu.",
|
5688
|
+
"attribute": "placement-item-actions-menu",
|
5689
|
+
"reflects": true
|
5690
|
+
},
|
5691
|
+
{
|
5692
|
+
"kind": "field",
|
5693
|
+
"name": "defaultItemActionsMenu",
|
5694
|
+
"type": {
|
5695
|
+
"text": "InputActionGroup[]"
|
5696
|
+
},
|
5697
|
+
"default": "[]",
|
5698
|
+
"description": "The default item actions menu.",
|
5699
|
+
"attribute": "default-item-actions-menu",
|
5700
|
+
"reflects": true
|
5701
|
+
},
|
5702
|
+
{
|
5703
|
+
"kind": "field",
|
5704
|
+
"name": "theme",
|
5705
|
+
"type": {
|
5706
|
+
"text": "any"
|
5707
|
+
},
|
5708
|
+
"default": "{}",
|
5709
|
+
"description": "Grid options configuration",
|
5710
|
+
"attribute": "theme",
|
5711
|
+
"reflects": true
|
5712
|
+
},
|
5713
|
+
{
|
5714
|
+
"kind": "field",
|
5715
|
+
"name": "items",
|
5716
|
+
"type": {
|
5717
|
+
"text": "GridItemData[]"
|
5718
|
+
},
|
5719
|
+
"default": "[]",
|
5720
|
+
"description": "Items to add to the grid",
|
5721
|
+
"attribute": "items"
|
5722
|
+
},
|
5723
|
+
{
|
5724
|
+
"kind": "field",
|
5725
|
+
"name": "renderers",
|
5726
|
+
"type": {
|
5727
|
+
"text": "Record<string, GridItemRenderer>"
|
5728
|
+
},
|
5729
|
+
"default": "{}",
|
5730
|
+
"description": "Custom renderers for different item types",
|
5731
|
+
"attribute": "renderers"
|
5732
|
+
}
|
5733
|
+
],
|
5734
|
+
"events": [
|
5735
|
+
{
|
5736
|
+
"name": "grid-changed",
|
5737
|
+
"type": {
|
5738
|
+
"text": "CustomEvent"
|
5739
|
+
},
|
5740
|
+
"description": "Fired when the grid is changed"
|
5741
|
+
},
|
5742
|
+
{
|
5743
|
+
"name": "grid-ready",
|
5744
|
+
"type": {
|
5745
|
+
"text": "CustomEvent"
|
5746
|
+
},
|
5747
|
+
"description": "Fired when the grid is ready"
|
5748
|
+
},
|
5749
|
+
{
|
5750
|
+
"description": "Fired when an item action is performed",
|
5751
|
+
"name": "grid-item-action"
|
5752
|
+
}
|
5753
|
+
],
|
5754
|
+
"attributes": [
|
5755
|
+
{
|
5756
|
+
"name": "app-server",
|
5757
|
+
"type": {
|
5758
|
+
"text": "string | undefined"
|
5759
|
+
},
|
5760
|
+
"default": "'https://app.luzmo.com/'",
|
5761
|
+
"description": "The URL of the app server",
|
5762
|
+
"fieldName": "appServer"
|
5763
|
+
},
|
5764
|
+
{
|
5765
|
+
"name": "api-host",
|
5766
|
+
"type": {
|
5767
|
+
"text": "string | undefined"
|
5768
|
+
},
|
5769
|
+
"default": "'https://api.luzmo.com'",
|
5770
|
+
"description": "The API Host of the databroker",
|
5771
|
+
"fieldName": "apiHost"
|
5772
|
+
},
|
5773
|
+
{
|
5774
|
+
"name": "auth-key",
|
5775
|
+
"type": {
|
5776
|
+
"text": "string | undefined"
|
5777
|
+
},
|
5778
|
+
"description": "The auth key of the databroker",
|
5779
|
+
"fieldName": "authKey"
|
5780
|
+
},
|
5781
|
+
{
|
5782
|
+
"name": "auth-token",
|
5783
|
+
"type": {
|
5784
|
+
"text": "string | undefined"
|
5785
|
+
},
|
5786
|
+
"description": "The auth token of the databroker",
|
5787
|
+
"fieldName": "authToken"
|
5788
|
+
},
|
5789
|
+
{
|
5790
|
+
"name": "cache-time",
|
5791
|
+
"type": {
|
5792
|
+
"text": "number | undefined"
|
5793
|
+
},
|
5794
|
+
"description": "The cache time of the databroker",
|
5795
|
+
"default": "30000",
|
5796
|
+
"fieldName": "cacheTime"
|
5797
|
+
},
|
5798
|
+
{
|
5799
|
+
"name": "language",
|
5800
|
+
"type": {
|
5801
|
+
"text": "string"
|
5802
|
+
},
|
5803
|
+
"default": "'en'",
|
5804
|
+
"description": "The language of the settings interface",
|
5805
|
+
"fieldName": "language"
|
5806
|
+
},
|
5807
|
+
{
|
5808
|
+
"name": "content-language",
|
5809
|
+
"type": {
|
5810
|
+
"text": "string"
|
5811
|
+
},
|
5812
|
+
"default": "'en'",
|
5813
|
+
"description": "The language to use for locale-aware formatting and labels",
|
5814
|
+
"fieldName": "contentLanguage"
|
5815
|
+
},
|
5816
|
+
{
|
5817
|
+
"name": "columns",
|
5818
|
+
"type": {
|
5819
|
+
"text": "number"
|
5820
|
+
},
|
5821
|
+
"default": "48",
|
5822
|
+
"description": "The number of columns in the grid.",
|
5823
|
+
"fieldName": "columns"
|
5824
|
+
},
|
5825
|
+
{
|
5826
|
+
"name": "row-height",
|
5827
|
+
"type": {
|
5828
|
+
"text": "number"
|
5829
|
+
},
|
5830
|
+
"default": "16",
|
5831
|
+
"description": "The height of each row in pixels in the grid.",
|
5832
|
+
"fieldName": "rowHeight"
|
5833
|
+
},
|
5834
|
+
{
|
5835
|
+
"name": "view-mode",
|
5836
|
+
"type": {
|
5837
|
+
"text": "boolean"
|
5838
|
+
},
|
5839
|
+
"default": "false",
|
5840
|
+
"description": "Whether the grid is in view mode. When true, dragging, resizing and action buttons are disabled.",
|
5841
|
+
"fieldName": "viewMode"
|
5842
|
+
},
|
5843
|
+
{
|
5844
|
+
"name": "placement-item-actions-menu",
|
5845
|
+
"type": {
|
5846
|
+
"text": "Placement"
|
5847
|
+
},
|
5848
|
+
"default": "'right-start'",
|
5849
|
+
"description": "The placement of the item actions menu.",
|
5850
|
+
"fieldName": "placementItemActionsMenu"
|
5851
|
+
},
|
5852
|
+
{
|
5853
|
+
"name": "default-item-actions-menu",
|
5854
|
+
"type": {
|
5855
|
+
"text": "InputActionGroup[]"
|
5856
|
+
},
|
5857
|
+
"default": "[]",
|
5858
|
+
"description": "The default item actions menu.",
|
5859
|
+
"fieldName": "defaultItemActionsMenu"
|
5860
|
+
},
|
5861
|
+
{
|
5862
|
+
"name": "theme",
|
5863
|
+
"type": {
|
5864
|
+
"text": "any"
|
5865
|
+
},
|
5866
|
+
"default": "{}",
|
5867
|
+
"description": "Grid options configuration",
|
5868
|
+
"fieldName": "theme"
|
5869
|
+
},
|
5870
|
+
{
|
5871
|
+
"name": "items",
|
5872
|
+
"type": {
|
5873
|
+
"text": "GridItemData[]"
|
5874
|
+
},
|
5875
|
+
"default": "[]",
|
5876
|
+
"description": "Items to add to the grid",
|
5877
|
+
"fieldName": "items"
|
5878
|
+
},
|
5879
|
+
{
|
5880
|
+
"name": "renderers",
|
5881
|
+
"type": {
|
5882
|
+
"text": "Record<string, GridItemRenderer>"
|
5883
|
+
},
|
5884
|
+
"default": "{}",
|
5885
|
+
"description": "Custom renderers for different item types",
|
5886
|
+
"fieldName": "renderers"
|
5887
|
+
}
|
5888
|
+
],
|
5889
|
+
"superclass": {
|
5890
|
+
"name": "LuzmoElement",
|
5891
|
+
"package": "@luzmo/lucero/utils"
|
5892
|
+
},
|
5893
|
+
"tagName": "luzmo-grid",
|
5894
|
+
"customElement": true
|
5895
|
+
}
|
5896
|
+
],
|
5897
|
+
"exports": [
|
5898
|
+
{
|
5899
|
+
"kind": "js",
|
5900
|
+
"name": "LuzmoGrid",
|
5901
|
+
"declaration": {
|
5902
|
+
"name": "LuzmoGrid",
|
5903
|
+
"module": "src/components/grid/grid.ts"
|
5904
|
+
}
|
5905
|
+
}
|
5906
|
+
]
|
5907
|
+
},
|
5417
5908
|
{
|
5418
5909
|
"kind": "javascript-module",
|
5419
5910
|
"path": "src/components/slot-menu/slot-menu.ts",
|
package/index.d.ts
CHANGED
@@ -27,6 +27,7 @@ export * from './components/filter-value-picker';
|
|
27
27
|
export * from './components/filter-value-picker-datetime';
|
28
28
|
export * from './components/filter-value-picker-hierarchy';
|
29
29
|
export * from './components/filter-value-picker-numeric';
|
30
|
+
export * from './components/grid';
|
30
31
|
export * from './components/slot-menu';
|
31
32
|
export * from './components/slot-menu-list';
|
32
33
|
export * from './item-definitions/item-list';
|
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.39",
|
4
4
|
"type": "module",
|
5
5
|
"main": "./components/index.js",
|
6
6
|
"module": "./components/index.js",
|
@@ -166,6 +166,11 @@
|
|
166
166
|
"import": "./components/filter-value-picker-numeric/index.js",
|
167
167
|
"require": "./components/filter-value-picker-numeric/index.cjs"
|
168
168
|
},
|
169
|
+
"./grid": {
|
170
|
+
"types": "./components/grid/index.d.ts",
|
171
|
+
"import": "./components/grid/index.js",
|
172
|
+
"require": "./components/grid/index.cjs"
|
173
|
+
},
|
169
174
|
"./slot-menu": {
|
170
175
|
"types": "./components/slot-menu/index.d.ts",
|
171
176
|
"import": "./components/slot-menu/index.js",
|
@@ -0,0 +1,43 @@
|
|
1
|
+
export declare const blissTheme: {
|
2
|
+
type: string;
|
3
|
+
background: string;
|
4
|
+
itemsBackground: string;
|
5
|
+
boxShadow: {
|
6
|
+
size: string;
|
7
|
+
color: string;
|
8
|
+
};
|
9
|
+
title: {
|
10
|
+
align: string;
|
11
|
+
bold: boolean;
|
12
|
+
italic: boolean;
|
13
|
+
underline: boolean;
|
14
|
+
border: boolean;
|
15
|
+
};
|
16
|
+
font: {
|
17
|
+
fontFamily: string;
|
18
|
+
fontSize: number;
|
19
|
+
};
|
20
|
+
colors: string[];
|
21
|
+
borders: {
|
22
|
+
'border-color': string;
|
23
|
+
'border-style': string;
|
24
|
+
'border-radius': string;
|
25
|
+
'border-top-width': string;
|
26
|
+
'border-left-width': string;
|
27
|
+
'border-right-width': string;
|
28
|
+
'border-bottom-width': string;
|
29
|
+
};
|
30
|
+
margins: number[];
|
31
|
+
mainColor: string;
|
32
|
+
axis: {};
|
33
|
+
legend: {
|
34
|
+
type: string;
|
35
|
+
};
|
36
|
+
tooltip: {};
|
37
|
+
itemSpecific: {
|
38
|
+
rounding: number;
|
39
|
+
padding: number;
|
40
|
+
};
|
41
|
+
name: string;
|
42
|
+
editModeBackground: string;
|
43
|
+
};
|
@@ -0,0 +1,34 @@
|
|
1
|
+
export declare const classicDarkTheme: {
|
2
|
+
type: string;
|
3
|
+
background: string;
|
4
|
+
itemsBackground: string;
|
5
|
+
boxShadow: {
|
6
|
+
size: string;
|
7
|
+
color: string;
|
8
|
+
};
|
9
|
+
title: {
|
10
|
+
align: string;
|
11
|
+
bold: boolean;
|
12
|
+
italic: boolean;
|
13
|
+
underline: boolean;
|
14
|
+
border: boolean;
|
15
|
+
};
|
16
|
+
font: {
|
17
|
+
fontFamily: string;
|
18
|
+
fontSize: number;
|
19
|
+
};
|
20
|
+
colors: string[];
|
21
|
+
borders: {};
|
22
|
+
margins: number[];
|
23
|
+
mainColor: string;
|
24
|
+
axis: {};
|
25
|
+
legend: {
|
26
|
+
type: string;
|
27
|
+
};
|
28
|
+
tooltip: {};
|
29
|
+
itemSpecific: {
|
30
|
+
rounding: number;
|
31
|
+
padding: number;
|
32
|
+
};
|
33
|
+
name: string;
|
34
|
+
};
|
@@ -0,0 +1,43 @@
|
|
1
|
+
export declare const classicTheme: {
|
2
|
+
type: string;
|
3
|
+
background: string;
|
4
|
+
itemsBackground: string;
|
5
|
+
boxShadow: {
|
6
|
+
size: string;
|
7
|
+
color: string;
|
8
|
+
};
|
9
|
+
title: {
|
10
|
+
align: string;
|
11
|
+
bold: boolean;
|
12
|
+
italic: boolean;
|
13
|
+
underline: boolean;
|
14
|
+
border: boolean;
|
15
|
+
};
|
16
|
+
font: {
|
17
|
+
fontFamily: string;
|
18
|
+
fontSize: number;
|
19
|
+
};
|
20
|
+
colors: string[];
|
21
|
+
borders: {
|
22
|
+
'border-color': string;
|
23
|
+
'border-style': string;
|
24
|
+
'border-radius': string;
|
25
|
+
'border-top-width': string;
|
26
|
+
'border-left-width': string;
|
27
|
+
'border-right-width': string;
|
28
|
+
'border-bottom-width': string;
|
29
|
+
};
|
30
|
+
margins: number[];
|
31
|
+
mainColor: string;
|
32
|
+
axis: {};
|
33
|
+
legend: {
|
34
|
+
type: string;
|
35
|
+
};
|
36
|
+
tooltip: {};
|
37
|
+
itemSpecific: {
|
38
|
+
rounding: number;
|
39
|
+
padding: number;
|
40
|
+
};
|
41
|
+
name: string;
|
42
|
+
editModeBackground: string;
|
43
|
+
};
|