@pure-ds/core 0.7.26 → 0.7.28

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.
Files changed (33) hide show
  1. package/.cursorrules +15 -0
  2. package/.github/copilot-instructions.md +15 -0
  3. package/custom-elements.json +160 -1
  4. package/dist/types/pds.d.ts +55 -1
  5. package/dist/types/public/assets/js/pds-ask.d.ts +1 -2
  6. package/dist/types/public/assets/js/pds-ask.d.ts.map +1 -1
  7. package/dist/types/public/assets/js/pds-autocomplete.d.ts +36 -25
  8. package/dist/types/public/assets/js/pds-autocomplete.d.ts.map +1 -1
  9. package/dist/types/public/assets/js/pds-enhancers.d.ts +4 -4
  10. package/dist/types/public/assets/js/pds-enhancers.d.ts.map +1 -1
  11. package/dist/types/public/assets/js/pds-manager.d.ts +159 -444
  12. package/dist/types/public/assets/js/pds-manager.d.ts.map +1 -1
  13. package/dist/types/public/assets/js/pds-toast.d.ts +6 -7
  14. package/dist/types/public/assets/js/pds-toast.d.ts.map +1 -1
  15. package/dist/types/public/assets/js/pds.d.ts +3 -4
  16. package/dist/types/public/assets/js/pds.d.ts.map +1 -1
  17. package/dist/types/public/assets/pds/components/pds-omnibox.d.ts +46 -0
  18. package/dist/types/public/assets/pds/components/pds-omnibox.d.ts.map +1 -1
  19. package/dist/types/src/js/common/ask.d.ts.map +1 -1
  20. package/dist/types/src/js/pds-core/pds-generator.d.ts.map +1 -1
  21. package/package.json +2 -2
  22. package/public/assets/js/app.js +1 -1
  23. package/public/assets/js/pds-ask.js +6 -6
  24. package/public/assets/js/pds-manager.js +91 -51
  25. package/public/assets/pds/components/pds-omnibox.js +70 -3
  26. package/public/assets/pds/components/pds-tags.js +160 -122
  27. package/public/assets/pds/core/pds-ask.js +6 -6
  28. package/public/assets/pds/core/pds-manager.js +91 -51
  29. package/public/assets/pds/custom-elements.json +175 -1
  30. package/public/assets/pds/pds-css-complete.json +1 -1
  31. package/public/assets/pds/vscode-custom-data.json +32 -0
  32. package/src/js/pds-core/pds-generator.js +75 -17
  33. package/src/js/pds.d.ts +55 -1
package/.cursorrules CHANGED
@@ -550,6 +550,21 @@ const confirmed = await PDS.ask("Delete this item?", {
550
550
  buttons: { ok: { name: "Delete", variant: "danger" } }
551
551
  });
552
552
 
553
+ const result = await PDS.ask("Publish this change?", {
554
+ title: "Final approval",
555
+ buttons: {
556
+ ok: { name: "Publish", primary: true },
557
+ cancel: { name: "Cancel", cancel: true }
558
+ },
559
+ beforeClose: async ({ actionKind }) => {
560
+ if (actionKind !== "ok") return true;
561
+ const response = await fetch("/api/publish/can-close", { method: "POST" });
562
+ if (!response.ok) return { allow: false };
563
+ const payload = await response.json();
564
+ return { allow: payload?.ok === true };
565
+ }
566
+ });
567
+
553
568
  await PDS.toast("Saved successfully!", { type: "success" });
554
569
 
555
570
  // Theme management
@@ -550,6 +550,21 @@ const confirmed = await PDS.ask("Delete this item?", {
550
550
  buttons: { ok: { name: "Delete", variant: "danger" } }
551
551
  });
552
552
 
553
+ const result = await PDS.ask("Publish this change?", {
554
+ title: "Final approval",
555
+ buttons: {
556
+ ok: { name: "Publish", primary: true },
557
+ cancel: { name: "Cancel", cancel: true }
558
+ },
559
+ beforeClose: async ({ actionKind }) => {
560
+ if (actionKind !== "ok") return true;
561
+ const response = await fetch("/api/publish/can-close", { method: "POST" });
562
+ if (!response.ok) return { allow: false };
563
+ const payload = await response.json();
564
+ return { allow: payload?.ok === true };
565
+ }
566
+ });
567
+
553
568
  await PDS.toast("Saved successfully!", { type: "success" });
554
569
 
555
570
  // Theme management
