@pure-ds/core 0.7.30 → 0.7.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 +20 -11
- package/LOCALIZATION.md +197 -0
- package/dist/types/pds.config.d.ts +1 -1
- package/dist/types/pds.config.d.ts.map +1 -1
- package/dist/types/pds.d.ts +150 -0
- package/dist/types/public/assets/pds/components/pds-form.d.ts +2 -2
- package/dist/types/public/assets/pds/components/pds-form.d.ts.map +1 -1
- package/dist/types/public/assets/pds/components/pds-omnibox.d.ts +2 -2
- package/dist/types/public/assets/pds/components/pds-omnibox.d.ts.map +1 -1
- package/dist/types/public/assets/pds/components/pds-rating.d.ts +1 -119
- package/dist/types/public/assets/pds/components/pds-rating.d.ts.map +1 -1
- package/dist/types/public/assets/pds/components/pds-treeview.d.ts.map +1 -1
- package/dist/types/public/assets/pds/components/pds-upload.d.ts.map +1 -1
- package/dist/types/src/js/common/ask.d.ts.map +1 -1
- package/dist/types/src/js/common/font-loader.d.ts.map +1 -1
- package/dist/types/src/js/common/localization-resource-provider.d.ts +49 -0
- package/dist/types/src/js/common/localization-resource-provider.d.ts.map +1 -0
- package/dist/types/src/js/common/localization.d.ts +25 -0
- package/dist/types/src/js/common/localization.d.ts.map +1 -0
- package/dist/types/src/js/common/msg.d.ts +1 -2
- package/dist/types/src/js/common/msg.d.ts.map +1 -1
- package/dist/types/src/js/common/pds-log.d.ts +3 -0
- package/dist/types/src/js/common/pds-log.d.ts.map +1 -0
- package/dist/types/src/js/lit.d.ts +0 -7
- package/dist/types/src/js/lit.d.ts.map +1 -1
- package/dist/types/src/js/pds-core/pds-config.d.ts +51 -0
- package/dist/types/src/js/pds-core/pds-config.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-live.d.ts.map +1 -1
- package/dist/types/src/js/pds-core/pds-registry.d.ts.map +1 -1
- package/dist/types/src/js/pds-core/pds-runtime.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-localization.d.ts +3 -0
- package/dist/types/src/js/pds-localization.d.ts.map +1 -0
- package/dist/types/src/js/pds-singleton.d.ts +13 -0
- package/dist/types/src/js/pds-singleton.d.ts.map +1 -0
- package/dist/types/src/js/pds.d.ts +9 -1
- package/dist/types/src/js/pds.d.ts.map +1 -1
- package/package.json +10 -4
- package/packages/pds-cli/README.md +2 -0
- package/packages/pds-cli/lib/pds-mcp-core.js +2 -2
- package/public/assets/js/app.js +9 -11
- package/public/assets/js/lit.js +3 -94
- package/public/assets/js/pds-ask.js +4 -4
- package/public/assets/js/pds-enhancers.js +1 -1
- package/public/assets/js/pds-localization.js +1 -0
- package/public/assets/js/pds-manager.js +118 -118
- package/public/assets/js/pds.js +2 -2
- package/public/assets/pds/components/pds-calendar.js +4 -4
- package/public/assets/pds/components/pds-daterange.js +11 -8
- package/public/assets/pds/components/pds-form.js +22 -22
- package/public/assets/pds/components/pds-live-edit.js +503 -42
- package/public/assets/pds/components/pds-live-importer.js +66 -66
- package/public/assets/pds/components/pds-live-template-canvas.js +3 -3
- package/public/assets/pds/components/pds-omnibox.js +4 -4
- package/public/assets/pds/components/pds-rating.js +5 -3
- package/public/assets/pds/components/pds-tags.js +5 -5
- package/public/assets/pds/components/pds-theme.js +4 -4
- package/public/assets/pds/components/pds-toaster.js +6 -6
- package/public/assets/pds/components/pds-treeview.js +8 -4
- package/public/assets/pds/components/pds-upload.js +7 -6
- package/public/assets/pds/core/pds-ask.js +4 -4
- package/public/assets/pds/core/pds-enhancers.js +1 -1
- package/public/assets/pds/core/pds-localization.js +1 -0
- package/public/assets/pds/core/pds-manager.js +118 -118
- package/public/assets/pds/core.js +2 -2
- package/public/assets/pds/external/lit.js +3 -94
- package/readme.md +34 -6
- package/src/js/common/ask.js +530 -0
- package/src/js/common/common.js +122 -0
- package/src/js/common/font-loader.js +202 -0
- package/src/js/common/localization-resource-provider.js +274 -0
- package/src/js/common/localization.js +839 -0
- package/src/js/common/msg.js +9 -0
- package/src/js/common/pds-core/pds.d.ts +128 -0
- package/src/js/common/pds-log.js +144 -0
- package/src/js/common/toast.js +122 -0
- package/src/js/pds-core/pds-config.js +51 -10
- package/src/js/pds-core/pds-enhancers.js +5 -3
- package/src/js/pds-core/pds-live.js +7 -5
- package/src/js/pds-core/pds-registry.js +6 -4
- package/src/js/pds-core/pds-runtime.js +12 -8
- package/src/js/pds-core/pds-start-helpers.js +9 -4
- package/src/js/pds-singleton.js +49 -0
- package/src/js/pds.d.ts +150 -0
- package/src/js/pds.js +420 -40
|
@@ -72,6 +72,7 @@ Use MCP as an optimization, not a prerequisite. For fast, simple lookups, read l
|
|
|
72
72
|
### Non-negotiable rules
|
|
73
73
|
|
|
74
74
|
- Do not invent class names, tokens, attributes, events, or selectors.
|
|
75
|
+
- For form generation, `ui:icon` / icon-input rendering is allowed only on regular text-like inputs (`text`, `email`, `url`, `tel`, `search`, `password`). Do **not** apply icon-input rendering to date/date-range, range, select, checkbox/radio groups, textarea, or omnibox widgets.
|
|
75
76
|
- If a value is not found in MCP results, state it is unavailable and suggest nearest matches.
|
|
76
77
|
- Prefer MCP results over memory when MCP is already available.
|
|
77
78
|
- If MCP is unavailable, slow to start, or errors, continue immediately with direct SSoT file reads using the paths above.
|
|
@@ -149,7 +150,11 @@ async function simulateSubmit(data) {
|
|
|
149
150
|
|
|
150
151
|
### 5. Smart Icons - Infer from field semantics
|
|
151
152
|
|
|
152
|
-
**When generating forms, automatically add appropriate icons based on field names and semantics.**
|
|
153
|
+
**When generating forms, automatically add appropriate icons based on field names and semantics for regular text-like inputs only.**
|
|
154
|
+
|
|
155
|
+
**Scope rule (critical):** `ui:icon` / icon-input rendering is valid only for text-like inputs (`text`, `email`, `url`, `tel`, `search`, `password`).
|
|
156
|
+
|
|
157
|
+
**Never apply `ui:icon` to:** date/date-range, range sliders, textarea, select, checkbox/radio groups, tag pickers, or omnibox widgets.
|
|
153
158
|
|
|
154
159
|
**Sources of truth for available icons:**
|
|
155
160
|
- Check `pds.config.js` for project-specific icon configuration
|
|
@@ -166,13 +171,18 @@ const uiSchema = {
|
|
|
166
171
|
"/name": { 'ui:icon': 'user', 'ui:autocomplete': 'name' },
|
|
167
172
|
"/password": { 'ui:icon': 'lock', 'ui:widget': 'password' },
|
|
168
173
|
"/website": { 'ui:icon': 'link' },
|
|
169
|
-
"/address": { 'ui:icon': 'map-pin' }
|
|
170
|
-
|
|
171
|
-
|
|
174
|
+
"/address": { 'ui:icon': 'map-pin' }
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
// ❌ WRONG: Non-text widgets should not use ui:icon/icon-input rendering
|
|
178
|
+
const invalidUiSchema = {
|
|
179
|
+
"/travelDates": { 'ui:widget': 'date-range', 'ui:icon': 'calendar' },
|
|
180
|
+
"/budget": { 'ui:widget': 'input-range', 'ui:icon': 'coins' },
|
|
181
|
+
"/notes": { 'ui:widget': 'textarea', 'ui:icon': 'message' }
|
|
172
182
|
};
|
|
173
183
|
```
|
|
174
184
|
|
|
175
|
-
**Rule: When generating forms, analyze field names/types and select semantically appropriate icons from the available icon set.**
|
|
185
|
+
**Rule: When generating forms, analyze field names/types and select semantically appropriate icons from the available icon set, but only for text-like inputs.**
|
|
176
186
|
|
|
177
187
|
### 6. Submit Handler Pattern - ALWAYS provide working async handler
|
|
178
188
|
|
|
@@ -311,11 +321,10 @@ const contactSchema = {
|
|
|
311
321
|
// UI schema with smart icons
|
|
312
322
|
const uiSchema = {
|
|
313
323
|
"/name": { 'ui:icon': 'user' },
|
|
314
|
-
"/email": { 'ui:icon': 'envelope' },
|
|
324
|
+
"/email": { 'ui:icon': 'envelope', 'ui:autocomplete': 'email' },
|
|
315
325
|
"/message": {
|
|
316
326
|
'ui:widget': 'textarea',
|
|
317
|
-
'ui:rows': 4
|
|
318
|
-
'ui:icon': 'message'
|
|
327
|
+
'ui:rows': 4
|
|
319
328
|
}
|
|
320
329
|
};
|
|
321
330
|
|
|
@@ -411,7 +420,7 @@ This component uses `import { ... } from "#pds/lit"` and **requires** an import
|
|
|
411
420
|
</script>
|
|
412
421
|
```
|
|
413
422
|
|
|
414
|
-
**Note:** `#pds/lit` is a convenience bundle that re-exports Lit and adds
|
|
423
|
+
**Note:** `#pds/lit` is a convenience bundle that re-exports Lit and adds `lazyProps`. Localization helpers (`msg()`, `str`, `setLocale()`, `loadLocale()`) come from `#pds`, not `#pds/lit`.
|
|
415
424
|
|
|
416
425
|
**When generating code with lazy-loaded components, ALWAYS wait for definition:**
|
|
417
426
|
|
|
@@ -615,13 +624,13 @@ Before generating code:
|
|
|
615
624
|
7. ✅ **Components as last resort** — Only when native HTML can't achieve it
|
|
616
625
|
8. ✅ **Prefer primitives** — `.card`, `.badge`, `.callout` over custom components
|
|
617
626
|
9. ✅ **Wait for lazy components** — Use `await customElements.whenDefined()` before accessing APIs
|
|
618
|
-
10. ✅ **Include import map** — When using
|
|
627
|
+
10. ✅ **Include import map** — When using Lit-dependent components (such as `pds-form`), ensure `#pds/lit` is mapped
|
|
619
628
|
|
|
620
629
|
**For pds-form specifically:**
|
|
621
630
|
|
|
622
631
|
11. ✅ **Use `pw:submit` event** — NOT native `submit` event
|
|
623
632
|
12. ✅ **Add `btn-working` class** — For async submit operations, add during processing
|
|
624
633
|
13. ✅ **Use `examples` in JSON schema** — First example becomes placeholder
|
|
625
|
-
14. ✅ **Add smart icons** —
|
|
634
|
+
14. ✅ **Add smart icons only to text-like inputs** — Use `ui:icon` only for text/email/url/tel/search/password fields
|
|
626
635
|
15. ✅ **Wrap in `form[data-required]`** — For asterisk enhancement on required fields
|
|
627
636
|
16. ✅ **Pad details content** — After `<summary>`, wrap content in a padded container (usually `.card`)
|
package/LOCALIZATION.md
ADDED
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
# PDS Localization
|
|
2
|
+
|
|
3
|
+
PDS localization is a framework-independent localization layer, inspired by, and largely compatible with `lit-localize`.
|
|
4
|
+
|
|
5
|
+
Use localization from `#pds` root exports:
|
|
6
|
+
- `msg()`
|
|
7
|
+
- `str`
|
|
8
|
+
- `loadLocale()`
|
|
9
|
+
- `setLocale()`
|
|
10
|
+
- `getLocalizationState()`
|
|
11
|
+
|
|
12
|
+
## Design Goals
|
|
13
|
+
|
|
14
|
+
- Contextual translation by DOM language scope (`lang` attributes)
|
|
15
|
+
- Support for language islands (`<div lang="nl">` inside English UI)
|
|
16
|
+
- Dynamic locale loading (load only detected locales)
|
|
17
|
+
- Lean core startup (localization runtime is lazy-loaded when `config.localization` is present)
|
|
18
|
+
|
|
19
|
+
## Quick Start
|
|
20
|
+
|
|
21
|
+
## 1) Configure localization in `pds.config.js`
|
|
22
|
+
|
|
23
|
+
```javascript
|
|
24
|
+
import { PDS } from "@pure-ds/core";
|
|
25
|
+
|
|
26
|
+
const localization = PDS.createJSONLocalization({
|
|
27
|
+
locale: "en",
|
|
28
|
+
locales: ["en", "nl"],
|
|
29
|
+
aliases: {
|
|
30
|
+
en: ["en", "en-US"],
|
|
31
|
+
nl: ["nl", "nl-NL"],
|
|
32
|
+
},
|
|
33
|
+
basePath: "/assets/locales",
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
export const config = {
|
|
37
|
+
mode: "live",
|
|
38
|
+
preset: "default",
|
|
39
|
+
localization,
|
|
40
|
+
};
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
`PDS.createJSONLocalization(...)` is lazy: it returns a config object immediately, and only loads localization helper code when locale bundles are actually requested.
|
|
44
|
+
|
|
45
|
+
Example locale resource format:
|
|
46
|
+
|
|
47
|
+
`public/assets/locales/nl-NL.json`
|
|
48
|
+
|
|
49
|
+
```json
|
|
50
|
+
{
|
|
51
|
+
"Loading": {
|
|
52
|
+
"content": "Loading"
|
|
53
|
+
}
|
|
54
|
+
"You have {0} points... ({1})": {
|
|
55
|
+
"content": "Je hebt {0} punten... ({1})"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
`localization.locale` is the default locale fallback, not the forced UI language.
|
|
61
|
+
|
|
62
|
+
## 2) Use `msg()` directly in markup
|
|
63
|
+
|
|
64
|
+
```javascript
|
|
65
|
+
import { PDS, msg } from "#pds";
|
|
66
|
+
import { config } from "../pds.config.js";
|
|
67
|
+
import pkg from "../package.json";
|
|
68
|
+
|
|
69
|
+
await PDS.start(config);
|
|
70
|
+
|
|
71
|
+
document.documentElement.lang = "en";
|
|
72
|
+
|
|
73
|
+
document.body.innerHTML = `
|
|
74
|
+
<small>${msg(pkg.description)}</small>
|
|
75
|
+
|
|
76
|
+
<div lang="nl">
|
|
77
|
+
<small>${msg(pkg.description)}</small>
|
|
78
|
+
</div>
|
|
79
|
+
`;
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Both calls are identical. Translation is decided by nearest `lang` scope.
|
|
83
|
+
|
|
84
|
+
## How Context Resolution Works
|
|
85
|
+
|
|
86
|
+
When `msg()` resolves a key, PDS chooses locale in this order:
|
|
87
|
+
|
|
88
|
+
1. Explicit `options.lang` (if provided)
|
|
89
|
+
2. Scoped element context (`options.element`, `options.scope`, `options.host`, `options.contextElement`)
|
|
90
|
+
3. Nearest DOM `lang` ancestor
|
|
91
|
+
4. Root `html[lang]`
|
|
92
|
+
5. `localization.locale` default
|
|
93
|
+
|
|
94
|
+
This enables island behavior without special framework integration.
|
|
95
|
+
|
|
96
|
+
## Dynamic Loading and Memory
|
|
97
|
+
|
|
98
|
+
- PDS observes the document for `lang` attribute and subtree changes.
|
|
99
|
+
- When a new locale appears, PDS calls your provider (`loadLocale` / fallback `setLocale`) for that locale.
|
|
100
|
+
- Locale bundles are cached per locale.
|
|
101
|
+
- If a locale is no longer detected in DOM, its message bundle is removed from memory.
|
|
102
|
+
|
|
103
|
+
This keeps runtime memory proportional to actively used languages.
|
|
104
|
+
|
|
105
|
+
## Live Editor Language Selector
|
|
106
|
+
|
|
107
|
+
In live mode (`liveEdit: true`), quick settings can show a **Language** selector.
|
|
108
|
+
|
|
109
|
+
Visibility rules:
|
|
110
|
+
- Localization must be active.
|
|
111
|
+
- At least two locales must be detected.
|
|
112
|
+
|
|
113
|
+
Locale inference rules:
|
|
114
|
+
- If `localization.locales` is provided, that list is used first.
|
|
115
|
+
- `localization.locale` is treated as the origin/default language.
|
|
116
|
+
- If explicit locale maps/rows are present, locales are read from those keys.
|
|
117
|
+
- If locale rows are not explicit, PDS probes locale bundles via runtime loading and compares against origin strings.
|
|
118
|
+
- A locale counts as available only when its bundle differs from origin for at least one shared key.
|
|
119
|
+
|
|
120
|
+
Example:
|
|
121
|
+
|
|
122
|
+
```javascript
|
|
123
|
+
localization: {
|
|
124
|
+
locale: "en",
|
|
125
|
+
locales: ["en", "nl"],
|
|
126
|
+
provider: {
|
|
127
|
+
async loadLocale({ locale }) {
|
|
128
|
+
const response = await fetch(`/assets/locales/${locale}.json`);
|
|
129
|
+
return response.ok ? response.json() : {};
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
}
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
Or use the optional helper subpath directly:
|
|
136
|
+
|
|
137
|
+
```javascript
|
|
138
|
+
import { createJSONLocalization } from "@pure-ds/core/localization";
|
|
139
|
+
|
|
140
|
+
localization: createJSONLocalization({
|
|
141
|
+
locale: "en",
|
|
142
|
+
locales: ["en", "nl"],
|
|
143
|
+
aliases: { nl: ["nl", "nl-NL"] },
|
|
144
|
+
basePath: "/assets/locales",
|
|
145
|
+
});
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
With rows like `{ "Some key": { nl: "..." } }`, available locales are inferred as `"en"` + `"nl"`, so the selector is shown.
|
|
149
|
+
|
|
150
|
+
## Provider Contract
|
|
151
|
+
|
|
152
|
+
### `loadLocale(context)`
|
|
153
|
+
|
|
154
|
+
Receives:
|
|
155
|
+
- `locale`: requested locale
|
|
156
|
+
- `defaultLocale`: configured fallback locale
|
|
157
|
+
- `reason`: load reason (e.g. `lang-detected`, `msg`, `explicit-load`)
|
|
158
|
+
- `loadedLocales`: locales currently cached
|
|
159
|
+
- `messages`: current messages for requested locale (if any)
|
|
160
|
+
- `load`: boolean hint for explicit/default-loading flows
|
|
161
|
+
|
|
162
|
+
Returns:
|
|
163
|
+
- map of translation keys to localized strings
|
|
164
|
+
- optionally `{ key: { content: "..." } }` values
|
|
165
|
+
|
|
166
|
+
### Optional `translate(context)`
|
|
167
|
+
|
|
168
|
+
Use this for custom runtime resolution beyond static maps.
|
|
169
|
+
|
|
170
|
+
## Runtime APIs
|
|
171
|
+
|
|
172
|
+
From `#pds` root:
|
|
173
|
+
|
|
174
|
+
- `msg(templateOrKey, options?)`
|
|
175
|
+
- `str\`...\``
|
|
176
|
+
- `loadLocale(locale)`
|
|
177
|
+
- `setLocale(locale, { load? })`
|
|
178
|
+
- `getLocalizationState()`
|
|
179
|
+
|
|
180
|
+
`getLocalizationState()` returns:
|
|
181
|
+
- `locale` (default locale)
|
|
182
|
+
- `messages` (default-locale bundle)
|
|
183
|
+
- `loadedLocales`
|
|
184
|
+
- `hasProvider`
|
|
185
|
+
|
|
186
|
+
## Notes
|
|
187
|
+
|
|
188
|
+
- `msg()` is synchronous by design.
|
|
189
|
+
- On first encounter of a new locale, text may briefly render fallback content, then update once the locale bundle loads.
|
|
190
|
+
- For immediate guarantees, preload with `loadLocale("xx")` before rendering that locale scope.
|
|
191
|
+
|
|
192
|
+
## Missing Translation Warnings
|
|
193
|
+
|
|
194
|
+
- PDS warns when a key is missing in a non-default target locale and fallback content is used.
|
|
195
|
+
- Warnings are deduplicated and emitted once per `locale::key` pair.
|
|
196
|
+
- Warnings reset when localization is reconfigured.
|
|
197
|
+
- No warning is emitted for normal default-locale usage.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/** @typedef {import("./src/js/pds-core/pds-config").PDSInitConfig} PDSInitConfig */
|
|
2
1
|
/** @type {PDSInitConfig} */
|
|
3
2
|
export const config: PDSInitConfig;
|
|
4
3
|
export type PDSInitConfig = import("./src/js/pds-core/pds-config").PDSInitConfig;
|
|
4
|
+
export type PDSBase = import("./src/js/pds-singleton.js").PDSBase;
|
|
5
5
|
//# sourceMappingURL=pds.config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pds.config.d.ts","sourceRoot":"","sources":["../../pds.config.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pds.config.d.ts","sourceRoot":"","sources":["../../pds.config.js"],"names":[],"mappings":"AAeA,4BAA4B;AAC5B,qBADW,aAAa,CAkBtB;4BAhCY,OAAO,8BAA8B,EAAE,aAAa;sBACpD,OAAO,2BAA2B,EAAE,OAAO"}
|
package/dist/types/pds.d.ts
CHANGED
|
@@ -107,6 +107,73 @@ export interface CompiledState {
|
|
|
107
107
|
/** Public config types for editor IntelliSense */
|
|
108
108
|
export type PDSInitConfig = import("./pds-core/pds-config.js").PDSInitConfig;
|
|
109
109
|
|
|
110
|
+
export interface PDSLocalizationMessages {
|
|
111
|
+
[key: string]: string | { content?: string };
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export interface PDSLocalizationTranslateContext {
|
|
115
|
+
key: string;
|
|
116
|
+
values: any[];
|
|
117
|
+
options?: Record<string, any>;
|
|
118
|
+
locale: string;
|
|
119
|
+
defaultLocale: string;
|
|
120
|
+
messages: Record<string, string>;
|
|
121
|
+
messagesByLocale?: Record<string, Record<string, string>>;
|
|
122
|
+
template?: { strings: string[]; values: any[] } | null;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export interface PDSLocalizationProvider {
|
|
126
|
+
translate?: (context: PDSLocalizationTranslateContext) => string | undefined | null;
|
|
127
|
+
loadLocale?: (context: {
|
|
128
|
+
locale: string;
|
|
129
|
+
defaultLocale: string;
|
|
130
|
+
reason?: string;
|
|
131
|
+
loadedLocales?: string[];
|
|
132
|
+
messages?: Record<string, string>;
|
|
133
|
+
load?: boolean;
|
|
134
|
+
}) =>
|
|
135
|
+
| Promise<PDSLocalizationMessages>
|
|
136
|
+
| PDSLocalizationMessages
|
|
137
|
+
| void;
|
|
138
|
+
setLocale?: (context: {
|
|
139
|
+
locale: string;
|
|
140
|
+
defaultLocale: string;
|
|
141
|
+
reason?: string;
|
|
142
|
+
loadedLocales?: string[];
|
|
143
|
+
messages?: Record<string, string>;
|
|
144
|
+
load?: boolean;
|
|
145
|
+
}) =>
|
|
146
|
+
| Promise<PDSLocalizationMessages>
|
|
147
|
+
| PDSLocalizationMessages
|
|
148
|
+
| void;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export interface PDSLocalizationConfig {
|
|
152
|
+
locale?: string;
|
|
153
|
+
locales?: string[];
|
|
154
|
+
messages?: PDSLocalizationMessages;
|
|
155
|
+
provider?: PDSLocalizationProvider;
|
|
156
|
+
translate?: PDSLocalizationProvider["translate"];
|
|
157
|
+
loadLocale?: PDSLocalizationProvider["loadLocale"];
|
|
158
|
+
setLocale?: PDSLocalizationProvider["setLocale"];
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
export interface PDSJSONLocalizationOptions {
|
|
162
|
+
locale?: string;
|
|
163
|
+
locales?: string[];
|
|
164
|
+
basePath?: string;
|
|
165
|
+
aliases?: Record<string, string[]>;
|
|
166
|
+
requestInit?: RequestInit;
|
|
167
|
+
cache?: Map<string, PDSLocalizationMessages>;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export interface PDSStrResult {
|
|
171
|
+
strTag: true;
|
|
172
|
+
strings: string[];
|
|
173
|
+
values: any[];
|
|
174
|
+
raw?: string[];
|
|
175
|
+
}
|
|
176
|
+
|
|
110
177
|
/**
|
|
111
178
|
* Generator - programmatic API to produce tokens, layered CSS and helper modules from a config.
|
|
112
179
|
* Typical usage:
|
|
@@ -264,6 +331,53 @@ export class PDS extends EventTarget {
|
|
|
264
331
|
static enums?: Record<string, any>;
|
|
265
332
|
static common?: Record<string, any>;
|
|
266
333
|
static parse?: (html: string) => Element[];
|
|
334
|
+
static msg: (template: string | PDSStrResult, options?: Record<string, any>) => string;
|
|
335
|
+
static str: (strings: TemplateStringsArray, ...values: any[]) => PDSStrResult;
|
|
336
|
+
static configureLocalization: (config?: PDSLocalizationConfig | null) => {
|
|
337
|
+
locale: string;
|
|
338
|
+
messages: Record<string, string>;
|
|
339
|
+
hasProvider: boolean;
|
|
340
|
+
};
|
|
341
|
+
static loadLocale: (locale: string) => Promise<Record<string, string>>;
|
|
342
|
+
static setLocale: (locale: string, options?: { load?: boolean }) => Promise<string>;
|
|
343
|
+
static getLocalizationState: () => {
|
|
344
|
+
locale: string;
|
|
345
|
+
messages: Record<string, string>;
|
|
346
|
+
hasProvider: boolean;
|
|
347
|
+
};
|
|
348
|
+
static createJSONLocalization: (
|
|
349
|
+
options?: PDSJSONLocalizationOptions
|
|
350
|
+
) => PDSLocalizationConfig;
|
|
351
|
+
static i18n: {
|
|
352
|
+
msg: (template: string | PDSStrResult, options?: Record<string, any>) => string;
|
|
353
|
+
str: (strings: TemplateStringsArray, ...values: any[]) => PDSStrResult;
|
|
354
|
+
configure: (config?: PDSLocalizationConfig | null) => {
|
|
355
|
+
locale: string;
|
|
356
|
+
messages: Record<string, string>;
|
|
357
|
+
hasProvider: boolean;
|
|
358
|
+
};
|
|
359
|
+
loadLocale: (locale: string) => Promise<Record<string, string>>;
|
|
360
|
+
setLocale: (locale: string, options?: { load?: boolean }) => Promise<string>;
|
|
361
|
+
getState: () => {
|
|
362
|
+
locale: string;
|
|
363
|
+
messages: Record<string, string>;
|
|
364
|
+
hasProvider: boolean;
|
|
365
|
+
};
|
|
366
|
+
createJSONLocalization: (
|
|
367
|
+
options?: PDSJSONLocalizationOptions
|
|
368
|
+
) => PDSLocalizationConfig;
|
|
369
|
+
};
|
|
370
|
+
/**
|
|
371
|
+
* Canonical logging entry point for PDS runtime and consuming apps.
|
|
372
|
+
*
|
|
373
|
+
* When `config.log(...)` is provided to `PDS.start(...)`, that handler
|
|
374
|
+
* is invoked through this method.
|
|
375
|
+
*/
|
|
376
|
+
static log(
|
|
377
|
+
level: 'log' | 'warn' | 'error' | 'debug' | 'info',
|
|
378
|
+
message?: any,
|
|
379
|
+
...data: any[]
|
|
380
|
+
): void;
|
|
267
381
|
static AutoComplete?: any;
|
|
268
382
|
static loadAutoComplete?: () => Promise<any>;
|
|
269
383
|
|
|
@@ -374,6 +488,7 @@ export class PDS extends EventTarget {
|
|
|
374
488
|
preloadStyles?: boolean;
|
|
375
489
|
criticalLayers?: string[];
|
|
376
490
|
managerURL?: string;
|
|
491
|
+
localization?: PDSLocalizationConfig;
|
|
377
492
|
// static-only
|
|
378
493
|
staticPaths?: Record<string, string>;
|
|
379
494
|
enhancers?: Array<any>;
|
|
@@ -394,6 +509,41 @@ export class PDS extends EventTarget {
|
|
|
394
509
|
preloadCritical?(config: any, options?: { theme?: string; layers?: string[] }): void;
|
|
395
510
|
}
|
|
396
511
|
|
|
512
|
+
export declare function msg(
|
|
513
|
+
template: string | PDSStrResult,
|
|
514
|
+
options?: Record<string, any>
|
|
515
|
+
): string;
|
|
516
|
+
|
|
517
|
+
export declare function str(
|
|
518
|
+
strings: TemplateStringsArray,
|
|
519
|
+
...values: any[]
|
|
520
|
+
): PDSStrResult;
|
|
521
|
+
|
|
522
|
+
export declare function configureLocalization(
|
|
523
|
+
config?: PDSLocalizationConfig | null
|
|
524
|
+
): {
|
|
525
|
+
locale: string;
|
|
526
|
+
messages: Record<string, string>;
|
|
527
|
+
hasProvider: boolean;
|
|
528
|
+
};
|
|
529
|
+
|
|
530
|
+
export declare function loadLocale(locale: string): Promise<Record<string, string>>;
|
|
531
|
+
|
|
532
|
+
export declare function setLocale(
|
|
533
|
+
locale: string,
|
|
534
|
+
options?: { load?: boolean }
|
|
535
|
+
): Promise<string>;
|
|
536
|
+
|
|
537
|
+
export declare function getLocalizationState(): {
|
|
538
|
+
locale: string;
|
|
539
|
+
messages: Record<string, string>;
|
|
540
|
+
hasProvider: boolean;
|
|
541
|
+
};
|
|
542
|
+
|
|
543
|
+
export declare function createJSONLocalization(
|
|
544
|
+
options?: PDSJSONLocalizationOptions
|
|
545
|
+
): PDSLocalizationConfig;
|
|
546
|
+
|
|
397
547
|
export { PDS as default };
|
|
398
548
|
|
|
399
549
|
// ===== pds-form Types =====
|
|
@@ -85,8 +85,8 @@ export class SchemaForm {
|
|
|
85
85
|
values: any;
|
|
86
86
|
method: string;
|
|
87
87
|
hideActions: boolean;
|
|
88
|
-
submitLabel:
|
|
89
|
-
resetLabel:
|
|
88
|
+
submitLabel: any;
|
|
89
|
+
resetLabel: any;
|
|
90
90
|
hideReset: boolean;
|
|
91
91
|
hideLegend: boolean;
|
|
92
92
|
defineRenderer(widgetKey: any, fn: any): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pds-form.d.ts","sourceRoot":"","sources":["../../../../../../public/assets/pds/components/pds-form.js"],"names":[],"mappings":"AAkCA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAcE;IAGF,yBAEC;IAgBC,gBAA2B;IAC3B,cAAyB;IACzB,aAAwB;IACxB,YAAuB;IACvB,eAAoB;IACpB,qBAAwB;IACxB,
|
|
1
|
+
{"version":3,"file":"pds-form.d.ts","sourceRoot":"","sources":["../../../../../../public/assets/pds/components/pds-form.js"],"names":[],"mappings":"AAkCA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAcE;IAGF,yBAEC;IAgBC,gBAA2B;IAC3B,cAAyB;IACzB,aAAwB;IACxB,YAAuB;IACvB,eAAoB;IACpB,qBAAwB;IACxB,iBAAgC;IAChC,gBAA8B;IAC9B,mBAAsB;IACtB,oBAAuB;IAiBzB,8CAEC;IACD,4BAEC;IAGD,oBAEC;IAkBD;;;MAIC;IAED,uBAEC;IAED,cAIC;IAED,0BAcC;IAGD,+BAyBC;IAqfD,cA4CC;;CA44DF"}
|
|
@@ -8,8 +8,8 @@ export class PdsOmnibox extends HTMLElement {
|
|
|
8
8
|
get settings(): any;
|
|
9
9
|
set name(value: string);
|
|
10
10
|
get name(): string;
|
|
11
|
-
set placeholder(value:
|
|
12
|
-
get placeholder():
|
|
11
|
+
set placeholder(value: any);
|
|
12
|
+
get placeholder(): any;
|
|
13
13
|
set value(value: any);
|
|
14
14
|
get value(): any;
|
|
15
15
|
set disabled(value: boolean);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pds-omnibox.d.ts","sourceRoot":"","sources":["../../../../../../public/assets/pds/components/pds-omnibox.js"],"names":[],"mappings":"AAuCA;IACE,+BAA6B;IAE7B,0CAUC;IAwBD,0BAaC;IAED,6BAoBC;IAED,wEAGC;IAMD,yBAEC;IAND,oBAEC;IAUD,wBAGC;IAPD,mBAEC;IAWD
|
|
1
|
+
{"version":3,"file":"pds-omnibox.d.ts","sourceRoot":"","sources":["../../../../../../public/assets/pds/components/pds-omnibox.js"],"names":[],"mappings":"AAuCA;IACE,+BAA6B;IAE7B,0CAUC;IAwBD,0BAaC;IAED,6BAoBC;IAED,wEAGC;IAMD,yBAEC;IAND,oBAEC;IAUD,wBAGC;IAPD,mBAEC;IAWD,4BAGC;IAPD,uBAEC;IAWD,sBAIC;IARD,iBAEC;IAYD,6BAGC;IAPD,wBAEC;IAWD,6BAGC;IAPD,wBAEC;IAWD,gCAGC;IAPD,2BAEC;IAWD,wBAGC;IAPD,mBAEC;IAOD,+BAA2B;IAE3B,0CAGC;IAED,0BAEC;IAED,2CAEC;IAED,qBAEC;IAED,sBAEC;;CA+zBF;;;;;cAhhCa,CAAC,OAAO,CAAC,KAAQ,KAAK,OAAO;;;;eAC7B,CAAC,OAAO,CAAC,KAAQ,KAAK,OAAO,CAAC,KAAK,KAAQ,CAAC,GAAC,KAAK,KAAQ;;;;aAC1D,CAAC,IAAI,CAAC,KAAQ,KAAK,GAAG;;;;sBACtB,OAAO;;;;gBACP,MAAM;;;;;;mBAKN,OAAO;;;;eACP,MAAM;;;;kBACN,CAAC,IAAI,CAAC,KAAQ,KAAK,CAAC,MAAM,GAAC,IAAI,CAAC;;;;sBAChC,OAAO"}
|
|
@@ -1,120 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* Star-based rating input that participates in native HTML forms.
|
|
4
|
-
*
|
|
5
|
-
* @element pds-rating
|
|
6
|
-
* @formAssociated
|
|
7
|
-
*
|
|
8
|
-
* @attr {number} max - Maximum rating value and rendered star count (minimum 1, default 5)
|
|
9
|
-
* @attr {number} value - Current rating value (snapped to 0.5 increments)
|
|
10
|
-
* @attr {boolean} disabled - Disables keyboard/pointer interaction and form submission value
|
|
11
|
-
* @attr {boolean} required - Marks the rating as required for form validation
|
|
12
|
-
* @attr {boolean} readonly - Makes the rating non-editable while still focusable
|
|
13
|
-
* @attr {string} name - Form field name used when submitting the rating
|
|
14
|
-
* @attr {string} color - Optional active star color (CSS color value)
|
|
15
|
-
*
|
|
16
|
-
* @property {number} min - Minimum rating value (always 0)
|
|
17
|
-
* @property {number} max - Maximum rating value and rendered star count
|
|
18
|
-
* @property {number} step - Step size used for keyboard and pointer input (always 0.5)
|
|
19
|
-
* @property {number} value - Current rating value
|
|
20
|
-
* @property {string} name - Form field name
|
|
21
|
-
* @property {boolean} disabled - Disabled state
|
|
22
|
-
* @property {boolean} required - Required state
|
|
23
|
-
* @property {boolean} readOnly - Read-only state
|
|
24
|
-
* @property {string} color - Active star color override
|
|
25
|
-
* @property {HTMLFormElement|null} form - Associated form element
|
|
26
|
-
* @property {string} type - Form control type (`range`)
|
|
27
|
-
* @property {ValidityState} validity - Current validity state
|
|
28
|
-
* @property {string} validationMessage - Current validation message
|
|
29
|
-
* @property {boolean} willValidate - Whether the element is eligible for validation
|
|
30
|
-
*
|
|
31
|
-
* @fires input - Fired when the value changes via pointer or keyboard interaction
|
|
32
|
-
* @fires change - Fired after input when the value commit completes
|
|
33
|
-
*/
|
|
34
|
-
declare class PdsRating extends HTMLElement {
|
|
35
|
-
static formAssociated: boolean;
|
|
36
|
-
static observedAttributes: string[];
|
|
37
|
-
/** @param {number|string} next */
|
|
38
|
-
set value(next: number | string);
|
|
39
|
-
/** @returns {number} */
|
|
40
|
-
get value(): number;
|
|
41
|
-
/**
|
|
42
|
-
* Initializes DOM wiring, syncing, and in-view animation observation.
|
|
43
|
-
* @returns {void}
|
|
44
|
-
*/
|
|
45
|
-
connectedCallback(): void;
|
|
46
|
-
/**
|
|
47
|
-
* Cleans up listeners and observers.
|
|
48
|
-
* @returns {void}
|
|
49
|
-
*/
|
|
50
|
-
disconnectedCallback(): void;
|
|
51
|
-
/**
|
|
52
|
-
* Reacts to reflected attribute changes and keeps internal state in sync.
|
|
53
|
-
* @param {string} name
|
|
54
|
-
* @param {string|null} oldValue
|
|
55
|
-
* @param {string|null} newValue
|
|
56
|
-
* @returns {void}
|
|
57
|
-
*/
|
|
58
|
-
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
59
|
-
/** @returns {number} */
|
|
60
|
-
get min(): number;
|
|
61
|
-
/** @param {number|string} value */
|
|
62
|
-
set max(value: number | string);
|
|
63
|
-
/** @returns {number} */
|
|
64
|
-
get max(): number;
|
|
65
|
-
/** @returns {number} */
|
|
66
|
-
get step(): number;
|
|
67
|
-
/** @param {string|null|undefined} next */
|
|
68
|
-
set name(next: string | null | undefined);
|
|
69
|
-
/** @returns {string} */
|
|
70
|
-
get name(): string;
|
|
71
|
-
/** @returns {HTMLFormElement|null} */
|
|
72
|
-
get form(): HTMLFormElement | null;
|
|
73
|
-
/** @param {string|null|undefined} next */
|
|
74
|
-
set color(next: string | null | undefined);
|
|
75
|
-
/** @returns {string} */
|
|
76
|
-
get color(): string;
|
|
77
|
-
/** @returns {string} */
|
|
78
|
-
get type(): string;
|
|
79
|
-
/** @returns {ValidityState} */
|
|
80
|
-
get validity(): ValidityState;
|
|
81
|
-
/** @returns {string} */
|
|
82
|
-
get validationMessage(): string;
|
|
83
|
-
/** @returns {boolean} */
|
|
84
|
-
get willValidate(): boolean;
|
|
85
|
-
/** @param {boolean} next */
|
|
86
|
-
set disabled(next: boolean);
|
|
87
|
-
/** @returns {boolean} */
|
|
88
|
-
get disabled(): boolean;
|
|
89
|
-
/** @param {boolean} next */
|
|
90
|
-
set required(next: boolean);
|
|
91
|
-
/** @returns {boolean} */
|
|
92
|
-
get required(): boolean;
|
|
93
|
-
/** @param {boolean} next */
|
|
94
|
-
set readOnly(next: boolean);
|
|
95
|
-
/** @returns {boolean} */
|
|
96
|
-
get readOnly(): boolean;
|
|
97
|
-
/**
|
|
98
|
-
* Runs constraint validation.
|
|
99
|
-
* @returns {boolean}
|
|
100
|
-
*/
|
|
101
|
-
checkValidity(): boolean;
|
|
102
|
-
/**
|
|
103
|
-
* Runs constraint validation and reports the result to the user agent.
|
|
104
|
-
* @returns {boolean}
|
|
105
|
-
*/
|
|
106
|
-
reportValidity(): boolean;
|
|
107
|
-
/**
|
|
108
|
-
* Restores default value during parent form reset.
|
|
109
|
-
* @returns {void}
|
|
110
|
-
*/
|
|
111
|
-
formResetCallback(): void;
|
|
112
|
-
/**
|
|
113
|
-
* Restores state from browser session history/form restore.
|
|
114
|
-
* @param {string|File|FormData|null} state
|
|
115
|
-
* @returns {void}
|
|
116
|
-
*/
|
|
117
|
-
formStateRestoreCallback(state: string | File | FormData | null): void;
|
|
118
|
-
#private;
|
|
119
|
-
}
|
|
1
|
+
export {};
|
|
120
2
|
//# sourceMappingURL=pds-rating.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pds-rating.d.ts","sourceRoot":"","sources":["../../../../../../public/assets/pds/components/pds-rating.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pds-rating.d.ts","sourceRoot":"","sources":["../../../../../../public/assets/pds/components/pds-rating.js"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pds-treeview.d.ts","sourceRoot":"","sources":["../../../../../../public/assets/pds/components/pds-treeview.js"],"names":[],"mappings":"AAiCA;;;;;;;;;;;;;GAaG;AAEH;;;;;;;;;;;;;GAaG;AAEH;IACC,+BAA6B;IAE7B,0CAEC;IAoCD,0BAOC;IAED,6BAIC;IAED,wEAeC;IAED,+BAA2B;IAE3B,0CAGC;IAED,0BAQC;IA8FD;;OAEG;IACH,mBAFW,KAAK,CAAC,MAAM,GAAC,MAAM,CAAC,GAAC,IAAI,GAAC,SAAS,EAW7C;IArBD;;;;OAIG;IACH,cAFU,MAAM,EAAE,CAIjB;IAhBD;;OAEG;IACH,iBAFW,MAAM,GAAC,IAAI,GAAC,SAAS,EAM/B;IAhBD;;;;OAIG;IACH,aAFU,MAAM,CAIf;IAxED,2CAaC;IAWD;;OAEG;IACH,oBAFW,kBAAkB,GAAC,IAAI,GAAC,SAAS,EAK3C;IAfD;;;;OAIG;IACH,gBAFU,kBAAkB,CAI3B;IAmBD;;OAEG;IACH,mBAFW,kBAAkB,GAAC,IAAI,GAAC,SAAS,EAI3C;IAdD;;;;OAIG;IACH,eAFU,kBAAkB,CAI3B;IAkBD;;OAEG;IACH,gBAFW,MAAM,GAAC,IAAI,GAAC,SAAS,EAK/B;IAfD;;;;OAIG;IACH,YAFU,MAAM,CAIf;IA4DD;;OAEG;IACH,oBAFW,OAAO,EAKjB;IAfD;;;;OAIG;IACH,gBAFU,OAAO,CAIhB;IAmBD;;OAEG;IACH,oBAFW,OAAO,EAKjB;IAfD;;;;OAIG;IACH,gBAFU,OAAO,CAIhB;IAmBD;;OAEG;IACH,uBAFW,OAAO,EAKjB;IAfD;;;;OAIG;IACH,mBAFU,OAAO,CAIhB;IAmBD;;OAEG;IACH,uBAFW,OAAO,EAKjB;IAfD;;;;OAIG;IACH,mBAFU,OAAO,CAIhB;IAuBD;;OAEG;IACH,uBAFW,KAAK,GAAC,YAAY,GAAC,MAAM,GAAC,MAAM,GAAC,IAAI,GAAC,SAAS,EASzD;IAvBD;;;;;;;;OAQG;IACH,mBAFU,KAAK,GAAC,YAAY,GAAC,MAAM,CAIlC;IAcD;;;;OAIG;IACH,oBAFU,eAAe,GAAC,IAAI,CAO7B;IAED;;;;OAIG;IACH,qBAFU,eAAe,EAAE,CAM1B;IAED;;;;OAIG;IACH,mBAFa,eAAe,GAAC,IAAI,CAIhC;IAED;;;;OAIG;IACH,oBAFa,eAAe,EAAE,CAI7B;IAED;;;;OAIG;IACH,WAFa,OAAO,CAAC,IAAI,CAAC,CAyCzB;IAED;;;;OAIG;IACH,aAFa,IAAI,CAOhB;IAED;;;;OAIG;IACH,eAFa,IAAI,CAKhB;IAED;;;;;OAKG;IACH,eAHW,MAAM,GACJ,OAAO,CAMnB;IAED;;;;;OAKG;IACH,qBAHW,MAAM,GAAC,MAAM,GAAC,IAAI,GAAC,SAAS,GAC1B,OAAO,CAmBnB;IAED;;;;;;;OAOG;IACH,uBAHW,KAAK,CAAC,MAAM,GAAC,MAAM,CAAC,GAClB,OAAO,CAwCnB;IAED;;;;OAIG;IACH,iBAFa,OAAO,CAKnB;IAED;;;;OAIG;IACH,kBAFa,OAAO,CAKnB;;
|
|
1
|
+
{"version":3,"file":"pds-treeview.d.ts","sourceRoot":"","sources":["../../../../../../public/assets/pds/components/pds-treeview.js"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pds-upload.d.ts","sourceRoot":"","sources":["../../../../../../public/assets/pds/components/pds-upload.js"],"names":[],"mappings":";AAEA;;;;;;;;;;GAUG;AACH;IACE,0CAEC;IA4LD;;OAEG;IACH,+BAEC;IAED;;;OAGG;IACH,+BAFW,OAAO,QAIjB;IAED;;OAEG;IACH,0BAEC;IAED;;;OAGG;IACH,gCAFW,IAAI,EAAE,QAOhB;IAWD;;;OAGG;IACH,eAFW,MAAM,EAIhB;IAdD;;;OAGG;IACH,aAFa,MAAM,CAIlB;IAUD;;;OAGG;IACH,iBAFa,OAAO,CAInB;IAED;;;OAGG;IACH,kBAFa,OAAO,CAInB;IAED;;OAEG;IACH,cAGC;IAgFD;;OAEG;IACH,cAKC;IA3ED;;OAEG;IACH,0BAkBC;IAED;;OAEG;IACH,6BAYC;IAED;;;;;OAKG;IACH,+BAJW,MAAM,UACN,MAAM,GAAC,IAAI,UACX,MAAM,GAAC,IAAI,QAYrB;IAGD;;;OAGG;IACH,YAFa,IAAI,EAAE,CAIlB;;
|
|
1
|
+
{"version":3,"file":"pds-upload.d.ts","sourceRoot":"","sources":["../../../../../../public/assets/pds/components/pds-upload.js"],"names":[],"mappings":";AAEA;;;;;;;;;;GAUG;AACH;IACE,0CAEC;IA4LD;;OAEG;IACH,+BAEC;IAED;;;OAGG;IACH,+BAFW,OAAO,QAIjB;IAED;;OAEG;IACH,0BAEC;IAED;;;OAGG;IACH,gCAFW,IAAI,EAAE,QAOhB;IAWD;;;OAGG;IACH,eAFW,MAAM,EAIhB;IAdD;;;OAGG;IACH,aAFa,MAAM,CAIlB;IAUD;;;OAGG;IACH,iBAFa,OAAO,CAInB;IAED;;;OAGG;IACH,kBAFa,OAAO,CAInB;IAED;;OAEG;IACH,cAGC;IAgFD;;OAEG;IACH,cAKC;IA3ED;;OAEG;IACH,0BAkBC;IAED;;OAEG;IACH,6BAYC;IAED;;;;;OAKG;IACH,+BAJW,MAAM,UACN,MAAM,GAAC,IAAI,UACX,MAAM,GAAC,IAAI,QAYrB;IAGD;;;OAGG;IACH,YAFa,IAAI,EAAE,CAIlB;;CA2SF"}
|
|
@@ -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":"AAmJA;;;;;GAKG;AACH,6BAJW,MAAM,GAAC,IAAI,QAAM,+BAuV3B;AAED;;;;;GAKG;AACH,+BAJW,MAAM,GAAC,IAAI,QAAM,+BAc3B;AAED;;;;;GAKG;AACH,iCAJW,MAAM,GAAC,IAAI,QAAM,kBAEf,OAAO,CAAC,OAAO,CAAC,CAa5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"font-loader.d.ts","sourceRoot":"","sources":["../../../../../src/js/common/font-loader.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"font-loader.d.ts","sourceRoot":"","sources":["../../../../../src/js/common/font-loader.js"],"names":[],"mappings":"AAwEA;;;;;;;GAOG;AACH,2CANW,MAAM,YAEd;IAA0B,OAAO,EAAzB,MAAM,EAAE;IACS,MAAM,EAAvB,OAAO;CACf,GAAU,OAAO,CAAC,IAAI,CAAC,CAsEzB;AAED;;;;GAIG;AACH,4DAFa,OAAO,CAAC,IAAI,CAAC,CA6BzB;AAED;;;GAGG;AACH,4CAFW,MAAM,QAehB"}
|