@pure-ds/core 0.5.31 → 0.5.33
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/.github/copilot-instructions.md +1 -1
- package/INTELLISENSE.md +1 -1
- package/custom-elements.json +268 -0
- package/dist/types/pds.d.ts +2 -0
- package/dist/types/public/assets/js/pds-configurator.d.ts +2 -0
- package/dist/types/public/assets/js/pds-configurator.d.ts.map +1 -0
- package/dist/types/public/assets/js/pds-manager.d.ts +13 -13
- package/dist/types/public/assets/js/pds-manager.d.ts.map +1 -1
- package/dist/types/public/assets/js/pds.d.ts +3 -3
- package/dist/types/public/assets/js/pds.d.ts.map +1 -1
- package/dist/types/public/assets/pds/components/pds-fab.d.ts +82 -0
- package/dist/types/public/assets/pds/components/pds-fab.d.ts.map +1 -0
- package/dist/types/public/assets/pds/components/pds-omnibox.d.ts +28 -0
- package/dist/types/public/assets/pds/components/pds-omnibox.d.ts.map +1 -0
- package/dist/types/src/js/common/ask.d.ts +6 -6
- package/dist/types/src/js/common/ask.d.ts.map +1 -1
- package/dist/types/src/js/common/common.d.ts +9 -0
- package/dist/types/src/js/common/common.d.ts.map +1 -1
- package/dist/types/src/js/pds-configurator.d.ts +2 -0
- package/dist/types/src/js/pds-configurator.d.ts.map +1 -0
- package/dist/types/src/js/pds-core/pds-config.d.ts.map +1 -1
- package/dist/types/src/js/pds-core/pds-enhancers-meta.d.ts.map +1 -1
- package/dist/types/src/js/pds-core/pds-enhancers.d.ts.map +1 -1
- package/dist/types/src/js/pds-core/pds-enums.d.ts +9 -0
- package/dist/types/src/js/pds-core/pds-generator.d.ts.map +1 -1
- package/dist/types/src/js/pds-core/pds-live.d.ts.map +1 -1
- package/dist/types/src/js/pds-core/pds-ontology.d.ts +146 -158
- package/dist/types/src/js/pds-core/pds-ontology.d.ts.map +1 -1
- package/dist/types/src/js/pds-core/pds-start-helpers.d.ts.map +1 -1
- package/dist/types/src/js/pds.d.ts.map +1 -1
- package/package.json +3 -2
- package/packages/pds-cli/bin/templates/bootstrap/pds.config.js +2 -2
- package/public/assets/js/app.js +315 -207
- package/public/assets/js/pds-manager.js +297 -189
- package/public/assets/js/pds.js +16 -53
- package/public/assets/pds/components/pds-calendar.js +1 -1
- package/public/assets/pds/components/pds-fab.js +598 -0
- package/public/assets/pds/components/pds-form.js +1 -1
- package/public/assets/pds/components/pds-icon.js +10 -10
- package/public/assets/pds/components/pds-omnibox.js +430 -0
- package/public/assets/pds/components/pds-toaster.js +15 -15
- package/public/assets/pds/vscode-custom-data.json +23 -0
- package/readme.md +21 -4
- package/src/js/pds-core/pds-config.js +1 -8
- package/src/js/pds-core/pds-enhancers-meta.js +20 -5
- package/src/js/pds-core/pds-enhancers.js +45 -2
- package/src/js/pds-core/pds-enums.js +9 -0
- package/src/js/pds-core/pds-generator.js +245 -143
- package/src/js/pds-core/pds-live.js +2 -0
- package/src/js/pds-core/pds-ontology.js +47 -20
- package/src/js/pds-core/pds-query.js +1 -1
- package/src/js/pds-core/pds-start-helpers.js +2 -6
- package/src/js/pds.d.ts +2 -0
- package/src/js/pds.js +23 -0
|
@@ -497,7 +497,7 @@ Before generating code:
|
|
|
497
497
|
5. ✅ **Use semantic HTML** — `<button>`, `<nav>`, `<article>`, `<label>`, `<details>`
|
|
498
498
|
6. ✅ **Apply enhancements via data-* attributes** — See `pds-enhancers.js` → `defaultPDSEnhancerMetadata`
|
|
499
499
|
7. ✅ **Components as last resort** — Only when native HTML can't achieve it
|
|
500
|
-
8. ✅ **Prefer primitives** — `.card`, `.badge`, `.
|
|
500
|
+
8. ✅ **Prefer primitives** — `.card`, `.badge`, `.callout` over custom components
|
|
501
501
|
9. ✅ **Wait for lazy components** — Use `await customElements.whenDefined()` before accessing APIs
|
|
502
502
|
10. ✅ **Include import map** — When using `pds-form` or `pds-drawer`, ensure `#pds/lit` is mapped
|
|
503
503
|
|
package/INTELLISENSE.md
CHANGED
|
@@ -225,7 +225,7 @@ Progressive enhancement attributes with example code:
|
|
|
225
225
|
### CSS Classes (50+ utilities)
|
|
226
226
|
|
|
227
227
|
**Primitives**:
|
|
228
|
-
- `.badge`, `.card`, `.surface`, `.
|
|
228
|
+
- `.badge`, `.card`, `.surface`, `.callout`, `.dialog`, `.table`, `.button`
|
|
229
229
|
|
|
230
230
|
**Layout**:
|
|
231
231
|
- `.flex`, `.grid`, `.grid-cols-{1-6}`, `.grid-auto-{sm|md|lg|xl}`, `.container`
|
package/custom-elements.json
CHANGED
|
@@ -506,6 +506,185 @@
|
|
|
506
506
|
}
|
|
507
507
|
]
|
|
508
508
|
},
|
|
509
|
+
{
|
|
510
|
+
"kind": "javascript-module",
|
|
511
|
+
"path": "public/assets/pds/components/pds-fab.js",
|
|
512
|
+
"declarations": [
|
|
513
|
+
{
|
|
514
|
+
"kind": "class",
|
|
515
|
+
"description": "Floating Action Button (FAB) with expandable satellite actions",
|
|
516
|
+
"name": "PdsFab",
|
|
517
|
+
"cssProperties": [
|
|
518
|
+
{
|
|
519
|
+
"description": "Size of the main FAB button (default: 64px)",
|
|
520
|
+
"name": "--fab-size"
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"description": "Background color of the main FAB (default: var(--color-primary-600))",
|
|
524
|
+
"name": "--fab-bg"
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"description": "Foreground color of the main FAB (default: white)",
|
|
528
|
+
"name": "--fab-fg"
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"description": "Size of satellite buttons (default: 48px)",
|
|
532
|
+
"name": "--sat-size"
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"description": "Background color of satellites (default: var(--color-surface-elevated))",
|
|
536
|
+
"name": "--sat-bg"
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
"description": "Foreground color of satellites (default: var(--color-text-primary))",
|
|
540
|
+
"name": "--sat-fg"
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"description": "Distance of satellites from main FAB (default: 100px)",
|
|
544
|
+
"name": "--radius"
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"description": "Animation duration (default: 420ms)",
|
|
548
|
+
"name": "--transition-duration"
|
|
549
|
+
}
|
|
550
|
+
],
|
|
551
|
+
"cssParts": [
|
|
552
|
+
{
|
|
553
|
+
"description": "The main FAB button",
|
|
554
|
+
"name": "fab"
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"description": "Individual satellite buttons",
|
|
558
|
+
"name": "satellite"
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"description": "Satellite button labels",
|
|
562
|
+
"name": "label"
|
|
563
|
+
}
|
|
564
|
+
],
|
|
565
|
+
"slots": [
|
|
566
|
+
{
|
|
567
|
+
"description": "Main FAB button content (typically an icon or avatar)",
|
|
568
|
+
"name": ""
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"description": "Override individual satellite button content",
|
|
572
|
+
"name": "satellite-{key}"
|
|
573
|
+
}
|
|
574
|
+
],
|
|
575
|
+
"members": [
|
|
576
|
+
{
|
|
577
|
+
"kind": "field",
|
|
578
|
+
"name": "open",
|
|
579
|
+
"description": "Controls whether the FAB is expanded",
|
|
580
|
+
"type": {
|
|
581
|
+
"text": "boolean"
|
|
582
|
+
},
|
|
583
|
+
"attribute": "open"
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
"kind": "field",
|
|
587
|
+
"name": "radius",
|
|
588
|
+
"description": "Distance in pixels from the main FAB to satellites",
|
|
589
|
+
"type": {
|
|
590
|
+
"text": "number"
|
|
591
|
+
},
|
|
592
|
+
"default": "100",
|
|
593
|
+
"attribute": "radius"
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"kind": "field",
|
|
597
|
+
"name": "spread",
|
|
598
|
+
"description": "Arc angle in degrees for satellite distribution",
|
|
599
|
+
"type": {
|
|
600
|
+
"text": "number"
|
|
601
|
+
},
|
|
602
|
+
"default": "90",
|
|
603
|
+
"attribute": "spread"
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
"kind": "field",
|
|
607
|
+
"name": "startAngle",
|
|
608
|
+
"description": "Starting angle in degrees (0=right, 90=down, 180=left, 270=up). Auto-detected based on FAB corner position if not specified: bottom-right=180°, bottom-left=315°, top-right=225°, top-left=45°",
|
|
609
|
+
"type": {
|
|
610
|
+
"text": "number"
|
|
611
|
+
},
|
|
612
|
+
"default": "180",
|
|
613
|
+
"attribute": "start-angle"
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"kind": "field",
|
|
617
|
+
"name": "satellites",
|
|
618
|
+
"description": "Array of satellite button configurations",
|
|
619
|
+
"type": {
|
|
620
|
+
"text": "Array<{key: string, icon?: string, label?: string, action?: string}>"
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
],
|
|
624
|
+
"events": [
|
|
625
|
+
{
|
|
626
|
+
"description": "Fired when a satellite button is clicked",
|
|
627
|
+
"name": "satellite-click",
|
|
628
|
+
"type": {
|
|
629
|
+
"text": "CustomEvent"
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
],
|
|
633
|
+
"attributes": [
|
|
634
|
+
{
|
|
635
|
+
"name": "open",
|
|
636
|
+
"type": {
|
|
637
|
+
"text": "boolean"
|
|
638
|
+
},
|
|
639
|
+
"description": "Controls whether the FAB is expanded",
|
|
640
|
+
"fieldName": "open"
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"name": "radius",
|
|
644
|
+
"type": {
|
|
645
|
+
"text": "number"
|
|
646
|
+
},
|
|
647
|
+
"default": "100",
|
|
648
|
+
"description": "Distance in pixels from the main FAB to satellites",
|
|
649
|
+
"fieldName": "radius"
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
"name": "spread",
|
|
653
|
+
"type": {
|
|
654
|
+
"text": "number"
|
|
655
|
+
},
|
|
656
|
+
"default": "90",
|
|
657
|
+
"description": "Arc angle in degrees for satellite distribution",
|
|
658
|
+
"fieldName": "spread"
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"name": "start-angle",
|
|
662
|
+
"type": {
|
|
663
|
+
"text": "number"
|
|
664
|
+
},
|
|
665
|
+
"default": "180",
|
|
666
|
+
"description": "Starting angle in degrees (0=right, 90=down, 180=left, 270=up). Auto-detected based on FAB corner position if not specified: bottom-right=180°, bottom-left=315°, top-right=225°, top-left=45°",
|
|
667
|
+
"fieldName": "startAngle"
|
|
668
|
+
}
|
|
669
|
+
],
|
|
670
|
+
"superclass": {
|
|
671
|
+
"name": "HTMLElement"
|
|
672
|
+
},
|
|
673
|
+
"tagName": "pds-fab",
|
|
674
|
+
"customElement": true
|
|
675
|
+
}
|
|
676
|
+
],
|
|
677
|
+
"exports": [
|
|
678
|
+
{
|
|
679
|
+
"kind": "custom-element-definition",
|
|
680
|
+
"name": "pds-fab",
|
|
681
|
+
"declaration": {
|
|
682
|
+
"name": "PdsFab",
|
|
683
|
+
"module": "public/assets/pds/components/pds-fab.js"
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
]
|
|
687
|
+
},
|
|
509
688
|
{
|
|
510
689
|
"kind": "javascript-module",
|
|
511
690
|
"path": "public/assets/pds/components/pds-form.js",
|
|
@@ -2294,5 +2473,94 @@
|
|
|
2294
2473
|
}
|
|
2295
2474
|
]
|
|
2296
2475
|
}
|
|
2476
|
+
,
|
|
2477
|
+
{
|
|
2478
|
+
"kind": "javascript-module",
|
|
2479
|
+
"path": "public/assets/pds/components/pds-omnibox.js",
|
|
2480
|
+
"declarations": [
|
|
2481
|
+
{
|
|
2482
|
+
"kind": "class",
|
|
2483
|
+
"description": "Omnibox search input with PDS styling and form-associated behavior.",
|
|
2484
|
+
"name": "PdsOmnibox",
|
|
2485
|
+
"members": [
|
|
2486
|
+
{
|
|
2487
|
+
"kind": "field",
|
|
2488
|
+
"name": "settings",
|
|
2489
|
+
"description": "AutoComplete settings object provided by the consumer.",
|
|
2490
|
+
"type": {
|
|
2491
|
+
"text": "object"
|
|
2492
|
+
}
|
|
2493
|
+
}
|
|
2494
|
+
],
|
|
2495
|
+
"attributes": [
|
|
2496
|
+
{
|
|
2497
|
+
"name": "name",
|
|
2498
|
+
"type": {
|
|
2499
|
+
"text": "string"
|
|
2500
|
+
},
|
|
2501
|
+
"description": "Form field name for submitted data"
|
|
2502
|
+
},
|
|
2503
|
+
{
|
|
2504
|
+
"name": "placeholder",
|
|
2505
|
+
"type": {
|
|
2506
|
+
"text": "string"
|
|
2507
|
+
},
|
|
2508
|
+
"description": "Placeholder text for the search input"
|
|
2509
|
+
},
|
|
2510
|
+
{
|
|
2511
|
+
"name": "value",
|
|
2512
|
+
"type": {
|
|
2513
|
+
"text": "string"
|
|
2514
|
+
},
|
|
2515
|
+
"description": "Current input value"
|
|
2516
|
+
},
|
|
2517
|
+
{
|
|
2518
|
+
"name": "disabled",
|
|
2519
|
+
"type": {
|
|
2520
|
+
"text": "boolean"
|
|
2521
|
+
},
|
|
2522
|
+
"description": "Disable the input"
|
|
2523
|
+
},
|
|
2524
|
+
{
|
|
2525
|
+
"name": "required",
|
|
2526
|
+
"type": {
|
|
2527
|
+
"text": "boolean"
|
|
2528
|
+
},
|
|
2529
|
+
"description": "Mark the input as required"
|
|
2530
|
+
},
|
|
2531
|
+
{
|
|
2532
|
+
"name": "autocomplete",
|
|
2533
|
+
"type": {
|
|
2534
|
+
"text": "string"
|
|
2535
|
+
},
|
|
2536
|
+
"description": "Native autocomplete attribute (default: off)"
|
|
2537
|
+
}
|
|
2538
|
+
],
|
|
2539
|
+
"superclass": {
|
|
2540
|
+
"name": "HTMLElement"
|
|
2541
|
+
},
|
|
2542
|
+
"tagName": "pds-omnibox",
|
|
2543
|
+
"customElement": true
|
|
2544
|
+
}
|
|
2545
|
+
],
|
|
2546
|
+
"exports": [
|
|
2547
|
+
{
|
|
2548
|
+
"kind": "js",
|
|
2549
|
+
"name": "PdsOmnibox",
|
|
2550
|
+
"declaration": {
|
|
2551
|
+
"name": "PdsOmnibox",
|
|
2552
|
+
"module": "public/assets/pds/components/pds-omnibox.js"
|
|
2553
|
+
}
|
|
2554
|
+
},
|
|
2555
|
+
{
|
|
2556
|
+
"kind": "custom-element-definition",
|
|
2557
|
+
"name": "pds-omnibox",
|
|
2558
|
+
"declaration": {
|
|
2559
|
+
"name": "PdsOmnibox",
|
|
2560
|
+
"module": "public/assets/pds/components/pds-omnibox.js"
|
|
2561
|
+
}
|
|
2562
|
+
}
|
|
2563
|
+
]
|
|
2564
|
+
}
|
|
2297
2565
|
]
|
|
2298
2566
|
}
|
package/dist/types/pds.d.ts
CHANGED
|
@@ -174,6 +174,8 @@ export class PDS extends EventTarget {
|
|
|
174
174
|
static enums?: Record<string, any>;
|
|
175
175
|
static common?: Record<string, any>;
|
|
176
176
|
static query?: (question: string) => Promise<any[]>;
|
|
177
|
+
static AutoComplete?: any;
|
|
178
|
+
static loadAutoComplete?: () => Promise<any>;
|
|
177
179
|
|
|
178
180
|
/**
|
|
179
181
|
* Display a toast notification.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pds-configurator.d.ts","sourceRoot":"","sources":["../../../../../public/assets/js/pds-configurator.js"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export {
|
|
2
|
-
declare function
|
|
1
|
+
export { st as startLive };
|
|
2
|
+
declare function st(n: any, t: any, { emitReady: e, applyResolvedTheme: r, setupSystemListenerIfNeeded: a }: {
|
|
3
3
|
emitReady: any;
|
|
4
4
|
applyResolvedTheme: any;
|
|
5
5
|
setupSystemListenerIfNeeded: any;
|
|
@@ -561,7 +561,7 @@ declare function nt(n: any, t: any, { emitReady: e, applyResolvedTheme: a, setup
|
|
|
561
561
|
800: string;
|
|
562
562
|
900: string;
|
|
563
563
|
};
|
|
564
|
-
"__#private@#
|
|
564
|
+
"__#private@#h"(t: any): {
|
|
565
565
|
base: any;
|
|
566
566
|
subtle: string;
|
|
567
567
|
elevated: string;
|
|
@@ -578,8 +578,8 @@ declare function nt(n: any, t: any, { emitReady: e, applyResolvedTheme: a, setup
|
|
|
578
578
|
overlay: any;
|
|
579
579
|
};
|
|
580
580
|
"__#private@#M"(t: any, e?: number): string;
|
|
581
|
-
"__#private@#
|
|
582
|
-
"__#private@#F"(t: any, e?: string,
|
|
581
|
+
"__#private@#m"(t: any): string;
|
|
582
|
+
"__#private@#F"(t: any, e?: string, r?: {}): {
|
|
583
583
|
surface: {
|
|
584
584
|
fieldset: {
|
|
585
585
|
base: any;
|
|
@@ -614,16 +614,16 @@ declare function nt(n: any, t: any, { emitReady: e, applyResolvedTheme: a, setup
|
|
|
614
614
|
"__#private@#d"(t: any, e: any): number;
|
|
615
615
|
"__#private@#f"(t: any, e?: number): string;
|
|
616
616
|
"__#private@#b"(t: any, e?: number): string;
|
|
617
|
-
"__#private@#E"(t: any, e: any,
|
|
618
|
-
"__#private@#C"(t: any, e: any,
|
|
619
|
-
"__#private@#
|
|
617
|
+
"__#private@#E"(t: any, e: any, r?: number): string;
|
|
618
|
+
"__#private@#C"(t: any, e: any, r: any): string;
|
|
619
|
+
"__#private@#T"(t: any): {
|
|
620
620
|
base: any;
|
|
621
621
|
subtle: any;
|
|
622
622
|
elevated: string;
|
|
623
623
|
sunken: any;
|
|
624
624
|
overlay: string;
|
|
625
625
|
};
|
|
626
|
-
"__#private@#
|
|
626
|
+
"__#private@#L"(t?: {}, e?: string, r?: number): any;
|
|
627
627
|
"__#private@#y"(t?: {}, e?: number): any;
|
|
628
628
|
"__#private@#v"(t: any): {};
|
|
629
629
|
"__#private@#x"(t: any, e?: number): string;
|
|
@@ -738,17 +738,17 @@ declare function nt(n: any, t: any, { emitReady: e, applyResolvedTheme: a, setup
|
|
|
738
738
|
externalPath: any;
|
|
739
739
|
};
|
|
740
740
|
"__#private@#U"(t: any): string;
|
|
741
|
-
"__#private@#I"(t: any): string;
|
|
742
741
|
"__#private@#O"(t: any): string;
|
|
742
|
+
"__#private@#I"(t: any): string;
|
|
743
743
|
"__#private@#H"(t: any): string;
|
|
744
744
|
"__#private@#q"(t: any): string;
|
|
745
745
|
"__#private@#G"(t: any): string;
|
|
746
746
|
"__#private@#_"(t: any): string;
|
|
747
747
|
"__#private@#V"(t: any): string;
|
|
748
748
|
"__#private@#Q"(t: any): string;
|
|
749
|
+
"__#private@#Y"(t: any): string;
|
|
749
750
|
"__#private@#Z"(t: any): string;
|
|
750
751
|
"__#private@#J"(t: any): string;
|
|
751
|
-
"__#private@#Y"(t: any): string;
|
|
752
752
|
"__#private@#X"(t: any): string;
|
|
753
753
|
"__#private@#K"(t: any): string;
|
|
754
754
|
"__#private@#ee"(t: any): string;
|
|
@@ -765,8 +765,8 @@ declare function nt(n: any, t: any, { emitReady: e, applyResolvedTheme: a, setup
|
|
|
765
765
|
"__#private@#pe"(): string;
|
|
766
766
|
"__#private@#ue"(): string;
|
|
767
767
|
"__#private@#ge"(): string;
|
|
768
|
-
"__#private@#me"(): string;
|
|
769
768
|
"__#private@#he"(): string;
|
|
769
|
+
"__#private@#me"(): string;
|
|
770
770
|
"__#private@#fe"(): string;
|
|
771
771
|
"__#private@#be"(): string;
|
|
772
772
|
"__#private@#ye"(): string;
|
|
@@ -775,7 +775,7 @@ declare function nt(n: any, t: any, { emitReady: e, applyResolvedTheme: a, setup
|
|
|
775
775
|
s: number;
|
|
776
776
|
l: number;
|
|
777
777
|
};
|
|
778
|
-
"__#private@#t"(t: any, e: any,
|
|
778
|
+
"__#private@#t"(t: any, e: any, r: any): string;
|
|
779
779
|
getTokens(): {
|
|
780
780
|
colors: {
|
|
781
781
|
primary: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pds-manager.d.ts","sourceRoot":"","sources":["../../../../../public/assets/js/pds-manager.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"pds-manager.d.ts","sourceRoot":"","sources":["../../../../../public/assets/js/pds-manager.js"],"names":[],"mappings":";AAqxG+R;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAIq8C"}
|
|
@@ -3,7 +3,7 @@ declare var b: {
|
|
|
3
3
|
dispatchEvent(event: Event): boolean;
|
|
4
4
|
removeEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void;
|
|
5
5
|
};
|
|
6
|
-
declare function
|
|
7
|
-
declare function
|
|
8
|
-
export { b as PDS,
|
|
6
|
+
declare function Rt(e: any): void;
|
|
7
|
+
declare function $t(e: any): void;
|
|
8
|
+
export { b as PDS, Rt as applyResolvedTheme, $t as setupSystemListenerIfNeeded };
|
|
9
9
|
//# sourceMappingURL=pds.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pds.d.ts","sourceRoot":"","sources":["../../../../../public/assets/js/pds.js"],"names":[],"mappings":"AA+
|
|
1
|
+
{"version":3,"file":"pds.d.ts","sourceRoot":"","sources":["../../../../../public/assets/js/pds.js"],"names":[],"mappings":"AA+BisB;;;;EAAQ;AAA4kD,kCAAiX;AAAA,kCAAupB"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Floating Action Button (FAB) with expandable satellite actions
|
|
3
|
+
*
|
|
4
|
+
* @element pds-fab
|
|
5
|
+
* @fires satellite-click - Fired when a satellite button is clicked
|
|
6
|
+
*
|
|
7
|
+
* @slot - Main FAB button content (typically an icon or avatar)
|
|
8
|
+
* @slot satellite-{key} - Override individual satellite button content
|
|
9
|
+
*
|
|
10
|
+
* @cssprop --fab-size - Size of the main FAB button (default: 64px)
|
|
11
|
+
* @cssprop --fab-bg - Background color of the main FAB (default: var(--color-primary-600))
|
|
12
|
+
* @cssprop --fab-fg - Foreground color of the main FAB (default: white)
|
|
13
|
+
* @cssprop --sat-size - Size of satellite buttons (default: 48px)
|
|
14
|
+
* @cssprop --sat-bg - Background color of satellites (default: var(--color-surface-elevated))
|
|
15
|
+
* @cssprop --sat-fg - Foreground color of satellites (default: var(--color-text-primary))
|
|
16
|
+
* @cssprop --radius - Distance of satellites from main FAB (default: 100px)
|
|
17
|
+
* @cssprop --transition-duration - Animation duration (default: 420ms)
|
|
18
|
+
*
|
|
19
|
+
* @csspart fab - The main FAB button
|
|
20
|
+
* @csspart satellite - Individual satellite buttons
|
|
21
|
+
* @csspart label - Satellite button labels
|
|
22
|
+
*/
|
|
23
|
+
export class PdsFab extends HTMLElement {
|
|
24
|
+
static get observedAttributes(): string[];
|
|
25
|
+
set open(val: boolean);
|
|
26
|
+
/**
|
|
27
|
+
* Controls whether the FAB is expanded
|
|
28
|
+
* @type {boolean}
|
|
29
|
+
* @attr open
|
|
30
|
+
*/
|
|
31
|
+
get open(): boolean;
|
|
32
|
+
set radius(val: number);
|
|
33
|
+
/**
|
|
34
|
+
* Distance in pixels from the main FAB to satellites
|
|
35
|
+
* @type {number}
|
|
36
|
+
* @attr radius
|
|
37
|
+
* @default 100
|
|
38
|
+
*/
|
|
39
|
+
get radius(): number;
|
|
40
|
+
set spread(val: number);
|
|
41
|
+
/**
|
|
42
|
+
* Arc angle in degrees for satellite distribution
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @attr spread
|
|
45
|
+
* @default 90
|
|
46
|
+
*/
|
|
47
|
+
get spread(): number;
|
|
48
|
+
set startAngle(val: number);
|
|
49
|
+
/**
|
|
50
|
+
* Starting angle in degrees (0=right, 90=down, 180=left, 270=up)
|
|
51
|
+
* If not specified, the angle is auto-detected based on the FAB's corner position:
|
|
52
|
+
* - Bottom-right: 180° (fly left/up)
|
|
53
|
+
* - Bottom-left: 315° (fly right/up)
|
|
54
|
+
* - Top-right: 225° (fly left/down)
|
|
55
|
+
* - Top-left: 45° (fly right/down)
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @attr start-angle
|
|
58
|
+
* @default 180 (or auto-detected)
|
|
59
|
+
*/
|
|
60
|
+
get startAngle(): number;
|
|
61
|
+
set satellites(val: Array<{
|
|
62
|
+
key: string;
|
|
63
|
+
icon?: string;
|
|
64
|
+
label?: string;
|
|
65
|
+
action?: string;
|
|
66
|
+
}>);
|
|
67
|
+
/**
|
|
68
|
+
* Array of satellite button configurations
|
|
69
|
+
* @type {Array<{key: string, icon?: string, label?: string, action?: string}>}
|
|
70
|
+
*/
|
|
71
|
+
get satellites(): Array<{
|
|
72
|
+
key: string;
|
|
73
|
+
icon?: string;
|
|
74
|
+
label?: string;
|
|
75
|
+
action?: string;
|
|
76
|
+
}>;
|
|
77
|
+
attributeChangedCallback(name: any, oldVal: any, newVal: any): void;
|
|
78
|
+
connectedCallback(): void;
|
|
79
|
+
disconnectedCallback(): void;
|
|
80
|
+
#private;
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=pds-fab.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pds-fab.d.ts","sourceRoot":"","sources":["../../../../../../public/assets/pds/components/pds-fab.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH;IAkBE,0CAEC;IAUD,cANU,OAAO,EAsBhB;IAxBD;;;;OAIG;IACH,YAHU,OAAO,CAKhB;IA4BD,gBAPU,MAAM,EAef;IAjBD;;;;;OAKG;IACH,cAJU,MAAM,CAMf;IAoBD,gBAPU,MAAM,EAef;IAjBD;;;;;OAKG;IACH,cAJU,MAAM,CAMf;IAyBD,oBAPU,MAAM,EAef;IAtBD;;;;;;;;;;OAUG;IACH,kBAJU,MAAM,CAMf;IAkBD,oBALU,KAAK,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAC,CAAC,EAa7E;IAfD;;;OAGG;IACH,kBAFU,KAAK,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAC,CAAC,CAI7E;IAWD,oEAsCC;IAED,0BAKC;IAED,6BAEC;;CA6YF"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export class PdsOmnibox extends HTMLElement {
|
|
2
|
+
static formAssociated: boolean;
|
|
3
|
+
static get observedAttributes(): string[];
|
|
4
|
+
connectedCallback(): void;
|
|
5
|
+
attributeChangedCallback(name: any, oldValue: any, newValue: any): void;
|
|
6
|
+
set settings(value: any);
|
|
7
|
+
get settings(): any;
|
|
8
|
+
set name(value: string);
|
|
9
|
+
get name(): string;
|
|
10
|
+
set placeholder(value: string);
|
|
11
|
+
get placeholder(): string;
|
|
12
|
+
set value(value: any);
|
|
13
|
+
get value(): any;
|
|
14
|
+
set disabled(value: boolean);
|
|
15
|
+
get disabled(): boolean;
|
|
16
|
+
set required(value: boolean);
|
|
17
|
+
get required(): boolean;
|
|
18
|
+
set autocomplete(value: string);
|
|
19
|
+
get autocomplete(): string;
|
|
20
|
+
formAssociatedCallback(): void;
|
|
21
|
+
formDisabledCallback(disabled: any): void;
|
|
22
|
+
formResetCallback(): void;
|
|
23
|
+
formStateRestoreCallback(state: any): void;
|
|
24
|
+
checkValidity(): any;
|
|
25
|
+
reportValidity(): any;
|
|
26
|
+
#private;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=pds-omnibox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pds-omnibox.d.ts","sourceRoot":"","sources":["../../../../../../public/assets/pds/components/pds-omnibox.js"],"names":[],"mappings":"AAkBA;IACC,+BAA6B;IAE7B,0CAEC;IAgBD,0BAIC;IAED,wEAGC;IAMD,yBAGC;IAPD,oBAEC;IAWD,wBAGC;IAPD,mBAEC;IAWD,+BAGC;IAPD,0BAEC;IAWD,sBAIC;IARD,iBAEC;IAYD,6BAGC;IAPD,wBAEC;IAWD,6BAGC;IAPD,wBAEC;IAWD,gCAGC;IAPD,2BAEC;IAOD,+BAA2B;IAE3B,0CAGC;IAED,0BAEC;IAED,2CAEC;IAED,qBAEC;IAED,sBAEC;;CAkSD"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Create a PDS-compliant dialog with proper semantic structure
|
|
3
|
-
* @param {string|
|
|
3
|
+
* @param {string|Node|Array} message - Message content (string or DOM nodes)
|
|
4
4
|
* @param {Object} options - Dialog options
|
|
5
5
|
* @returns {Promise} Resolves with result when dialog closes
|
|
6
6
|
*/
|
|
7
|
-
export function ask(message: string |
|
|
7
|
+
export function ask(message: string | Node | any[], options?: any): Promise<any>;
|
|
8
8
|
/**
|
|
9
9
|
* Show an alert dialog
|
|
10
|
-
* @param {string|
|
|
10
|
+
* @param {string|Node|Array} message - Alert message
|
|
11
11
|
* @param {Object} options - Optional dialog options
|
|
12
12
|
* @returns {Promise}
|
|
13
13
|
*/
|
|
14
|
-
export function alert(message: string |
|
|
14
|
+
export function alert(message: string | Node | any[], options?: any): Promise<any>;
|
|
15
15
|
/**
|
|
16
16
|
* Show a confirmation dialog
|
|
17
|
-
* @param {string|
|
|
17
|
+
* @param {string|Node|Array} message - Confirmation message
|
|
18
18
|
* @param {Object} options - Optional dialog options
|
|
19
19
|
* @returns {Promise<boolean>}
|
|
20
20
|
*/
|
|
21
|
-
export function confirm(message: string |
|
|
21
|
+
export function confirm(message: string | Node | any[], options?: any): Promise<boolean>;
|
|
22
22
|
//# sourceMappingURL=ask.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ask.d.ts","sourceRoot":"","sources":["../../../../../src/js/common/ask.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ask.d.ts","sourceRoot":"","sources":["../../../../../src/js/common/ask.js"],"names":[],"mappings":"AA2CA;;;;;GAKG;AACH,6BAJW,MAAM,GAAC,IAAI,QAAM,+BA2K3B;AAED;;;;;GAKG;AACH,+BAJW,MAAM,GAAC,IAAI,QAAM,+BAc3B;AAED;;;;;GAKG;AACH,iCAJW,MAAM,GAAC,IAAI,QAAM,kBAEf,OAAO,CAAC,OAAO,CAAC,CAa5B"}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
export function isObject(item: any): boolean;
|
|
2
2
|
export function deepMerge(target: any, source: any): any;
|
|
3
|
+
/**
|
|
4
|
+
* Build a DocumentFragment from a template-like object (strings + values)
|
|
5
|
+
* @param {{strings: string[], values: unknown[]}} templateLike
|
|
6
|
+
* @returns {DocumentFragment}
|
|
7
|
+
*/
|
|
8
|
+
export function fragmentFromTemplateLike(templateLike: {
|
|
9
|
+
strings: string[];
|
|
10
|
+
values: unknown[];
|
|
11
|
+
}): DocumentFragment;
|
|
3
12
|
//# sourceMappingURL=common.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../../src/js/common/common.js"],"names":[],"mappings":"AAAA,6CAEC;AAED,yDAeG"}
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../../src/js/common/common.js"],"names":[],"mappings":"AAAA,6CAEC;AAED,yDAeG;AAEH;;;;GAIG;AACH,uDAHW;IAAC,OAAO,EAAE,MAAM,EAAE,CAAC;IAAC,MAAM,EAAE,OAAO,EAAE,CAAA;CAAC,GACpC,gBAAgB,CAwF5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pds-configurator.d.ts","sourceRoot":"","sources":["../../../../src/js/pds-configurator.js"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pds-config.d.ts","sourceRoot":"","sources":["../../../../../src/js/pds-core/pds-config.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pds-config.d.ts","sourceRoot":"","sources":["../../../../../src/js/pds-core/pds-config.js"],"names":[],"mappings":"AA+mCA;;;;;;GAMG;AACH,kCAJW,MAAM,WACN,MAAM,WACH,GAAG,EAAA,QAchB;AAhoCD;;;GAGG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoxBE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pds-enhancers-meta.d.ts","sourceRoot":"","sources":["../../../../../src/js/pds-core/pds-enhancers-meta.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;
|
|
1
|
+
{"version":3,"file":"pds-enhancers-meta.d.ts","sourceRoot":"","sources":["../../../../../src/js/pds-core/pds-enhancers-meta.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;IA8GE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pds-enhancers.d.ts","sourceRoot":"","sources":["../../../../../src/js/pds-core/pds-enhancers.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pds-enhancers.d.ts","sourceRoot":"","sources":["../../../../../src/js/pds-core/pds-enhancers.js"],"names":[],"mappings":"AAocA;;;;;GAKG;AACH;;;IAGI;AAjbJ,mDAeC"}
|
|
@@ -83,5 +83,14 @@ export namespace enums {
|
|
|
83
83
|
let none_2: string;
|
|
84
84
|
export { none_2 as none };
|
|
85
85
|
}
|
|
86
|
+
let IconSizes: {
|
|
87
|
+
xs: number;
|
|
88
|
+
sm: number;
|
|
89
|
+
md: number;
|
|
90
|
+
lg: number;
|
|
91
|
+
xl: number;
|
|
92
|
+
"2xl": number;
|
|
93
|
+
"3xl": number;
|
|
94
|
+
};
|
|
86
95
|
}
|
|
87
96
|
//# sourceMappingURL=pds-enums.d.ts.map
|