@@ -3280,7 +3280,7 @@
3280
3280
  {
3281
3281
  "kind": "field",
3282
3282
  "name": "innerHTML",
3283
- "default": "`\r\n <style>\r\n :host {\r\n --rating-star-size: var(--spacing-lg);\r\n --rating-star-gap: var(--spacing-2xs);\r\n --rating-star-off: var(--color-text-muted);\r\n --rating-star-on: var(--color-warning-500);\r\n --rating-focus: var(--color-primary-500);\r\n --rating-fill-pct: 0%;\r\n display: inline-block;\r\n inline-size: fit-content;\r\n max-inline-size: 100%;\r\n touch-action: none;\r\n }\r\n\r\n ::slotted(input[type=\"range\"]) {\r\n position: absolute !important;\r\n inset-inline-start: 0 !important;\r\n inset-block-start: 0 !important;\r\n inline-size: 1px !important;\r\n block-size: 1px !important;\r\n min-inline-size: 1px !important;\r\n min-block-size: 1px !important;\r\n margin: -1px !important;\r\n border: 0 !important;\r\n padding: 0 !important;\r\n opacity: 0 !important;\r\n overflow: hidden !important;\r\n clip: rect(0 0 0 0) !important;\r\n clip-path: inset(50%) !important;\r\n white-space: nowrap !important;\r\n appearance: none !important;\r\n -webkit-appearance: none !important;\r\n pointer-events: none !important;\r\n }\r\n\r\n .wrap {\r\n position: relative;\r\n display: inline-grid;\r\n gap: var(--spacing-2xs);\r\n align-items: center;\r\n justify-items: start;\r\n min-block-size: calc(var(--rating-star-size) + var(--spacing-xs));\r\n }\r\n\r\n .interactive {\r\n display: inline-grid;\r\n place-items: center start;\r\n inline-size: 100%;\r\n cursor: pointer;\r\n user-select: none;\r\n -webkit-tap-highlight-color: transparent;\r\n touch-action: pan-x;\r\n }\r\n\r\n :host([disabled]) .interactive,\r\n :host([readonly]) .interactive {\r\n cursor: default;\r\n }\r\n\r\n :host([disabled]) {\r\n opacity: 0.5;\r\n }\r\n\r\n .stars {\r\n display: block;\r\n inline-size: auto;\r\n block-size: var(--rating-star-size);\r\n overflow: visible;\r\n transition: transform 220ms ease, opacity 220ms ease;\r\n }\r\n\r\n :host([data-in-view=\"false\"]) .stars {\r\n opacity: 0;\r\n transform: translateY(var(--spacing-xs)) scale(0.98);\r\n }\r\n\r\n :host([data-in-view=\"true\"]) .stars {\r\n opacity: 1;\r\n transform: translateY(0) scale(1);\r\n }\r\n\r\n input[type=\"range\"] {\r\n position: absolute !important;\r\n inset-inline-start: 0 !important;\r\n inset-block-start: 0 !important;\r\n inline-size: 1px !important;\r\n block-size: 1px !important;\r\n min-inline-size: 1px !important;\r\n min-block-size: 1px !important;\r\n margin: -1px !important;\r\n border: 0 !important;\r\n padding: 0 !important;\r\n opacity: 0 !important;\r\n overflow: hidden !important;\r\n clip: rect(0 0 0 0) !important;\r\n clip-path: inset(50%) !important;\r\n white-space: nowrap !important;\r\n appearance: none !important;\r\n -webkit-appearance: none !important;\r\n pointer-events: none !important;\r\n }\r\n\r\n :host(:focus-within) .interactive {\r\n outline: 2px solid var(--rating-focus);\r\n outline-offset: var(--spacing-3xs);\r\n border-radius: var(--radius-sm);\r\n }\r\n\r\n @media (prefers-reduced-motion: reduce) {\r\n .stars {\r\n transition: none;\r\n }\r\n }\r\n </style>\r\n\r\n <div class=\"wrap\" part=\"control\">\r\n <div class=\"interactive\" part=\"interactive\" aria-hidden=\"true\">\r\n <svg class=\"stars\" part=\"stars\" focusable=\"false\" aria-hidden=\"true\"></svg>\r\n </div>\r\n <slot></slot>\r\n </div>\r\n `"
3283
+ "default": "`\r\n <style>\r\n :host {\r\n --rating-star-size: var(--spacing-lg);\r\n --rating-star-gap: var(--spacing-2xs);\r\n --rating-star-off: var(--color-text-muted);\r\n --rating-star-on: var(--color-warning-500);\r\n --rating-focus: var(--color-primary-500);\r\n --rating-fill-pct: 0%;\r\n display: inline-block;\r\n inline-size: fit-content;\r\n max-inline-size: 100%;\r\n touch-action: none;\r\n }\r\n\r\n .wrap {\r\n position: relative;\r\n display: inline-grid;\r\n gap: var(--spacing-2xs);\r\n align-items: center;\r\n justify-items: start;\r\n min-block-size: calc(var(--rating-star-size) + var(--spacing-xs));\r\n }\r\n\r\n .interactive {\r\n display: inline-grid;\r\n place-items: center start;\r\n inline-size: 100%;\r\n cursor: pointer;\r\n user-select: none;\r\n -webkit-tap-highlight-color: transparent;\r\n touch-action: pan-x;\r\n }\r\n\r\n :host([disabled]) .interactive,\r\n :host([readonly]) .interactive {\r\n cursor: default;\r\n }\r\n\r\n :host([disabled]) {\r\n opacity: 0.5;\r\n }\r\n\r\n .stars {\r\n display: block;\r\n inline-size: auto;\r\n block-size: var(--rating-star-size);\r\n overflow: visible;\r\n transition: transform 220ms ease, opacity 220ms ease;\r\n }\r\n\r\n :host([data-in-view=\"false\"]) .stars {\r\n opacity: 0;\r\n transform: translateY(var(--spacing-xs)) scale(0.98);\r\n }\r\n\r\n :host([data-in-view=\"true\"]) .stars {\r\n opacity: 1;\r\n transform: translateY(0) scale(1);\r\n }\r\n\r\n input[type=\"range\"] {\r\n position: absolute !important;\r\n inset-inline-start: 0 !important;\r\n inset-block-start: 0 !important;\r\n inline-size: 1px !important;\r\n block-size: 1px !important;\r\n min-inline-size: 1px !important;\r\n min-block-size: 1px !important;\r\n margin: -1px !important;\r\n border: 0 !important;\r\n padding: 0 !important;\r\n opacity: 0 !important;\r\n overflow: hidden !important;\r\n clip: rect(0 0 0 0) !important;\r\n clip-path: inset(50%) !important;\r\n white-space: nowrap !important;\r\n appearance: none !important;\r\n -webkit-appearance: none !important;\r\n pointer-events: none !important;\r\n }\r\n\r\n :host(:focus-within) .interactive {\r\n outline: 2px solid var(--rating-focus);\r\n outline-offset: var(--spacing-3xs);\r\n border-radius: var(--radius-sm);\r\n }\r\n\r\n @media (prefers-reduced-motion: reduce) {\r\n .stars {\r\n transition: none;\r\n }\r\n }\r\n </style>\r\n\r\n <div class=\"wrap\" part=\"control\">\r\n <div class=\"interactive\" part=\"interactive\" aria-hidden=\"true\">\r\n <svg class=\"stars\" part=\"stars\" focusable=\"false\" aria-hidden=\"true\"></svg>\r\n </div>\r\n <input class=\"native-input\" type=\"range\" />\r\n </div>\r\n `"
3284
3284
  }
