@e-llm-studio/instant-learning 1.3.0-alpha.77 → 1.3.0-alpha.79

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/README.md CHANGED
@@ -1,5 +1,539 @@
1
1
  # Instant Learning Library
2
2
 
3
+ ## Usage & Integration
4
+
5
+ The library exposes two independently consumable components:
6
+
7
+ - **`LearningManagement`** — renders the full Learning Management screen (scope tree, learnings, access, change history).
8
+ - **`TeachMePlugin`** — renders the *Teach Me* popup, an AI-assisted rule/learning creation interface. Can be mounted on its own, anywhere.
9
+
10
+ Install:
11
+
12
+ ```bash
13
+ npm install @e-llm-studio/instant-learning
14
+ ```
15
+
16
+ ---
17
+
18
+ ### 1. `LearningManagement`
19
+
20
+ Renders the Learning Management screen. It uses `@tanstack/react-query` internally, so it **must be wrapped in a `QueryClientProvider`** by the consumer.
21
+
22
+ #### Import & sample usage
23
+
24
+ ```tsx
25
+ import LearningManagement from '@e-llm-studio/instant-learning';
26
+ import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
27
+
28
+ const queryClient = new QueryClient();
29
+
30
+ function App() {
31
+ return (
32
+ <QueryClientProvider client={queryClient}>
33
+ <LearningManagement
34
+ userDetails={userDetails} // logged-in user + access token
35
+ llmStudioUrl="https://devllmstudio.creativeworkspace.ai"
36
+ audacyBackendUrl="https://dev-audacy-traffic-manager.techo.camp"
37
+ config={config} // runtime config (BASE_URL, ASSISTANT_NAME, …)
38
+ rbacConfig={rbacConfig} // RBAC / AppSec identifiers
39
+ auditLogConfig={{ configId: '6a1825e9fb722c37637b9490' }}
40
+ ilLabels={{
41
+ setupLabel: 'Learning Setup',
42
+ ruleTitle: 'Learning Title',
43
+ ruleDescriptionTitle: 'Learning Description',
44
+ }}
45
+ app_integration_id="019eb639-8eca-715a-95c1-efe0ee237ecc"
46
+ backwardCompatibility={false}
47
+ cognitiveCompareCompatibility={false}
48
+ modeDetails={{
49
+ activeModeName: 'Instant Learning Mode',
50
+ modeNameFromURL: 'Instant Learning Mode',
51
+ submodeNameFromURL: '',
52
+ }}
53
+ />
54
+ </QueryClientProvider>
55
+ );
56
+ }
57
+ ```
58
+
59
+ #### Props
60
+
61
+ | Prop | Type | Required | Description |
62
+ |---|---|:---:|---|
63
+ | `userDetails` | `User` | ✅ | Logged-in user object. Must include `accessToken` (used for all API calls and as the GraphQL `userDetails` param). |
64
+ | `llmStudioUrl` | `string` | ✅ | Base URL of LLM Studio; used for tiers, IL instance, and rule APIs. |
65
+ | `audacyBackendUrl` | `string` | ✅ | Base URL of the client/product backend. |
66
+ | `config` | `object` (`any`) | ✅ | Runtime config consumed by the rule-creation flow (`BASE_URL`, `BASE_WEBSOCKET_URL`, `ASSISTANT_NAME`, `ORGANIZATION_NAME`, `CHAT_TITLE`, `SOCKET_TIMEOUT`, etc.). |
67
+ | `rbacConfig` | `RbacConfig` | ✅ | RBAC/AppSec identifiers: `applicationName`, `applicationId`, `moduleId`, `applicationModuleId`, `applicationResourceId`, `appsecRbacUrl`, `appsecBaseUrl`. Drives permission resolution. |
68
+ | `auditLogConfig` | `AuditLogConfig` | ✅ | Audit log config — `{ configId: string }`. |
69
+ | `ilLabels` | `{ setupLabel; ruleTitle; ruleDescriptionTitle }` | ✅ | Label overrides for the rule setup form (all three strings required). |
70
+ | `app_integration_id` | `string` | ⚠️ Optional* | Integration context used to load the per-integration remote JSON config (`dt()`/`dtt()` values) and scoped API calls. *Effectively required in non-backward-compat mode — without it the remote config won't load. |
71
+ | `backwardCompatibility` | `boolean` | ❌ Optional | Enables legacy mode (legacy create modal, legacy inherit API). Default `false`. |
72
+ | `cognitiveCompareCompatibility` | `boolean` | ❌ Optional | Enables cognitive-compare behavior. Default `false`. |
73
+ | `modeId` | `string` | ❌ Optional | Mode identifier passed through to the layout / rule content. |
74
+ | `modeDetails` | `{ activeModeName; modeNameFromURL; submodeNameFromURL }` | ❌ Optional | Active mode metadata used for base-mode naming. |
75
+
76
+ > **Note:** When `backwardCompatibility={false}`, the screen reads its labels/dialogs from the remote config resolved via `app_integration_id` using the `dt()` helper. Missing keys fall back to built-in defaults.
77
+
78
+ ---
79
+
80
+ ### 2. `TeachMePlugin`
81
+
82
+ Renders the AI-assisted *Teach Me* rule-creation popup. Unlike `LearningManagement`, it **provides its own `QueryClientProvider` internally** — no extra wrapper needed.
83
+
84
+ #### Import & sample usage
85
+
86
+ ```tsx
87
+ import TeachMePlugin from '@e-llm-studio/instant-learning';
88
+
89
+ // Required config fields for TeachMePlugin
90
+ const configuration = {
91
+ BASE_URL: 'https://devllmstudio.creativeworkspace.ai',
92
+ BASE_WEBSOCKET_URL: 'wss://devllmstudio.creativeworkspace.ai/graphql',
93
+ ORGANIZATION_NAME: 'techolution',
94
+ ASSISTANT_NAME: 'preview',
95
+ };
96
+
97
+ function CreateLearningButton({ open, setOpen, token }) {
98
+ return (
99
+ <TeachMePlugin
100
+ app_integration_id="019ecbcf-98c9-71bb-a663-ea962085c118"
101
+ isOpen={open}
102
+ onClose={() => setOpen(false)}
103
+ token={token} // bearer token for API calls
104
+ mode="ADD" // "ADD" | "EDIT"
105
+ config={configuration} // required runtime config (see table below)
106
+ pluginPayload={{
107
+ initialScope: 'global', // {scope} value for titles
108
+ ruleSet: selectedRuleSet, // optional ruleset context
109
+ // renderer-specific context (Radio Traffic, etc.):
110
+ editingRule: null,
111
+ editingTier: null,
112
+ editingVariants: null,
113
+ // optionally inline the config instead of remote-loading:
114
+ // teachMe: { teachMe, template, learningManagement, agents },
115
+ // tiers: [...],
116
+ }}
117
+ />
118
+ );
119
+ }
120
+ ```
121
+
122
+ #### Props
123
+
124
+ | Prop | Type | Required | Description |
125
+ |---|---|:---:|---|
126
+ | `isOpen` | `boolean` | ✅ | Controls popup visibility. |
127
+ | `onClose` | `() => void` | ✅ | Called when the dialog requests to close. |
128
+ | `token` | `string` | ✅ | Bearer token for API calls. |
129
+ | `mode` | `"ADD" \| "EDIT"` | ✅ | Whether the popup is creating a new learning or editing an existing one. |
130
+ | `config` | `object` | ✅ | Runtime config for the chat/socket. See [required `config` fields](#config-fields) below. |
131
+ | `app_integration_id` | `string` | ⚠️ Optional* | Resolves the correct renderer template and remote config. *Optional only in backward-compat mode; otherwise required to load the template/config. |
132
+ | `pluginPayload` | `Record<string, any>` | ❌ Optional | Free-form data passed straight through to the active renderer. Recognized keys: `initialScope` (`{scope}` value), `ruleSet`, `tiers` (sets tiers directly), and `teachMe` (`{ teachMe, template, learningManagement, agents }` to inline config instead of remote-loading). Any other keys are forwarded to the renderer (e.g. `editingRule`, `editingTier`, `editingVariants`, `focusedVariantIndex`, `triggerAddVariant`, `triggerFixGaps`, `copiedRule`, `initialDraftMessage`, `modeId`). |
133
+
134
+ <a id="config-fields"></a>
135
+ **Required `config` fields**
136
+
137
+ | Field | Type | Required | Description |
138
+ |---|---|:---:|---|
139
+ | `BASE_URL` | `string` | ✅ | LLM Studio base URL; used for the chat/REST calls. |
140
+ | `BASE_WEBSOCKET_URL` | `string` | ✅ | WebSocket (GraphQL) endpoint used by the live chat. |
141
+ | `ORGANIZATION_NAME` | `string` | ✅ | Organization identifier for the assistant. |
142
+ | `ASSISTANT_NAME` | `string` | ✅ | Name of the assistant that powers the Teach Me flow. |
143
+
144
+ ```ts
145
+ const configuration = {
146
+ BASE_URL: 'https://devllmstudio.creativeworkspace.ai',
147
+ BASE_WEBSOCKET_URL: 'wss://devllmstudio.creativeworkspace.ai/graphql',
148
+ ORGANIZATION_NAME: 'techolution',
149
+ ASSISTANT_NAME: 'preview',
150
+ };
151
+ ```
152
+
153
+ > **Template resolution:** The renderer is chosen from the `template` key (in `pluginPayload.teachMe.template` or the remote config) via `TemplateRegistry`. Unknown values fall back to `"Default"`. See the v17 changelog entry below for the registry and full config JSON.
154
+
155
+ ---
156
+
157
+ ## Configuration Reference
158
+
159
+ Both `LearningManagement` and `TeachMePlugin` are **fully label-driven**. The UI text — titles, buttons, dialog copy, placeholders — comes from a JSON config loaded per `appIntegrationId` (or passed inline via `pluginPayload.teachMe`). Values are resolved at runtime with the `dt()` (LMS) and `dtt()` (TeachMe) helpers; any missing key falls back to a built-in default, so you only need to override what you want to change.
160
+
161
+ ### Top-level structure
162
+
163
+ ```json
164
+ {
165
+ "template": "Default",
166
+ "agents": { "LearningTerm": "Instruction" },
167
+ "teachMe": { "...": "TeachMe popup labels" },
168
+ "learningManagement": { "...": "Learning Management screen labels" }
169
+ }
170
+ ```
171
+
172
+ | Key | Type | Required | Description |
173
+ |---|---|:---:|---|
174
+ | `template` | `string` | ✅ | Renderer key. **Must** be present for any customisation to apply; must match a `TemplateRegistry` key (`"Default"`, `"Radio Traffic Learning"`, `"Guidelines"`, …). Unknown values fall back to `"Default"`. |
175
+ | `agents.LearningTerm` | `string` | ❌ | Word used for a "learning" across the UI (e.g. `"Instruction"`, `"Guideline"`). |
176
+ | `teachMe` | `object` | ❌ | Labels for the Teach Me popup. See [`teachMe` fields](#teachme-fields). |
177
+ | `learningManagement` | `object` | ❌ | Labels for the Learning Management screen (maps to `LMSConfig`). See [`learningManagement` fields](#learningmanagement-fields). |
178
+
179
+ Placeholders supported in values: `{scope}` / `{scope_name}` / `{parent}` (names), `{count}` / `{N}` (counts), `{variant_name}` (approve/reject dialogs), `{rule_title}` (enable/disable dialogs). They are interpolated at runtime.
180
+
181
+ <details>
182
+ <summary><strong>📋 Full config JSON (copy-paste starter)</strong> — click to expand</summary>
183
+
184
+ ```json
185
+ {
186
+ "template": "Default",
187
+ "agents": {
188
+ "LearningTerm": "Instruction"
189
+ },
190
+ "teachMe": {
191
+ "welcomeMessage": "Hi! 👋 I'm your Instant Learning Concierge.",
192
+ "welcomeMessageSubtitle": "I can help you create and manage instructions.\nSelect an option below or type your requirement.",
193
+ "actions": [
194
+ { "label": "Add new instruction", "value": "I would want to add a new Instruction" },
195
+ { "label": "Update an instruction", "value": "I would want to edit an existing instruction" }
196
+ ],
197
+ "chatTitle": "Teach Me ILOTJ - {scope} - Add Instruction",
198
+ "chatTitleEdit": "Teach Me ILOTJ - {scope} - Edit Instruction",
199
+ "chatTextareaPlaceholder": "Tell me about the instruction you want to create",
200
+ "formTitle": "Add Instruction",
201
+ "setupLabel": "Configure your IL",
202
+ "ruleTitle": "Main Instruction Name",
203
+ "scopeLabel": "Define Scope",
204
+ "tierLabel": "Select Tiers",
205
+ "ruleDescriptionTitle": "Explanation of the instruction",
206
+ "whenToApplyTitle": "Trigger Events (When to Apply)",
207
+ "addWhenToApplyBtnLabel": "Add WTA",
208
+ "whenNotToApplyTitle": "Exclusion Events (When NOT to Apply)",
209
+ "addWhenNotToApplyBtnLabel": "Add WNTA",
210
+ "configTitle": "Advanced Settings",
211
+ "saveBtnLabel": "Save Instruction",
212
+ "saveBtnLoadingLabel": "Saving Instruction...",
213
+ "showScope": false,
214
+ "showConfiguration": false
215
+ },
216
+ "learningManagement": {
217
+ "pageTitle": "Instruction Management",
218
+ "middleDrawer": {
219
+ "scope": "Scope",
220
+ "addScope": "Add Scope",
221
+ "addSubScope": "Add Subscope",
222
+ "subScope": "Subscope",
223
+ "treeMenu": {
224
+ "search": "Search for scopes",
225
+ "submenu": {
226
+ "learnings": "Instructions",
227
+ "access": "Access",
228
+ "changeHistory": "Change History"
229
+ },
230
+ "contextMenu": {
231
+ "addScope": "Add Scope",
232
+ "rename": "Rename",
233
+ "delete": "Delete {scope}",
234
+ "addSubScope": "Add SubScope"
235
+ }
236
+ },
237
+ "addScopeDialog": {
238
+ "title": "Add Scope",
239
+ "globalTitle": "Add Global Scope",
240
+ "subtitle": "This scope will be created under {parent} and will inherit its Learnings by default.",
241
+ "globalSubtitle": "This global scope defines base learnings that apply across all scopes.",
242
+ "scopeName": "Scope Name",
243
+ "submitButton": "Create Scope",
244
+ "cancel": "Cancel",
245
+ "learningApprovalSettings": {
246
+ "title": "Instruction Approval Settings",
247
+ "approvalRequired": {
248
+ "title": "Approval Required before Publishing",
249
+ "subtitle": "Learnings require approval before publishing"
250
+ },
251
+ "publishWithoutApproval": {
252
+ "title": "Publish Without Approval",
253
+ "subtitle": "Instructions can be published directly"
254
+ }
255
+ }
256
+ },
257
+ "scopeDisplayLimit": {
258
+ "enabled": "true",
259
+ "count": "3",
260
+ "compactView": "true",
261
+ "applyToLevels": "",
262
+ "viewMoreText": "show {count} more...",
263
+ "title": "Stations",
264
+ "description": "Manage the stations assigned to the {scope} scope.",
265
+ "searchPlaceholder": "Search station...",
266
+ "onboardBtn": "Onboard a station",
267
+ "viewText": "View"
268
+ }
269
+ },
270
+ "learnings": {
271
+ "header": {
272
+ "title": "{scope} Instructions",
273
+ "exportButton": "Export",
274
+ "addNewLearningButton": "Add New Instruction"
275
+ },
276
+ "tier": {
277
+ "showTierHeader": true,
278
+ "tierHeader": "Tier",
279
+ "subtitle": "These are the system-wide instructions applied across all documents.",
280
+ "tierHeaderNoOfLearnings": "Instructions",
281
+ "deleteDialog": {
282
+ "title": "Delete Tier {N}?",
283
+ "description": "This will permanently delete all rules and variants under this tier, including any inherited rules. This action cannot be undone.",
284
+ "cancel": "Cancel",
285
+ "submit": "Yes, Delete"
286
+ },
287
+ "learning": {
288
+ "inheritance": "Inheritance",
289
+ "actions": {
290
+ "disable": "Disable",
291
+ "enable": "Enable",
292
+ "approve": "Approve All",
293
+ "reject": "Reject All",
294
+ "delete": "Delete"
295
+ },
296
+ "approveDialog": {
297
+ "title": "Approve Guideline",
298
+ "desc": "{variant_name} will be published and become active within the selected scope after approval.",
299
+ "footer": "Take a moment to check the configuration before moving forward.",
300
+ "cancel": "Cancel",
301
+ "approveLearning": "Approve Guideline"
302
+ },
303
+ "rejectDialog": {
304
+ "title": "Reject Guideline",
305
+ "desc": "{variant_name} will not be published or applied within the selected scope. You can provide feedback before rejecting.",
306
+ "feedbackTitle": "Feedback",
307
+ "feedbackPlaceholder": "Add feedback or reason for rejection",
308
+ "deleteCheckboxLabel": "Also delete this guideline",
309
+ "cancel": "Cancel",
310
+ "rejectLearning": "Reject Guideline"
311
+ },
312
+ "deleteDialog": {
313
+ "title": "Delete",
314
+ "desc": "Are you sure you want to delete this rule? This action cannot be undone.",
315
+ "warningText": "This will permanently delete the rule configuration.",
316
+ "cancelText": "Cancel",
317
+ "deleteText": "Delete"
318
+ }
319
+ }
320
+ }
321
+ },
322
+ "emptyStateLearning": {
323
+ "title": "No instructions have been added !",
324
+ "desc": "Start by adding instructions that should apply across all documents.",
325
+ "createNewLearning": "Create New Instruction",
326
+ "createGlobalScope": "Create Global Scope",
327
+ "noAccessTitle": "Access Restricted",
328
+ "noAccessDesc": "You do not have access for this application.",
329
+ "requestAccessButton": "Request Access",
330
+ "requestSentButton": "Request Sent"
331
+ }
332
+ }
333
+ }
334
+ ```
335
+
336
+ </details>
337
+
338
+ ---
339
+
340
+ ### `teachMe` fields
341
+
342
+ Drives the LHS of the Teach Me popup (greeting, quick actions, form labels). Resolved via `dtt()`.
343
+
344
+ ```json
345
+ "teachMe": {
346
+ "welcomeMessage": "Hi! 👋 I'm your Instant Learning Concierge.",
347
+ "welcomeMessageSubtitle": "I can help you create and manage instructions.\nSelect an option below or type your requirement.",
348
+ "actions": [
349
+ { "label": "Add new instruction", "value": "I would want to add a new Instruction" },
350
+ { "label": "Update an instruction", "value": "I would want to edit an existing instruction" }
351
+ ],
352
+ "chatTitle": "Teach Me ILOTJ - {scope} - Add Instruction",
353
+ "chatTitleEdit": "Teach Me ILOTJ - {scope} - Edit Instruction",
354
+ "chatTextareaPlaceholder": "Tell me about the instruction you want to create",
355
+ "formTitle": "Add Instruction",
356
+ "setupLabel": "Configure your IL",
357
+ "ruleTitle": "Main Instruction Name",
358
+ "scopeLabel": "Define Scope",
359
+ "tierLabel": "Select Tiers",
360
+ "ruleDescriptionTitle": "Explanation of the instruction",
361
+ "whenToApplyTitle": "Trigger Events (When to Apply)",
362
+ "addWhenToApplyBtnLabel": "Add WTA",
363
+ "whenNotToApplyTitle": "Exclusion Events (When NOT to Apply)",
364
+ "addWhenNotToApplyBtnLabel": "Add WNTA",
365
+ "configTitle": "Advanced Settings",
366
+ "saveBtnLabel": "Save Instruction",
367
+ "saveBtnLoadingLabel": "Saving Instruction...",
368
+ "showScope": false,
369
+ "showConfiguration": false
370
+ }
371
+ ```
372
+
373
+ | Field | Type | Description | Default |
374
+ |---|---|---|---|
375
+ | `welcomeMessage` | `string` | Primary greeting shown at the top of the chat. | `"Hi! 👋 I'm your Instant Learning Concierge."` |
376
+ | `welcomeMessageSubtitle` | `string` | Subtitle under the greeting. Supports **Markdown** and `\n` line breaks. | `"How would you like to get started?…"` |
377
+ | `actions` | `Array<{ label, value }>` | Quick-action buttons. `label` is the button text; `value` is the message sent to the agent when clicked. | 6 default actions |
378
+ | `chatTitle` | `string` | Popup title in **Add** mode. Supports `{scope}`. | `"Teach Me OTJ - {scope} - Add Learning"` |
379
+ | `chatTitleEdit` | `string` | Popup title in **Edit** mode. Supports `{scope}`. | `"Teach Me OTJ - {scope} - Edit Learning"` |
380
+ | `chatTextareaPlaceholder` | `string` | Placeholder for the freeform chat textarea. | `"Tell me more about this learning.."` |
381
+ | `formTitle` | `string` | Title of the inline rule form section. | `"Rule setup"` |
382
+ | `setupLabel` | `string` | Label for the setup/configuration area. | `"Configure your IL"` |
383
+ | `ruleTitle` | `string` | Label for the rule/learning name field. | `"Main Rule Name"` |
384
+ | `scopeLabel` | `string` | Label for the scope selector. | `"Define Scope"` |
385
+ | `tierLabel` | `string` | Label for the tier selector. | `"Select Tiers"` |
386
+ | `ruleDescriptionTitle` | `string` | Label for the description field. | `"Learning Explanation"` |
387
+ | `whenToApplyTitle` | `string` | Section title for trigger events. | `"Trigger Events (When to Apply)"` |
388
+ | `addWhenToApplyBtnLabel` | `string` | Button to add a "when to apply" entry. | `"Add WTA"` |
389
+ | `whenNotToApplyTitle` | `string` | Section title for exclusion events. | `"Exclusion Events (When NOT to Apply)"` |
390
+ | `addWhenNotToApplyBtnLabel` | `string` | Button to add a "when NOT to apply" entry. | `"Add WNTA"` |
391
+ | `configTitle` | `string` | Title for the advanced settings area. | `"Advanced Settings"` |
392
+ | `saveBtnLabel` | `string` | Save button label. | `"Save Rule"` |
393
+ | `saveBtnLoadingLabel` | `string` | Save button label while saving. | `"Saving Rule..."` |
394
+ | `showScope` | `boolean` | Whether to show the scope selection section. | `false` |
395
+ | `showConfiguration` | `boolean` | Whether to show the advanced configuration section. | `false` |
396
+
397
+ ---
398
+
399
+ ### `learningManagement` fields
400
+
401
+ Maps to `LMSConfig` and drives the Learning Management screen. Resolved via `dt()`. Grouped below by area.
402
+
403
+ #### Page & middle drawer
404
+
405
+ ```json
406
+ "learningManagement": {
407
+ "pageTitle": "Instruction Management",
408
+ "middleDrawer": {
409
+ "scope": "Scope",
410
+ "addScope": "Add Scope",
411
+ "addSubScope": "Add Subscope",
412
+ "subScope": "Subscope",
413
+ "treeMenu": {
414
+ "search": "Search for scopes",
415
+ "submenu": { "learnings": "Instructions", "access": "Access", "changeHistory": "Change History" },
416
+ "contextMenu": { "addScope": "Add Scope", "rename": "Rename", "delete": "Delete {scope}", "addSubScope": "Add SubScope" }
417
+ },
418
+ "addScopeDialog": {
419
+ "title": "Add Scope",
420
+ "subtitle": "This scope will be created under {parent} and will inherit its Learnings by default.",
421
+ "scopeName": "Scope Name",
422
+ "submitButton": "Create Scope",
423
+ "cancel": "Cancel",
424
+ "learningApprovalSettings": {
425
+ "title": "Instruction Approval Settings",
426
+ "approvalRequired": { "title": "Approval Required before Publishing", "subtitle": "Learnings require approval before publishing" },
427
+ "publishWithoutApproval": { "title": "Publish Without Approval", "subtitle": "Instructions can be published directly" }
428
+ }
429
+ },
430
+ "scopeDisplayLimit": {
431
+ "enabled": "true",
432
+ "count": "3",
433
+ "compactView": "true",
434
+ "applyToLevels": "",
435
+ "viewMoreText": "show {count} more...",
436
+ "title": "Stations",
437
+ "description": "Manage the stations assigned to the {scope} scope.",
438
+ "searchPlaceholder": "Search station...",
439
+ "onboardBtn": "Onboard a station",
440
+ "viewText": "View"
441
+ }
442
+ }
443
+ }
444
+ ```
445
+
446
+ | Field (path under `middleDrawer`) | Type | Description |
447
+ |---|---|---|
448
+ | `pageTitle` *(sibling of middleDrawer)* | `string` | Title shown in the LMS header. |
449
+ | `scope` | `string` | Heading word for the current scope. |
450
+ | `addScope` / `addSubScope` / `subScope` | `string` | Labels for add-scope, add-subscope buttons and the subscope node. |
451
+ | `treeMenu.search` | `string` | Placeholder for the scope-tree search input. |
452
+ | `treeMenu.submenu.{learnings, access, changeHistory}` | `string` | Tree submenu labels. |
453
+ | `treeMenu.contextMenu.{addScope, rename, delete, addSubScope}` | `string` | Right-click context-menu actions. `delete` supports `{scope}`. |
454
+ | `addScopeDialog.title` / `globalTitle` | `string` | Dialog title for creating a scope / global scope. |
455
+ | `addScopeDialog.subtitle` / `globalSubtitle` | `string` | Dialog subtitle. Supports `{parent}`. |
456
+ | `addScopeDialog.scopeName` | `string` | Label for the scope-name field. |
457
+ | `addScopeDialog.submitButton` / `cancel` | `string` | Dialog action buttons. |
458
+ | `addScopeDialog.learningApprovalSettings.title` | `string` | Approval-settings section title. |
459
+ | `…approvalRequired.{title, subtitle}` | `string` | Copy for the "approval required" option. |
460
+ | `…publishWithoutApproval.{title, subtitle}` | `string` | Copy for the "publish without approval" option. |
461
+ | `scopeDisplayLimit.enabled` | `string` (`"true"`/`"false"`) | Toggles the per-level display limit. |
462
+ | `scopeDisplayLimit.count` | `string` (number) | How many items to show before collapsing. |
463
+ | `scopeDisplayLimit.compactView` | `string` (`"true"`/`"false"`) | Enables compact rendering. |
464
+ | `scopeDisplayLimit.applyToLevels` | `string` | JSON array of 1-indexed levels to limit, e.g. `"[1,2]"`. Empty = all levels. |
465
+ | `scopeDisplayLimit.viewMoreText` | `string` | "See more" toggle text. Supports `{count}`. |
466
+ | `scopeDisplayLimit.title` | `string` | Word substituted for "Stations" in headers. Supports `{scope}`. |
467
+ | `scopeDisplayLimit.description` | `string` | Description under the Stations header. Supports `{scope}`. |
468
+ | `scopeDisplayLimit.searchPlaceholder` | `string` | Station search placeholder. |
469
+ | `scopeDisplayLimit.onboardBtn` | `string` | "Onboard a station" button label. |
470
+ | `scopeDisplayLimit.viewText` | `string` | Per-station "View" button label. |
471
+
472
+ #### Learnings, tiers & dialogs
473
+
474
+ ```json
475
+ "learnings": {
476
+ "header": { "title": "{scope} Instructions", "exportButton": "Export", "addNewLearningButton": "Add New Instruction" },
477
+ "tier": {
478
+ "showTierHeader": true,
479
+ "tierHeader": "Tier",
480
+ "subtitle": "These are the system-wide instructions applied across all documents.",
481
+ "tierHeaderNoOfLearnings": "Instructions",
482
+ "deleteDialog": { "title": "Delete Tier {N}?", "description": "This will permanently delete all rules…", "cancel": "Cancel", "submit": "Yes, Delete" },
483
+ "learning": {
484
+ "inheritance": "Inheritance",
485
+ "actions": { "disable": "Disable", "enable": "Enable", "approve": "Approve All", "reject": "Reject All", "delete": "Delete" },
486
+ "approveDialog": { "title": "Approve Guideline", "desc": "{variant_name} will be published…", "footer": "Take a moment to check…", "cancel": "Cancel", "approveLearning": "Approve Guideline" },
487
+ "rejectDialog": { "title": "Reject Guideline", "desc": "{variant_name} will not be published…", "feedbackTitle": "Feedback", "feedbackPlaceholder": "Add feedback…", "deleteCheckboxLabel": "Also delete this guideline", "cancel": "Cancel", "rejectLearning": "Reject Guideline" },
488
+ "deleteDialog": { "title": "Delete", "desc": "Are you sure…", "warningText": "This will permanently delete…", "cancelText": "Cancel", "deleteText": "Delete" }
489
+ }
490
+ }
491
+ }
492
+ ```
493
+
494
+ | Field (path under `learnings`) | Type | Description |
495
+ |---|---|---|
496
+ | `header.title` | `string` | Learnings page title. Supports `{scope}`. |
497
+ | `header.exportButton` | `string` | Export button label. |
498
+ | `header.addNewLearningButton` | `string` | "Add new learning" button label. |
499
+ | `tier.showTierHeader` | `boolean` | Whether the tier header region is shown. |
500
+ | `tier.tierHeader` | `string` | Tier header title. |
501
+ | `tier.subtitle` | `string` | Tier subtitle / description. |
502
+ | `tier.tierHeaderNoOfLearnings` | `string` | Word for the learnings count label. |
503
+ | `tier.deleteDialog.{title, description, cancel, submit}` | `string` | Bulk tier-delete dialog copy. `title` supports `{N}`. |
504
+ | `tier.learning.inheritance` | `string` | Label for the inheritance indicator. |
505
+ | `tier.learning.actions.{disable, enable, approve, reject, delete}` | `string` | Per-learning action labels. |
506
+ | `tier.learning.approveDialog.{title, desc, footer, cancel, approveLearning}` | `string` | Approve dialog copy. `desc` supports `{variant_name}`. |
507
+ | `tier.learning.rejectDialog.{title, desc, feedbackTitle, feedbackPlaceholder, deleteCheckboxLabel, cancel, rejectLearning}` | `string` | Reject dialog copy. `desc` supports `{variant_name}`. |
508
+ | `tier.learning.deleteDialog.{title, desc, warningText, cancelText, deleteText}` | `string` | Single-learning delete dialog copy. |
509
+
510
+ #### Empty state
511
+
512
+ ```json
513
+ "emptyStateLearning": {
514
+ "title": "No instructions have been added !",
515
+ "desc": "Start by adding instructions that should apply across all documents.",
516
+ "createNewLearning": "Create New Instruction",
517
+ "createGlobalScope": "Create Global Scope",
518
+ "noAccessTitle": "Access Restricted",
519
+ "noAccessDesc": "You do not have access for this application.",
520
+ "requestAccessButton": "Request Access",
521
+ "requestSentButton": "Request Sent"
522
+ }
523
+ ```
524
+
525
+ | Field | Type | Required | Description |
526
+ |---|---|:---:|---|
527
+ | `title` | `string` | ✅ | Empty-state heading. |
528
+ | `desc` | `string` | ✅ | Empty-state description. |
529
+ | `createNewLearning` | `string` | ✅ | CTA to create a learning. |
530
+ | `createGlobalScope` | `string` | ✅ | CTA to create a global scope. |
531
+ | `noAccessTitle` | `string` | ❌ | Heading when the user has no access. |
532
+ | `noAccessDesc` | `string` | ❌ | Description when the user has no access. |
533
+ | `requestAccessButton` | `string` | ❌ | "Request access" button label. |
534
+ | `requestSentButton` | `string` | ❌ | "Request sent" state label. |
535
+
536
+ ---
3
537
 
4
538
  ## Changelog
5
539
  ### 1.3.0-alpha.31 - 2026, June 10th
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react/jsx-runtime"),i=require("react"),o=require("lucide-react"),t=require("../../styles/ScopeTree.module.css.js"),r=require("./TreeNodeHeader.js"),d=require("./TreeAddAction.js"),l=require("../../store/useLMSConfigStore.js"),a=require("../../constants.js"),c=require("../../store/useLearningTemplateStore.js"),s=require("./TreeSectionItem.js"),u=function(p){var h,v,f,m,_=p.node,C=p.depth,T=void 0===C?0:C,g=p.nodePath,D=void 0===g?[]:g,b=p.expandedNodeIds,y=p.activeSelection,A=p.onToggleExpand,E=p.onSectionSelect,S=p.onNodeOptionsClick,x=p.onAddChild,L=p.onRenameChild,j=p.onDeleteChild,R=p.canDeleteScope,N=p.canEditScope,P=p.canCreateScope,I=p.searchQuery,w=p.sectionsConfig,M=void 0===w?[]:w,k=p.nodeTypesConfig,q=void 0===k?[]:k,V=p.forceVisible,H=void 0!==V&&V,W=p.compactView,O=void 0!==W&&W,Q=e.__spreadArray(e.__spreadArray([],D,!0),[_.id],!1),Y=b.has(_.id),F=c.useLearningTemplateStore.getState().backwardCompatibility,K=F||O,U=i.useState(!1),X=U[0],J=U[1],z=l.dt("".concat(a.MIDDLE_DRAWER_DT_PATH,".scope")),B=!!y&&y.nodePath[y.nodePath.length-1]===_.id,G=!!y&&(y.nodePath.includes(_.id)&&!B),Z=l.dt("".concat(a.MIDDLE_DRAWER_DT_PATH,".scopeDisplayLimit.applyToLevels"),""),$=function(){if(!Z)return null;try{var e=JSON.parse(Z);return Array.isArray(e)?e.map(Number):null}catch(e){return null}}(),ee=T+1,ne=F||null===$||$.includes(ee),ie=!!F||"true"===l.dt("".concat(a.MIDDLE_DRAWER_DT_PATH,".scopeDisplayLimit.enabled"),"false")&&ne,oe=F?7:parseInt(l.dt("".concat(a.MIDDLE_DRAWER_DT_PATH,".scopeDisplayLimit.count"),"7"),10)||7,te=_.children||[],re=ie&&!I&&te.length>oe,de=i.useRef(null);i.useEffect(function(){B&&de.current&&de.current.scrollIntoView({behavior:"smooth",block:"nearest"})},[B]);var le=i.useRef(X);i.useEffect(function(){le.current=X},[X]),i.useEffect(function(){y&&re&&!le.current&&(te.slice(oe).some(function(e){return y.nodePath.includes(e.id)})&&J(!0))},[y,re,te,oe]);var ae=function(e,n){if(!n)return!0;var i=n.toLowerCase();return!!e.name.toLowerCase().includes(i)||!!e.children&&e.children.some(function(e){return ae(e,n)})};if(!H&&!ae(_,I||""))return null;var ce=T>=q.length-1?q[q.length-1]:q[T],se=!!(null==ce?void 0:ce.addChildType),ue=K?M.filter(function(e){return"learnings"!==e.id&&"stations"!==e.id}).filter(function(e){return!e.isVisible||e.isVisible(_,T)}).map(function(e){return{label:e.label,icon:e.icon,onClick:function(){return E(Q,e.id)}}}):[],pe=!R||R(_.id),he=!N||N(_.id),ve=!P||P(_.id),fe=_.children&&_.children.length>0,me=!pe||fe,_e=pe?fe?"This scope cannot be deleted because other scopes inherit learnings from it.":void 0:"You do not have permission to delete this scope.",Ce=ve?void 0:"You do not have permission to add a scope here.",Te=!I||_.name.toLowerCase().includes(I.toLowerCase()),ge=re&&!X,De=te.length-oe,be=ge?te.slice(0,oe):te;return n.jsxs("div",e.__assign({ref:de,className:t.default.nodeWrapper,style:{"--tree-depth":T}},{children:[n.jsx(r.TreeNodeHeader,{nodeType:_.type,name:_.name,isExpanded:Y,isSelected:B,isAncestor:G,isExpandable:!!fe,childrenCount:null===(h=_.children)||void 0===h?void 0:h.length,learningsCount:K?null===(v=_.metrics)||void 0===v?void 0:v.learningsCount:void 0,isCompactView:K,onToggleExpand:function(e){e.stopPropagation(),A(_.id)},onClick:function(){E(Q,"learnings")},searchQuery:I,menuOptions:e.__spreadArray(e.__spreadArray(e.__spreadArray([],se?[{label:ce.addChildLabel||"Add Child",icon:o.Plus,onClick:function(){return null==x?void 0:x(_.id,ce.addChildType,_.name)},disabled:!ve,tooltip:Ce}]:[],!0),[{label:"".concat(l.dt("".concat(a.MIDDLE_DRAWER_CONTEXT_MENU_DT_PATH,".rename"),"Rename")),icon:o.Pencil,onClick:function(){return null==L?void 0:L(_.id,_.name)},disabled:!he||"station"===(null===(f=null==_?void 0:_.type)||void 0===f?void 0:f.toLocaleLowerCase()),tooltip:he?void 0:"You do not have permission to rename this scope."},{label:"station"===(null===(m=null==_?void 0:_.type)||void 0===m?void 0:m.toLowerCase())?"Delete Station":F?"Delete Scope":"".concat(l.dt("".concat(a.MIDDLE_DRAWER_CONTEXT_MENU_DT_PATH,".delete"),"Delete ".concat((null==ce?void 0:ce.label)||"Node"),{scope:z})),icon:o.Trash2,onClick:function(){var e;return null==j?void 0:j(_.id,_.name,(null===(e=_.metrics)||void 0===e?void 0:e.learningsCount)||0)},disabled:me,tooltip:_e,className:"text-red-500 hover:text-red-600 hover:bg-red-50"}],!1),ue,!0)}),Y&&n.jsxs("div",e.__assign({className:t.default.childrenWrapper},{children:[!K&&M.filter(function(e){return!e.isVisible||e.isVisible(_,T)}).map(function(e){var i;return n.jsx(s.TreeSectionItem,{icon:e.icon,label:e.label,badgeCount:e.badgeKey?null===(i=_.metrics)||void 0===i?void 0:i[e.badgeKey]:void 0,isActive:B&&(null==y?void 0:y.sectionId)===e.id,onClick:function(){return E(Q,e.id)}},"".concat(_.id,"-").concat(e.id))}),be.map(function(e){return n.jsx(u,{node:e,depth:T+1,nodePath:Q,expandedNodeIds:b,activeSelection:y,onToggleExpand:A,onSectionSelect:E,onNodeOptionsClick:S,onAddChild:x,onRenameChild:L,onDeleteChild:j,canDeleteScope:R,canEditScope:N,canCreateScope:P,searchQuery:I,forceVisible:Te,sectionsConfig:M,nodeTypesConfig:q,compactView:K},e.id)}),re&&n.jsx("button",e.__assign({type:"button",onClick:function(e){e.stopPropagation(),J(function(e){var n=!e;return n&&E(Q,"stations"),n})},className:"".concat(t.default.addAction)},{children:X?n.jsx(n.Fragment,{children:n.jsx("span",{children:"Show less"})}):n.jsx(n.Fragment,{children:n.jsx("span",e.__assign({style:{paddingLeft:"15px"}},{children:l.interpolate(l.dt("".concat(a.MIDDLE_DRAWER_DT_PATH,".scopeDisplayLimit.viewMoreText"),"{count} more..."),{count:De})}))})})),se&&!K&&n.jsx(d.TreeAddAction,{label:ce.addChildLabel||"Add Child",onAdd:function(){return null==x?void 0:x(_.id,ce.addChildType,_.name)},disabled:!ve,tooltip:Ce})]}))]}))};exports.TreeNode=u;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react/jsx-runtime"),i=require("react"),o=require("lucide-react"),t=require("../../styles/ScopeTree.module.css.js"),r=require("./TreeNodeHeader.js"),d=require("./TreeAddAction.js"),l=require("../../store/useLMSConfigStore.js"),a=require("../../constants.js"),s=require("../../store/useLearningTemplateStore.js"),c=require("./TreeSectionItem.js"),u=function(p){var h,v,m,_,f=p.node,C=p.depth,g=void 0===C?0:C,T=p.nodePath,D=void 0===T?[]:T,b=p.expandedNodeIds,y=p.activeSelection,A=p.onToggleExpand,x=p.onSectionSelect,E=p.onNodeOptionsClick,L=p.onAddChild,S=p.onRenameChild,j=p.onDeleteChild,N=p.canDeleteScope,R=p.canEditScope,P=p.canCreateScope,w=p.searchQuery,I=p.sectionsConfig,M=void 0===I?[]:I,k=p.nodeTypesConfig,q=void 0===k?[]:k,V=p.forceVisible,H=void 0!==V&&V,W=p.compactView,O=void 0!==W&&W,Y=e.__spreadArray(e.__spreadArray([],D,!0),[f.id],!1),Q=b.has(f.id),K=s.useLearningTemplateStore.getState().backwardCompatibility,U=K||O,X=l.dt("".concat(a.MIDDLE_DRAWER_DT_PATH,".scope")),F=!!y&&y.nodePath[y.nodePath.length-1]===f.id,J=!!y&&(y.nodePath.includes(f.id)&&!F),z=l.dt("".concat(a.MIDDLE_DRAWER_DT_PATH,".scopeDisplayLimit.applyToLevels"),""),B=function(){if(!z)return null;try{var e=JSON.parse(z);return Array.isArray(e)?e.map(Number):null}catch(e){return null}}(),G=g+1,Z=K||null===B||B.includes(G),$=!!K||"true"===l.dt("".concat(a.MIDDLE_DRAWER_DT_PATH,".scopeDisplayLimit.enabled"),"false")&&Z,ee=K?7:parseInt(l.dt("".concat(a.MIDDLE_DRAWER_DT_PATH,".scopeDisplayLimit.count"),"7"),10)||7,ne=f.children||[],ie=$&&!w&&ne.length>ee,oe=i.useRef(null);i.useEffect(function(){F&&oe.current&&oe.current.scrollIntoView({behavior:"smooth",block:"nearest"})},[F]);var te=function(e,n){if(!n)return!0;var i=n.toLowerCase();return!!e.name.toLowerCase().includes(i)||!!e.children&&e.children.some(function(e){return te(e,n)})};if(!H&&!te(f,w||""))return null;var re=g>=q.length-1?q[q.length-1]:q[g],de=!!(null==re?void 0:re.addChildType),le=U?M.filter(function(e){return"learnings"!==e.id&&"stations"!==e.id}).filter(function(e){return!e.isVisible||e.isVisible(f,g)}).map(function(e){return{label:e.label,icon:e.icon,onClick:function(){return x(Y,e.id)}}}):[],ae=!N||N(f.id),se=!R||R(f.id),ce=!P||P(f.id),ue=f.children&&f.children.length>0,pe=!ae||ue,he=ae?ue?"This scope cannot be deleted because other scopes inherit learnings from it.":void 0:"You do not have permission to delete this scope.",ve=ce?void 0:"You do not have permission to add a scope here.",me=!w||f.name.toLowerCase().includes(w.toLowerCase()),_e=function(e){return n.jsx(u,{node:e,depth:g+1,nodePath:Y,expandedNodeIds:b,activeSelection:y,onToggleExpand:A,onSectionSelect:x,onNodeOptionsClick:E,onAddChild:L,onRenameChild:S,onDeleteChild:j,canDeleteScope:N,canEditScope:R,canCreateScope:P,searchQuery:w,forceVisible:me,sectionsConfig:M,nodeTypesConfig:q,compactView:U},e.id)};return n.jsxs("div",e.__assign({ref:oe,className:t.default.nodeWrapper,style:{"--tree-depth":g}},{children:[n.jsx(r.TreeNodeHeader,{nodeType:f.type,name:f.name,isExpanded:Q,isSelected:F,isAncestor:J,isExpandable:!!ue,childrenCount:null===(h=f.children)||void 0===h?void 0:h.length,learningsCount:U?null===(v=f.metrics)||void 0===v?void 0:v.learningsCount:void 0,isCompactView:U,onToggleExpand:function(e){e.stopPropagation(),A(f.id)},onClick:function(){x(Y,"learnings")},searchQuery:w,menuOptions:e.__spreadArray(e.__spreadArray(e.__spreadArray([],de?[{label:re.addChildLabel||"Add Child",icon:o.Plus,onClick:function(){return null==L?void 0:L(f.id,re.addChildType,f.name)},disabled:!ce,tooltip:ve}]:[],!0),[{label:"".concat(l.dt("".concat(a.MIDDLE_DRAWER_CONTEXT_MENU_DT_PATH,".rename"),"Rename")),icon:o.Pencil,onClick:function(){return null==S?void 0:S(f.id,f.name)},disabled:!se||"station"===(null===(m=null==f?void 0:f.type)||void 0===m?void 0:m.toLocaleLowerCase()),tooltip:se?void 0:"You do not have permission to rename this scope."},{label:"station"===(null===(_=null==f?void 0:f.type)||void 0===_?void 0:_.toLowerCase())?"Delete Station":K?"Delete Scope":"".concat(l.dt("".concat(a.MIDDLE_DRAWER_CONTEXT_MENU_DT_PATH,".delete"),"Delete ".concat((null==re?void 0:re.label)||"Node"),{scope:X})),icon:o.Trash2,onClick:function(){var e;return null==j?void 0:j(f.id,f.name,(null===(e=f.metrics)||void 0===e?void 0:e.learningsCount)||0)},disabled:pe,tooltip:he,className:"text-red-500 hover:text-red-600 hover:bg-red-50"}],!1),le,!0)}),Q&&n.jsxs("div",e.__assign({className:t.default.childrenWrapper},{children:[!U&&M.filter(function(e){return!e.isVisible||e.isVisible(f,g)}).map(function(e){var i;return n.jsx(c.TreeSectionItem,{icon:e.icon,label:e.label,badgeCount:e.badgeKey?null===(i=f.metrics)||void 0===i?void 0:i[e.badgeKey]:void 0,isActive:F&&(null==y?void 0:y.sectionId)===e.id,onClick:function(){return x(Y,e.id)}},"".concat(f.id,"-").concat(e.id))}),ie?n.jsxs(n.Fragment,{children:[n.jsx("div",e.__assign({className:t.default.scopeScrollContainer,style:{maxHeight:"calc(var(--scope-row-height, 40px) * ".concat(ee,")"),overflowY:"scroll"}},{children:ne.map(_e)})),n.jsx("button",e.__assign({type:"button",className:t.default.addAction,onClick:function(e){e.stopPropagation(),x(Y,"stations")}},{children:n.jsx("span",e.__assign({style:{paddingLeft:"15px"}},{children:l.interpolate(l.dt("".concat(a.MIDDLE_DRAWER_DT_PATH,".scopeDisplayLimit.viewMoreText"),"View all stations"),{count:ne.length})}))}))]}):ne.map(_e),de&&!U&&n.jsx(d.TreeAddAction,{label:re.addChildLabel||"Add Child",onAdd:function(){return null==L?void 0:L(f.id,re.addChildType,f.name)},disabled:!ce,tooltip:ve})]}))]}))};exports.TreeNode=u;
2
2
  //# sourceMappingURL=TreeNode.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});require("../../../node_modules/style-inject/dist/style-inject.es.js").default(".ScopeTree-module_treeContainer__IfdEO{display:flex;flex:1;flex-direction:column;gap:.5rem;height:100%;overflow:auto;padding:0 1.25rem 80px}.ScopeTree-module_treeContainer__IfdEO::-webkit-scrollbar{height:4px;width:4px}.ScopeTree-module_treeContainer__IfdEO::-webkit-scrollbar-thumb{background-color:#e5e7eb;border-radius:9999px}.ScopeTree-module_nodeWrapper__zt96G{display:flex;flex-direction:column;min-width:max-content;position:relative}.ScopeTree-module_childrenWrapper__uggxw{border-left:1px solid #e3e6ea;display:flex;flex-direction:column;gap:.5rem;margin-left:calc(var(--tree-depth, 0)*0px + .875rem);margin-top:.5rem;min-width:max-content;padding-left:1rem}.ScopeTree-module_nodeHeader__qxJAp{align-items:center;border:1px solid #0000;border-radius:.375rem;color:#19213d;cursor:pointer;display:flex;gap:.5rem;min-width:max-content;padding:.5rem;transition:all .2s}.ScopeTree-module_nodeHeader__qxJAp:hover{background-color:#f7f8fa}.ScopeTree-module_nodeHeaderSelected__UTNOH{border-color:#2563eb;color:#2563eb}.ScopeTree-module_nodeHeaderAncestor__Cjnkv{color:#2563eb}.ScopeTree-module_chevron__bmchk{align-items:center;border-radius:50px;color:#9ca3af;display:flex;flex-shrink:0;justify-content:center;padding:5px;transition:transform .2s;transition:background-color .3s ease-in-out}.ScopeTree-module_chevron__bmchk:hover{background:#e8ebf0}.ScopeTree-module_chevronExpanded__aZNQo{transform:rotate(180deg)}.ScopeTree-module_chevronHidden__dfrws{visibility:hidden;width:16px}.ScopeTree-module_folderIcon__93n7V{align-items:center;color:inherit;display:flex;flex-shrink:0;justify-content:center}.ScopeTree-module_nodeName__-o5cw{flex:1;font-size:.875rem;font-weight:500;white-space:nowrap}.ScopeTree-module_optionsButton__KD0N8{align-items:center;background:#0000;border:none;border-radius:.25rem;color:#64748b;cursor:pointer;display:flex;justify-content:center;padding:.25rem;transition:all .2s}.ScopeTree-module_optionsButton__KD0N8:hover{background-color:#e2e8f0;color:#19213d}.ScopeTree-module_pill__LfoFO{align-items:center;border:1px solid #0000;border-radius:.5rem;color:#64748b;cursor:pointer;display:flex;gap:.5rem;padding:.5rem 1rem;transition:all .2s}.ScopeTree-module_pill__LfoFO:hover{background-color:#f7f8fa;color:#19213d}.ScopeTree-module_pillActive__hV98M{background-color:#f0f5ff;border-color:#2563eb;color:#2563eb}.ScopeTree-module_pillActive__hV98M:hover{background-color:#e0ebff;color:#2563eb}.ScopeTree-module_pillIcon__qOzv0{align-items:center;display:flex;justify-content:center}.ScopeTree-module_pillLabel__-pnNE{flex:1;font-size:.875rem;font-weight:500}.ScopeTree-module_badge__0M-VE{align-items:center;background-color:#f1f5f9;border-radius:9999px;color:#475569;display:inline-flex;font-size:.625rem;font-weight:600;height:1.25rem;justify-content:center;min-width:1.25rem;padding:0 .375rem}.ScopeTree-module_badgeActive__lFpKZ{background-color:#2563eb;color:#fff}.ScopeTree-module_addAction__alNAW{align-items:center;background:#0000;border:none;border-radius:.375rem;color:#2563eb;cursor:pointer;display:flex;font-size:.875rem;font-weight:500;gap:.5rem;margin-top:.25rem;padding:.5rem;transition:all .2s;width:fit-content}.ScopeTree-module_addAction__alNAW:hover{background-color:#f0f5ff}.ScopeTree-module_addIcon__Rx81g{align-items:center;display:flex;justify-content:center}.ScopeTree-module_menuContainer__IyejG{display:inline-block;position:relative;text-align:left}.ScopeTree-module_menuDropdown__12xxX{background-color:#fff;border:1px solid #0000000d;border-radius:.375rem;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;display:flex;flex-direction:column;outline:none;padding:.25rem 0;position:absolute;width:12rem;z-index:9999}.ScopeTree-module_menuDropdownTop__hkZpa{bottom:100%;margin-bottom:.25rem;right:0}.ScopeTree-module_menuDropdownBottom__w53jm{margin-top:.25rem;right:0;top:100%}.ScopeTree-module_menuOption__wcvl7{align-items:center;background:#0000;border:none;color:#374151;cursor:pointer;display:flex;font-size:.875rem;padding:.5rem 1rem;text-align:left;width:100%}.ScopeTree-module_menuOption__wcvl7:not(:disabled):hover{background-color:#f3f4f6;color:#111827}.ScopeTree-module_menuOptionDisabled__1FaQQ{color:#9ca3af;cursor:not-allowed;opacity:.6}.ScopeTree-module_menuOptionIcon__s2FWC{flex-shrink:0;margin-right:.75rem}.ScopeTree-module_tooltipWrapper__Jhz1M{position:relative;width:100%}.ScopeTree-module_tooltipContent__J02zm{animation:ScopeTree-module_tooltipFadeIn__of1bQ .15s ease-out;background-color:#2a3547;border-radius:.375rem;box-shadow:0 10px 15px -3px #0000001a;color:#fff;font-family:sans-serif;font-size:.875rem;max-width:280px;padding:.5rem .75rem;position:relative;z-index:9999}.ScopeTree-module_tooltipArrow__m9eHn{fill:#2a3547;position:absolute}@keyframes ScopeTree-module_tooltipFadeIn__of1bQ{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.ScopeTree-module_highlightText__mHYra{background-color:#fde047;border-radius:.125rem;color:#111827}"),exports.default={treeContainer:"ScopeTree-module_treeContainer__IfdEO",nodeWrapper:"ScopeTree-module_nodeWrapper__zt96G",childrenWrapper:"ScopeTree-module_childrenWrapper__uggxw",nodeHeader:"ScopeTree-module_nodeHeader__qxJAp",nodeHeaderSelected:"ScopeTree-module_nodeHeaderSelected__UTNOH",nodeHeaderAncestor:"ScopeTree-module_nodeHeaderAncestor__Cjnkv",chevron:"ScopeTree-module_chevron__bmchk",chevronExpanded:"ScopeTree-module_chevronExpanded__aZNQo",chevronHidden:"ScopeTree-module_chevronHidden__dfrws",folderIcon:"ScopeTree-module_folderIcon__93n7V",nodeName:"ScopeTree-module_nodeName__-o5cw",optionsButton:"ScopeTree-module_optionsButton__KD0N8",pill:"ScopeTree-module_pill__LfoFO",pillActive:"ScopeTree-module_pillActive__hV98M",pillIcon:"ScopeTree-module_pillIcon__qOzv0",pillLabel:"ScopeTree-module_pillLabel__-pnNE",badge:"ScopeTree-module_badge__0M-VE",badgeActive:"ScopeTree-module_badgeActive__lFpKZ",addAction:"ScopeTree-module_addAction__alNAW",addIcon:"ScopeTree-module_addIcon__Rx81g",menuContainer:"ScopeTree-module_menuContainer__IyejG",menuDropdown:"ScopeTree-module_menuDropdown__12xxX",menuDropdownTop:"ScopeTree-module_menuDropdownTop__hkZpa",menuDropdownBottom:"ScopeTree-module_menuDropdownBottom__w53jm",menuOption:"ScopeTree-module_menuOption__wcvl7",menuOptionDisabled:"ScopeTree-module_menuOptionDisabled__1FaQQ",menuOptionIcon:"ScopeTree-module_menuOptionIcon__s2FWC",tooltipWrapper:"ScopeTree-module_tooltipWrapper__Jhz1M",tooltipContent:"ScopeTree-module_tooltipContent__J02zm",tooltipFadeIn:"ScopeTree-module_tooltipFadeIn__of1bQ",tooltipArrow:"ScopeTree-module_tooltipArrow__m9eHn",highlightText:"ScopeTree-module_highlightText__mHYra"};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});require("../../../node_modules/style-inject/dist/style-inject.es.js").default(".ScopeTree-module_treeContainer__IfdEO{display:flex;flex:1;flex-direction:column;gap:.5rem;height:100%;overflow:auto;padding:0 1.25rem 80px}.ScopeTree-module_nodeWrapper__zt96G{display:flex;flex-direction:column;min-width:max-content;position:relative}.ScopeTree-module_childrenWrapper__uggxw{border-left:1px solid #e3e6ea;display:flex;flex-direction:column;gap:.5rem;margin-left:calc(var(--tree-depth, 0)*0px + .875rem);margin-top:.5rem;min-width:max-content;padding-left:1rem}.ScopeTree-module_nodeHeader__qxJAp{align-items:center;border:1px solid #0000;border-radius:.375rem;color:#19213d;cursor:pointer;display:flex;gap:.5rem;min-width:max-content;padding:.5rem;transition:all .2s}.ScopeTree-module_nodeHeader__qxJAp:hover{background-color:#f7f8fa}.ScopeTree-module_nodeHeaderSelected__UTNOH{border-color:#2563eb;color:#2563eb}.ScopeTree-module_nodeHeaderAncestor__Cjnkv{color:#2563eb}.ScopeTree-module_chevron__bmchk{align-items:center;border-radius:50px;color:#9ca3af;display:flex;flex-shrink:0;justify-content:center;padding:5px;transition:transform .2s;transition:background-color .3s ease-in-out}.ScopeTree-module_chevron__bmchk:hover{background:#e8ebf0}.ScopeTree-module_chevronExpanded__aZNQo{transform:rotate(180deg)}.ScopeTree-module_chevronHidden__dfrws{visibility:hidden;width:16px}.ScopeTree-module_folderIcon__93n7V{align-items:center;color:inherit;display:flex;flex-shrink:0;justify-content:center}.ScopeTree-module_nodeName__-o5cw{flex:1;font-size:.875rem;font-weight:500;white-space:nowrap}.ScopeTree-module_optionsButton__KD0N8{align-items:center;background:#0000;border:none;border-radius:.25rem;color:#64748b;cursor:pointer;display:flex;justify-content:center;padding:.25rem;transition:all .2s}.ScopeTree-module_optionsButton__KD0N8:hover{background-color:#e2e8f0;color:#19213d}.ScopeTree-module_pill__LfoFO{align-items:center;border:1px solid #0000;border-radius:.5rem;color:#64748b;cursor:pointer;display:flex;gap:.5rem;padding:.5rem 1rem;transition:all .2s}.ScopeTree-module_pill__LfoFO:hover{background-color:#f7f8fa;color:#19213d}.ScopeTree-module_pillActive__hV98M{background-color:#f0f5ff;border-color:#2563eb;color:#2563eb}.ScopeTree-module_pillActive__hV98M:hover{background-color:#e0ebff;color:#2563eb}.ScopeTree-module_pillIcon__qOzv0{align-items:center;display:flex;justify-content:center}.ScopeTree-module_pillLabel__-pnNE{flex:1;font-size:.875rem;font-weight:500}.ScopeTree-module_badge__0M-VE{align-items:center;background-color:#f1f5f9;border-radius:9999px;color:#475569;display:inline-flex;font-size:.625rem;font-weight:600;height:1.25rem;justify-content:center;min-width:1.25rem;padding:0 .375rem}.ScopeTree-module_badgeActive__lFpKZ{background-color:#2563eb;color:#fff}.ScopeTree-module_addAction__alNAW{align-items:center;background:#0000;border:none;border-radius:.375rem;color:#2563eb;cursor:pointer;display:flex;font-size:.875rem;font-weight:500;gap:.5rem;margin-top:.25rem;padding:.5rem;transition:all .2s;width:fit-content}.ScopeTree-module_addAction__alNAW:hover{background-color:#f0f5ff}.ScopeTree-module_addIcon__Rx81g{align-items:center;display:flex;justify-content:center}.ScopeTree-module_menuContainer__IyejG{display:inline-block;position:relative;text-align:left}.ScopeTree-module_menuDropdown__12xxX{background-color:#fff;border:1px solid #0000000d;border-radius:.375rem;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;display:flex;flex-direction:column;outline:none;padding:.25rem 0;position:absolute;width:12rem;z-index:9999}.ScopeTree-module_menuDropdownTop__hkZpa{bottom:100%;margin-bottom:.25rem;right:0}.ScopeTree-module_menuDropdownBottom__w53jm{margin-top:.25rem;right:0;top:100%}.ScopeTree-module_menuOption__wcvl7{align-items:center;background:#0000;border:none;color:#374151;cursor:pointer;display:flex;font-size:.875rem;padding:.5rem 1rem;text-align:left;width:100%}.ScopeTree-module_menuOption__wcvl7:not(:disabled):hover{background-color:#f3f4f6;color:#111827}.ScopeTree-module_menuOptionDisabled__1FaQQ{color:#9ca3af;cursor:not-allowed;opacity:.6}.ScopeTree-module_menuOptionIcon__s2FWC{flex-shrink:0;margin-right:.75rem}.ScopeTree-module_tooltipWrapper__Jhz1M{position:relative;width:100%}.ScopeTree-module_tooltipContent__J02zm{animation:ScopeTree-module_tooltipFadeIn__of1bQ .15s ease-out;background-color:#2a3547;border-radius:.375rem;box-shadow:0 10px 15px -3px #0000001a;color:#fff;font-family:sans-serif;font-size:.875rem;max-width:280px;padding:.5rem .75rem;position:relative;z-index:9999}.ScopeTree-module_tooltipArrow__m9eHn{fill:#2a3547;position:absolute}@keyframes ScopeTree-module_tooltipFadeIn__of1bQ{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.ScopeTree-module_highlightText__mHYra{background-color:#fde047;border-radius:.125rem;color:#111827}.ScopeTree-module_scopeScrollContainer__ikLzG::-webkit-scrollbar{width:8px}.ScopeTree-module_scopeScrollContainer__ikLzG::-webkit-scrollbar-track{background:#0000}.ScopeTree-module_scopeScrollContainer__ikLzG::-webkit-scrollbar-thumb{background-clip:content-box;background-color:#c7c7cc;border:2px solid #0000;border-radius:4px}.ScopeTree-module_scopeScrollContainer__ikLzG::-webkit-scrollbar-thumb:hover{background-color:#a8a8ad}"),exports.default={treeContainer:"ScopeTree-module_treeContainer__IfdEO",nodeWrapper:"ScopeTree-module_nodeWrapper__zt96G",childrenWrapper:"ScopeTree-module_childrenWrapper__uggxw",nodeHeader:"ScopeTree-module_nodeHeader__qxJAp",nodeHeaderSelected:"ScopeTree-module_nodeHeaderSelected__UTNOH",nodeHeaderAncestor:"ScopeTree-module_nodeHeaderAncestor__Cjnkv",chevron:"ScopeTree-module_chevron__bmchk",chevronExpanded:"ScopeTree-module_chevronExpanded__aZNQo",chevronHidden:"ScopeTree-module_chevronHidden__dfrws",folderIcon:"ScopeTree-module_folderIcon__93n7V",nodeName:"ScopeTree-module_nodeName__-o5cw",optionsButton:"ScopeTree-module_optionsButton__KD0N8",pill:"ScopeTree-module_pill__LfoFO",pillActive:"ScopeTree-module_pillActive__hV98M",pillIcon:"ScopeTree-module_pillIcon__qOzv0",pillLabel:"ScopeTree-module_pillLabel__-pnNE",badge:"ScopeTree-module_badge__0M-VE",badgeActive:"ScopeTree-module_badgeActive__lFpKZ",addAction:"ScopeTree-module_addAction__alNAW",addIcon:"ScopeTree-module_addIcon__Rx81g",menuContainer:"ScopeTree-module_menuContainer__IyejG",menuDropdown:"ScopeTree-module_menuDropdown__12xxX",menuDropdownTop:"ScopeTree-module_menuDropdownTop__hkZpa",menuDropdownBottom:"ScopeTree-module_menuDropdownBottom__w53jm",menuOption:"ScopeTree-module_menuOption__wcvl7",menuOptionDisabled:"ScopeTree-module_menuOptionDisabled__1FaQQ",menuOptionIcon:"ScopeTree-module_menuOptionIcon__s2FWC",tooltipWrapper:"ScopeTree-module_tooltipWrapper__Jhz1M",tooltipContent:"ScopeTree-module_tooltipContent__J02zm",tooltipFadeIn:"ScopeTree-module_tooltipFadeIn__of1bQ",tooltipArrow:"ScopeTree-module_tooltipArrow__m9eHn",highlightText:"ScopeTree-module_highlightText__mHYra",scopeScrollContainer:"ScopeTree-module_scopeScrollContainer__ikLzG"};
2
2
  //# sourceMappingURL=ScopeTree.module.css.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});require("../../../node_modules/style-inject/dist/style-inject.es.js").default(".Sidebar-module_sidebar__BhVQw{background-color:#fff;border-right:1px solid #e3e6ea;display:flex;flex-direction:column;height:calc(100vh - 140px);overflow:hidden;padding-top:1.25rem;position:relative;width:340px;width:fit-content}.Sidebar-module_tabsContainer__n542w{margin-bottom:1.25rem;padding:0 1.25rem}.Sidebar-module_tabsWrapper__z6rAx{background-color:#f3f4f6cc;border-radius:.5rem;display:grid;gap:.25rem;grid-template-columns:1fr 1fr;padding:.25rem}.Sidebar-module_tab__79tnm{align-items:center;background:#0000;border:none;border-radius:.375rem;color:#64748b;cursor:pointer;display:flex;font-size:.875rem;font-weight:600;gap:.5rem;justify-content:center;padding:.5rem .75rem;transition:all .2s}.Sidebar-module_tab__79tnm:hover{color:#2563eb}.Sidebar-module_tabActive__amUJ5{background-color:#fff;box-shadow:0 1px 2px 0 #0000000d;color:#2563eb;font-weight:700}.Sidebar-module_searchContainer__KMtRV{margin-bottom:1rem;padding:0 1.25rem}.Sidebar-module_searchWrapper__4ejma{display:flex;gap:.5rem}.Sidebar-module_searchInputWrapper__VI9Qk{align-items:center;display:flex;flex:1;position:relative;width:100%}.Sidebar-module_searchIcon__iyv9p{color:#9ca3af;left:.75rem;position:absolute;top:50%;transform:translateY(-50%)}.Sidebar-module_searchInput__oVmKU{background-color:#fff;border:1px solid #f0f2f5;border-radius:.5rem;box-shadow:0 1px 2px 0 #0000000d;font-size:.875rem;outline:none;padding:.5rem 1rem .5rem 2.25rem;transition:all .2s;width:100%}.Sidebar-module_searchInput__oVmKU:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb33}.Sidebar-module_searchInput__oVmKU::placeholder{color:#9ca3af}.Sidebar-module_searchRightContainer__JZf8q{align-items:center;display:flex;gap:.5rem;position:absolute;right:1rem;top:50%;transform:translateY(-50%)}.Sidebar-module_searchCountBadge__JdOCA{background-color:#fde047;border-radius:.25rem;color:#374151;font-size:.75rem;font-weight:500;padding:.125rem .375rem}.Sidebar-module_searchClearButton__TCsGU{align-items:center;background:#0000;border:none;color:#9ca3af;cursor:pointer;display:flex;margin:0;outline:none;padding:0;transition:color .2s ease}.Sidebar-module_searchClearButton__TCsGU:hover{color:#4b5563}.Sidebar-module_filterButton__OA1Bn{background-color:#f7f8fa;border:1px solid #f0f2f5;border-radius:.5rem;cursor:pointer;padding:.5rem;transition:background-color .2s,border-color .2s}.Sidebar-module_filterButton__OA1Bn:hover{background-color:#f0f2f5}.Sidebar-module_filterButton__OA1Bn svg{color:#19213d}.Sidebar-module_divider__EIZV1{background-color:#f0f2f5;height:1.5px;margin:0 1.25rem 1rem;width:100%}.Sidebar-module_content__iG2Ya{flex:1;overflow-y:auto;padding:0 1.25rem}.Sidebar-module_content__iG2Ya::-webkit-scrollbar{width:4px}.Sidebar-module_content__iG2Ya::-webkit-scrollbar-thumb{background-color:#e5e7eb;border-radius:9999px}.Sidebar-module_section__ChTDq{margin-bottom:1.5rem}.Sidebar-module_sectionTitle__EC2Bt{color:#19213d;font-size:.875rem;font-weight:600;margin-bottom:.75rem}.Sidebar-module_sectionList__TErRr{display:flex;flex-direction:column;gap:.75rem}.Sidebar-module_createButtonContainer__EECqj{background-color:#fff;border-top:1px solid #e5e7eb;bottom:0;box-shadow:0 -4px 20px #0000000d;left:0;padding:1rem;position:absolute;width:100%;z-index:50}.Sidebar-module_createButton__wE7-a{align-items:center;background-color:#f7f8fa;border:1px solid #f0f2f5;border-radius:.5rem;color:#19213d;cursor:pointer;display:flex;font-size:.75rem;font-weight:500;gap:.5rem;justify-content:center;padding:.75rem;transition:all .2s;width:100%}.Sidebar-module_createButton__wE7-a:hover{background-color:#f3f4f6;box-shadow:0 1px 2px 0 #0000000d}.Sidebar-module_createButton__wE7-a:active{transform:scale(.99)}.Sidebar-module_emptyContent__TV90P{align-items:center;color:#9ca3af;display:flex;flex-direction:column;font-size:.875rem;height:10rem;justify-content:center}"),exports.default={sidebar:"Sidebar-module_sidebar__BhVQw",tabsContainer:"Sidebar-module_tabsContainer__n542w",tabsWrapper:"Sidebar-module_tabsWrapper__z6rAx",tab:"Sidebar-module_tab__79tnm",tabActive:"Sidebar-module_tabActive__amUJ5",searchContainer:"Sidebar-module_searchContainer__KMtRV",searchWrapper:"Sidebar-module_searchWrapper__4ejma",searchInputWrapper:"Sidebar-module_searchInputWrapper__VI9Qk",searchIcon:"Sidebar-module_searchIcon__iyv9p",searchInput:"Sidebar-module_searchInput__oVmKU",searchRightContainer:"Sidebar-module_searchRightContainer__JZf8q",searchCountBadge:"Sidebar-module_searchCountBadge__JdOCA",searchClearButton:"Sidebar-module_searchClearButton__TCsGU",filterButton:"Sidebar-module_filterButton__OA1Bn",divider:"Sidebar-module_divider__EIZV1",content:"Sidebar-module_content__iG2Ya",section:"Sidebar-module_section__ChTDq",sectionTitle:"Sidebar-module_sectionTitle__EC2Bt",sectionList:"Sidebar-module_sectionList__TErRr",createButtonContainer:"Sidebar-module_createButtonContainer__EECqj",createButton:"Sidebar-module_createButton__wE7-a",emptyContent:"Sidebar-module_emptyContent__TV90P"};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});require("../../../node_modules/style-inject/dist/style-inject.es.js").default(".Sidebar-module_sidebar__BhVQw{background-color:#fff;border-right:1px solid #e3e6ea;display:flex;flex-direction:column;height:calc(100vh - 140px);overflow:hidden;padding-top:1.25rem;position:relative;width:340px;width:fit-content}.Sidebar-module_tabsContainer__n542w{margin-bottom:1.25rem;padding:0 1.25rem}.Sidebar-module_tabsWrapper__z6rAx{background-color:#f3f4f6cc;border-radius:.5rem;display:grid;gap:.25rem;grid-template-columns:1fr 1fr;padding:.25rem}.Sidebar-module_tab__79tnm{align-items:center;background:#0000;border:none;border-radius:.375rem;color:#64748b;cursor:pointer;display:flex;font-size:.875rem;font-weight:600;gap:.5rem;justify-content:center;padding:.5rem .75rem;transition:all .2s}.Sidebar-module_tab__79tnm:hover{color:#2563eb}.Sidebar-module_tabActive__amUJ5{background-color:#fff;box-shadow:0 1px 2px 0 #0000000d;color:#2563eb;font-weight:700}.Sidebar-module_searchContainer__KMtRV{margin-bottom:1rem;padding:0 1.25rem}.Sidebar-module_searchWrapper__4ejma{display:flex;gap:.5rem}.Sidebar-module_searchInputWrapper__VI9Qk{align-items:center;display:flex;flex:1;position:relative;width:100%}.Sidebar-module_searchIcon__iyv9p{color:#9ca3af;left:.75rem;position:absolute;top:50%;transform:translateY(-50%)}.Sidebar-module_searchInput__oVmKU{background-color:#fff;border:1px solid #f0f2f5;border-radius:.5rem;box-shadow:0 1px 2px 0 #0000000d;font-size:.875rem;outline:none;padding:.5rem 1rem .5rem 2.25rem;transition:all .2s;width:100%}.Sidebar-module_searchInput__oVmKU:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb33}.Sidebar-module_searchInput__oVmKU::placeholder{color:#9ca3af}.Sidebar-module_searchRightContainer__JZf8q{align-items:center;display:flex;gap:.5rem;position:absolute;right:1rem;top:50%;transform:translateY(-50%)}.Sidebar-module_searchCountBadge__JdOCA{background-color:#fde047;border-radius:.25rem;color:#374151;font-size:.75rem;font-weight:500;padding:.125rem .375rem}.Sidebar-module_searchClearButton__TCsGU{align-items:center;background:#0000;border:none;color:#9ca3af;cursor:pointer;display:flex;margin:0;outline:none;padding:0;transition:color .2s ease}.Sidebar-module_searchClearButton__TCsGU:hover{color:#4b5563}.Sidebar-module_filterButton__OA1Bn{background-color:#f7f8fa;border:1px solid #f0f2f5;border-radius:.5rem;cursor:pointer;padding:.5rem;transition:background-color .2s,border-color .2s}.Sidebar-module_filterButton__OA1Bn:hover{background-color:#f0f2f5}.Sidebar-module_filterButton__OA1Bn svg{color:#19213d}.Sidebar-module_divider__EIZV1{background-color:#f0f2f5;height:1.5px;margin:0 1.25rem 1rem;width:100%}.Sidebar-module_content__iG2Ya{flex:1;overflow-y:auto;padding:0 1.25rem}.Sidebar-module_section__ChTDq{margin-bottom:1.5rem}.Sidebar-module_sectionTitle__EC2Bt{color:#19213d;font-size:.875rem;font-weight:600;margin-bottom:.75rem}.Sidebar-module_sectionList__TErRr{display:flex;flex-direction:column;gap:.75rem}.Sidebar-module_createButtonContainer__EECqj{background-color:#fff;border-top:1px solid #e5e7eb;bottom:0;box-shadow:0 -4px 20px #0000000d;left:0;padding:1rem;position:absolute;width:100%;z-index:50}.Sidebar-module_createButton__wE7-a{align-items:center;background-color:#f7f8fa;border:1px solid #f0f2f5;border-radius:.5rem;color:#19213d;cursor:pointer;display:flex;font-size:.75rem;font-weight:500;gap:.5rem;justify-content:center;padding:.75rem;transition:all .2s;width:100%}.Sidebar-module_createButton__wE7-a:hover{background-color:#f3f4f6;box-shadow:0 1px 2px 0 #0000000d}.Sidebar-module_createButton__wE7-a:active{transform:scale(.99)}.Sidebar-module_emptyContent__TV90P{align-items:center;color:#9ca3af;display:flex;flex-direction:column;font-size:.875rem;height:10rem;justify-content:center}"),exports.default={sidebar:"Sidebar-module_sidebar__BhVQw",tabsContainer:"Sidebar-module_tabsContainer__n542w",tabsWrapper:"Sidebar-module_tabsWrapper__z6rAx",tab:"Sidebar-module_tab__79tnm",tabActive:"Sidebar-module_tabActive__amUJ5",searchContainer:"Sidebar-module_searchContainer__KMtRV",searchWrapper:"Sidebar-module_searchWrapper__4ejma",searchInputWrapper:"Sidebar-module_searchInputWrapper__VI9Qk",searchIcon:"Sidebar-module_searchIcon__iyv9p",searchInput:"Sidebar-module_searchInput__oVmKU",searchRightContainer:"Sidebar-module_searchRightContainer__JZf8q",searchCountBadge:"Sidebar-module_searchCountBadge__JdOCA",searchClearButton:"Sidebar-module_searchClearButton__TCsGU",filterButton:"Sidebar-module_filterButton__OA1Bn",divider:"Sidebar-module_divider__EIZV1",content:"Sidebar-module_content__iG2Ya",section:"Sidebar-module_section__ChTDq",sectionTitle:"Sidebar-module_sectionTitle__EC2Bt",sectionList:"Sidebar-module_sectionList__TErRr",createButtonContainer:"Sidebar-module_createButtonContainer__EECqj",createButton:"Sidebar-module_createButton__wE7-a",emptyContent:"Sidebar-module_emptyContent__TV90P"};
2
2
  //# sourceMappingURL=Sidebar.module.css.js.map
@@ -1,2 +1,2 @@
1
- import{__spreadArray as e,__assign as n}from"tslib";import{jsxs as o,jsx as i,Fragment as t}from"react/jsx-runtime";import{useState as l,useRef as r,useEffect as d}from"react";import{Plus as c,Pencil as a,Trash2 as s}from"lucide-react";import u from"../../styles/ScopeTree.module.css.js";import{TreeNodeHeader as p}from"./TreeNodeHeader.js";import{TreeAddAction as m}from"./TreeAddAction.js";import{dt as h,interpolate as v}from"../../store/useLMSConfigStore.js";import{MIDDLE_DRAWER_DT_PATH as f,MIDDLE_DRAWER_CONTEXT_MENU_DT_PATH as C}from"../../constants.js";import{useLearningTemplateStore as b}from"../../store/useLearningTemplateStore.js";import{TreeSectionItem as g}from"./TreeSectionItem.js";var y=function(S){var L,T,w,x,A=S.node,N=S.depth,k=void 0===N?0:N,D=S.nodePath,V=void 0===D?[]:D,j=S.expandedNodeIds,P=S.activeSelection,E=S.onToggleExpand,I=S.onSectionSelect,O=S.onNodeOptionsClick,Q=S.onAddChild,R=S.onRenameChild,Y=S.onDeleteChild,K=S.canDeleteScope,M=S.canEditScope,W=S.canCreateScope,H=S.searchQuery,J=S.sectionsConfig,q=void 0===J?[]:J,z=S.nodeTypesConfig,B=void 0===z?[]:z,F=S.forceVisible,G=void 0!==F&&F,U=S.compactView,X=void 0!==U&&U,Z=e(e([],V,!0),[A.id],!1),$=j.has(A.id),_=b.getState().backwardCompatibility,ee=_||X,ne=l(!1),oe=ne[0],ie=ne[1],te=h("".concat(f,".scope")),le=!!P&&P.nodePath[P.nodePath.length-1]===A.id,re=!!P&&(P.nodePath.includes(A.id)&&!le),de=h("".concat(f,".scopeDisplayLimit.applyToLevels"),""),ce=function(){if(!de)return null;try{var e=JSON.parse(de);return Array.isArray(e)?e.map(Number):null}catch(e){return null}}(),ae=k+1,se=_||null===ce||ce.includes(ae),ue=!!_||"true"===h("".concat(f,".scopeDisplayLimit.enabled"),"false")&&se,pe=_?7:parseInt(h("".concat(f,".scopeDisplayLimit.count"),"7"),10)||7,me=A.children||[],he=ue&&!H&&me.length>pe,ve=r(null);d(function(){le&&ve.current&&ve.current.scrollIntoView({behavior:"smooth",block:"nearest"})},[le]);var fe=r(oe);d(function(){fe.current=oe},[oe]),d(function(){P&&he&&!fe.current&&(me.slice(pe).some(function(e){return P.nodePath.includes(e.id)})&&ie(!0))},[P,he,me,pe]);var Ce=function(e,n){if(!n)return!0;var o=n.toLowerCase();return!!e.name.toLowerCase().includes(o)||!!e.children&&e.children.some(function(e){return Ce(e,n)})};if(!G&&!Ce(A,H||""))return null;var be=k>=B.length-1?B[B.length-1]:B[k],ge=!!(null==be?void 0:be.addChildType),ye=ee?q.filter(function(e){return"learnings"!==e.id&&"stations"!==e.id}).filter(function(e){return!e.isVisible||e.isVisible(A,k)}).map(function(e){return{label:e.label,icon:e.icon,onClick:function(){return I(Z,e.id)}}}):[],Se=!K||K(A.id),Le=!M||M(A.id),Te=!W||W(A.id),we=A.children&&A.children.length>0,xe=!Se||we,Ae=Se?we?"This scope cannot be deleted because other scopes inherit learnings from it.":void 0:"You do not have permission to delete this scope.",Ne=Te?void 0:"You do not have permission to add a scope here.",ke=!H||A.name.toLowerCase().includes(H.toLowerCase()),De=he&&!oe,Ve=me.length-pe,je=De?me.slice(0,pe):me;return o("div",n({ref:ve,className:u.nodeWrapper,style:{"--tree-depth":k}},{children:[i(p,{nodeType:A.type,name:A.name,isExpanded:$,isSelected:le,isAncestor:re,isExpandable:!!we,childrenCount:null===(L=A.children)||void 0===L?void 0:L.length,learningsCount:ee?null===(T=A.metrics)||void 0===T?void 0:T.learningsCount:void 0,isCompactView:ee,onToggleExpand:function(e){e.stopPropagation(),E(A.id)},onClick:function(){I(Z,"learnings")},searchQuery:H,menuOptions:e(e(e([],ge?[{label:be.addChildLabel||"Add Child",icon:c,onClick:function(){return null==Q?void 0:Q(A.id,be.addChildType,A.name)},disabled:!Te,tooltip:Ne}]:[],!0),[{label:"".concat(h("".concat(C,".rename"),"Rename")),icon:a,onClick:function(){return null==R?void 0:R(A.id,A.name)},disabled:!Le||"station"===(null===(w=null==A?void 0:A.type)||void 0===w?void 0:w.toLocaleLowerCase()),tooltip:Le?void 0:"You do not have permission to rename this scope."},{label:"station"===(null===(x=null==A?void 0:A.type)||void 0===x?void 0:x.toLowerCase())?"Delete Station":_?"Delete Scope":"".concat(h("".concat(C,".delete"),"Delete ".concat((null==be?void 0:be.label)||"Node"),{scope:te})),icon:s,onClick:function(){var e;return null==Y?void 0:Y(A.id,A.name,(null===(e=A.metrics)||void 0===e?void 0:e.learningsCount)||0)},disabled:xe,tooltip:Ae,className:"text-red-500 hover:text-red-600 hover:bg-red-50"}],!1),ye,!0)}),$&&o("div",n({className:u.childrenWrapper},{children:[!ee&&q.filter(function(e){return!e.isVisible||e.isVisible(A,k)}).map(function(e){var n;return i(g,{icon:e.icon,label:e.label,badgeCount:e.badgeKey?null===(n=A.metrics)||void 0===n?void 0:n[e.badgeKey]:void 0,isActive:le&&(null==P?void 0:P.sectionId)===e.id,onClick:function(){return I(Z,e.id)}},"".concat(A.id,"-").concat(e.id))}),je.map(function(e){return i(y,{node:e,depth:k+1,nodePath:Z,expandedNodeIds:j,activeSelection:P,onToggleExpand:E,onSectionSelect:I,onNodeOptionsClick:O,onAddChild:Q,onRenameChild:R,onDeleteChild:Y,canDeleteScope:K,canEditScope:M,canCreateScope:W,searchQuery:H,forceVisible:ke,sectionsConfig:q,nodeTypesConfig:B,compactView:ee},e.id)}),he&&i("button",n({type:"button",onClick:function(e){e.stopPropagation(),ie(function(e){var n=!e;return n&&I(Z,"stations"),n})},className:"".concat(u.addAction)},{children:i(t,oe?{children:i("span",{children:"Show less"})}:{children:i("span",n({style:{paddingLeft:"15px"}},{children:v(h("".concat(f,".scopeDisplayLimit.viewMoreText"),"{count} more..."),{count:Ve})}))})})),ge&&!ee&&i(m,{label:be.addChildLabel||"Add Child",onAdd:function(){return null==Q?void 0:Q(A.id,be.addChildType,A.name)},disabled:!Te,tooltip:Ne})]}))]}))};export{y as TreeNode};
1
+ import{__spreadArray as e,__assign as o}from"tslib";import{jsxs as n,jsx as i,Fragment as t}from"react/jsx-runtime";import{useRef as l,useEffect as d}from"react";import{Plus as r,Pencil as a,Trash2 as c}from"lucide-react";import s from"../../styles/ScopeTree.module.css.js";import{TreeNodeHeader as p}from"./TreeNodeHeader.js";import{TreeAddAction as u}from"./TreeAddAction.js";import{dt as m,interpolate as h}from"../../store/useLMSConfigStore.js";import{MIDDLE_DRAWER_DT_PATH as v,MIDDLE_DRAWER_CONTEXT_MENU_DT_PATH as f}from"../../constants.js";import{useLearningTemplateStore as C}from"../../store/useLearningTemplateStore.js";import{TreeSectionItem as b}from"./TreeSectionItem.js";var g=function(y){var S,L,T,w,x=y.node,N=y.depth,A=void 0===N?0:N,k=y.nodePath,D=void 0===k?[]:k,V=y.expandedNodeIds,j=y.activeSelection,E=y.onToggleExpand,P=y.onSectionSelect,I=y.onNodeOptionsClick,O=y.onAddChild,Y=y.onRenameChild,Q=y.onDeleteChild,R=y.canDeleteScope,H=y.canEditScope,K=y.canCreateScope,M=y.searchQuery,W=y.sectionsConfig,J=void 0===W?[]:W,q=y.nodeTypesConfig,z=void 0===q?[]:q,B=y.forceVisible,F=void 0!==B&&B,G=y.compactView,U=void 0!==G&&G,X=e(e([],D,!0),[x.id],!1),Z=V.has(x.id),$=C.getState().backwardCompatibility,_=$||U,ee=m("".concat(v,".scope")),oe=!!j&&j.nodePath[j.nodePath.length-1]===x.id,ne=!!j&&(j.nodePath.includes(x.id)&&!oe),ie=m("".concat(v,".scopeDisplayLimit.applyToLevels"),""),te=function(){if(!ie)return null;try{var e=JSON.parse(ie);return Array.isArray(e)?e.map(Number):null}catch(e){return null}}(),le=A+1,de=$||null===te||te.includes(le),re=!!$||"true"===m("".concat(v,".scopeDisplayLimit.enabled"),"false")&&de,ae=$?7:parseInt(m("".concat(v,".scopeDisplayLimit.count"),"7"),10)||7,ce=x.children||[],se=re&&!M&&ce.length>ae,pe=l(null);d(function(){oe&&pe.current&&pe.current.scrollIntoView({behavior:"smooth",block:"nearest"})},[oe]);var ue=function(e,o){if(!o)return!0;var n=o.toLowerCase();return!!e.name.toLowerCase().includes(n)||!!e.children&&e.children.some(function(e){return ue(e,o)})};if(!F&&!ue(x,M||""))return null;var me=A>=z.length-1?z[z.length-1]:z[A],he=!!(null==me?void 0:me.addChildType),ve=_?J.filter(function(e){return"learnings"!==e.id&&"stations"!==e.id}).filter(function(e){return!e.isVisible||e.isVisible(x,A)}).map(function(e){return{label:e.label,icon:e.icon,onClick:function(){return P(X,e.id)}}}):[],fe=!R||R(x.id),Ce=!H||H(x.id),be=!K||K(x.id),ge=x.children&&x.children.length>0,ye=!fe||ge,Se=fe?ge?"This scope cannot be deleted because other scopes inherit learnings from it.":void 0:"You do not have permission to delete this scope.",Le=be?void 0:"You do not have permission to add a scope here.",Te=!M||x.name.toLowerCase().includes(M.toLowerCase()),we=function(e){return i(g,{node:e,depth:A+1,nodePath:X,expandedNodeIds:V,activeSelection:j,onToggleExpand:E,onSectionSelect:P,onNodeOptionsClick:I,onAddChild:O,onRenameChild:Y,onDeleteChild:Q,canDeleteScope:R,canEditScope:H,canCreateScope:K,searchQuery:M,forceVisible:Te,sectionsConfig:J,nodeTypesConfig:z,compactView:_},e.id)};return n("div",o({ref:pe,className:s.nodeWrapper,style:{"--tree-depth":A}},{children:[i(p,{nodeType:x.type,name:x.name,isExpanded:Z,isSelected:oe,isAncestor:ne,isExpandable:!!ge,childrenCount:null===(S=x.children)||void 0===S?void 0:S.length,learningsCount:_?null===(L=x.metrics)||void 0===L?void 0:L.learningsCount:void 0,isCompactView:_,onToggleExpand:function(e){e.stopPropagation(),E(x.id)},onClick:function(){P(X,"learnings")},searchQuery:M,menuOptions:e(e(e([],he?[{label:me.addChildLabel||"Add Child",icon:r,onClick:function(){return null==O?void 0:O(x.id,me.addChildType,x.name)},disabled:!be,tooltip:Le}]:[],!0),[{label:"".concat(m("".concat(f,".rename"),"Rename")),icon:a,onClick:function(){return null==Y?void 0:Y(x.id,x.name)},disabled:!Ce||"station"===(null===(T=null==x?void 0:x.type)||void 0===T?void 0:T.toLocaleLowerCase()),tooltip:Ce?void 0:"You do not have permission to rename this scope."},{label:"station"===(null===(w=null==x?void 0:x.type)||void 0===w?void 0:w.toLowerCase())?"Delete Station":$?"Delete Scope":"".concat(m("".concat(f,".delete"),"Delete ".concat((null==me?void 0:me.label)||"Node"),{scope:ee})),icon:c,onClick:function(){var e;return null==Q?void 0:Q(x.id,x.name,(null===(e=x.metrics)||void 0===e?void 0:e.learningsCount)||0)},disabled:ye,tooltip:Se,className:"text-red-500 hover:text-red-600 hover:bg-red-50"}],!1),ve,!0)}),Z&&n("div",o({className:s.childrenWrapper},{children:[!_&&J.filter(function(e){return!e.isVisible||e.isVisible(x,A)}).map(function(e){var o;return i(b,{icon:e.icon,label:e.label,badgeCount:e.badgeKey?null===(o=x.metrics)||void 0===o?void 0:o[e.badgeKey]:void 0,isActive:oe&&(null==j?void 0:j.sectionId)===e.id,onClick:function(){return P(X,e.id)}},"".concat(x.id,"-").concat(e.id))}),se?n(t,{children:[i("div",o({className:s.scopeScrollContainer,style:{maxHeight:"calc(var(--scope-row-height, 40px) * ".concat(ae,")"),overflowY:"scroll"}},{children:ce.map(we)})),i("button",o({type:"button",className:s.addAction,onClick:function(e){e.stopPropagation(),P(X,"stations")}},{children:i("span",o({style:{paddingLeft:"15px"}},{children:h(m("".concat(v,".scopeDisplayLimit.viewMoreText"),"View all stations"),{count:ce.length})}))}))]}):ce.map(we),he&&!_&&i(u,{label:me.addChildLabel||"Add Child",onAdd:function(){return null==O?void 0:O(x.id,me.addChildType,x.name)},disabled:!be,tooltip:Le})]}))]}))};export{g as TreeNode};
2
2
  //# sourceMappingURL=TreeNode.js.map
@@ -1,2 +1,2 @@
1
- import e from"../../../node_modules/style-inject/dist/style-inject.es.js";var o={treeContainer:"ScopeTree-module_treeContainer__IfdEO",nodeWrapper:"ScopeTree-module_nodeWrapper__zt96G",childrenWrapper:"ScopeTree-module_childrenWrapper__uggxw",nodeHeader:"ScopeTree-module_nodeHeader__qxJAp",nodeHeaderSelected:"ScopeTree-module_nodeHeaderSelected__UTNOH",nodeHeaderAncestor:"ScopeTree-module_nodeHeaderAncestor__Cjnkv",chevron:"ScopeTree-module_chevron__bmchk",chevronExpanded:"ScopeTree-module_chevronExpanded__aZNQo",chevronHidden:"ScopeTree-module_chevronHidden__dfrws",folderIcon:"ScopeTree-module_folderIcon__93n7V",nodeName:"ScopeTree-module_nodeName__-o5cw",optionsButton:"ScopeTree-module_optionsButton__KD0N8",pill:"ScopeTree-module_pill__LfoFO",pillActive:"ScopeTree-module_pillActive__hV98M",pillIcon:"ScopeTree-module_pillIcon__qOzv0",pillLabel:"ScopeTree-module_pillLabel__-pnNE",badge:"ScopeTree-module_badge__0M-VE",badgeActive:"ScopeTree-module_badgeActive__lFpKZ",addAction:"ScopeTree-module_addAction__alNAW",addIcon:"ScopeTree-module_addIcon__Rx81g",menuContainer:"ScopeTree-module_menuContainer__IyejG",menuDropdown:"ScopeTree-module_menuDropdown__12xxX",menuDropdownTop:"ScopeTree-module_menuDropdownTop__hkZpa",menuDropdownBottom:"ScopeTree-module_menuDropdownBottom__w53jm",menuOption:"ScopeTree-module_menuOption__wcvl7",menuOptionDisabled:"ScopeTree-module_menuOptionDisabled__1FaQQ",menuOptionIcon:"ScopeTree-module_menuOptionIcon__s2FWC",tooltipWrapper:"ScopeTree-module_tooltipWrapper__Jhz1M",tooltipContent:"ScopeTree-module_tooltipContent__J02zm",tooltipFadeIn:"ScopeTree-module_tooltipFadeIn__of1bQ",tooltipArrow:"ScopeTree-module_tooltipArrow__m9eHn",highlightText:"ScopeTree-module_highlightText__mHYra"};e(".ScopeTree-module_treeContainer__IfdEO{display:flex;flex:1;flex-direction:column;gap:.5rem;height:100%;overflow:auto;padding:0 1.25rem 80px}.ScopeTree-module_treeContainer__IfdEO::-webkit-scrollbar{height:4px;width:4px}.ScopeTree-module_treeContainer__IfdEO::-webkit-scrollbar-thumb{background-color:#e5e7eb;border-radius:9999px}.ScopeTree-module_nodeWrapper__zt96G{display:flex;flex-direction:column;min-width:max-content;position:relative}.ScopeTree-module_childrenWrapper__uggxw{border-left:1px solid #e3e6ea;display:flex;flex-direction:column;gap:.5rem;margin-left:calc(var(--tree-depth, 0)*0px + .875rem);margin-top:.5rem;min-width:max-content;padding-left:1rem}.ScopeTree-module_nodeHeader__qxJAp{align-items:center;border:1px solid #0000;border-radius:.375rem;color:#19213d;cursor:pointer;display:flex;gap:.5rem;min-width:max-content;padding:.5rem;transition:all .2s}.ScopeTree-module_nodeHeader__qxJAp:hover{background-color:#f7f8fa}.ScopeTree-module_nodeHeaderSelected__UTNOH{border-color:#2563eb;color:#2563eb}.ScopeTree-module_nodeHeaderAncestor__Cjnkv{color:#2563eb}.ScopeTree-module_chevron__bmchk{align-items:center;border-radius:50px;color:#9ca3af;display:flex;flex-shrink:0;justify-content:center;padding:5px;transition:transform .2s;transition:background-color .3s ease-in-out}.ScopeTree-module_chevron__bmchk:hover{background:#e8ebf0}.ScopeTree-module_chevronExpanded__aZNQo{transform:rotate(180deg)}.ScopeTree-module_chevronHidden__dfrws{visibility:hidden;width:16px}.ScopeTree-module_folderIcon__93n7V{align-items:center;color:inherit;display:flex;flex-shrink:0;justify-content:center}.ScopeTree-module_nodeName__-o5cw{flex:1;font-size:.875rem;font-weight:500;white-space:nowrap}.ScopeTree-module_optionsButton__KD0N8{align-items:center;background:#0000;border:none;border-radius:.25rem;color:#64748b;cursor:pointer;display:flex;justify-content:center;padding:.25rem;transition:all .2s}.ScopeTree-module_optionsButton__KD0N8:hover{background-color:#e2e8f0;color:#19213d}.ScopeTree-module_pill__LfoFO{align-items:center;border:1px solid #0000;border-radius:.5rem;color:#64748b;cursor:pointer;display:flex;gap:.5rem;padding:.5rem 1rem;transition:all .2s}.ScopeTree-module_pill__LfoFO:hover{background-color:#f7f8fa;color:#19213d}.ScopeTree-module_pillActive__hV98M{background-color:#f0f5ff;border-color:#2563eb;color:#2563eb}.ScopeTree-module_pillActive__hV98M:hover{background-color:#e0ebff;color:#2563eb}.ScopeTree-module_pillIcon__qOzv0{align-items:center;display:flex;justify-content:center}.ScopeTree-module_pillLabel__-pnNE{flex:1;font-size:.875rem;font-weight:500}.ScopeTree-module_badge__0M-VE{align-items:center;background-color:#f1f5f9;border-radius:9999px;color:#475569;display:inline-flex;font-size:.625rem;font-weight:600;height:1.25rem;justify-content:center;min-width:1.25rem;padding:0 .375rem}.ScopeTree-module_badgeActive__lFpKZ{background-color:#2563eb;color:#fff}.ScopeTree-module_addAction__alNAW{align-items:center;background:#0000;border:none;border-radius:.375rem;color:#2563eb;cursor:pointer;display:flex;font-size:.875rem;font-weight:500;gap:.5rem;margin-top:.25rem;padding:.5rem;transition:all .2s;width:fit-content}.ScopeTree-module_addAction__alNAW:hover{background-color:#f0f5ff}.ScopeTree-module_addIcon__Rx81g{align-items:center;display:flex;justify-content:center}.ScopeTree-module_menuContainer__IyejG{display:inline-block;position:relative;text-align:left}.ScopeTree-module_menuDropdown__12xxX{background-color:#fff;border:1px solid #0000000d;border-radius:.375rem;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;display:flex;flex-direction:column;outline:none;padding:.25rem 0;position:absolute;width:12rem;z-index:9999}.ScopeTree-module_menuDropdownTop__hkZpa{bottom:100%;margin-bottom:.25rem;right:0}.ScopeTree-module_menuDropdownBottom__w53jm{margin-top:.25rem;right:0;top:100%}.ScopeTree-module_menuOption__wcvl7{align-items:center;background:#0000;border:none;color:#374151;cursor:pointer;display:flex;font-size:.875rem;padding:.5rem 1rem;text-align:left;width:100%}.ScopeTree-module_menuOption__wcvl7:not(:disabled):hover{background-color:#f3f4f6;color:#111827}.ScopeTree-module_menuOptionDisabled__1FaQQ{color:#9ca3af;cursor:not-allowed;opacity:.6}.ScopeTree-module_menuOptionIcon__s2FWC{flex-shrink:0;margin-right:.75rem}.ScopeTree-module_tooltipWrapper__Jhz1M{position:relative;width:100%}.ScopeTree-module_tooltipContent__J02zm{animation:ScopeTree-module_tooltipFadeIn__of1bQ .15s ease-out;background-color:#2a3547;border-radius:.375rem;box-shadow:0 10px 15px -3px #0000001a;color:#fff;font-family:sans-serif;font-size:.875rem;max-width:280px;padding:.5rem .75rem;position:relative;z-index:9999}.ScopeTree-module_tooltipArrow__m9eHn{fill:#2a3547;position:absolute}@keyframes ScopeTree-module_tooltipFadeIn__of1bQ{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.ScopeTree-module_highlightText__mHYra{background-color:#fde047;border-radius:.125rem;color:#111827}");export{o as default};
1
+ import e from"../../../node_modules/style-inject/dist/style-inject.es.js";var o={treeContainer:"ScopeTree-module_treeContainer__IfdEO",nodeWrapper:"ScopeTree-module_nodeWrapper__zt96G",childrenWrapper:"ScopeTree-module_childrenWrapper__uggxw",nodeHeader:"ScopeTree-module_nodeHeader__qxJAp",nodeHeaderSelected:"ScopeTree-module_nodeHeaderSelected__UTNOH",nodeHeaderAncestor:"ScopeTree-module_nodeHeaderAncestor__Cjnkv",chevron:"ScopeTree-module_chevron__bmchk",chevronExpanded:"ScopeTree-module_chevronExpanded__aZNQo",chevronHidden:"ScopeTree-module_chevronHidden__dfrws",folderIcon:"ScopeTree-module_folderIcon__93n7V",nodeName:"ScopeTree-module_nodeName__-o5cw",optionsButton:"ScopeTree-module_optionsButton__KD0N8",pill:"ScopeTree-module_pill__LfoFO",pillActive:"ScopeTree-module_pillActive__hV98M",pillIcon:"ScopeTree-module_pillIcon__qOzv0",pillLabel:"ScopeTree-module_pillLabel__-pnNE",badge:"ScopeTree-module_badge__0M-VE",badgeActive:"ScopeTree-module_badgeActive__lFpKZ",addAction:"ScopeTree-module_addAction__alNAW",addIcon:"ScopeTree-module_addIcon__Rx81g",menuContainer:"ScopeTree-module_menuContainer__IyejG",menuDropdown:"ScopeTree-module_menuDropdown__12xxX",menuDropdownTop:"ScopeTree-module_menuDropdownTop__hkZpa",menuDropdownBottom:"ScopeTree-module_menuDropdownBottom__w53jm",menuOption:"ScopeTree-module_menuOption__wcvl7",menuOptionDisabled:"ScopeTree-module_menuOptionDisabled__1FaQQ",menuOptionIcon:"ScopeTree-module_menuOptionIcon__s2FWC",tooltipWrapper:"ScopeTree-module_tooltipWrapper__Jhz1M",tooltipContent:"ScopeTree-module_tooltipContent__J02zm",tooltipFadeIn:"ScopeTree-module_tooltipFadeIn__of1bQ",tooltipArrow:"ScopeTree-module_tooltipArrow__m9eHn",highlightText:"ScopeTree-module_highlightText__mHYra",scopeScrollContainer:"ScopeTree-module_scopeScrollContainer__ikLzG"};e(".ScopeTree-module_treeContainer__IfdEO{display:flex;flex:1;flex-direction:column;gap:.5rem;height:100%;overflow:auto;padding:0 1.25rem 80px}.ScopeTree-module_nodeWrapper__zt96G{display:flex;flex-direction:column;min-width:max-content;position:relative}.ScopeTree-module_childrenWrapper__uggxw{border-left:1px solid #e3e6ea;display:flex;flex-direction:column;gap:.5rem;margin-left:calc(var(--tree-depth, 0)*0px + .875rem);margin-top:.5rem;min-width:max-content;padding-left:1rem}.ScopeTree-module_nodeHeader__qxJAp{align-items:center;border:1px solid #0000;border-radius:.375rem;color:#19213d;cursor:pointer;display:flex;gap:.5rem;min-width:max-content;padding:.5rem;transition:all .2s}.ScopeTree-module_nodeHeader__qxJAp:hover{background-color:#f7f8fa}.ScopeTree-module_nodeHeaderSelected__UTNOH{border-color:#2563eb;color:#2563eb}.ScopeTree-module_nodeHeaderAncestor__Cjnkv{color:#2563eb}.ScopeTree-module_chevron__bmchk{align-items:center;border-radius:50px;color:#9ca3af;display:flex;flex-shrink:0;justify-content:center;padding:5px;transition:transform .2s;transition:background-color .3s ease-in-out}.ScopeTree-module_chevron__bmchk:hover{background:#e8ebf0}.ScopeTree-module_chevronExpanded__aZNQo{transform:rotate(180deg)}.ScopeTree-module_chevronHidden__dfrws{visibility:hidden;width:16px}.ScopeTree-module_folderIcon__93n7V{align-items:center;color:inherit;display:flex;flex-shrink:0;justify-content:center}.ScopeTree-module_nodeName__-o5cw{flex:1;font-size:.875rem;font-weight:500;white-space:nowrap}.ScopeTree-module_optionsButton__KD0N8{align-items:center;background:#0000;border:none;border-radius:.25rem;color:#64748b;cursor:pointer;display:flex;justify-content:center;padding:.25rem;transition:all .2s}.ScopeTree-module_optionsButton__KD0N8:hover{background-color:#e2e8f0;color:#19213d}.ScopeTree-module_pill__LfoFO{align-items:center;border:1px solid #0000;border-radius:.5rem;color:#64748b;cursor:pointer;display:flex;gap:.5rem;padding:.5rem 1rem;transition:all .2s}.ScopeTree-module_pill__LfoFO:hover{background-color:#f7f8fa;color:#19213d}.ScopeTree-module_pillActive__hV98M{background-color:#f0f5ff;border-color:#2563eb;color:#2563eb}.ScopeTree-module_pillActive__hV98M:hover{background-color:#e0ebff;color:#2563eb}.ScopeTree-module_pillIcon__qOzv0{align-items:center;display:flex;justify-content:center}.ScopeTree-module_pillLabel__-pnNE{flex:1;font-size:.875rem;font-weight:500}.ScopeTree-module_badge__0M-VE{align-items:center;background-color:#f1f5f9;border-radius:9999px;color:#475569;display:inline-flex;font-size:.625rem;font-weight:600;height:1.25rem;justify-content:center;min-width:1.25rem;padding:0 .375rem}.ScopeTree-module_badgeActive__lFpKZ{background-color:#2563eb;color:#fff}.ScopeTree-module_addAction__alNAW{align-items:center;background:#0000;border:none;border-radius:.375rem;color:#2563eb;cursor:pointer;display:flex;font-size:.875rem;font-weight:500;gap:.5rem;margin-top:.25rem;padding:.5rem;transition:all .2s;width:fit-content}.ScopeTree-module_addAction__alNAW:hover{background-color:#f0f5ff}.ScopeTree-module_addIcon__Rx81g{align-items:center;display:flex;justify-content:center}.ScopeTree-module_menuContainer__IyejG{display:inline-block;position:relative;text-align:left}.ScopeTree-module_menuDropdown__12xxX{background-color:#fff;border:1px solid #0000000d;border-radius:.375rem;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;display:flex;flex-direction:column;outline:none;padding:.25rem 0;position:absolute;width:12rem;z-index:9999}.ScopeTree-module_menuDropdownTop__hkZpa{bottom:100%;margin-bottom:.25rem;right:0}.ScopeTree-module_menuDropdownBottom__w53jm{margin-top:.25rem;right:0;top:100%}.ScopeTree-module_menuOption__wcvl7{align-items:center;background:#0000;border:none;color:#374151;cursor:pointer;display:flex;font-size:.875rem;padding:.5rem 1rem;text-align:left;width:100%}.ScopeTree-module_menuOption__wcvl7:not(:disabled):hover{background-color:#f3f4f6;color:#111827}.ScopeTree-module_menuOptionDisabled__1FaQQ{color:#9ca3af;cursor:not-allowed;opacity:.6}.ScopeTree-module_menuOptionIcon__s2FWC{flex-shrink:0;margin-right:.75rem}.ScopeTree-module_tooltipWrapper__Jhz1M{position:relative;width:100%}.ScopeTree-module_tooltipContent__J02zm{animation:ScopeTree-module_tooltipFadeIn__of1bQ .15s ease-out;background-color:#2a3547;border-radius:.375rem;box-shadow:0 10px 15px -3px #0000001a;color:#fff;font-family:sans-serif;font-size:.875rem;max-width:280px;padding:.5rem .75rem;position:relative;z-index:9999}.ScopeTree-module_tooltipArrow__m9eHn{fill:#2a3547;position:absolute}@keyframes ScopeTree-module_tooltipFadeIn__of1bQ{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.ScopeTree-module_highlightText__mHYra{background-color:#fde047;border-radius:.125rem;color:#111827}.ScopeTree-module_scopeScrollContainer__ikLzG::-webkit-scrollbar{width:8px}.ScopeTree-module_scopeScrollContainer__ikLzG::-webkit-scrollbar-track{background:#0000}.ScopeTree-module_scopeScrollContainer__ikLzG::-webkit-scrollbar-thumb{background-clip:content-box;background-color:#c7c7cc;border:2px solid #0000;border-radius:4px}.ScopeTree-module_scopeScrollContainer__ikLzG::-webkit-scrollbar-thumb:hover{background-color:#a8a8ad}");export{o as default};
2
2
  //# sourceMappingURL=ScopeTree.module.css.js.map
@@ -1,2 +1,2 @@
1
- import e from"../../../node_modules/style-inject/dist/style-inject.es.js";var r={sidebar:"Sidebar-module_sidebar__BhVQw",tabsContainer:"Sidebar-module_tabsContainer__n542w",tabsWrapper:"Sidebar-module_tabsWrapper__z6rAx",tab:"Sidebar-module_tab__79tnm",tabActive:"Sidebar-module_tabActive__amUJ5",searchContainer:"Sidebar-module_searchContainer__KMtRV",searchWrapper:"Sidebar-module_searchWrapper__4ejma",searchInputWrapper:"Sidebar-module_searchInputWrapper__VI9Qk",searchIcon:"Sidebar-module_searchIcon__iyv9p",searchInput:"Sidebar-module_searchInput__oVmKU",searchRightContainer:"Sidebar-module_searchRightContainer__JZf8q",searchCountBadge:"Sidebar-module_searchCountBadge__JdOCA",searchClearButton:"Sidebar-module_searchClearButton__TCsGU",filterButton:"Sidebar-module_filterButton__OA1Bn",divider:"Sidebar-module_divider__EIZV1",content:"Sidebar-module_content__iG2Ya",section:"Sidebar-module_section__ChTDq",sectionTitle:"Sidebar-module_sectionTitle__EC2Bt",sectionList:"Sidebar-module_sectionList__TErRr",createButtonContainer:"Sidebar-module_createButtonContainer__EECqj",createButton:"Sidebar-module_createButton__wE7-a",emptyContent:"Sidebar-module_emptyContent__TV90P"};e(".Sidebar-module_sidebar__BhVQw{background-color:#fff;border-right:1px solid #e3e6ea;display:flex;flex-direction:column;height:calc(100vh - 140px);overflow:hidden;padding-top:1.25rem;position:relative;width:340px;width:fit-content}.Sidebar-module_tabsContainer__n542w{margin-bottom:1.25rem;padding:0 1.25rem}.Sidebar-module_tabsWrapper__z6rAx{background-color:#f3f4f6cc;border-radius:.5rem;display:grid;gap:.25rem;grid-template-columns:1fr 1fr;padding:.25rem}.Sidebar-module_tab__79tnm{align-items:center;background:#0000;border:none;border-radius:.375rem;color:#64748b;cursor:pointer;display:flex;font-size:.875rem;font-weight:600;gap:.5rem;justify-content:center;padding:.5rem .75rem;transition:all .2s}.Sidebar-module_tab__79tnm:hover{color:#2563eb}.Sidebar-module_tabActive__amUJ5{background-color:#fff;box-shadow:0 1px 2px 0 #0000000d;color:#2563eb;font-weight:700}.Sidebar-module_searchContainer__KMtRV{margin-bottom:1rem;padding:0 1.25rem}.Sidebar-module_searchWrapper__4ejma{display:flex;gap:.5rem}.Sidebar-module_searchInputWrapper__VI9Qk{align-items:center;display:flex;flex:1;position:relative;width:100%}.Sidebar-module_searchIcon__iyv9p{color:#9ca3af;left:.75rem;position:absolute;top:50%;transform:translateY(-50%)}.Sidebar-module_searchInput__oVmKU{background-color:#fff;border:1px solid #f0f2f5;border-radius:.5rem;box-shadow:0 1px 2px 0 #0000000d;font-size:.875rem;outline:none;padding:.5rem 1rem .5rem 2.25rem;transition:all .2s;width:100%}.Sidebar-module_searchInput__oVmKU:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb33}.Sidebar-module_searchInput__oVmKU::placeholder{color:#9ca3af}.Sidebar-module_searchRightContainer__JZf8q{align-items:center;display:flex;gap:.5rem;position:absolute;right:1rem;top:50%;transform:translateY(-50%)}.Sidebar-module_searchCountBadge__JdOCA{background-color:#fde047;border-radius:.25rem;color:#374151;font-size:.75rem;font-weight:500;padding:.125rem .375rem}.Sidebar-module_searchClearButton__TCsGU{align-items:center;background:#0000;border:none;color:#9ca3af;cursor:pointer;display:flex;margin:0;outline:none;padding:0;transition:color .2s ease}.Sidebar-module_searchClearButton__TCsGU:hover{color:#4b5563}.Sidebar-module_filterButton__OA1Bn{background-color:#f7f8fa;border:1px solid #f0f2f5;border-radius:.5rem;cursor:pointer;padding:.5rem;transition:background-color .2s,border-color .2s}.Sidebar-module_filterButton__OA1Bn:hover{background-color:#f0f2f5}.Sidebar-module_filterButton__OA1Bn svg{color:#19213d}.Sidebar-module_divider__EIZV1{background-color:#f0f2f5;height:1.5px;margin:0 1.25rem 1rem;width:100%}.Sidebar-module_content__iG2Ya{flex:1;overflow-y:auto;padding:0 1.25rem}.Sidebar-module_content__iG2Ya::-webkit-scrollbar{width:4px}.Sidebar-module_content__iG2Ya::-webkit-scrollbar-thumb{background-color:#e5e7eb;border-radius:9999px}.Sidebar-module_section__ChTDq{margin-bottom:1.5rem}.Sidebar-module_sectionTitle__EC2Bt{color:#19213d;font-size:.875rem;font-weight:600;margin-bottom:.75rem}.Sidebar-module_sectionList__TErRr{display:flex;flex-direction:column;gap:.75rem}.Sidebar-module_createButtonContainer__EECqj{background-color:#fff;border-top:1px solid #e5e7eb;bottom:0;box-shadow:0 -4px 20px #0000000d;left:0;padding:1rem;position:absolute;width:100%;z-index:50}.Sidebar-module_createButton__wE7-a{align-items:center;background-color:#f7f8fa;border:1px solid #f0f2f5;border-radius:.5rem;color:#19213d;cursor:pointer;display:flex;font-size:.75rem;font-weight:500;gap:.5rem;justify-content:center;padding:.75rem;transition:all .2s;width:100%}.Sidebar-module_createButton__wE7-a:hover{background-color:#f3f4f6;box-shadow:0 1px 2px 0 #0000000d}.Sidebar-module_createButton__wE7-a:active{transform:scale(.99)}.Sidebar-module_emptyContent__TV90P{align-items:center;color:#9ca3af;display:flex;flex-direction:column;font-size:.875rem;height:10rem;justify-content:center}");export{r as default};
1
+ import e from"../../../node_modules/style-inject/dist/style-inject.es.js";var r={sidebar:"Sidebar-module_sidebar__BhVQw",tabsContainer:"Sidebar-module_tabsContainer__n542w",tabsWrapper:"Sidebar-module_tabsWrapper__z6rAx",tab:"Sidebar-module_tab__79tnm",tabActive:"Sidebar-module_tabActive__amUJ5",searchContainer:"Sidebar-module_searchContainer__KMtRV",searchWrapper:"Sidebar-module_searchWrapper__4ejma",searchInputWrapper:"Sidebar-module_searchInputWrapper__VI9Qk",searchIcon:"Sidebar-module_searchIcon__iyv9p",searchInput:"Sidebar-module_searchInput__oVmKU",searchRightContainer:"Sidebar-module_searchRightContainer__JZf8q",searchCountBadge:"Sidebar-module_searchCountBadge__JdOCA",searchClearButton:"Sidebar-module_searchClearButton__TCsGU",filterButton:"Sidebar-module_filterButton__OA1Bn",divider:"Sidebar-module_divider__EIZV1",content:"Sidebar-module_content__iG2Ya",section:"Sidebar-module_section__ChTDq",sectionTitle:"Sidebar-module_sectionTitle__EC2Bt",sectionList:"Sidebar-module_sectionList__TErRr",createButtonContainer:"Sidebar-module_createButtonContainer__EECqj",createButton:"Sidebar-module_createButton__wE7-a",emptyContent:"Sidebar-module_emptyContent__TV90P"};e(".Sidebar-module_sidebar__BhVQw{background-color:#fff;border-right:1px solid #e3e6ea;display:flex;flex-direction:column;height:calc(100vh - 140px);overflow:hidden;padding-top:1.25rem;position:relative;width:340px;width:fit-content}.Sidebar-module_tabsContainer__n542w{margin-bottom:1.25rem;padding:0 1.25rem}.Sidebar-module_tabsWrapper__z6rAx{background-color:#f3f4f6cc;border-radius:.5rem;display:grid;gap:.25rem;grid-template-columns:1fr 1fr;padding:.25rem}.Sidebar-module_tab__79tnm{align-items:center;background:#0000;border:none;border-radius:.375rem;color:#64748b;cursor:pointer;display:flex;font-size:.875rem;font-weight:600;gap:.5rem;justify-content:center;padding:.5rem .75rem;transition:all .2s}.Sidebar-module_tab__79tnm:hover{color:#2563eb}.Sidebar-module_tabActive__amUJ5{background-color:#fff;box-shadow:0 1px 2px 0 #0000000d;color:#2563eb;font-weight:700}.Sidebar-module_searchContainer__KMtRV{margin-bottom:1rem;padding:0 1.25rem}.Sidebar-module_searchWrapper__4ejma{display:flex;gap:.5rem}.Sidebar-module_searchInputWrapper__VI9Qk{align-items:center;display:flex;flex:1;position:relative;width:100%}.Sidebar-module_searchIcon__iyv9p{color:#9ca3af;left:.75rem;position:absolute;top:50%;transform:translateY(-50%)}.Sidebar-module_searchInput__oVmKU{background-color:#fff;border:1px solid #f0f2f5;border-radius:.5rem;box-shadow:0 1px 2px 0 #0000000d;font-size:.875rem;outline:none;padding:.5rem 1rem .5rem 2.25rem;transition:all .2s;width:100%}.Sidebar-module_searchInput__oVmKU:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb33}.Sidebar-module_searchInput__oVmKU::placeholder{color:#9ca3af}.Sidebar-module_searchRightContainer__JZf8q{align-items:center;display:flex;gap:.5rem;position:absolute;right:1rem;top:50%;transform:translateY(-50%)}.Sidebar-module_searchCountBadge__JdOCA{background-color:#fde047;border-radius:.25rem;color:#374151;font-size:.75rem;font-weight:500;padding:.125rem .375rem}.Sidebar-module_searchClearButton__TCsGU{align-items:center;background:#0000;border:none;color:#9ca3af;cursor:pointer;display:flex;margin:0;outline:none;padding:0;transition:color .2s ease}.Sidebar-module_searchClearButton__TCsGU:hover{color:#4b5563}.Sidebar-module_filterButton__OA1Bn{background-color:#f7f8fa;border:1px solid #f0f2f5;border-radius:.5rem;cursor:pointer;padding:.5rem;transition:background-color .2s,border-color .2s}.Sidebar-module_filterButton__OA1Bn:hover{background-color:#f0f2f5}.Sidebar-module_filterButton__OA1Bn svg{color:#19213d}.Sidebar-module_divider__EIZV1{background-color:#f0f2f5;height:1.5px;margin:0 1.25rem 1rem;width:100%}.Sidebar-module_content__iG2Ya{flex:1;overflow-y:auto;padding:0 1.25rem}.Sidebar-module_section__ChTDq{margin-bottom:1.5rem}.Sidebar-module_sectionTitle__EC2Bt{color:#19213d;font-size:.875rem;font-weight:600;margin-bottom:.75rem}.Sidebar-module_sectionList__TErRr{display:flex;flex-direction:column;gap:.75rem}.Sidebar-module_createButtonContainer__EECqj{background-color:#fff;border-top:1px solid #e5e7eb;bottom:0;box-shadow:0 -4px 20px #0000000d;left:0;padding:1rem;position:absolute;width:100%;z-index:50}.Sidebar-module_createButton__wE7-a{align-items:center;background-color:#f7f8fa;border:1px solid #f0f2f5;border-radius:.5rem;color:#19213d;cursor:pointer;display:flex;font-size:.75rem;font-weight:500;gap:.5rem;justify-content:center;padding:.75rem;transition:all .2s;width:100%}.Sidebar-module_createButton__wE7-a:hover{background-color:#f3f4f6;box-shadow:0 1px 2px 0 #0000000d}.Sidebar-module_createButton__wE7-a:active{transform:scale(.99)}.Sidebar-module_emptyContent__TV90P{align-items:center;color:#9ca3af;display:flex;flex-direction:column;font-size:.875rem;height:10rem;justify-content:center}");export{r as default};
2
2
  //# sourceMappingURL=Sidebar.module.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TreeNode.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/LearningManagement/components/ScopeTree/TreeNode.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAG3D,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAQ/E,UAAU,aAAa;IACrB,IAAI,EAAE,aAAa,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,eAAe,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC7B,eAAe,EAAE;QAAE,QAAQ,EAAE,MAAM,EAAE,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAClE,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,eAAe,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACjE,kBAAkB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,GAAG,UAAU,EAAE,UAAU,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9F,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9D,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,KAAK,IAAI,CAAC;IACrF,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC;IAC9C,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC;IAC5C,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC;IAC9C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACrC,eAAe,CAAC,EAAE,cAAc,EAAE,CAAC;IACnC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAiU5C,CAAC"}
1
+ {"version":3,"file":"TreeNode.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/LearningManagement/components/ScopeTree/TreeNode.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAGjD,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAQ/E,UAAU,aAAa;IACrB,IAAI,EAAE,aAAa,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,eAAe,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC7B,eAAe,EAAE;QAAE,QAAQ,EAAE,MAAM,EAAE,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAClE,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,eAAe,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACjE,kBAAkB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,GAAG,UAAU,EAAE,UAAU,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9F,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9D,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,KAAK,IAAI,CAAC;IACrF,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC;IAC9C,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC;IAC5C,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC;IAC9C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACrC,eAAe,CAAC,EAAE,cAAc,EAAE,CAAC;IACnC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAuS5C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-llm-studio/instant-learning",
3
- "version": "1.3.0-alpha.77",
3
+ "version": "1.3.0-alpha.79",
4
4
  "author": "Devesh Patel",
5
5
  "description": "",
6
6
  "license": "MIT",