@e-llm-studio/instant-learning 1.3.0-alpha.176 → 1.3.0-alpha.177
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/dist/cjs/features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.js +1 -1
- package/dist/cjs/features/LSCGuidelinesCart/Cart/Cart.js +1 -1
- package/dist/cjs/features/LSCGuidelinesCart/GuidelineCard.js +1 -1
- package/dist/cjs/features/LSCGuidelinesCart/GuidelinesLandingPage.js +1 -1
- package/dist/cjs/features/LSCGuidelinesCart/GuidelinesLandingPage.styles.js +1 -1
- package/dist/cjs/features/LSCGuidelinesCart/LearningManagementWrapper.js +1 -1
- package/dist/cjs/features/LSCGuidelinesCart/api.js +1 -1
- package/dist/cjs/features/LSCGuidelinesCart/endpoints.js +1 -1
- package/dist/cjs/features/LSCGuidelinesCart/transformSelectedGuidelineData.js +2 -0
- package/dist/cjs/features/LSCGuidelinesCart/transformSelectedGuidelineData.js.map +1 -0
- package/dist/cjs/features/LearningManagement/components/InstantLearningModalDynamic.js +1 -1
- package/dist/features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.js +1 -1
- package/dist/features/LSCGuidelinesCart/Cart/Cart.js +1 -1
- package/dist/features/LSCGuidelinesCart/GuidelineCard.js +1 -1
- package/dist/features/LSCGuidelinesCart/GuidelinesLandingPage.js +1 -1
- package/dist/features/LSCGuidelinesCart/GuidelinesLandingPage.styles.js +1 -1
- package/dist/features/LSCGuidelinesCart/LearningManagementWrapper.js +1 -1
- package/dist/features/LSCGuidelinesCart/api.js +1 -1
- package/dist/features/LSCGuidelinesCart/endpoints.js +1 -1
- package/dist/features/LSCGuidelinesCart/transformSelectedGuidelineData.js +2 -0
- package/dist/features/LSCGuidelinesCart/transformSelectedGuidelineData.js.map +1 -0
- package/dist/features/LearningManagement/components/InstantLearningModalDynamic.js +1 -1
- package/dist/types/src/features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.d.ts +7 -0
- package/dist/types/src/features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.d.ts.map +1 -1
- package/dist/types/src/features/LSCGuidelinesCart/Cart/Cart.d.ts +1 -1
- package/dist/types/src/features/LSCGuidelinesCart/Cart/Cart.d.ts.map +1 -1
- package/dist/types/src/features/LSCGuidelinesCart/GuidelinesLandingPage.d.ts +6 -1
- package/dist/types/src/features/LSCGuidelinesCart/GuidelinesLandingPage.d.ts.map +1 -1
- package/dist/types/src/features/LSCGuidelinesCart/GuidelinesLandingPage.styles.d.ts.map +1 -1
- package/dist/types/src/features/LSCGuidelinesCart/LearningManagementWrapper.d.ts +6 -1
- package/dist/types/src/features/LSCGuidelinesCart/LearningManagementWrapper.d.ts.map +1 -1
- package/dist/types/src/features/LSCGuidelinesCart/api.d.ts +1 -0
- package/dist/types/src/features/LSCGuidelinesCart/api.d.ts.map +1 -1
- package/dist/types/src/features/LSCGuidelinesCart/endpoints.d.ts +1 -0
- package/dist/types/src/features/LSCGuidelinesCart/endpoints.d.ts.map +1 -1
- package/dist/types/src/features/LSCGuidelinesCart/transformSelectedGuidelineData.d.ts +18 -0
- package/dist/types/src/features/LSCGuidelinesCart/transformSelectedGuidelineData.d.ts.map +1 -0
- package/dist/types/src/features/LearningManagement/components/InstantLearningModalDynamic.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/features/LearningManagement/assets/Search-result(add new).svg.js +0 -2
- package/dist/cjs/features/LearningManagement/assets/Search-result(add new).svg.js.map +0 -1
- package/dist/cjs/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.js +0 -2
- package/dist/cjs/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.js.map +0 -1
- package/dist/cjs/features/LearningManagement/utils/resizeObserverErrorGuard.js +0 -2
- package/dist/cjs/features/LearningManagement/utils/resizeObserverErrorGuard.js.map +0 -1
- package/dist/cjs/node_modules/@e-llm-studio/audit-log/dist/styles.css.js +0 -2
- package/dist/cjs/node_modules/@e-llm-studio/audit-log/dist/styles.css.js.map +0 -1
- package/dist/cjs/schema-driven/SchemaRenderer.js +0 -2
- package/dist/cjs/schema-driven/SchemaRenderer.js.map +0 -1
- package/dist/cjs/schema-driven/adapters/ConditionSectionAdapter.js +0 -2
- package/dist/cjs/schema-driven/adapters/ConditionSectionAdapter.js.map +0 -1
- package/dist/cjs/schema-driven/adapters/ConfigSectionAdapter.js +0 -2
- package/dist/cjs/schema-driven/adapters/ConfigSectionAdapter.js.map +0 -1
- package/dist/cjs/schema-driven/adapters/GlobalSetupAccordionAdapter.js +0 -2
- package/dist/cjs/schema-driven/adapters/GlobalSetupAccordionAdapter.js.map +0 -1
- package/dist/cjs/schema-driven/adapters/PromptTextEditorAdapter.js +0 -2
- package/dist/cjs/schema-driven/adapters/PromptTextEditorAdapter.js.map +0 -1
- package/dist/cjs/schema-driven/adapters/ScopeSectionAdapter.js +0 -2
- package/dist/cjs/schema-driven/adapters/ScopeSectionAdapter.js.map +0 -1
- package/dist/cjs/schema-driven/adapters/TextInputAdapter.js +0 -2
- package/dist/cjs/schema-driven/adapters/TextInputAdapter.js.map +0 -1
- package/dist/cjs/schema-driven/adapters/VariantListWrapperAdapter.js +0 -2
- package/dist/cjs/schema-driven/adapters/VariantListWrapperAdapter.js.map +0 -1
- package/dist/cjs/schema-driven/demoSchema.js +0 -2
- package/dist/cjs/schema-driven/demoSchema.js.map +0 -1
- package/dist/cjs/schema-driven/types.js +0 -2
- package/dist/cjs/schema-driven/types.js.map +0 -1
- package/dist/features/LearningManagement/assets/Search-result(add new).svg.js +0 -2
- package/dist/features/LearningManagement/assets/Search-result(add new).svg.js.map +0 -1
- package/dist/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.js +0 -2
- package/dist/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.js.map +0 -1
- package/dist/features/LearningManagement/utils/resizeObserverErrorGuard.js +0 -2
- package/dist/features/LearningManagement/utils/resizeObserverErrorGuard.js.map +0 -1
- package/dist/node_modules/@e-llm-studio/audit-log/dist/styles.css.js +0 -2
- package/dist/node_modules/@e-llm-studio/audit-log/dist/styles.css.js.map +0 -1
- package/dist/schema-driven/SchemaRenderer.js +0 -2
- package/dist/schema-driven/SchemaRenderer.js.map +0 -1
- package/dist/schema-driven/adapters/ConditionSectionAdapter.js +0 -2
- package/dist/schema-driven/adapters/ConditionSectionAdapter.js.map +0 -1
- package/dist/schema-driven/adapters/ConfigSectionAdapter.js +0 -2
- package/dist/schema-driven/adapters/ConfigSectionAdapter.js.map +0 -1
- package/dist/schema-driven/adapters/GlobalSetupAccordionAdapter.js +0 -2
- package/dist/schema-driven/adapters/GlobalSetupAccordionAdapter.js.map +0 -1
- package/dist/schema-driven/adapters/PromptTextEditorAdapter.js +0 -2
- package/dist/schema-driven/adapters/PromptTextEditorAdapter.js.map +0 -1
- package/dist/schema-driven/adapters/ScopeSectionAdapter.js +0 -2
- package/dist/schema-driven/adapters/ScopeSectionAdapter.js.map +0 -1
- package/dist/schema-driven/adapters/TextInputAdapter.js +0 -2
- package/dist/schema-driven/adapters/TextInputAdapter.js.map +0 -1
- package/dist/schema-driven/adapters/VariantListWrapperAdapter.js +0 -2
- package/dist/schema-driven/adapters/VariantListWrapperAdapter.js.map +0 -1
- package/dist/schema-driven/demoSchema.js +0 -2
- package/dist/schema-driven/demoSchema.js.map +0 -1
- package/dist/schema-driven/types.js +0 -2
- package/dist/schema-driven/types.js.map +0 -1
- package/dist/types/src/ILMarketplaceTest.d.ts +0 -3
- package/dist/types/src/ILMarketplaceTest.d.ts.map +0 -1
- package/dist/types/src/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.d.ts +0 -12
- package/dist/types/src/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.d.ts.map +0 -1
- package/dist/types/src/features/LearningManagement/utils/resizeObserverErrorGuard.d.ts +0 -2
- package/dist/types/src/features/LearningManagement/utils/resizeObserverErrorGuard.d.ts.map +0 -1
- package/dist/types/src/schema-driven/SchemaRenderer.d.ts +0 -21
- package/dist/types/src/schema-driven/SchemaRenderer.d.ts.map +0 -1
- package/dist/types/src/schema-driven/adapters/ConditionSectionAdapter.d.ts +0 -11
- package/dist/types/src/schema-driven/adapters/ConditionSectionAdapter.d.ts.map +0 -1
- package/dist/types/src/schema-driven/adapters/ConfigSectionAdapter.d.ts +0 -13
- package/dist/types/src/schema-driven/adapters/ConfigSectionAdapter.d.ts.map +0 -1
- package/dist/types/src/schema-driven/adapters/GlobalSetupAccordionAdapter.d.ts +0 -5
- package/dist/types/src/schema-driven/adapters/GlobalSetupAccordionAdapter.d.ts.map +0 -1
- package/dist/types/src/schema-driven/adapters/PromptTextEditorAdapter.d.ts +0 -13
- package/dist/types/src/schema-driven/adapters/PromptTextEditorAdapter.d.ts.map +0 -1
- package/dist/types/src/schema-driven/adapters/ScopeSectionAdapter.d.ts +0 -5
- package/dist/types/src/schema-driven/adapters/ScopeSectionAdapter.d.ts.map +0 -1
- package/dist/types/src/schema-driven/adapters/TextInputAdapter.d.ts +0 -18
- package/dist/types/src/schema-driven/adapters/TextInputAdapter.d.ts.map +0 -1
- package/dist/types/src/schema-driven/adapters/VariantListWrapperAdapter.d.ts +0 -17
- package/dist/types/src/schema-driven/adapters/VariantListWrapperAdapter.d.ts.map +0 -1
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var e=new Set(["ResizeObserver loop completed with undelivered notifications.","ResizeObserver loop limit exceeded"]),n=!1,o=function(n){return"string"==typeof n&&e.has(n)},t=function(){n||"undefined"==typeof window||(n=!0,window.addEventListener("error",function(e){o(e.message)&&e.stopImmediatePropagation()},!0),window.addEventListener("unhandledrejection",function(e){var n;o((null===(n=e.reason)||void 0===n?void 0:n.message)||e.reason)&&(e.preventDefault(),e.stopImmediatePropagation())},!0))};export{t as installResizeObserverErrorGuard};
|
|
2
|
-
//# sourceMappingURL=resizeObserverErrorGuard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resizeObserverErrorGuard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import e from"../../../style-inject/dist/style-inject.es.js";var o='.App{height:100vh;overflow-y:auto;width:100vw}.audit-tableWrap{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.audit-table .p-datatable-tbody>tr:nth-child(odd){background:#f8fafc}.audit-table .p-datatable-tbody>tr:hover{background:#eff5ff!important}.audit-table .p-datatable-thead>tr>th{background:#f8fafc;border-bottom:1px solid #e5e7eb;color:#6b7280;font-family:Inter;font-size:12px;font-weight:600;height:54px;padding:8px 16px}.audit-table .p-datatable-thead>tr>th .p-column-header-content{align-items:center;justify-content:center}.audit-table .p-datatable-tbody>tr>td{border-bottom:1px solid #eef2f7;color:#101828;font-family:Inter;font-size:14px;font-weight:400;height:92px;padding:16px}.audit-modifiedBy{align-items:center;display:flex;justify-content:center}.audit-actionCell{display:flex;flex-direction:column;gap:6px}.audit-chip{border-radius:6px;font-family:Inter;font-size:9px;font-weight:500;gap:5px;padding:4px 7px;width:fit-content}.audit-chip,.audit-chip__icon{align-items:center;display:inline-flex}.audit-chip__icon{justify-content:center}.audit-chip--purple{background:#ede9fe;color:#6d28d9}.audit-chip--orange{background:#ffedd5;color:#c2410c}.audit-actionText{color:#111827;font-size:12px;line-height:1.35}.audit-seeMore{background:#0000;border:0;color:#6d28d9;cursor:pointer;font-size:12px;font-weight:400;margin-left:4px;padding:0}.audit-dateCell{color:#101828;font-family:Inter;text-align:center}.audit-emptyState{align-items:center;color:#64748b;display:flex;flex-direction:column;height:300px;justify-content:center;text-align:center}.audit-emptyTitle{font-size:16px;font-weight:600;margin-top:8px}.audit-emptyDesc{font-size:13px;margin-top:4px}.audit-skeletonRow{display:flex;gap:16px;padding:12px 0}.audit-operation-body{align-items:center;display:flex;justify-content:center}.audit-logIdBody{margin:0 auto;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audit-table .p-datatable-tbody>tr.audit-row--clickable{cursor:pointer}.audit-table .p-datatable-tbody>tr.p-datatable-row-expansion>td{background:#fff;padding:0}.audit-rowDetail{background:#fff;border-top:1px solid #eef2f7;padding:16px 20px}.log-toolbar{align-items:center;display:flex;gap:16px;width:100%}.log-filterFooter{border-top:1px solid #eee;padding:16px 20px}.log-toolbar__search{flex:1;position:relative}.log-toolbar__search input{border:1px solid #e5e7eb;border-radius:8px;color:#6b7280;font-family:Inter;font-size:14px;font-weight:500;height:40px;padding:0 14px 0 42px;width:100%}.log-toolbar__search input:focus{border-color:#cbd5e1;outline:none}.log-toolbar__search-icon{color:#6b7280;left:14px;position:absolute;top:50%;transform:translateY(-50%)}.log-toolbar__actions{display:flex;gap:12px}.log-toolbar__btn{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#6b7280;cursor:pointer;display:flex;font-size:14px;gap:8px;height:40px;padding:0 18px;transition:.2s ease}.log-toolbar__btn:hover{background:#f8fafc;border-color:#dbe3ef}.log-toolbar__sort{position:relative}.log-toolbar__dropdown{background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 12px 24px #0000001f;min-width:260px;overflow:hidden;padding:6px;position:absolute;right:0;top:52px;z-index:99}.log-toolbar__dropdown button{background:#fff;border:none;border-radius:8px;cursor:pointer;font-size:14px;margin:2px;padding:5px 15px;text-align:left;width:100%}.log-toolbar__dropdown button:hover{background:#f3f4f6}.log-toolbar__dropdown--active{background:#f5f3ff!important;color:#7c3aed}.log-toolbar_list:hover{background:#f5f5f5}.log-toolbar__btn--active{border:1px solid #6d28d9;color:#6d28d9}.log-toolbar__btn--active svg{color:#6d28d9}.drs{position:relative}.drs__trigger{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#475569;cursor:pointer;display:inline-flex;font-size:14px;gap:10px;height:40px;padding:0 18px;transition:.2s ease}.drs__trigger:hover{background:#f8fafc;border-color:#dbe3ef}.drs__label{color:#6b7280;font-family:Inter;font-size:14px}.drs__popover{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 16px 40px #00000024;position:absolute;right:0;top:60px;width:340px;z-index:9999}.drs__header{align-items:center;display:flex;justify-content:space-between;padding:16px 16px 10px}.drs__month{color:#1e293b;display:flex;font-family:Inter,sans-serif;font-size:17px;font-weight:700;gap:5px}.drs__month-click,.drs__year-click{border-radius:4px;cursor:pointer;padding:1px 4px;transition:background-color .15s ease}.drs__month-click:hover,.drs__year-click:hover{background:#f1f5f9;color:#635ae3}.drs__nav{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#64748b;cursor:pointer;display:inline-flex;height:34px;justify-content:center;width:34px}.drs__nav:hover{background:#f8fafc;color:#1e293b}.drs__inputs{gap:8px;padding:0 16px 12px}.drs__input-box,.drs__inputs{align-items:center;display:flex}.drs__input-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;color:#1e293b;flex:1;font-family:Inter,sans-serif;font-size:13px;font-weight:500;height:36px;padding:0 10px;transition:border-color .15s ease}.drs__input-box.is-active{background:#fff;border-color:#635ae3}.drs__input-placeholder{color:#94a3b8;font-weight:400}.drs__input-sep{color:#94a3b8;font-size:16px}.drs__week{display:grid;grid-template-columns:repeat(7,1fr);padding:0 8px 4px}.drs__weekday{color:#94a3b8;font-family:Inter,sans-serif;font-size:12px;font-weight:600;padding:4px 0;text-align:center}.drs__grid{display:grid;grid-template-columns:repeat(7,1fr);padding:0 8px 12px;row-gap:2px}.drs__day{align-items:center;background:#0000;border:none;color:#0f172a;cursor:pointer;display:flex;font-family:Inter,sans-serif;font-size:14px;font-weight:400;height:36px;justify-content:center;padding:0;position:relative;width:100%}.drs__day.is-disabled{cursor:not-allowed;opacity:.4;pointer-events:none}.drs__day-inner{align-items:center;border-radius:50%;display:flex;height:34px;justify-content:center;position:relative;transition:background-color .12s ease;width:34px;z-index:1}.drs__day:hover:not(.is-start):not(.is-end) .drs__day-inner{background:#f1f5f9}.drs__day.is-out{color:#cbd5e1}.drs__day.is-range-start:before,.drs__day.is-range:before{background:#635ae30f;content:"";inset:1px 0;position:absolute;z-index:0}.drs__day.is-range-start:before{left:50%}.drs__day.is-range-end:before{background:#635ae30f;content:"";inset:1px 0;position:absolute;right:50%;z-index:0}.drs__day.is-row-first:before{border-radius:50% 0 0 50%}.drs__day.is-row-last:before{border-radius:0 50% 50% 0}.drs__day.is-end .drs__day-inner,.drs__day.is-start .drs__day-inner{background:#635ae3;color:#fff;font-weight:600}.drs__day.is-end:hover .drs__day-inner,.drs__day.is-start:hover .drs__day-inner{background:#4f46d8}.drs__month-grid{display:grid;gap:8px;grid-template-columns:repeat(3,1fr);padding:8px 16px 16px}.drs__month-cell{background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#1e293b;cursor:pointer;font-family:Inter,sans-serif;font-size:14px;font-weight:500;height:44px}.drs__month-cell:hover{background:#f1f5f9}.drs__month-cell.is-selected{background:#635ae3;border-color:#635ae3;color:#fff}.drs__year-grid{display:grid;gap:8px;grid-template-columns:repeat(4,1fr);padding:8px 16px 16px}.drs__year-cell{background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#1e293b;cursor:pointer;font-family:Inter,sans-serif;font-size:13px;font-weight:500;height:44px;transition:background-color .15s ease}.drs__year-cell:hover{background:#f1f5f9}.drs__year-cell.is-selected{background:#635ae3;border-color:#635ae3;color:#fff}.drs__footer{border-top:1px solid #eef2f7;display:flex;gap:10px;justify-content:flex-end;padding:12px 16px}.drs__btn{border:1px solid #0000;border-radius:10px;cursor:pointer;font-family:Inter,sans-serif;font-size:14px;font-weight:600;height:40px;padding:0 20px}.drs__btn--ghost{background:#fff;border-color:#e5e7eb;color:#475569}.drs__btn--ghost:hover{background:#f8fafc}.drs__btn--primary{background:#635ae3;color:#fff}.drs__btn--primary:hover{background:#4f46d8}.drs__btn--primary:disabled{cursor:not-allowed;opacity:.45}.audit-filterBlock .date-range-wrapper,.audit-filterControl{width:100%}.log-filterSidebar{width:400px}.log-filterTitle{color:#334155;font-family:Inter;font-size:18px;font-weight:600}.log-filterBody{display:flex;flex-direction:column;gap:16px}.log-filterBlock .log-filterLabel{color:#334155;font-family:Inter;font-size:14px;font-weight:600}.log-filterHint{color:#64748b;font-family:Inter;font-size:12px;font-weight:500;line-height:130%;margin-top:4px}.log-filterFooter{background:#fff;bottom:0;display:flex;gap:10px;justify-content:flex-end;left:0;padding:12px 16px;position:absolute;right:0}.log-btnReset{background:#fff;border:1px solid #e2e8f0;color:#64748b}.log-btnApply,.log-btnReset{border-radius:6px;font-family:Inter;font-size:14px;font-weight:500;padding:8px 11px}.log-btnApply{background:#2563eb;color:#fff}.log-filter-date .drs__trigger{margin-top:12px;width:100%}.log-filterEmpty{background:#f8fafc;border:1px dashed #e2e8f0;border-radius:6px;color:#94a3b8;font-family:Inter;font-size:13px;font-weight:500;padding:10px 12px;text-align:center}.cms-root{position:relative;width:100%}.cms-trigger{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;display:flex;height:40px;justify-content:space-between;padding:0 18px;width:100%}.cms-trigger:hover{background:#f8fafc;border-color:#dbe3ef}.cms-triggerText{color:#6b7280;font-family:Inter;font-size:14px}.cms-hasValue{color:#334155}.cms-chevron{color:#64748b}.cms-panel{background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 8px 24px #1018281f;left:0;padding:10px;position:absolute;right:0;top:calc(100% + 8px);z-index:9999}.cms-searchRow{align-items:center;border:1px solid #e2e8f0;border-radius:8px;color:#64748b;display:flex;gap:10px;height:40px;padding:0 12px}.cms-searchInput{border:none;color:#334155;font-family:Inter;font-size:14px;outline:none;width:100%}.cms-divider{background:#e2e8f0;height:1px;margin:10px 0}.cms-list{display:flex;flex-direction:column;gap:2px;max-height:220px;overflow:auto}.cms-item{align-items:center;border-radius:8px;cursor:pointer;display:flex;gap:10px;min-height:30px;padding:0 8px}.cms-item:hover{background:#f8fafc}.cms-checkbox{align-items:center;border:1px solid #cbd5e1;border-radius:4px;color:#fff;display:inline-flex;font-size:13px;height:16px;justify-content:center;width:16px}.cms-checked{background:#2563eb;border-color:#2563eb}.cms-itemText{color:#334155;font-family:Inter;font-size:14px}.AuditLogPanel-module_overlay__mnfs5{background-color:#0003;bottom:0;left:0;position:fixed;right:0;top:0;z-index:9998}.AuditLogPanel-module_panel__btKWo{background-color:#fff;box-shadow:-4px 0 20px #0000001a;display:flex;flex-direction:column;height:100vh;max-width:100vw;position:fixed;right:0;top:0;transition:transform .3s ease;width:480px;z-index:9999}.AuditLogPanel-module_panelOpen__Tj0EH{transform:translateX(0)}.AuditLogPanel-module_panelClosed__2nUTn{transform:translateX(100%)}.AuditLogPanel-module_header__4Ld8n{align-items:flex-start;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;padding:20px 24px}.AuditLogPanel-module_title__YkOer{color:#0f172a;font-size:18px;font-weight:600;margin:0}.AuditLogPanel-module_subtitle__NHQxF{color:#64748b;font-size:13px;margin:4px 0 0}.AuditLogPanel-module_closeBtn__9Raqs{align-items:center;background:none;border:none;color:#64748b;cursor:pointer;display:flex;justify-content:center;padding:4px}.AuditLogPanel-module_scrollArea__QVsJl{flex:1;overflow-y:auto;padding:24px}.AuditLogPanel-module_emptyState__ZqwuX{color:#64748b;margin-top:40px;text-align:center}.AuditLogPanel-module_compCard__KiH-p{background-color:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:16px}.AuditLogPanel-module_compHeader__R5tvd{align-items:center;cursor:pointer;display:flex;justify-content:space-between;padding:12px 16px;user-select:none}.AuditLogPanel-module_compTitle__Y4FIG{color:#0f172a;font-size:14px;font-weight:600}.AuditLogPanel-module_compIcon__gYnr7{align-items:center;color:#475569;display:flex}.AuditLogPanel-module_compBody__hEdrH{border-top:1px solid #f1f5f9;display:flex;flex-direction:column;gap:12px;padding:16px}.AuditLogPanel-module_compSectionLabel__2Lm4E{color:#475569;font-size:12px;font-weight:600;margin-bottom:6px}.AuditLogPanel-module_compLatestText__jpMml{background-color:#f0fdf4;border:1px solid #dcfce7;border-radius:6px;color:#166534;font-size:13px;padding:12px}.AuditLogPanel-module_compOriginalText__FcXep{background-color:#f8fafc;border:1px solid #f1f5f9;border-radius:6px;color:#64748b;font-size:13px;padding:12px}.AuditLogPanel-module_itemWrapper__uucps{border-bottom:1px solid #e2e8f0}.AuditLogPanel-module_itemHeader__JueVB{align-items:center;background-color:initial;display:flex;justify-content:space-between;padding:16px 0}.AuditLogPanel-module_itemHeaderClickable__wzqVP{cursor:pointer}.AuditLogPanel-module_itemHeaderDefault__SH2oI{cursor:default}.AuditLogPanel-module_itemLeft__2LBs1{align-items:flex-start;display:flex;gap:12px}.AuditLogPanel-module_itemIconWrapper__LE0QA{align-items:center;border-radius:50%;display:flex;flex-shrink:0;height:32px;justify-content:center;width:32px}.AuditLogPanel-module_itemTitle__sDycO{color:#0f172a;font-size:14px;font-weight:600}.AuditLogPanel-module_itemSubtitle__Y7fME{color:#64748b;font-size:12px;margin-top:2px}.AuditLogPanel-module_itemRight__AalDS{align-items:center;display:flex;gap:12px}.AuditLogPanel-module_itemTimestamp__ooTn5{color:#64748b;font-size:12px}.AuditLogPanel-module_itemChevron__-wnQo{align-items:center;border-radius:50%;display:flex;padding:4px;transition:background-color .2s ease}.AuditLogPanel-module_itemExpanded__ZUp8c{display:flex;flex-direction:column;gap:16px;padding-bottom:20px;padding-left:44px}.AuditLogPanel-module_tagsChip__m3AM5{align-items:center;background-color:#f1f5f9;border-radius:12px;color:#475569;display:inline-flex;flex-wrap:wrap;font-size:12px;font-weight:500;gap:6px;padding:4px 12px}.AuditLogPanel-module_tagSeparator__Kxa4w{color:#94a3b8;font-size:14px}.AuditLogPanel-module_impactContainer__v16Y0{border:1px solid #e2e8f0;border-radius:8px;display:flex;flex-direction:column;gap:16px;padding:16px}.AuditLogPanel-module_impactHeader__ggNw-{align-items:center;display:flex;gap:8px;margin-bottom:8px}.AuditLogPanel-module_impactLabel__FOmPT{color:#0f172a;font-size:13px;font-weight:600}.AuditLogPanel-module_impactDescription__5wja1{color:#475569;font-size:13px;line-height:1.5;margin-top:8px}.AuditLogPanel-module_divider__td5ot{background-color:#e2e8f0;height:1px}.AuditLogPanel-module_contentBlock__7sjMa{display:flex;flex-direction:column;gap:6px}.AuditLogPanel-module_contentBlockLabel__v8g5e{color:#0f172a;font-size:13px;font-weight:600}.AuditLogPanel-module_contentBlockText__dfcpm{background-color:#f8fafc;border:1px solid #f1f5f9;border-radius:6px;color:#475569;font-size:13px;padding:12px}.AuditLogPanel-module_markdown__7r3Qt{margin:0;white-space:pre-wrap;word-break:break-word}.AuditLogPanel-module_markdown__7r3Qt p{display:inline;margin:0}.AuditLogPanel-module_truncateContainer__ajjKt{align-items:flex-start;display:flex;flex-direction:column;position:relative;width:100%}.AuditLogPanel-module_truncateText__1F-7K{-webkit-box-orient:vertical;color:inherit;display:-webkit-box;line-height:1.5;overflow:hidden;width:100%}.AuditLogPanel-module_truncateExpandedScrollable__txaww{display:block!important;overflow-y:auto;padding-right:6px}.AuditLogPanel-module_truncateExpandedScrollable__txaww::-webkit-scrollbar{width:4px}.AuditLogPanel-module_truncateExpandedScrollable__txaww::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.AuditLogPanel-module_truncateExpandedScrollable__txaww::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.AuditLogPanel-module_truncateExpandedScrollable__txaww::-webkit-scrollbar-thumb:hover{background:#94a3b8}.AuditLogPanel-module_toggleBtn__rfU8F{background:none;border:none;color:#2563eb;cursor:pointer;font-size:13px;font-style:italic;font-weight:500;margin-top:6px;padding:0}.AuditLogPanel-module_filterSection__b-3av{border-bottom:1px solid #e2e8f0;display:flex;flex-direction:column;gap:12px;margin-bottom:16px;padding:16px 0}.AuditLogPanel-module_filterGrid__IGB8-{align-items:flex-end;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.AuditLogPanel-module_filterItem__rg6ci{display:flex;flex-direction:column;gap:4px}.AuditLogPanel-module_filterLabel__5V4QY{color:#475569}.AuditLogPanel-module_filterInput__CvuQ5,.AuditLogPanel-module_filterSelect__1mD44{background-color:#fff}.AuditLogPanel-module_dateRangeGroup__TGqpn{align-items:center;display:flex;gap:6px}.AuditLogPanel-module_filterHeader__YpEH-{align-items:center;cursor:pointer;display:flex;justify-content:space-between;margin-bottom:8px;user-select:none}.AuditLogPanel-module_filterHeaderLeft__2IvKC{align-items:center;color:#475569;display:flex;font-size:13px;font-weight:600;gap:8px}.AuditLogPanel-module_activeBadge__irk0W{background-color:#2563eb;border-radius:12px;color:#fff;font-size:11px;font-weight:700;padding:2px 8px}.AuditLogPanel-module_clearBtn__sRfO0{background:none;border:none;color:#dc2626;cursor:pointer;font-size:11px;margin-left:8px;padding:0 4px;text-decoration:underline}.AuditLogPanel-module_filterPopupWrapper__jBPyK{display:flex;justify-content:flex-end;margin-bottom:16px;position:relative}.AuditLogPanel-module_filterTriggerBtn__yL7ko{align-items:center;background:#fff;border:1px solid #cbd5e1;border-radius:6px;box-shadow:0 1px 2px #0000000d;color:#0f172a;cursor:pointer;display:flex;font-size:13px;font-weight:600;gap:8px;padding:8px 16px;transition:all .2s}.AuditLogPanel-module_filterTriggerBtn__yL7ko:hover{background:#f8fafc;border-color:#94a3b8}.AuditLogPanel-module_filterPopupContent__inbJs{background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 10px 25px -5px #0000001a;margin-top:8px;max-height:70vh;overflow-y:auto;padding:16px;position:absolute;right:0;top:100%;width:340px;z-index:100}.AuditLogPanel-module_filterHint__n0Udq{color:#64748b;line-height:1.3;margin-bottom:4px}.AuditLogPanel-module_multiSelectGroup__ZQU0e{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;display:flex;flex-direction:column;gap:8px;max-height:120px;overflow-y:auto;padding:10px}.AuditLogPanel-module_checkboxItem__-Rwa1{align-items:center;color:#334155;cursor:pointer;display:flex;font-size:13px;gap:8px}.AuditLogPanel-module_rangeGroup__x-K5-{align-items:center;display:flex;gap:8px}.AuditLogPanel-module_rangeInput__hydGj{border:1px solid #cbd5e1;border-radius:6px;font-size:13px;padding:8px 10px;width:100%}.AuditLogPanel-module_filterFooter__21RHT{align-items:center;border-top:1px dashed #e2e8f0;display:flex;gap:12px;justify-content:flex-end;margin-top:16px;padding-top:12px}.AuditLogPanel-module_applyBtn__SsGu2{background-color:#2563eb;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:13px;font-weight:600;padding:8px 16px;transition:background-color .2s}.AuditLogPanel-module_applyBtn__SsGu2:hover{background-color:#1d4ed8}.AuditLogPanel-module_skeletonPulse__Jqdac{animation:AuditLogPanel-module_pulse__SFUMS 1.5s cubic-bezier(.4,0,.6,1) infinite}@keyframes AuditLogPanel-module_pulse__SFUMS{0%,to{opacity:1}50%{opacity:.5}}.AuditLogPanel-module_loadingText__M41Xb{color:#64748b;font-size:13px;font-style:italic;padding:16px;text-align:center}.AuditLogPanel-module_skeletonBase__1JdeF{background-color:#e2e8f0;border-radius:4px}.AuditLogPanel-module_skeletonCircle__LHVyi{border-radius:50%;flex-shrink:0;height:32px;width:32px}.AuditLogPanel-module_skeletonLinePrimary__54f-f{height:14px;margin-bottom:6px;width:140px}.AuditLogPanel-module_skeletonLineSecondary__stC65{height:12px;width:90px}.AuditLogPanel-module_skeletonLineTimestamp__E-9In{height:12px;width:60px}.AuditLogPanel-module_iconTriggerBtn__Cu-XV{align-items:center;background:#0000;border:none;border-radius:6px;color:#64748b;cursor:pointer;display:flex;height:32px;justify-content:center;position:relative;transition:all .2s;width:32px}.AuditLogPanel-module_iconTriggerBtn__Cu-XV:hover{background:#f1f5f9;color:#0f172a}.AuditLogPanel-module_iconTriggerBadge__rokhX{align-items:center;background:#2563eb;border:2px solid #fff;border-radius:12px;color:#fff;display:flex;font-size:10px;font-weight:700;height:16px;justify-content:center;min-width:16px;padding:0 4px;position:absolute;right:-4px;top:-4px}.AuditLogPanel-module_modalBackdrop__IJAuf{align-items:center;backdrop-filter:blur(3px);background-color:#0f172a80;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:9999}.AuditLogPanel-module_modalContainer__zRPuE{background:#fff;border-radius:12px;box-shadow:0 25px 50px -12px #00000040;display:flex;flex-direction:column;max-height:90vh;max-width:600px;overflow:hidden;width:100%}.AuditLogPanel-module_modalHeader__CR8rf{align-items:center;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;padding:16px 20px}.AuditLogPanel-module_modalTitle__EwALY{align-items:center;color:#0f172a;display:flex;font-size:15px;font-weight:600;gap:8px;margin:0}.AuditLogPanel-module_modalClose__3XGih{background:#0000;border:none;border-radius:4px;color:#64748b;cursor:pointer;display:flex;padding:4px;transition:background .2s}.AuditLogPanel-module_modalClose__3XGih:hover{background:#f1f5f9;color:#0f172a}.AuditLogPanel-module_modalBody__Fn2Xb{flex:1;overflow-y:auto;padding:20px}.AuditLogPanel-module_modalFooter__1vn3I{background:#f8fafc;border-top:1px solid #e2e8f0;display:flex;gap:12px;justify-content:flex-end;padding:16px 20px}.AuditLogPanel-module_accordionContainer__92rQR{background:#fff;border:1px solid #e2e8f0;border-radius:8px;display:flex;flex-direction:column;margin:0 16px 16px;max-height:60vh;overflow:hidden}.AuditLogPanel-module_accordionHeader__fBYZr{align-items:center;background:#fff;border-bottom:1px solid #0000;cursor:pointer;display:flex;justify-content:space-between;padding:12px 16px;user-select:none;z-index:45}.AuditLogPanel-module_accordionHeaderExpanded__R82zY{border-bottom-color:#e2e8f0}.AuditLogPanel-module_accordionTitle__SfXdv{align-items:center;color:#0f172a;display:flex;font-size:13px;font-weight:600;gap:8px}.AuditLogPanel-module_accordionContentWrapper__WJ6ZE{display:flex;flex:1;flex-direction:column;overflow:hidden}.AuditLogPanel-module_accordionBody__MBU1x{flex:1;overflow-y:auto;padding:16px}.AuditLogPanel-module_accordionFooter__jBIof{background:#f8fafc;border-top:1px solid #e2e8f0;display:flex;gap:12px;justify-content:flex-end;padding:12px 16px}.AuditLogPanel-module_filterFormGrid__QoLKp{display:grid;gap:24px;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.AuditLogPanel-module_filterField__-UAtF{display:flex;flex-direction:column;gap:8px}.AuditLogPanel-module_filterLabel__5V4QY{color:#334155;font-size:12px;font-weight:600;letter-spacing:.5px}.AuditLogPanel-module_filterHint__n0Udq{color:#94a3b8;font-size:11px}.AuditLogPanel-module_inputWrapper__WrBnR{position:relative}.AuditLogPanel-module_inputIcon__cOOa8{color:#94a3b8;left:10px;position:absolute;top:50%;transform:translateY(-50%)}.AuditLogPanel-module_filterInput__CvuQ5,.AuditLogPanel-module_filterSelect__1mD44{background:#fff;border:1px solid #cbd5e1;border-radius:6px;box-shadow:0 1px 2px #00000005;box-sizing:border-box;color:#0f172a;font-size:13px;outline:none;padding:8px 12px;transition:border-color .2s;width:100%}.AuditLogPanel-module_filterInput__CvuQ5:focus,.AuditLogPanel-module_filterSelect__1mD44:focus{border-color:#2563eb}.AuditLogPanel-module_filterInputWithIcon__o5dTT{padding-left:32px}.AuditLogPanel-module_btnSecondary__s9Ts7{background:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 1px 2px #0000000d;color:#475569;cursor:pointer;font-size:13px;font-weight:600;padding:8px 20px;transition:background .2s}.AuditLogPanel-module_btnSecondary__s9Ts7:hover{background:#f1f5f9}.AuditLogPanel-module_btnPrimary__l1zRY{background:linear-gradient(135deg,#2563eb,#1d4ed8);border:none;border-radius:8px;box-shadow:0 4px 12px #2563eb40;color:#fff;cursor:pointer;font-size:13px;font-weight:600;padding:8px 24px;transition:opacity .2s}.AuditLogPanel-module_btnPrimary__l1zRY:hover{opacity:.9}.AuditLogPanel-module_severityBadge__-sPO7{border-radius:12px;font-size:11px;font-weight:500;padding:2px 8px}.AuditLogPanel-module_severityHigh__e--68{background-color:#fee2e2;color:#991b1b}.AuditLogPanel-module_severityMedium__EQj8s{background-color:#fef3c7;color:#b45309}.AuditLogPanel-module_severityLow__k3-gs{background-color:#dcfce7;color:#166534}.AuditLogPanel-module_severityOther__m-OrS{background-color:#f1f5f9;color:#475569}.lgfd__overlay{background:#0000;border:none;cursor:default;inset:0;padding:0;position:fixed;z-index:999}.lgfd__panel{background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 8px 24px #0000001f;display:flex;flex-direction:column;max-height:520px;overflow:hidden;position:fixed;width:400px;z-index:1000}.lgfd__header{align-items:center;border-bottom:1px solid #f3f4f6;display:flex;flex-shrink:0;justify-content:space-between;padding:14px 16px 12px}.lgfd__title{color:#111827;font-size:14px;font-weight:600}.lgfd__closeBtn{background:none;border:none;border-radius:4px;color:#9ca3af;cursor:pointer;font-size:13px;line-height:1;padding:2px 6px;transition:background .1s,color .1s}.lgfd__closeBtn:hover{background:#f3f4f6;color:#374151}.lgfd__body{flex:1;overflow-y:auto}.lgfd__block{border-bottom:1px solid #f3f4f6;padding:14px 16px}.lgfd__block:last-child{border-bottom:none}.lgfd__label{color:#374151;font-size:13px;font-weight:600;margin-bottom:4px}.lgfd__hint{line-height:1.4}.lgfd__empty,.lgfd__hint{color:#9ca3af;font-size:12px}.lgfd__empty{padding:6px 0}.lgfd__footer{border-top:1px solid #e5e7eb;display:flex;flex-shrink:0;gap:8px;padding:12px 16px}.lgfd__resetBtn{background:#fff;border:1px solid #d1d5db;border-radius:6px;color:#374151;cursor:pointer;flex:1;font-size:13px;font-weight:500;padding:8px 12px;transition:background .1s}.lgfd__resetBtn:hover{background:#f9fafb}.lgfd__applyBtn{background:#7c3aed;border:none;border-radius:6px;color:#fff;cursor:pointer;flex:1;font-size:13px;font-weight:500;padding:8px 12px;transition:background .1s}.lgfd__applyBtn:hover{background:#6d28d9}.lgfd__actorSearch{align-items:center;display:flex;margin-bottom:6px;position:relative}.lgfd__actorInput{border:1px solid #d1d5db;border-radius:6px;box-sizing:border-box;color:#374151;font-size:13px;outline:none;padding:7px 32px 7px 10px;width:100%}.lgfd__actorInput:focus{border-color:#6b7280}.lgfd__actorSpinner{animation:lgfd-spin .6s linear infinite;border:2px solid #e5e7eb;border-radius:50%;border-top-color:#6b7280;height:14px;position:absolute;right:10px;width:14px}@keyframes lgfd-spin{to{transform:rotate(1turn)}}.lgfd__actorList{display:flex;flex-direction:column;gap:1px;max-height:128px;overflow-y:auto}.lgfd__actorItem{align-items:center;border-radius:5px;cursor:pointer;display:flex;gap:8px;padding:6px;user-select:none}.lgfd__actorItem:hover{background:#f9fafb}.lgfd__actorItem--checked{background:#f5f3ff}.lgfd__actorCheckbox{align-items:center;background:#fff;border:1.5px solid #d1d5db;border-radius:3px;color:#fff;display:flex;flex-shrink:0;font-size:10px;height:15px;justify-content:center;width:15px}.lgfd__actorCheckbox--checked{background:#7c3aed;border-color:#7c3aed}.lgfd__actorLabel{color:#374151;font-size:13px}';e(o);export{o as default};
|
|
2
|
-
//# sourceMappingURL=styles.css.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as r}from"tslib";import{jsx as t,Fragment as e}from"react/jsx-runtime";import n,{useMemo as o,Suspense as i}from"react";import{resolveRegistryComponentOrFallback as p,isContainerComponent as a}from"../ComponentRegistry.js";import{FormContext as u}from"./types.js";var c=function(){return t("div",r({style:{padding:12,fontSize:13,color:"#9ca3af"}},{children:"Loading…"}))},d={PromptTextEditor:n.lazy(function(){return import("./adapters/PromptTextEditorAdapter.js")}),GlobalSetupAccordion:n.lazy(function(){return import("./adapters/GlobalSetupAccordionAdapter.js")})},l=function(e){var n=e.id,o=e.node;if(o.hidden)return null;var u=o.bpa_ui_component&&d[o.bpa_ui_component]||p(o.bpa_ui_component),l=a(o.bpa_ui_component);return t(i,r({fallback:t(c,{})},{children:t(u,r({id:n,schema:o},{children:l&&!o.is_repeatable_variant&&o.properties&&t(s,{properties:o.properties})}))}))},s=function(r){var n=r.properties,i=o(function(){return function(r){return Object.entries(r).sort(function(r,t){var e,n,o=r[1],i=t[1];return(null!==(e=o.ui_position)&&void 0!==e?e:0)-(null!==(n=i.ui_position)&&void 0!==n?n:0)})}(n)},[n]);return t(e,{children:i.map(function(r){var e=r[0],n=r[1];return t(l,{id:e,node:n},e)})})},m=function(e){var n=e.schema,o=e.state,i=e.handlers,p=e.uiState;return(null==n?void 0:n.properties)?t(u.Provider,r({value:{state:o,handlers:i,uiState:p}},{children:t(s,{properties:n.properties})})):null};export{m as SchemaForm,s as SchemaPropertyList};
|
|
2
|
-
//# sourceMappingURL=SchemaRenderer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaRenderer.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{jsx as i}from"react/jsx-runtime";import{useContext as t}from"react";import{ConditionSection as n}from"../../features/IL-OTJ/_components/organisms/ConditionSection/ConditionSection.js";import{FormContext as o}from"../types.js";var e=function(e){var d,a,r,l,c,s,v,p,u,h,y,A=e.id,g=e.schema,m=t(o),T=m.state,f=m.handlers,I=m.uiState,E=m.tierKey,w=m.variantIndex;if(!T||!I)return null;var S="wta"===g.data_key,W=S?(null===(r=null===(a=null===(d=T.variantsByTier)||void 0===d?void 0:d[E])||void 0===a?void 0:a[w])||void 0===r?void 0:r.whenToApplyConditions)||[]:(null===(s=null===(c=null===(l=T.variantsByTier)||void 0===l?void 0:l[E])||void 0===c?void 0:c[w])||void 0===s?void 0:s.whenNotToApplyConditions)||[],C=(null===(v=I.validationErrors)||void 0===v?void 0:v["".concat(S?"whenToApply":"whenNotToApply","-").concat(E,"-").concat(w)])||(S?I.conflictReason:void 0),N=(null===(h=null===(u=null===(p=T.variantsByTier)||void 0===p?void 0:p[E])||void 0===u?void 0:u[w])||void 0===h?void 0:h.isReadOnly)||I.isAiStreaming,_=(null===(y=I.highlights)||void 0===y?void 0:y.get("".concat(E,"_").concat(w)))||{},x=S?_.wta:_.wnta;return i(n,{id:"".concat(A,"-").concat(E,"-").concat(w),idPrefix:"condition-".concat(g.data_key),title:g.title,required:!!g.core_field,readOnly:N,conditions:W,index:w,tierKey:E,onAdd:function(){return S?f.addWhenToApply(E,w):f.addWhenNotToApply(E,w)},onRemove:function(i,t,n){return S?f.removeWhenToApply(i,t,n):f.removeWhenNotToApply(i,t,n)},onEdit:function(i,t,n,o){return S?f.editWhenToApply(i,t,n,o):f.editWhenNotToApply(i,t,n,o)},bordered:!0,dividerRequired:!0,addLabel:S?I.addWhenToApplyBtnLabel:I.addWhenNotToApplyBtnLabel,tooltipDescription:g.tooltip,errorMessage:C,isHighlighted:x||!1,highlightedIds:I.highlightedIds,citations:function(i){var t,n,o=null===(t=T.fieldCitations)||void 0===t?void 0:t[i];return Array.isArray(o)&&o.length>0?o:null!==(n=T.citations)&&void 0!==n?n:[]}("".concat(S?"whenToApply":"whenNotToApply","_").concat(E,"_").concat(w)),isAiStreaming:I.isAiStreaming,activeEditId:I.activeEditId,setActiveEditId:I.setActiveEditId,pendingEditId:I.pendingEditId,setPendingEditId:I.setPendingEditId,setSendMessageInChat:I.setSendMessageInChat})};export{e as default};
|
|
2
|
-
//# sourceMappingURL=ConditionSectionAdapter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ConditionSectionAdapter.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{jsx as i}from"react/jsx-runtime";import{useContext as e}from"react";import{ConfigSection as t}from"../../features/IL-OTJ/_components/organisms/ConfigSection/ConfigSection.js";import{FormContext as n}from"../types.js";var d=function(d){var o,r,a,s,l,g,v,c,u;d.id;var m=d.schema,f=e(n),I=f.state,h=f.handlers,p=f.uiState,S=f.tierKey,C=f.variantIndex;if(!I||!p)return null;var E=(null===(r=null===(o=p.separationItemsByTier)||void 0===o?void 0:o[S])||void 0===r?void 0:r.get(C))||[],y=(null===(s=null===(a=p.togglesByTier)||void 0===a?void 0:a[S])||void 0===s?void 0:s.get(C))||[],A=(null===(v=null===(g=null===(l=I.variantsByTier)||void 0===l?void 0:l[S])||void 0===g?void 0:g[C])||void 0===v?void 0:v.isReadOnly)||p.isAiStreaming,x=(null===(c=p.highlights)||void 0===c?void 0:c.get("".concat(S,"_").concat(C)))||{};return i(t,{id:"config-".concat(S,"-").concat(C),title:null!==(u=m.title)&&void 0!==u?u:"Advanced Settings",required:!!m.core_field,readOnly:A,onConfigChange:function(i,e){return h.onConfigChange(S,C,i,e)},separationItems:E,toggles:y,index:C,highlights:x,bordered:!0,isAiStreaming:p.isAiStreaming,activeEditId:p.activeEditId,setActiveEditId:p.setActiveEditId,pendingEditId:p.pendingEditId,setPendingEditId:p.setPendingEditId,setSendMessageInChat:p.setSendMessageInChat})};export{d as default};
|
|
2
|
-
//# sourceMappingURL=ConfigSectionAdapter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigSectionAdapter.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as e}from"tslib";import{jsx as i,jsxs as t}from"react/jsx-runtime";import{useContext as l,useState as n,useRef as o,useEffect as r}from"react";import d from"../../features/IL-OTJ/_components/AccordianSection.js";import{FormContext as a}from"../types.js";import{SchemaPropertyList as s}from"../SchemaRenderer.js";import{Loader2Icon as u,Pencil as c,Check as p,AlertTriangle as f}from"lucide-react";var v=function(v){var g,m,y=v.schema,h=l(a),x=h.state,S=h.uiState,I=n(null),b=I[0],E=I[1],C=n(null),D=C[0],T=C[1],A=n(!1),k=A[0],j=A[1],z=o(null==S?void 0:S.isAiStreaming),O="rule-setup"===(null==S?void 0:S.activeEditId);r(function(){z.current&&!(null==S?void 0:S.isAiStreaming)&&k&&j(!1),z.current=null==S?void 0:S.isAiStreaming},[null==S?void 0:S.isAiStreaming,k]);var N=function(){var e;E(null),T(null),null===(e=null==S?void 0:S.setActiveEditId)||void 0===e||e.call(S,null)},P=function(){var e,i,t=null!=b?b:x.ruleTitle,l=null!=D?D:x.scopeData,n=t!==x.ruleTitle,o=JSON.stringify(l)!==JSON.stringify(x.scopeData);if(!n&&!o)return E(null),T(null),void(null===(e=null==S?void 0:S.setActiveEditId)||void 0===e||e.call(S,null));if(null==S?void 0:S.setSendMessageInChat){var r="sk-".concat(Date.now(),"-").concat(Math.random().toString(36).slice(2,8)),d=[];if(n&&d.push((null==t?void 0:t.trim())?"Title with ".concat(t):"No Title"),o){var a=null==l?void 0:l.tiers;d.push(a&&a.length>0?"tiers: ".concat(a.join(", ")):"No Tier Selected")}S.setSendMessageInChat("__SKELETON__:".concat(r,":Update Rule Setup ").concat(d.join(" and ")))}j(!0),E(null),T(null),null===(i=null==S?void 0:S.setActiveEditId)||void 0===i||i.call(S,null)},R=null!==b?null==b?void 0:b.trim():(x.ruleTitle||"").trim(),_=null!=D?D:x.scopeData,w=R!==(x.ruleTitle||"").trim(),J=JSON.stringify(_)!==JSON.stringify(x.scopeData),F=!w&&!J||""===R;return i("div",e({"data-edit-id":"rule-setup"},{children:i(d,e({title:{type:"other",label:y.title||(null==S?void 0:S.setupLabel)||"Rule Setup"},actionButtons:function(t,l){if(O)return null;var n=!!(null==S?void 0:S.activeEditId)&&"rule-setup"!==S.activeEditId;return i("div",e({style:{position:"relative",display:"flex",flexDirection:"column"}},{children:i("button",e({title:n?"Save active edits first":"Edit",onClick:function(i){i.stopPropagation(),n?(null==S?void 0:S.setPendingEditId)&&S.setPendingEditId(S.activeEditId||null):(!function(){var i,t;(null==S?void 0:S.activeEditId)&&"rule-setup"!==S.activeEditId||(null===(i=null==S?void 0:S.setActiveEditId)||void 0===i||i.call(S,"rule-setup"),E(null!==(t=x.ruleTitle)&&void 0!==t?t:""),T(x.scopeData?e({},x.scopeData):{}))}(),(null==S?void 0:S.setPendingEditId)&&S.setPendingEditId(null),t||l())},disabled:k,style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"8px",padding:"6px 8px",border:"1px solid #e5e7eb",borderRadius:"8px",cursor:k?"not-allowed":"pointer",backgroundColor:"#ffffff",color:"#6b7280",opacity:k?.5:1}},{children:i(c,{size:14})}))}))},footerData:{ruleTitle:x.ruleTitle,stations:[x.scopeData.station],tiers:null===(g=x.scopeData)||void 0===g?void 0:g.tiers},defaultOpen:null!==(m=y.default_open)&&void 0!==m?m:"Create"===(null==S?void 0:S.usedFor),readOnly:"Create"!==(null==S?void 0:S.usedFor),isAiStreaming:null==S?void 0:S.isAiStreaming,editFlow:"Edit"===(null==S?void 0:S.usedFor)},{children:t("div",e({style:{display:"flex",flexDirection:"column",gap:"12px"}},{children:[k&&(null==S?void 0:S.isAiStreaming)&&t("div",e({style:{display:"flex",alignItems:"center",color:"#141414ff",fontSize:"13px",fontWeight:500,fontStyle:"italic",marginBottom:"8px",paddingLeft:"4px"}},{children:[i(u,{size:16,style:{marginRight:8,animation:"spin 1s linear infinite"}}),"Checking the correctness of your Rule Setup..."]})),i(a.Provider,e({value:e(e({},l(a)),{isEditingSetup:O,draftTitle:b,setDraftTitle:E,draftScope:D,setDraftScope:T})},{children:i(s,{properties:y.properties})})),O?t("div",e({style:{display:"flex",flexDirection:"column",alignItems:"flex-start"}},{children:[t("div",e({style:{display:"flex",justifyContent:"flex-start",alignItems:"center",gap:"16px"}},{children:[i("button",e({onClick:N,style:{background:"none",border:"none",color:"#6b7280",fontSize:"14px",fontWeight:"500",cursor:"pointer",padding:"0"}},{children:"Discard Changes"})),t("button",e({onClick:P,disabled:F,style:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 16px",borderRadius:"12px",border:"none",backgroundColor:"#2563eb",color:"#ffffff",fontSize:"14px",fontWeight:"500",cursor:F?"not-allowed":"pointer",opacity:F?.5:1}},{children:[i(p,{size:18,strokeWidth:2.5,color:"#ffffff"})," Save Changes"]}))]})),"rule-setup"===(null==S?void 0:S.pendingEditId)&&t("div",e({style:{display:"flex",alignItems:"center",gap:"6px",marginTop:"10px"}},{children:[i(f,{size:14,style:{color:"#C2410C"}}),i("div",e({style:{color:"#C2410C",fontSize:"13px"}},{children:"Pending - Changes not applied yet. Apply or discard them to continue."}))]}))]})):null]}))}))}))};export{v as default};
|
|
2
|
-
//# sourceMappingURL=GlobalSetupAccordionAdapter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GlobalSetupAccordionAdapter.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as i}from"tslib";import{jsxs as t,jsx as e,Fragment as n}from"react/jsx-runtime";import{useContext as l,useState as o,Suspense as r}from"react";import{Check as d,X as a,Pencil as s,AlertTriangle as c}from"lucide-react";import{FormContext as p}from"../types.js";var u=function(u){var v,h,m,x,f=u.schema,g=l(p),y=g.state,b=g.uiState,E=g.tierKey,I=g.variantIndex,C="instruction-prompt-".concat(E,"-").concat(I),S=(null==b?void 0:b.activeEditId)===C,w=!!(null==b?void 0:b.activeEditId)&&b.activeEditId!==C,k=o(null),z=k[0],A=k[1];if(!y||!b||!b.LazyPromptEditor)return null;var P=(null===(h=null===(v=y.variantsByTier)||void 0===v?void 0:v[E])||void 0===h?void 0:h[I])||{},_=null!==(m=P.instructionPrompt)&&void 0!==m?m:b.instructionPrompt,B=P.isReadOnly||b.isAiStreaming,L=((null===(x=b.highlights)||void 0===x?void 0:x.get("".concat(E,"_").concat(I)))||{}).instruction_prompt||!1,T=!z||z.trim()===((null==_?void 0:_.trim())||""),W={display:"flex",alignItems:"center",justifyContent:"center",padding:"8px",border:"1px solid #e5e7eb",borderRadius:"8px",cursor:"pointer",width:"36px",height:"36px",backgroundColor:"#ffffff"};return t("div",i({style:{display:"flex",flexDirection:"column",gap:"4px",width:"100%",marginBottom:"12px",margin:"0 0.2rem",overflow:"hidden",boxSizing:"border-box"},"data-edit-id":C},{children:[e("div",i({style:{display:"flex",alignItems:"center",width:"100%",justifyContent:"space-between",marginBottom:"4px"}},{children:e("span",i({style:{fontSize:"14px",fontWeight:500,color:"#19213D",fontFamily:'"Plus Jakarta Sans", sans-serif'}},{children:f.title}))})),t("div",i({style:{display:"flex",alignItems:"flex-start",gap:"8px",width:"100%",minWidth:0}},{children:[e("div",i({style:{flex:1,minWidth:0,border:L?"1px solid #2563EB":"1px solid transparent",borderRadius:"8px",boxShadow:L?"0 0 12px 3px rgba(37, 99, 235, 0.3)":"none",transition:"border-color 0.3s, box-shadow 0.3s"}},{children:e(r,i({fallback:e("div",i({style:{padding:"12px",fontSize:"13px",color:"#6b7280"}},{children:"Loading editor..."}))},{children:e("div",i({style:{pointerEvents:S?"auto":"none",opacity:S?1:.75}},{children:e(b.LazyPromptEditor,{value:S&&null!==z?z:_,onChange:function(i){var t;return S?A(i):null===(t=b.setInstructionPrompt)||void 0===t?void 0:t.call(b,i)},title:f.title,minHeight:"220px",maxHeight:"220px"})}))}))})),!B&&e("div",i({style:{display:"flex",flexDirection:"row",gap:"8px",marginTop:"0px"}},{children:S?t(n,{children:[t("button",i({title:"Apply",onClick:function(){var i,t;if(null!==z){if(z!==(null!=_?_:"")&&(null===(i=b.setInstructionPrompt)||void 0===i||i.call(b,z),null==b?void 0:b.setSendMessageInChat)){var e="sk-".concat(Date.now(),"-").concat(Math.random().toString(36).slice(2,8));b.setSendMessageInChat("__SKELETON__:".concat(e,":The Instruction Prompt has been updated through the Learning Form"))}A(null),null===(t=null==b?void 0:b.setActiveEditId)||void 0===t||t.call(b,null)}},disabled:T,style:i(i({},W),{backgroundColor:"#2563EB",color:"white",width:"auto",padding:"8px 12px",cursor:T?"not-allowed":"pointer",opacity:T?.5:1})},{children:[e(d,{size:20,strokeWidth:2.5})," Apply"]})),e("button",i({title:"Cancel",onClick:function(){var i;A(null),null===(i=null==b?void 0:b.setActiveEditId)||void 0===i||i.call(b,null)},style:i(i({},W),{borderColor:"#E3E8E9",color:"#dc2626"})},{children:e(a,{size:20,strokeWidth:2.5})}))]}):e("button",i({title:w?"Save active edits first":"Edit",onClick:function(){var i;(null==b?void 0:b.activeEditId)&&b.activeEditId!==C||(null===(i=null==b?void 0:b.setActiveEditId)||void 0===i||i.call(b,C),A(null!=_?_:""))},disabled:(null==b?void 0:b.isAiStreaming)||w,style:i(i({},W),{color:"#6b7280",cursor:(null==b?void 0:b.isAiStreaming)||w?"not-allowed":"pointer",opacity:(null==b?void 0:b.isAiStreaming)||w?.5:1})},{children:e(s,{size:20})}))}))]})),(null==b?void 0:b.pendingEditId)===C&&S&&t("div",i({style:{display:"flex",alignItems:"center",gap:"6px",marginTop:"6px"}},{children:[e(c,{size:14,style:{color:"#C2410C"}}),e("div",i({style:{color:"#C2410C",fontSize:"13px"}},{children:"Pending - Changes not applied yet. Apply or discard them to continue."}))]}))]}))};export{u as default};
|
|
2
|
-
//# sourceMappingURL=PromptTextEditorAdapter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PromptTextEditorAdapter.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as i}from"tslib";import{jsxs as o,Fragment as t,jsx as e}from"react/jsx-runtime";import{useContext as n,useState as r}from"react";import{ScopeSection as s}from"../../features/IL-OTJ/_components/organisms/ScopeSection/ScopeSection.js";import{FormContext as a}from"../types.js";import{InputDataReasoningCard as l}from"../../features/IL-OTJ/_components/InputDataReasoningCard.js";import{ButtonCognitiveIcon as d}from"../../features/IL-OTJ/_components/_svg/ButtonCognitiveIcon.js";var c=function(c){var p,u,v,f,g,m,h,S,O=c.id,I=c.schema,D=n(a),E=D.state,j=D.handlers,C=D.uiState,_=D.isEditingSetup,y=D.draftScope,T=D.setDraftScope,x=r(function(){return new Set([O])}),b=x[0],A=x[1],J=r(!1),L=J[0],M=J[1];if(!E||!C)return null;var w=_&&null!==y?y:E.scopeData,V=(null===(p=C.highlights)||void 0===p?void 0:p.get("global_0"))||{},q=null===(u=E.citation)||void 0===u?void 0:u.scopeData;return o(t,{children:[e(s,{id:O,title:I.title,required:!!I.core_field,readOnly:C.isAiStreaming||!_,openSections:b,setOpenSections:A,scopeData:w,onScopeChange:function(o,t){var e;return _?T(i(i({},w),((e={})[o]=t,e))):j.onScopeChange(o,t)},stationOptions:C.stationOptions,tierOptions:C.tierOptions,isOpen:b.has(O)||L,onToggle:function(){return M(!L)},showCognitiveIcon:!!q,cognitiveIcon:e(d,{}),highlights:V,tooltipDescription:null!==(v=I.tooltip)&&void 0!==v?v:"",errorMessage:(null===(f=C.validationErrors)||void 0===f?void 0:f.station)||(null===(g=C.validationErrors)||void 0===g?void 0:g.tiers),stationErrorMessage:null===(m=C.validationErrors)||void 0===m?void 0:m.station,tierErrorMessage:null===(h=C.validationErrors)||void 0===h?void 0:h.tiers}),q&&e("div",i({style:{marginTop:"-17px",position:"relative",zIndex:1}},{children:e(l,{isVisible:L,citation:q,citations:function(i){var o,t,e=null===(o=E.fieldCitations)||void 0===o?void 0:o[i];return Array.isArray(e)&&e.length>0?e:null!==(t=E.citations)&&void 0!==t?t:[]}("scopeData"),fieldName:I.title||"Scope",fieldValue:null===(S=null==w?void 0:w.tiers)||void 0===S?void 0:S.join(", ")})}))]})};export{c as default};
|
|
2
|
-
//# sourceMappingURL=ScopeSectionAdapter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ScopeSectionAdapter.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as i}from"tslib";import{jsxs as t,Fragment as e,jsx as n}from"react/jsx-runtime";import{useContext as o,useState as l}from"react";import{TextSection as a}from"../../features/IL-OTJ/_components/organisms/TextSection/TextSection.js";import{FormContext as d}from"../types.js";import{InputDataReasoningCard as r}from"../../features/IL-OTJ/_components/InputDataReasoningCard.js";var s=function(s){var c,v,u,g,p,m,f,h,I,y,T,E,S,_,D,b,A,x,C;s.id;var O=s.schema,j=o(d),F=j.state,M=j.handlers,R=j.uiState,w=j.tierKey,B=j.variantIndex,k=j.isEditingSetup,J=j.draftTitle,L=j.setDraftTitle,N=l(!1),P=N[0],V=N[1];if(!F||!R)return null;var q=null===(c=O.data_key)||void 0===c?void 0:c.startsWith("global."),z=(null===(v=O.data_key)||void 0===v?void 0:v.replace("global.",""))||"",G="";G=q?"ruleTitle"===z?k&&null!==J?J:F.ruleTitle:null===(u=F.dynamicGlobalState)||void 0===u?void 0:u[z]:"ruleDescription"===z?null===(m=null===(p=null===(g=F.variantsByTier)||void 0===g?void 0:g[w])||void 0===p?void 0:p[B])||void 0===m?void 0:m.ruleDescription:null===(y=null===(I=null===(h=null===(f=F.variantsByTier)||void 0===f?void 0:f[w])||void 0===h?void 0:h[B])||void 0===I?void 0:I.dynamicFields)||void 0===y?void 0:y[z];var H=R.highlights||new Map,K=q?null===(T=H.get("global_0")||{})||void 0===T?void 0:T[z]:null===(E=H.get("".concat(w,"_").concat(B))||{})||void 0===E?void 0:E[z],W=q?null===(S=F.citation)||void 0===S?void 0:S[z]:null===(_=F.citation)||void 0===_?void 0:_["".concat(z,"_").concat(w)],Q=q?null===(D=R.validationErrors)||void 0===D?void 0:D[z]:null===(b=R.validationErrors)||void 0===b?void 0:b["".concat(z,"-").concat(w,"-").concat(B)],U=q?R.isAiStreaming||!k:R.isAiStreaming||(null===(C=null===(x=null===(A=F.variantsByTier)||void 0===A?void 0:A[w])||void 0===x?void 0:x[B])||void 0===C?void 0:C.isReadOnly);return t(e,{children:[n(a,{id:q?"global-".concat(z):"".concat(z,"-").concat(w,"-").concat(B),title:O.title,rows:q?1:2,placeholder:O.placeholder,required:!!O.core_field,readOnly:U,value:G||"",onChange:function(i){q?"ruleTitle"===z?k?L(i):M.setRuleTitle(i):M.setDynamicField(z,i):"ruleDescription"===z?M.setRuleDescription(w,B,i):M.setDynamicField(z,i,w,B)},enableInlineEdit:!0,fieldName:O.title,tooltipDescription:O.tooltip,errorMessage:Q,isHighlighted:K||!1,isOpen:P,onToggle:function(){return V(!P)},showCognitiveIcon:!!W,activeEditId:R.activeEditId,setActiveEditId:R.setActiveEditId,pendingEditId:R.pendingEditId,setPendingEditId:R.setPendingEditId,setSendMessageInChat:R.setSendMessageInChat,isAiStreaming:R.isAiStreaming}),W&&n("div",i({style:{marginTop:"-17px",position:"relative",zIndex:1}},{children:n(r,{isVisible:P,citation:W,citations:function(i){var t,e,n=null===(t=F.fieldCitations)||void 0===t?void 0:t[i];return Array.isArray(n)&&n.length>0?n:null!==(e=F.citations)&&void 0!==e?e:[]}(q?z:"".concat(z,"_").concat(w,"_").concat(B)),fieldName:O.title||"Field",fieldValue:G})}))]})};export{s as default};
|
|
2
|
-
//# sourceMappingURL=TextInputAdapter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextInputAdapter.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as e}from"tslib";import{jsx as i}from"react/jsx-runtime";import{useContext as r,useState as t}from"react";import{VariantListWrapper as a}from"../../features/IL-OTJ/_components/templates/TrafficManager/CreateRule.js";import n from"../../features/IL-OTJ/_components/AccordianSection.js";import{FormContext as l}from"../types.js";import{SchemaPropertyList as o}from"../SchemaRenderer.js";var d=function(d){var u,s,c,v,f=d.schema,p=r(l),m=p.state,h=p.handlers,y=p.uiState,x=t(null),A=x[0],g=x[1];if(!m)return null;var D=(null===(c=null===(s=null===(u=m.scopeData)||void 0===u?void 0:u.tiers)||void 0===s?void 0:s[0])||void 0===c?void 0:c.toLowerCase().replace(/ /g,"_"))||"tier_1",T=(null===(v=m.variantsByTier)||void 0===v?void 0:v[D])||[];return i(a,e({onAddVariant:function(){var e;return null===(e=h.addNewVariant)||void 0===e?void 0:e.call(h,D)},isDisabled:null==y?void 0:y.isAiStreaming,showAddVariantBtn:"Edit"!==(null==y?void 0:y.usedFor)},{children:T.map(function(r,t){var a="".concat(D,"-variant-").concat(t),d=r.variantType||"default";return i("div",e({style:{width:"100%"}},{children:i(n,e({title:{type:"default"===d||"default_variant"===d?"default":"variant",label:d,number:t+1,isNewVariant:!0===r.is_variant,isDefault:r.isDefault,isModified:r.isModified},defaultOpen:!0,expanded:A===a||(null==y?void 0:y.activeVariantAccordionIndex)===t,onToggle:function(){var e,i=A===a;g(i?null:a),null===(e=null==y?void 0:y.setActiveVariantAccordionIndex)||void 0===e||e.call(y,i?null:t)},variant:"rule-behavior",footerData:{ruleTitle:d,description:r.ruleDescription||""},readOnly:r.isReadOnly||(null==y?void 0:y.isAiStreaming)},{children:i("div",e({style:{display:"flex",flexDirection:"column",gap:"12px"}},{children:i(l.Provider,e({value:{state:m,handlers:h,uiState:y,tierKey:D,variantIndex:t}},{children:i(o,{properties:f.properties})}))}))}))}),a)})}))};export{d as default};
|
|
2
|
-
//# sourceMappingURL=VariantListWrapperAdapter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VariantListWrapperAdapter.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var e={type:"object",title:"RHS FORM",properties:{section_1:{type:"object",title:"Configure your IL",ui_position:1,bpa_ui_component:"Accordion",default_open:!0,properties:{ruleTitle:{type:"string",title:"Learning Title",placeholder:"Enter a short, descriptive title for the learning",ui_position:1,bpa_ui_component:"TextInput",data_key:"global.ruleTitle",core_field:!0,ai_generated:!0,read_only:!1,hidden:!1,tooltip:"Why this Title?"},scopeData:{type:"object",title:"Scope",ui_position:2,bpa_ui_component:"ScopeSection",data_key:"global.scopeData",core_field:!0,ai_generated:!0,read_only:!1,hidden:!1}}},section_2:{type:"object",title:"Variants",ui_position:2,bpa_ui_component:"Accordion",default_open:!0,properties:{variantList:{type:"array",title:"Variants",ui_position:1,bpa_ui_component:"VariantListWrapper",is_repeatable_variant:!0,properties:{ruleDescription:{type:"string",title:"Learning Explanation",placeholder:"Explain the learning behaviour",ui_position:1,bpa_ui_component:"TextInput",data_key:"ruleDescription",core_field:!0,ai_generated:!0,read_only:!1,hidden:!1},instructionPrompt:{type:"string",title:"Instruction Prompt",ui_position:2,bpa_ui_component:"PromptTextEditor",data_key:"instructionPrompt",core_field:!1,ai_generated:!0,read_only:!1,hidden:!1},whenToApply:{type:"array",title:"When to apply",ui_position:3,bpa_ui_component:"ConditionSection",data_key:"wta",core_field:!0,ai_generated:!0,read_only:!1,hidden:!1},whenNotToApply:{type:"array",title:"When NOT to apply",ui_position:4,bpa_ui_component:"ConditionSection",data_key:"wnta",core_field:!1,ai_generated:!0,read_only:!1,hidden:!1},configurations:{type:"object",title:"Advanced Settings",ui_position:5,bpa_ui_component:"ConfigSection",data_key:"configData",core_field:!1,ai_generated:!0,read_only:!1,hidden:!1,properties:{is_default:{type:"boolean",title:"Default Variant",ui_position:1,data_key:"is_default_enabled",hidden:!1},order_separation_advertisers:{type:"array",title:"Order Separation Advertisers",ui_position:2,data_key:"order_rules",hidden:!0}}}}}}}}};export{e as DEMO_LEARNING_METADATA_COMPONENTS};
|
|
2
|
-
//# sourceMappingURL=demoSchema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"demoSchema.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ILMarketplaceTest.d.ts","sourceRoot":"","sources":["../../../src/ILMarketplaceTest.tsx"],"names":[],"mappings":"AA2GA,QAAA,MAAM,iBAAiB,mCA2UtB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface StationOnboardModalProps {
|
|
3
|
-
isOpen: boolean;
|
|
4
|
-
onClose: () => void;
|
|
5
|
-
onBoardStation: (scopeId?: string) => void;
|
|
6
|
-
app_integration_id?: string;
|
|
7
|
-
token: string;
|
|
8
|
-
stationNameParam?: string;
|
|
9
|
-
}
|
|
10
|
-
declare const BackwardStationOnboardModal: React.FC<StationOnboardModalProps>;
|
|
11
|
-
export default BackwardStationOnboardModal;
|
|
12
|
-
//# sourceMappingURL=BackwardStationOnboardModal.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BackwardStationOnboardModal.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AA+DpE,UAAU,wBAAwB;IAChC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,cAAc,EAAE,CAAC,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,QAAA,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAitBnE,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resizeObserverErrorGuard.d.ts","sourceRoot":"","sources":["../../../../../../src/features/LearningManagement/utils/resizeObserverErrorGuard.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,+BAA+B,YAyB3C,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SchemaFieldNode, SchemaRoot } from './types';
|
|
3
|
-
interface SchemaPropertyListProps {
|
|
4
|
-
properties: Record<string, SchemaFieldNode>;
|
|
5
|
-
}
|
|
6
|
-
/** Renders every property of a schema node, ordered by `ui_position`. */
|
|
7
|
-
export declare const SchemaPropertyList: React.FC<SchemaPropertyListProps>;
|
|
8
|
-
export interface SchemaFormProps {
|
|
9
|
-
schema?: SchemaRoot | null;
|
|
10
|
-
state?: any;
|
|
11
|
-
handlers?: any;
|
|
12
|
-
uiState?: any;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Entry point: renders an entire `learningMetadataComponents`-shaped schema
|
|
16
|
-
* with no per-field code required — component resolution, ordering, and
|
|
17
|
-
* nesting are all driven by the JSON itself via the component registry.
|
|
18
|
-
*/
|
|
19
|
-
export declare const SchemaForm: React.FC<SchemaFormProps>;
|
|
20
|
-
export {};
|
|
21
|
-
//# sourceMappingURL=SchemaRenderer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaRenderer.d.ts","sourceRoot":"","sources":["../../../../src/schema-driven/SchemaRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAE,eAAe,EAAE,UAAU,EAAe,MAAM,SAAS,CAAC;AA0DnE,UAAU,uBAAuB;IAC/B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;CAC7C;AAED,yEAAyE;AACzE,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAUhE,CAAC;AAEF,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;IAC3B,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,OAAO,CAAC,EAAE,GAAG,CAAC;CACf;AAED;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAOhD,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SchemaComponentProps } from '../types';
|
|
3
|
-
/**
|
|
4
|
-
* Bridges the schema-driven renderer to the existing `ConditionSection`
|
|
5
|
-
* organism (used for both "When to apply" and "When NOT to apply" via
|
|
6
|
-
* `schema.data_key` — `wta` / `wnta`). Holds its own local list of
|
|
7
|
-
* conditions until real form state (keyed by `data_key`) replaces it.
|
|
8
|
-
*/
|
|
9
|
-
declare const ConditionSectionAdapter: React.FC<SchemaComponentProps>;
|
|
10
|
-
export default ConditionSectionAdapter;
|
|
11
|
-
//# sourceMappingURL=ConditionSectionAdapter.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ConditionSectionAdapter.d.ts","sourceRoot":"","sources":["../../../../../src/schema-driven/adapters/ConditionSectionAdapter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,oBAAoB,EAAe,MAAM,UAAU,CAAC;AAE7D;;;;;GAKG;AACH,QAAA,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAsD3D,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SchemaComponentProps } from '../types';
|
|
3
|
-
/**
|
|
4
|
-
* Bridges the schema-driven renderer to the existing `ConfigSection`
|
|
5
|
-
* organism. The nested `is_default` / `order_separation_advertisers`
|
|
6
|
-
* schema properties are consumed internally by `ConfigSection` itself
|
|
7
|
-
* (as `separationItems` / `toggles`), so this adapter is a leaf — it does
|
|
8
|
-
* not recurse into `schema.properties`. Holds local state until real form
|
|
9
|
-
* state (keyed by `data_key`) replaces it.
|
|
10
|
-
*/
|
|
11
|
-
declare const ConfigSectionAdapter: React.FC<SchemaComponentProps>;
|
|
12
|
-
export default ConfigSectionAdapter;
|
|
13
|
-
//# sourceMappingURL=ConfigSectionAdapter.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigSectionAdapter.d.ts","sourceRoot":"","sources":["../../../../../src/schema-driven/adapters/ConfigSectionAdapter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,oBAAoB,EAAe,MAAM,UAAU,CAAC;AAE7D;;;;;;;GAOG;AACH,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA8BxD,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GlobalSetupAccordionAdapter.d.ts","sourceRoot":"","sources":["../../../../../src/schema-driven/adapters/GlobalSetupAccordionAdapter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAEvE,OAAO,EAAE,oBAAoB,EAAe,MAAM,UAAU,CAAC;AAI7D,QAAA,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAoJ/D,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SchemaComponentProps } from '../types';
|
|
3
|
-
/**
|
|
4
|
-
* Bridges the schema-driven renderer to the existing `PromptTextEditor`
|
|
5
|
-
* (a thin wrapper around the vendor `AIPromptEditor`). That component
|
|
6
|
-
* requires a real `value`/`onChange` pair — it crashes internally if
|
|
7
|
-
* `value` is undefined — so this adapter cannot use the generic
|
|
8
|
-
* `{id, schema, children}` contract directly and holds local state until
|
|
9
|
-
* `data_key`-based form state replaces it.
|
|
10
|
-
*/
|
|
11
|
-
declare const PromptTextEditorAdapter: React.FC<SchemaComponentProps>;
|
|
12
|
-
export default PromptTextEditorAdapter;
|
|
13
|
-
//# sourceMappingURL=PromptTextEditorAdapter.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PromptTextEditorAdapter.d.ts","sourceRoot":"","sources":["../../../../../src/schema-driven/adapters/PromptTextEditorAdapter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAE9D,OAAO,EAAE,oBAAoB,EAAe,MAAM,UAAU,CAAC;AAE7D;;;;;;;GAOG;AACH,QAAA,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAoF3D,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ScopeSectionAdapter.d.ts","sourceRoot":"","sources":["../../../../../src/schema-driven/adapters/ScopeSectionAdapter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,oBAAoB,EAAe,MAAM,UAAU,CAAC;AAI7D,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAuDvD,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SchemaComponentProps } from '../types';
|
|
3
|
-
/**
|
|
4
|
-
* Bridges the schema-driven renderer to the existing `TextSection` organism
|
|
5
|
-
* (cognitive-icon slot, tooltip, highlight, inline edit/apply/cancel) instead
|
|
6
|
-
* of a bare input, so schema-driven fields get the same chrome as the
|
|
7
|
-
* hand-built form.
|
|
8
|
-
*
|
|
9
|
-
* Note: `TextSection`'s "Apply" only fires `setSendMessageInChat` — the real
|
|
10
|
-
* value swap happens when a new `value` prop flows back down after the AI
|
|
11
|
-
* chat approves the edit, same as everywhere else in `CreateRule.tsx`. We
|
|
12
|
-
* don't have that chat loop here, so Apply currently just closes the editor
|
|
13
|
-
* without persisting; `onChange`/local `value` becomes live again once
|
|
14
|
-
* `data_key` state binding (or an equivalent approval loop) lands.
|
|
15
|
-
*/
|
|
16
|
-
declare const TextInputAdapter: React.FC<SchemaComponentProps>;
|
|
17
|
-
export default TextInputAdapter;
|
|
18
|
-
//# sourceMappingURL=TextInputAdapter.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextInputAdapter.d.ts","sourceRoot":"","sources":["../../../../../src/schema-driven/adapters/TextInputAdapter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,oBAAoB,EAAe,MAAM,UAAU,CAAC;AAG7D;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAoFpD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SchemaComponentProps } from '../types';
|
|
3
|
-
/**
|
|
4
|
-
* Bridges the schema-driven renderer to the exact `VariantListWrapper` used
|
|
5
|
-
* by `CreateRule.tsx` — same connector-line layout and "Add Variant"
|
|
6
|
-
* affordance, instead of a second implementation. `VariantListWrapper` has
|
|
7
|
-
* no collapse/dropdown behavior of its own, so a schema wanting the
|
|
8
|
-
* "Variants" block collapsible must nest this node under an `Accordion`
|
|
9
|
-
* node — the container.
|
|
10
|
-
*
|
|
11
|
-
* "Add Variant" is disabled until repeatable-variant state (cloning the
|
|
12
|
-
* child field set per variant) lands with the state-management phase; the
|
|
13
|
-
* schema only renders one instance of its properties today.
|
|
14
|
-
*/
|
|
15
|
-
declare const VariantListWrapperAdapter: React.FC<SchemaComponentProps>;
|
|
16
|
-
export default VariantListWrapperAdapter;
|
|
17
|
-
//# sourceMappingURL=VariantListWrapperAdapter.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VariantListWrapperAdapter.d.ts","sourceRoot":"","sources":["../../../../../src/schema-driven/adapters/VariantListWrapperAdapter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAGpD,OAAO,EAAE,oBAAoB,EAAe,MAAM,UAAU,CAAC;AAG7D;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAsD7D,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
|