3285
3285
  ],
3286
3286
  "events": [
@@ -4200,6 +4200,165 @@
4200
4200
  }
4201
4201
  ]
4202
4202
  },
4203
+ {
4204
+ "kind": "javascript-module",
4205
+ "path": "public/assets/pds/components/pds-tags.js",
4206
+ "declarations": [
4207
+ {
4208
+ "kind": "class",
4209
+ "description": "Form-associated multi-select tags control built on top of `pds-omnibox`.\r\n\r\nUsers select suggestions from the omnibox and each selection is rendered as a removable\r\nchip. The component keeps selection state synchronized across:\r\n- the `value` attribute (comma-separated ids)\r\n- the `value` property (`string[]`)\r\n- form value via ElementInternals\r\n\r\nThe `options` object uses the same structure as `pds-omnibox.settings`.\r\nSee `pds-omnibox` JSDoc for the full options schema.\r\nBefore applying it, the component deep-merges internal defaults:\r\n- `hideCategory: true`\r\n- `itemGrid: \"0 1fr 0\"`\r\n- `iconHandler: () => \"\"`\r\n\r\nWhen `required` is set, at least one selected value is required for validity.",
4210
+ "name": "PdsTags",
4211
+ "members": [
4212
+ {
4213
+ "kind": "field",
4214
+ "name": "formAssociated",
4215
+ "type": {
4216
+ "text": "boolean"
4217
+ },
4218
+ "static": true,
4219
+ "default": "true"
4220
+ },
4221
+ {
4222
+ "kind": "field",
4223
+ "name": "name"
4224
+ },
4225
+ {
4226
+ "kind": "field",
4227
+ "name": "placeholder"
4228
+ },
4229
+ {
4230
+ "kind": "field",
4231
+ "name": "options",
4232
+ "type": {
4233
+ "text": "PdsOmniboxSettings|null"
4234
+ },
4235
+ "description": "Omnibox options object (see `pds-omnibox.js` typedef)"
4236
+ },
4237
+ {
4238
+ "kind": "field",
4239
+ "name": "value",
4240
+ "type": {
4241
+ "text": "string[]"
4242
+ },
4243
+ "description": "Selected option ids (array form)"
4244
+ },
4245
+ {
4246
+ "kind": "field",
4247
+ "name": "disabled"
4248
+ },
4249
+ {
4250
+ "kind": "field",
4251
+ "name": "required"
4252
+ },
4253
+ {
4254
+ "kind": "method",
4255
+ "name": "formResetCallback"
4256
+ },
4257
+ {
4258
+ "kind": "method",
4259
+ "name": "formStateRestoreCallback",
4260
+ "parameters": [
4261
+ {
4262
+ "name": "state"
4263
+ }
4264
+ ]
4265
+ },
4266
+ {
4267
+ "kind": "method",
4268
+ "name": "formDisabledCallback",
4269
+ "parameters": [
4270
+ {
4271
+ "name": "disabled"
4272
+ }
4273
+ ]
4274
+ },
4275
+ {
4276
+ "kind": "method",
4277
+ "name": "checkValidity"
4278
+ },
4279
+ {
4280
+ "kind": "method",
4281
+ "name": "reportValidity"
4282
+ }
4283
+ ],
4284
+ "events": [
4285
+ {
4286
+ "name": "input",
4287
+ "type": {
4288
+ "text": "Event"
4289
+ },
4290
+ "description": "Fired whenever selection changes"
4291
+ },
4292
+ {
4293
+ "name": "change",
4294
+ "type": {
4295
+ "text": "Event"
4296
+ },
4297
+ "description": "Fired whenever selection changes"
4298
+ }
4299
+ ],
4300
+ "attributes": [
4301
+ {
4302
+ "name": "name",
4303
+ "type": {
4304
+ "text": "string"
4305
+ },
4306
+ "description": "Form field name; selected values are submitted under this name"
4307
+ },
4308
+ {
4309
+ "name": "placeholder",
4310
+ "type": {
4311
+ "text": "string"
4312
+ },
4313
+ "description": "Placeholder shown in omnibox input (default: \"Search tags...\")"
4314
+ },
4315
+ {
4316
+ "name": "value",
4317
+ "type": {
4318
+ "text": "string"
4319
+ },
4320
+ "description": "Comma-separated selected item ids"
4321
+ },
4322
+ {
4323
+ "name": "options",
4324
+ "type": {
4325
+ "text": "string"
4326
+ },
4327
+ "description": "JSON object with the same shape as `pds-omnibox.settings`"
4328
+ },
4329
+ {
4330
+ "name": "disabled",
4331
+ "type": {
4332
+ "text": "boolean"
4333
+ },
4334
+ "description": "Disables omnibox interaction and chip remove actions"
4335
+ },
4336
+ {
4337
+ "name": "required",
4338
+ "type": {
4339
+ "text": "boolean"
4340
+ },
4341
+ "description": "Requires at least one selected value for validity"
4342
+ }
4343
+ ],
4344
+ "superclass": {
4345
+ "name": "HTMLElement"
4346
+ },
4347
+ "tagName": "pds-tags",
4348
+ "customElement": true
4349
+ }
4350
+ ],
4351
+ "exports": [
4352
+ {
4353
+ "kind": "custom-element-definition",
4354
+ "name": "pds-tags",
4355
+ "declaration": {
4356
+ "name": "PdsTags",
4357
+ "module": "public/assets/pds/components/pds-tags.js"
4358
+ }
4359
+ }
4360
+ ]
4361
+ },
4203
4362
  {
4204
4363
  "kind": "javascript-module",
4205
4364
  "path": "public/assets/pds/components/pds-theme.js",
@@ -160,6 +160,60 @@ export interface PDSEventMap {
160
160
  'pds:docs:view': CustomEvent<{ file: string }>;
161
161
  }
162
162
 
163
+ export type AskActionKind = 'ok' | 'cancel' | 'dismiss' | 'custom';
164
+
165
+ export interface AskButtonOption {
166
+ name: string;
167
+ primary?: boolean;
168
+ cancel?: boolean;
169
+ formNoValidate?: boolean;
170
+ [key: string]: any;
171
+ }
172
+
173
+ export interface AskBeforeCloseContext {
174
+ actionCode: string;
175
+ actionKind: AskActionKind;
176
+ dialog: HTMLDialogElement;
177
+ form: HTMLFormElement | null;
178
+ formData: FormData | null;
179
+ submitter?: HTMLElement | null;
180
+ originalEvent?: Event;
181
+ options: AskOptions;
182
+ button: AskButtonOption | null;
183
+ defaultResult: any;
184
+ }
185
+
186
+ export interface AskBeforeCloseResult {
187
+ allow?: boolean;
188
+ result?: any;
189
+ value?: any;
190
+ reason?: string;
191
+ }
192
+
193
+ export type AskBeforeCloseHandler = (
194
+ context: AskBeforeCloseContext
195
+ ) => Promise<boolean | AskBeforeCloseResult | void> | boolean | AskBeforeCloseResult | void;
196
+
197
+ export type AskMessage =
198
+ | string
199
+ | Node
200
+ | Array<any>
201
+ | { strings: any[]; values: any[] };
202
+
203
+ export interface AskOptions {
204
+ title?: string;
205
+ type?: string;
206
+ buttons?: Record<string, AskButtonOption>;
207
+ useForm?: boolean;
208
+ size?: 'sm' | 'md' | 'lg' | 'xl' | string;
209
+ class?: string | string[];
210
+ maxHeight?: string;
211
+ liquidGlassEffects?: boolean;
212
+ rendered?: (dialog: HTMLDialogElement) => void;
213
+ beforeClose?: AskBeforeCloseHandler;
214
+ [key: string]: any;
215
+ }
216
+
163
217
  export class PDS extends EventTarget {
164
218
  // Static surface
165
219
  static registry: PDSRegistry;
@@ -273,7 +327,7 @@ export class PDS extends EventTarget {
273
327
  * @example
274
328
  * const name = await PDS.ask('Enter your name:', { type: 'prompt' });
275
329
  */
276
- static ask(message: string, options?: any): Promise<any>;
330
+ static ask(message: AskMessage, options?: AskOptions): Promise<any>;
277
331
 
278
332
  /**
279
333
  * Current configuration after PDS.start() completes - read-only, frozen after initialization.
@@ -1,3 +1,2 @@
1
- export { S as ask };
2
- declare function S(o: any, e?: {}): Promise<any>;
1
+ export function ask(message: any, options?: {}): Promise<any>;
3
2
  //# sourceMappingURL=pds-ask.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pds-ask.d.ts","sourceRoot":"","sources":["../../../../../public/assets/js/pds-ask.js"],"names":[],"mappings":";AAA4sG,iDAwBxwE"}
1
+ {"version":3,"file":"pds-ask.d.ts","sourceRoot":"","sources":["../../../../../public/assets/js/pds-ask.js"],"names":[],"mappings":"AAoLA,8DAmQC"}
@@ -1,12 +1,11 @@
1
- export { f as AutoComplete };
2
- declare var f: {
3
- new (t: any, e: any, s: any): {
1
+ export var AutoComplete: {
2
+ new (parent: any, textInput: any, settings: any): {
4
3
  settings: any;
5
4
  container: any;
6
5
  input: any;
7
6
  categories: any;
8
7
  caches: Map<any, any>;
9
- on(t: any, e: any): /*elided*/ any;
8
+ on(a: any, b: any): /*elided*/ any;
10
9
  attach(): void;
11
10
  resultsDiv: HTMLDivElement;
12
11
  controller(): {
@@ -21,14 +20,14 @@ declare var f: {
21
20
  clear: any;
22
21
  empty: () => void;
23
22
  };
24
- moveResult(t: any): void;
23
+ moveResult(add: any): void;
25
24
  rowIndex: any;
26
25
  getSelectedDiv(): Element;
27
- selectResult(t: any): void;
26
+ selectResult(div: any): void;
28
27
  resultClicked: boolean;
29
28
  tabWindow: Window;
30
- setText(t: any): void;
31
- resultClick(t: any): void;
29
+ setText(options: any): void;
30
+ resultClick(event: any): void;
32
31
  blurHandler(): void;
33
32
  clear(): void;
34
33
  cacheTmr: NodeJS.Timeout;
@@ -39,30 +38,42 @@ declare var f: {
39
38
  };
40
39
  hide(): void;
41
40
  empty(): void;
42
- inputHandler(t: any): void;
43
- keyDownHandler(t: any): void;
44
- keyUpHandler(t: any): void;
45
- focusHandler(t: any): void;
46
- suggest(t: any, e: any): void;
47
- sort(t: any, e: any): any;
48
- resultsHandler(t: any, e: any): void;
41
+ inputHandler(e: any): void;
42
+ keyDownHandler(e: any): void;
43
+ keyUpHandler(e: any): void;
44
+ focusHandler(e: any): void;
45
+ /**
46
+ * Shows suggestion box
47
+ * @param {string} value - String to suggest results for
48
+ */
49
+ suggest(value: string, e: any): void;
50
+ sort(r: any, options: any): any;
51
+ resultsHandler(r: any, options: any): void;
49
52
  results: any;
50
53
  acItems: NodeListOf<Element>;
51
- handleImageOrIcon(t: any): any;
52
- formatResultItem(t: any, e: any, s: any): any;
53
- highlight(t: any, e: any): any;
54
- getItems(t: any, e: any): Promise<any>;
54
+ handleImageOrIcon(i: any): any;
55
+ formatResultItem(item: any, options: any, catHandler: any): any;
56
+ highlight(str: any, find: any): any;
57
+ getItems(options: any, e: any): Promise<any>;
55
58
  aborter: AbortController;
56
59
  aborterSignal: AbortSignal;
57
- items(t: any): Promise<any[]>;
58
- formatSearch(t: any, e: any): any;
59
- createQueryParam(t: any): string;
60
- isMatch(t: any, e: any): any;
60
+ items(options: any): Promise<any[]>;
61
+ formatSearch(url: any, options: any): any;
62
+ createQueryParam(options: any): string;
63
+ isMatch(options: any, i: any): any;
61
64
  addEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void;
62
65
  dispatchEvent(event: Event): boolean;
63
66
  removeEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void;
64
67
  };
65
- connect(t: any, e: any): any;
66
- textFilter(t: any, e: any): (s: any) => any;
68
+ /**
69
+ * Connector logic to call on @focus events.
70
+ * Lit example:
71
+ * <input type="search" @focus=${(e) => {AutoComplete.connect(e, this.autoComplete); }} />
72
+ *
73
+ * @param {*} event focus event
74
+ * @param {*} options AutoComplete options
75
+ */
76
+ connect(event: any, options: any): any;
77
+ textFilter(options: any, propertyName: any): (i: any) => any;
67
78
  };
68
79
  //# sourceMappingURL=pds-autocomplete.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pds-autocomplete.d.ts","sourceRoot":"","sources":["../../../../../public/assets/js/pds-autocomplete.js"],"names":[],"mappings":";AACwc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAKqxE,MAAC;EAAkM"}
1
+ {"version":3,"file":"pds-autocomplete.d.ts","sourceRoot":"","sources":["../../../../../public/assets/js/pds-autocomplete.js"],"names":[],"mappings":"AA+CA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAwRE;;;WAGG;uBADQ,MAAM;;;;;;;;;;;;;;;;;;;IA5QjB;;;;;;;OAOG;mBAFQ,GAAC,WACD,GAAC;kDAsfM,MAAC;EAgBnB"}
@@ -1,7 +1,7 @@
1
- export { X as defaultPDSEnhancers };
2
- declare var X: {
3
- run: typeof $;
1
+ export var defaultPDSEnhancers: {
2
+ run: typeof enhanceAccordion;
4
3
  selector: string;
5
4
  }[];
6
- declare function $(t: any): void;
5
+ declare function enhanceAccordion(elem: any): void;
6
+ export {};
7
7
  //# sourceMappingURL=pds-enhancers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pds-enhancers.d.ts","sourceRoot":"","sources":["../../../../../public/assets/js/pds-enhancers.js"],"names":[],"mappings":";AAA2wa;;;IAAoD;AAAlha,iCAAqP"}
1
+ {"version":3,"file":"pds-enhancers.d.ts","sourceRoot":"","sources":["../../../../../public/assets/js/pds-enhancers.js"],"names":[],"mappings":"AAssBA;;;IAII;AA9rBJ,mDAiBC"}