@sparkelf/dsh-dataops-managed 0.4.0 → 0.4.2
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/lib/client.js +232 -151
- package/lib/client.js.map +1 -1
- package/lib/index.js +285 -0
- package/lib/types/client/BrowserVersionPrompt.d.ts +26 -0
- package/lib/types/client/locales.d.ts +4 -0
- package/lib/types/tool-scope.d.ts +15 -0
- package/package.json +4 -2
- package/skills/dataops-governance/SKILL.md +41 -0
- package/skills/dataops-governance/i18n/zh.json +10 -0
- package/skills/dataops-governance/references/01-file-import.md +201 -0
- package/skills/dataops-governance/references/02-api-import.md +11 -0
- package/skills/dataops-governance/references/03-metadata-write.md +32 -0
- package/skills/dataops-governance/references/04-metadata-read.md +132 -0
- package/skills/dataops-metadata-optimizer/SKILL.md +53 -0
- package/skills/dataops-metadata-optimizer/i18n/zh.json +10 -0
- package/skills/dataops-metadata-optimizer/references/01-inventory.md +23 -0
- package/skills/dataops-metadata-optimizer/references/02-pattern-catalog.md +16 -0
- package/skills/dataops-metadata-optimizer/references/03-proposal-and-preview.md +34 -0
- package/skills/dataops-metadata-optimizer/references/04-apply-and-measure.md +27 -0
- package/skills/dataops-synonym-governance/SKILL.md +38 -0
- package/skills/dataops-synonym-governance/references/synonym_governance.md +56 -0
package/lib/client.js
CHANGED
|
@@ -835,22 +835,22 @@ window.__ModuleLoader__.load({
|
|
|
835
835
|
document.head.appendChild(tag);
|
|
836
836
|
}
|
|
837
837
|
var ManagedDataOpsSection_module_css_default = {
|
|
838
|
+
"reviewHint": "_2dqzjG_reviewHint",
|
|
838
839
|
"heading": "_2dqzjG_heading",
|
|
839
|
-
"
|
|
840
|
-
"
|
|
841
|
-
"title": "_2dqzjG_title",
|
|
840
|
+
"label": "_2dqzjG_label",
|
|
841
|
+
"meta": "_2dqzjG_meta",
|
|
842
842
|
"reviewRows": "_2dqzjG_reviewRows",
|
|
843
|
-
"
|
|
843
|
+
"reviewActions": "_2dqzjG_reviewActions",
|
|
844
844
|
"row": "_2dqzjG_row",
|
|
845
|
-
"
|
|
846
|
-
"meta": "_2dqzjG_meta",
|
|
845
|
+
"refusal": "_2dqzjG_refusal",
|
|
847
846
|
"copy": "_2dqzjG_copy",
|
|
848
|
-
"label": "_2dqzjG_label",
|
|
849
|
-
"reviewHint": "_2dqzjG_reviewHint",
|
|
850
847
|
"status": "_2dqzjG_status",
|
|
851
848
|
"section": "_2dqzjG_section",
|
|
849
|
+
"fields": "_2dqzjG_fields",
|
|
850
|
+
"reviewRow": "_2dqzjG_reviewRow",
|
|
851
|
+
"card": "_2dqzjG_card",
|
|
852
852
|
"actions": "_2dqzjG_actions",
|
|
853
|
-
"
|
|
853
|
+
"title": "_2dqzjG_title"
|
|
854
854
|
};
|
|
855
855
|
//#endregion
|
|
856
856
|
//#region src/client/ReviewSettingsCard.tsx
|
|
@@ -1600,62 +1600,62 @@ window.__ModuleLoader__.load({
|
|
|
1600
1600
|
document.head.appendChild(tag);
|
|
1601
1601
|
}
|
|
1602
1602
|
var SkillPlazaSection_module_css_default = {
|
|
1603
|
+
"reviewError": "_9FdZvq_reviewError",
|
|
1604
|
+
"rejectedTag": "_9FdZvq_rejectedTag",
|
|
1605
|
+
"audit": "_9FdZvq_audit",
|
|
1606
|
+
"risk": "_9FdZvq_risk",
|
|
1607
|
+
"detailRow": "_9FdZvq_detailRow",
|
|
1603
1608
|
"detailValue": "_9FdZvq_detailValue",
|
|
1604
|
-
"
|
|
1605
|
-
"
|
|
1606
|
-
"
|
|
1607
|
-
"tabCount": "_9FdZvq_tabCount",
|
|
1608
|
-
"status": "_9FdZvq_status",
|
|
1609
|
-
"detail": "_9FdZvq_detail",
|
|
1609
|
+
"cardEnd": "_9FdZvq_cardEnd",
|
|
1610
|
+
"tab": "_9FdZvq_tab",
|
|
1611
|
+
"emptyIcon": "_9FdZvq_emptyIcon",
|
|
1610
1612
|
"departmentLabel": "_9FdZvq_departmentLabel",
|
|
1611
|
-
"head": "_9FdZvq_head",
|
|
1612
1613
|
"emptyText": "_9FdZvq_emptyText",
|
|
1613
|
-
"
|
|
1614
|
-
"tabs": "_9FdZvq_tabs",
|
|
1615
|
-
"tagTop": "_9FdZvq_tagTop",
|
|
1616
|
-
"auditDialog": "_9FdZvq_auditDialog",
|
|
1617
|
-
"headRow": "_9FdZvq_headRow",
|
|
1614
|
+
"head": "_9FdZvq_head",
|
|
1618
1615
|
"card": "_9FdZvq_card",
|
|
1619
1616
|
"notice": "_9FdZvq_notice",
|
|
1620
|
-
"
|
|
1621
|
-
"
|
|
1622
|
-
"
|
|
1623
|
-
"riskHead": "_9FdZvq_riskHead",
|
|
1624
|
-
"cardMarks": "_9FdZvq_cardMarks",
|
|
1625
|
-
"reviewButton": "_9FdZvq_reviewButton",
|
|
1626
|
-
"riskEmpty": "_9FdZvq_riskEmpty",
|
|
1627
|
-
"riskScore": "_9FdZvq_riskScore",
|
|
1628
|
-
"severity": "_9FdZvq_severity",
|
|
1629
|
-
"rejectedTag": "_9FdZvq_rejectedTag",
|
|
1630
|
-
"titleCount": "_9FdZvq_titleCount",
|
|
1631
|
-
"riskSummary": "_9FdZvq_riskSummary",
|
|
1632
|
-
"findings": "_9FdZvq_findings",
|
|
1633
|
-
"mark": "_9FdZvq_mark",
|
|
1617
|
+
"cardTitle": "_9FdZvq_cardTitle",
|
|
1618
|
+
"tabCount": "_9FdZvq_tabCount",
|
|
1619
|
+
"tagTop": "_9FdZvq_tagTop",
|
|
1634
1620
|
"pendingTag": "_9FdZvq_pendingTag",
|
|
1635
1621
|
"auditFooter": "_9FdZvq_auditFooter",
|
|
1622
|
+
"finding": "_9FdZvq_finding",
|
|
1623
|
+
"findings": "_9FdZvq_findings",
|
|
1624
|
+
"section": "_9FdZvq_section",
|
|
1636
1625
|
"findingText": "_9FdZvq_findingText",
|
|
1637
|
-
"
|
|
1638
|
-
"
|
|
1639
|
-
"
|
|
1640
|
-
"
|
|
1641
|
-
"
|
|
1626
|
+
"mine": "_9FdZvq_mine",
|
|
1627
|
+
"cardDesc": "_9FdZvq_cardDesc",
|
|
1628
|
+
"departmentSelect": "_9FdZvq_departmentSelect",
|
|
1629
|
+
"status": "_9FdZvq_status",
|
|
1630
|
+
"cards": "_9FdZvq_cards",
|
|
1631
|
+
"detailLabel": "_9FdZvq_detailLabel",
|
|
1642
1632
|
"title": "_9FdZvq_title",
|
|
1633
|
+
"mark": "_9FdZvq_mark",
|
|
1634
|
+
"demoTag": "_9FdZvq_demoTag",
|
|
1635
|
+
"headRow": "_9FdZvq_headRow",
|
|
1643
1636
|
"tabActive": "_9FdZvq_tabActive",
|
|
1644
|
-
"
|
|
1645
|
-
"
|
|
1646
|
-
"
|
|
1647
|
-
"
|
|
1637
|
+
"departmentBar": "_9FdZvq_departmentBar",
|
|
1638
|
+
"reviewButton": "_9FdZvq_reviewButton",
|
|
1639
|
+
"sharedTag": "_9FdZvq_sharedTag",
|
|
1640
|
+
"auditDialog": "_9FdZvq_auditDialog",
|
|
1641
|
+
"tabs": "_9FdZvq_tabs",
|
|
1648
1642
|
"cardTop": "_9FdZvq_cardTop",
|
|
1649
|
-
"
|
|
1650
|
-
"findingHint": "_9FdZvq_findingHint",
|
|
1651
|
-
"cardIcon": "_9FdZvq_cardIcon",
|
|
1652
|
-
"tab": "_9FdZvq_tab",
|
|
1643
|
+
"detailButton": "_9FdZvq_detailButton",
|
|
1653
1644
|
"dialog": "_9FdZvq_dialog",
|
|
1654
|
-
"
|
|
1655
|
-
"
|
|
1656
|
-
"
|
|
1645
|
+
"riskEmpty": "_9FdZvq_riskEmpty",
|
|
1646
|
+
"riskSummary": "_9FdZvq_riskSummary",
|
|
1647
|
+
"riskScore": "_9FdZvq_riskScore",
|
|
1648
|
+
"riskHead": "_9FdZvq_riskHead",
|
|
1649
|
+
"severity": "_9FdZvq_severity",
|
|
1650
|
+
"noteField": "_9FdZvq_noteField",
|
|
1651
|
+
"titleCount": "_9FdZvq_titleCount",
|
|
1652
|
+
"cardIcon": "_9FdZvq_cardIcon",
|
|
1657
1653
|
"empty": "_9FdZvq_empty",
|
|
1658
|
-
"
|
|
1654
|
+
"reviewNote": "_9FdZvq_reviewNote",
|
|
1655
|
+
"riskFailed": "_9FdZvq_riskFailed",
|
|
1656
|
+
"findingHint": "_9FdZvq_findingHint",
|
|
1657
|
+
"cardMarks": "_9FdZvq_cardMarks",
|
|
1658
|
+
"detail": "_9FdZvq_detail"
|
|
1659
1659
|
};
|
|
1660
1660
|
//#endregion
|
|
1661
1661
|
//#region src/client/SkillPlazaSection.tsx
|
|
@@ -2311,18 +2311,18 @@ window.__ModuleLoader__.load({
|
|
|
2311
2311
|
}
|
|
2312
2312
|
var WanxiangBrand_module_css_default = {
|
|
2313
2313
|
"mark": "s0HPxG_mark",
|
|
2314
|
-
"unit-core": "s0HPxG_unit-core",
|
|
2315
|
-
"wordmark": "s0HPxG_wordmark",
|
|
2316
|
-
"unitTop": "s0HPxG_unitTop",
|
|
2317
|
-
"unitCore": "s0HPxG_unitCore",
|
|
2318
|
-
"harness": "s0HPxG_harness",
|
|
2319
2314
|
"sidebarName": "s0HPxG_sidebarName",
|
|
2315
|
+
"unitRight": "s0HPxG_unitRight",
|
|
2316
|
+
"unitCore": "s0HPxG_unitCore",
|
|
2320
2317
|
"unit-top": "s0HPxG_unit-top",
|
|
2321
|
-
"
|
|
2318
|
+
"unitTop": "s0HPxG_unitTop",
|
|
2319
|
+
"harness": "s0HPxG_harness",
|
|
2322
2320
|
"unit-left": "s0HPxG_unit-left",
|
|
2321
|
+
"animatedMark": "s0HPxG_animatedMark",
|
|
2322
|
+
"wordmark": "s0HPxG_wordmark",
|
|
2323
2323
|
"unitLeft": "s0HPxG_unitLeft",
|
|
2324
|
-
"
|
|
2325
|
-
"
|
|
2324
|
+
"unit-right": "s0HPxG_unit-right",
|
|
2325
|
+
"unit-core": "s0HPxG_unit-core"
|
|
2326
2326
|
};
|
|
2327
2327
|
//#endregion
|
|
2328
2328
|
//#region src/client/WanxiangBrand.tsx
|
|
@@ -2732,92 +2732,92 @@ window.__ModuleLoader__.load({
|
|
|
2732
2732
|
document.head.appendChild(tag);
|
|
2733
2733
|
}
|
|
2734
2734
|
var PermissionCenterSection_module_css_default = {
|
|
2735
|
+
"matrixRoleCell": "PNbOqW_matrixRoleCell",
|
|
2736
|
+
"candidate": "PNbOqW_candidate",
|
|
2737
|
+
"treeRow": "PNbOqW_treeRow",
|
|
2738
|
+
"muted": "PNbOqW_muted",
|
|
2739
|
+
"detailGrid": "PNbOqW_detailGrid",
|
|
2740
|
+
"treeToggle": "PNbOqW_treeToggle",
|
|
2741
|
+
"page": "PNbOqW_page",
|
|
2742
|
+
"tabGroup": "PNbOqW_tabGroup",
|
|
2743
|
+
"tab": "PNbOqW_tab",
|
|
2744
|
+
"empty": "PNbOqW_empty",
|
|
2745
|
+
"headActions": "PNbOqW_headActions",
|
|
2746
|
+
"matrixHead": "PNbOqW_matrixHead",
|
|
2747
|
+
"matrixTool": "PNbOqW_matrixTool",
|
|
2748
|
+
"comboboxList": "PNbOqW_comboboxList",
|
|
2749
|
+
"tabDivider": "PNbOqW_tabDivider",
|
|
2750
|
+
"tableScroll": "PNbOqW_tableScroll",
|
|
2751
|
+
"matrix": "PNbOqW_matrix",
|
|
2735
2752
|
"notice": "PNbOqW_notice",
|
|
2736
2753
|
"sectionTitle": "PNbOqW_sectionTitle",
|
|
2737
|
-
"
|
|
2738
|
-
"
|
|
2739
|
-
"matrixNote": "PNbOqW_matrixNote",
|
|
2740
|
-
"matrixGroup": "PNbOqW_matrixGroup",
|
|
2741
|
-
"tabs": "PNbOqW_tabs",
|
|
2742
|
-
"comboboxPlaceholder": "PNbOqW_comboboxPlaceholder",
|
|
2743
|
-
"tabDivider": "PNbOqW_tabDivider",
|
|
2744
|
-
"treeChildren": "PNbOqW_treeChildren",
|
|
2745
|
-
"matrixRoleHead": "PNbOqW_matrixRoleHead",
|
|
2754
|
+
"matrixToolActive": "PNbOqW_matrixToolActive",
|
|
2755
|
+
"matrixHeadLeft": "PNbOqW_matrixHeadLeft",
|
|
2746
2756
|
"matrixPermHead": "PNbOqW_matrixPermHead",
|
|
2747
|
-
"roleSearch": "PNbOqW_roleSearch",
|
|
2748
|
-
"copied": "PNbOqW_copied",
|
|
2749
2757
|
"treeActions": "PNbOqW_treeActions",
|
|
2750
|
-
"comboboxTrigger": "PNbOqW_comboboxTrigger",
|
|
2751
2758
|
"panel": "PNbOqW_panel",
|
|
2752
|
-
"
|
|
2753
|
-
"
|
|
2754
|
-
"adminTag": "PNbOqW_adminTag",
|
|
2755
|
-
"matrix": "PNbOqW_matrix",
|
|
2756
|
-
"tab": "PNbOqW_tab",
|
|
2757
|
-
"title": "PNbOqW_title",
|
|
2758
|
-
"comboboxList": "PNbOqW_comboboxList",
|
|
2759
|
-
"tabGroup": "PNbOqW_tabGroup",
|
|
2760
|
-
"comboboxMenu": "PNbOqW_comboboxMenu",
|
|
2761
|
-
"deptAdmins": "PNbOqW_deptAdmins",
|
|
2762
|
-
"comboboxCheck": "PNbOqW_comboboxCheck",
|
|
2763
|
-
"empty": "PNbOqW_empty",
|
|
2764
|
-
"comboboxOptionActive": "PNbOqW_comboboxOptionActive",
|
|
2765
|
-
"search": "PNbOqW_search",
|
|
2766
|
-
"table": "PNbOqW_table",
|
|
2767
|
-
"candidate": "PNbOqW_candidate",
|
|
2768
|
-
"treeName": "PNbOqW_treeName",
|
|
2769
|
-
"matrixScroll": "PNbOqW_matrixScroll",
|
|
2770
|
-
"muted": "PNbOqW_muted",
|
|
2771
|
-
"department": "PNbOqW_department",
|
|
2772
|
-
"headActions": "PNbOqW_headActions",
|
|
2773
|
-
"matrixTool": "PNbOqW_matrixTool",
|
|
2774
|
-
"matrixRoleCell": "PNbOqW_matrixRoleCell",
|
|
2775
|
-
"panelFoot": "PNbOqW_panelFoot",
|
|
2776
|
-
"roleGrant": "PNbOqW_roleGrant",
|
|
2777
|
-
"roleSearchIcon": "PNbOqW_roleSearchIcon",
|
|
2778
|
-
"comboboxSearch": "PNbOqW_comboboxSearch",
|
|
2779
|
-
"comboboxOption": "PNbOqW_comboboxOption",
|
|
2780
|
-
"matrixPermission": "PNbOqW_matrixPermission",
|
|
2759
|
+
"pager": "PNbOqW_pager",
|
|
2760
|
+
"copied": "PNbOqW_copied",
|
|
2781
2761
|
"waiting": "PNbOqW_waiting",
|
|
2782
|
-
"subtitle": "PNbOqW_subtitle",
|
|
2783
|
-
"matrixToolActive": "PNbOqW_matrixToolActive",
|
|
2784
|
-
"treeSpacer": "PNbOqW_treeSpacer",
|
|
2785
|
-
"detailGrid": "PNbOqW_detailGrid",
|
|
2786
|
-
"dialogFooter": "PNbOqW_dialogFooter",
|
|
2787
|
-
"panelHead": "PNbOqW_panelHead",
|
|
2788
|
-
"error": "PNbOqW_error",
|
|
2789
|
-
"treeRow": "PNbOqW_treeRow",
|
|
2790
|
-
"roleTag": "PNbOqW_roleTag",
|
|
2791
2762
|
"readOnly": "PNbOqW_readOnly",
|
|
2792
|
-
"
|
|
2763
|
+
"roleTag": "PNbOqW_roleTag",
|
|
2764
|
+
"roleGrant": "PNbOqW_roleGrant",
|
|
2793
2765
|
"dialogHint": "PNbOqW_dialogHint",
|
|
2794
|
-
"
|
|
2795
|
-
"
|
|
2796
|
-
"
|
|
2797
|
-
"dialogBody": "PNbOqW_dialogBody",
|
|
2766
|
+
"panelHead": "PNbOqW_panelHead",
|
|
2767
|
+
"matrixGroup": "PNbOqW_matrixGroup",
|
|
2768
|
+
"head": "PNbOqW_head",
|
|
2798
2769
|
"permDescription": "PNbOqW_permDescription",
|
|
2770
|
+
"comboboxCheck": "PNbOqW_comboboxCheck",
|
|
2771
|
+
"comboboxSearch": "PNbOqW_comboboxSearch",
|
|
2772
|
+
"candidates": "PNbOqW_candidates",
|
|
2799
2773
|
"scopeBadge": "PNbOqW_scopeBadge",
|
|
2774
|
+
"demo": "PNbOqW_demo",
|
|
2775
|
+
"combobox": "PNbOqW_combobox",
|
|
2776
|
+
"rowActions": "PNbOqW_rowActions",
|
|
2800
2777
|
"permCopy": "PNbOqW_permCopy",
|
|
2801
|
-
"
|
|
2778
|
+
"tabs": "PNbOqW_tabs",
|
|
2779
|
+
"deptAdmins": "PNbOqW_deptAdmins",
|
|
2780
|
+
"treeRoot": "PNbOqW_treeRoot",
|
|
2781
|
+
"matrixPermission": "PNbOqW_matrixPermission",
|
|
2802
2782
|
"roleRevoke": "PNbOqW_roleRevoke",
|
|
2783
|
+
"comboboxOption": "PNbOqW_comboboxOption",
|
|
2803
2784
|
"comboboxHint": "PNbOqW_comboboxHint",
|
|
2804
|
-
"matrixHeadLeft": "PNbOqW_matrixHeadLeft",
|
|
2805
|
-
"matrixHead": "PNbOqW_matrixHead",
|
|
2806
|
-
"roleCell": "PNbOqW_roleCell",
|
|
2807
|
-
"field": "PNbOqW_field",
|
|
2808
|
-
"page": "PNbOqW_page",
|
|
2809
2785
|
"tabActive": "PNbOqW_tabActive",
|
|
2810
|
-
"
|
|
2811
|
-
"
|
|
2812
|
-
"
|
|
2786
|
+
"comboboxPlaceholder": "PNbOqW_comboboxPlaceholder",
|
|
2787
|
+
"dialogFooter": "PNbOqW_dialogFooter",
|
|
2788
|
+
"comboboxTrigger": "PNbOqW_comboboxTrigger",
|
|
2789
|
+
"departments": "PNbOqW_departments",
|
|
2790
|
+
"matrixNote": "PNbOqW_matrixNote",
|
|
2791
|
+
"dialog": "PNbOqW_dialog",
|
|
2792
|
+
"matrixRoleHead": "PNbOqW_matrixRoleHead",
|
|
2793
|
+
"table": "PNbOqW_table",
|
|
2794
|
+
"panelFoot": "PNbOqW_panelFoot",
|
|
2795
|
+
"dialogBody": "PNbOqW_dialogBody",
|
|
2796
|
+
"roleTags": "PNbOqW_roleTags",
|
|
2797
|
+
"tabBadge": "PNbOqW_tabBadge",
|
|
2813
2798
|
"matrixModule": "PNbOqW_matrixModule",
|
|
2814
2799
|
"headText": "PNbOqW_headText",
|
|
2815
|
-
"
|
|
2816
|
-
"
|
|
2817
|
-
"
|
|
2800
|
+
"treeChildren": "PNbOqW_treeChildren",
|
|
2801
|
+
"roleSearchWrap": "PNbOqW_roleSearchWrap",
|
|
2802
|
+
"title": "PNbOqW_title",
|
|
2803
|
+
"matrixScroll": "PNbOqW_matrixScroll",
|
|
2804
|
+
"error": "PNbOqW_error",
|
|
2805
|
+
"subtitle": "PNbOqW_subtitle",
|
|
2806
|
+
"roleSearchIcon": "PNbOqW_roleSearchIcon",
|
|
2807
|
+
"treeSpacer": "PNbOqW_treeSpacer",
|
|
2808
|
+
"field": "PNbOqW_field",
|
|
2809
|
+
"roleCell": "PNbOqW_roleCell",
|
|
2810
|
+
"adminTag": "PNbOqW_adminTag",
|
|
2811
|
+
"roleSearch": "PNbOqW_roleSearch",
|
|
2812
|
+
"comboboxEmpty": "PNbOqW_comboboxEmpty",
|
|
2813
|
+
"department": "PNbOqW_department",
|
|
2814
|
+
"permission": "PNbOqW_permission",
|
|
2815
|
+
"protected": "PNbOqW_protected",
|
|
2816
|
+
"search": "PNbOqW_search",
|
|
2818
2817
|
"onlyAdmin": "PNbOqW_onlyAdmin",
|
|
2819
|
-
"
|
|
2820
|
-
"
|
|
2818
|
+
"comboboxMenu": "PNbOqW_comboboxMenu",
|
|
2819
|
+
"comboboxOptionActive": "PNbOqW_comboboxOptionActive",
|
|
2820
|
+
"treeName": "PNbOqW_treeName"
|
|
2821
2821
|
};
|
|
2822
2822
|
//#endregion
|
|
2823
2823
|
//#region src/client/combobox.ts
|
|
@@ -4468,18 +4468,18 @@ window.__ModuleLoader__.load({
|
|
|
4468
4468
|
document.head.appendChild(tag);
|
|
4469
4469
|
}
|
|
4470
4470
|
var WorkspaceUpgradePrompt_module_css_default = {
|
|
4471
|
-
"sessionList": "razUfG_sessionList",
|
|
4472
|
-
"sessionRow": "razUfG_sessionRow",
|
|
4473
|
-
"dialogBody": "razUfG_dialogBody",
|
|
4474
|
-
"sessionTitle": "razUfG_sessionTitle",
|
|
4475
|
-
"sessionPath": "razUfG_sessionPath",
|
|
4476
4471
|
"error": "razUfG_error",
|
|
4477
|
-
"dialogText": "razUfG_dialogText",
|
|
4478
|
-
"body": "razUfG_body",
|
|
4479
|
-
"banner": "razUfG_banner",
|
|
4480
4472
|
"actions": "razUfG_actions",
|
|
4481
4473
|
"copy": "razUfG_copy",
|
|
4482
|
-
"
|
|
4474
|
+
"dialogBody": "razUfG_dialogBody",
|
|
4475
|
+
"dialogText": "razUfG_dialogText",
|
|
4476
|
+
"sessionList": "razUfG_sessionList",
|
|
4477
|
+
"banner": "razUfG_banner",
|
|
4478
|
+
"body": "razUfG_body",
|
|
4479
|
+
"title": "razUfG_title",
|
|
4480
|
+
"sessionRow": "razUfG_sessionRow",
|
|
4481
|
+
"sessionTitle": "razUfG_sessionTitle",
|
|
4482
|
+
"sessionPath": "razUfG_sessionPath"
|
|
4483
4483
|
};
|
|
4484
4484
|
//#endregion
|
|
4485
4485
|
//#region src/client/WorkspaceUpgradePrompt.tsx
|
|
@@ -4655,6 +4655,72 @@ window.__ModuleLoader__.load({
|
|
|
4655
4655
|
})] });
|
|
4656
4656
|
}
|
|
4657
4657
|
//#endregion
|
|
4658
|
+
//#region src/client/BrowserVersionPrompt.tsx
|
|
4659
|
+
/**
|
|
4660
|
+
* Browser-version notice.
|
|
4661
|
+
*
|
|
4662
|
+
* The workspace is a web app; the local browser bridge only supports current Chromium
|
|
4663
|
+
* releases. This banner is deliberately a sibling of the workspace-image banner: it uses
|
|
4664
|
+
* the same shell-overlay seat and the same quiet notice geometry, while keeping the
|
|
4665
|
+
* browser floor and the installer URL owned by this plugin.
|
|
4666
|
+
*
|
|
4667
|
+
* @module BrowserVersionPrompt
|
|
4668
|
+
*/
|
|
4669
|
+
/** Same-origin route served by the DataOps plugin's Host half. */
|
|
4670
|
+
const BROWSER_BRIDGE_INSTALLER_PATH = "/api/dsh-skill-center/browser-bridge/installer";
|
|
4671
|
+
/**
|
|
4672
|
+
* Extract the Chromium major from the user agent.
|
|
4673
|
+
*
|
|
4674
|
+
* `navigator.userAgentData` is preferred in modern Chromium; the UA fallback keeps
|
|
4675
|
+
* Firefox/Safari and older embedded WebViews from producing a false positive.
|
|
4676
|
+
*/
|
|
4677
|
+
function chromiumMajor(ua) {
|
|
4678
|
+
const edge = /Edg\/(\d+)/u.exec(ua);
|
|
4679
|
+
if (edge !== null) return Number(edge[1]);
|
|
4680
|
+
const chrome = /(?:Chrome|Chromium|HeadlessChrome)\/(\d+)/u.exec(ua);
|
|
4681
|
+
return chrome === null ? null : Number(chrome[1]);
|
|
4682
|
+
}
|
|
4683
|
+
/** Render the browser-version banner while the current browser is below the floor. */
|
|
4684
|
+
function BrowserVersionPrompt(props) {
|
|
4685
|
+
const { t } = props;
|
|
4686
|
+
const version = (0, react.useMemo)(() => typeof navigator === "undefined" ? null : chromiumMajor(navigator.userAgent), []);
|
|
4687
|
+
const [dismissed, setDismissed] = (0, react.useState)(false);
|
|
4688
|
+
const download = (0, react.useCallback)(() => {
|
|
4689
|
+
window.location.assign(BROWSER_BRIDGE_INSTALLER_PATH);
|
|
4690
|
+
}, []);
|
|
4691
|
+
if (version === null || version >= 150 || dismissed) return null;
|
|
4692
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
4693
|
+
className: WorkspaceUpgradePrompt_module_css_default.banner,
|
|
4694
|
+
role: "status",
|
|
4695
|
+
"aria-live": "polite",
|
|
4696
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
4697
|
+
className: WorkspaceUpgradePrompt_module_css_default.copy,
|
|
4698
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", {
|
|
4699
|
+
className: WorkspaceUpgradePrompt_module_css_default.title,
|
|
4700
|
+
children: t("browserVersionTitle")
|
|
4701
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
4702
|
+
className: WorkspaceUpgradePrompt_module_css_default.body,
|
|
4703
|
+
children: t("browserVersionBody").replace("{version}", String(version)).replace("{minimum}", String(150))
|
|
4704
|
+
})]
|
|
4705
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
4706
|
+
className: WorkspaceUpgradePrompt_module_css_default.actions,
|
|
4707
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
4708
|
+
variant: "primary",
|
|
4709
|
+
size: "sm",
|
|
4710
|
+
onClick: download,
|
|
4711
|
+
children: t("browserVersionAction")
|
|
4712
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
4713
|
+
variant: "ghost",
|
|
4714
|
+
size: "sm",
|
|
4715
|
+
onClick: () => {
|
|
4716
|
+
setDismissed(true);
|
|
4717
|
+
},
|
|
4718
|
+
children: t("browserVersionLater")
|
|
4719
|
+
})]
|
|
4720
|
+
})]
|
|
4721
|
+
});
|
|
4722
|
+
}
|
|
4723
|
+
//#endregion
|
|
4658
4724
|
//#region src/client/review-notification-store.ts
|
|
4659
4725
|
/**
|
|
4660
4726
|
* One process-wide notification store shared by every bell.
|
|
@@ -4792,24 +4858,24 @@ window.__ModuleLoader__.load({
|
|
|
4792
4858
|
document.head.appendChild(tag);
|
|
4793
4859
|
}
|
|
4794
4860
|
var NotificationBell_module_css_default = {
|
|
4861
|
+
"rowTime": "tE0trG_rowTime",
|
|
4862
|
+
"dialog": "tE0trG_dialog",
|
|
4863
|
+
"linkButton": "tE0trG_linkButton",
|
|
4864
|
+
"button": "tE0trG_button",
|
|
4865
|
+
"badge": "tE0trG_badge",
|
|
4866
|
+
"rowTitle": "tE0trG_rowTitle",
|
|
4867
|
+
"row": "tE0trG_row",
|
|
4868
|
+
"list": "tE0trG_list",
|
|
4869
|
+
"dot": "tE0trG_dot",
|
|
4795
4870
|
"demo": "tE0trG_demo",
|
|
4871
|
+
"rowIcon": "tE0trG_rowIcon",
|
|
4796
4872
|
"rowMeta": "tE0trG_rowMeta",
|
|
4797
|
-
"badge": "tE0trG_badge",
|
|
4798
|
-
"bell": "tE0trG_bell",
|
|
4799
4873
|
"empty": "tE0trG_empty",
|
|
4800
|
-
"
|
|
4801
|
-
"list": "tE0trG_list",
|
|
4874
|
+
"rowBody": "tE0trG_rowBody",
|
|
4802
4875
|
"rowText": "tE0trG_rowText",
|
|
4803
|
-
"
|
|
4804
|
-
"dot": "tE0trG_dot",
|
|
4805
|
-
"rowTime": "tE0trG_rowTime",
|
|
4806
|
-
"rowTitle": "tE0trG_rowTitle",
|
|
4807
|
-
"pager": "tE0trG_pager",
|
|
4808
|
-
"button": "tE0trG_button",
|
|
4876
|
+
"bell": "tE0trG_bell",
|
|
4809
4877
|
"actions": "tE0trG_actions",
|
|
4810
|
-
"
|
|
4811
|
-
"rowBody": "tE0trG_rowBody",
|
|
4812
|
-
"dialog": "tE0trG_dialog"
|
|
4878
|
+
"pager": "tE0trG_pager"
|
|
4813
4879
|
};
|
|
4814
4880
|
//#endregion
|
|
4815
4881
|
//#region src/client/NotificationBell.tsx
|
|
@@ -5996,6 +6062,10 @@ window.__ModuleLoader__.load({
|
|
|
5996
6062
|
upgradeBusy: "Upgrading workspace…",
|
|
5997
6063
|
upgradeStarted: "Upgrade started. Reload this page when the workspace reconnects.",
|
|
5998
6064
|
upgradeFailed: "The workspace upgrade could not be started. Try again.",
|
|
6065
|
+
browserVersionTitle: "Browser version is out of date",
|
|
6066
|
+
browserVersionBody: "This browser is version {version}; version {minimum} or newer is recommended for the local browser bridge. Download the fully offline bridge installer.",
|
|
6067
|
+
browserVersionAction: "Download browser package",
|
|
6068
|
+
browserVersionLater: "Later",
|
|
5999
6069
|
upgradeRetry: "Retry"
|
|
6000
6070
|
};
|
|
6001
6071
|
/** Chinese managed DataOps Settings copy. */
|
|
@@ -6156,6 +6226,10 @@ window.__ModuleLoader__.load({
|
|
|
6156
6226
|
upgradeBusy: "正在升级工作区…",
|
|
6157
6227
|
upgradeStarted: "升级已开始。工作区重新连接后请刷新页面。",
|
|
6158
6228
|
upgradeFailed: "工作区升级启动失败,请重试。",
|
|
6229
|
+
browserVersionTitle: "浏览器版本过低",
|
|
6230
|
+
browserVersionBody: "当前浏览器版本 {version},建议升级到 {minimum} 或更高版本后使用浏览器桥接。可下载完全离线的桥接安装包。",
|
|
6231
|
+
browserVersionAction: "下载浏览器安装包",
|
|
6232
|
+
browserVersionLater: "稍后",
|
|
6159
6233
|
upgradeRetry: "重试"
|
|
6160
6234
|
};
|
|
6161
6235
|
//#endregion
|
|
@@ -6329,6 +6403,13 @@ window.__ModuleLoader__.load({
|
|
|
6329
6403
|
order: 20,
|
|
6330
6404
|
inject: () => ({ t })
|
|
6331
6405
|
}, WorkspaceUpgradePrompt));
|
|
6406
|
+
/** Browser-version notice: same overlay seat, but a separate capability and copy. */
|
|
6407
|
+
ctx.slots.inject("shell.overlay", () => ctx.slots.register({
|
|
6408
|
+
name: "shell.overlay",
|
|
6409
|
+
id: "dataops-browser-version",
|
|
6410
|
+
order: 21,
|
|
6411
|
+
inject: () => ({ t })
|
|
6412
|
+
}, BrowserVersionPrompt));
|
|
6332
6413
|
/**
|
|
6333
6414
|
* The permission centre, a sidebar entry plus the page it opens.
|
|
6334
6415
|
*
|