@sparkelf/dsh-dataops-managed 0.3.22 → 0.3.23
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 +230 -206
- package/lib/client.js.map +1 -1
- package/lib/types/client/SkillPlazaSection.d.ts +33 -0
- package/lib/types/client/locales.d.ts +4 -1
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -747,21 +747,21 @@ window.__ModuleLoader__.load({
|
|
|
747
747
|
document.head.appendChild(tag);
|
|
748
748
|
}
|
|
749
749
|
var ManagedDataOpsSection_module_css_default = {
|
|
750
|
-
"title": "_2dqzjG_title",
|
|
751
|
-
"row": "_2dqzjG_row",
|
|
752
|
-
"reviewActions": "_2dqzjG_reviewActions",
|
|
753
|
-
"heading": "_2dqzjG_heading",
|
|
754
750
|
"actions": "_2dqzjG_actions",
|
|
755
751
|
"refusal": "_2dqzjG_refusal",
|
|
752
|
+
"reviewRow": "_2dqzjG_reviewRow",
|
|
753
|
+
"reviewActions": "_2dqzjG_reviewActions",
|
|
754
|
+
"row": "_2dqzjG_row",
|
|
755
|
+
"heading": "_2dqzjG_heading",
|
|
756
|
+
"meta": "_2dqzjG_meta",
|
|
757
|
+
"title": "_2dqzjG_title",
|
|
756
758
|
"copy": "_2dqzjG_copy",
|
|
757
759
|
"section": "_2dqzjG_section",
|
|
758
|
-
"
|
|
759
|
-
"reviewHint": "_2dqzjG_reviewHint",
|
|
760
|
+
"status": "_2dqzjG_status",
|
|
760
761
|
"card": "_2dqzjG_card",
|
|
761
|
-
"
|
|
762
|
+
"reviewHint": "_2dqzjG_reviewHint",
|
|
762
763
|
"reviewRows": "_2dqzjG_reviewRows",
|
|
763
|
-
"
|
|
764
|
-
"meta": "_2dqzjG_meta",
|
|
764
|
+
"label": "_2dqzjG_label",
|
|
765
765
|
"fields": "_2dqzjG_fields"
|
|
766
766
|
};
|
|
767
767
|
//#endregion
|
|
@@ -1617,24 +1617,24 @@ window.__ModuleLoader__.load({
|
|
|
1617
1617
|
document.head.appendChild(tag);
|
|
1618
1618
|
}
|
|
1619
1619
|
var NotificationBell_module_css_default = {
|
|
1620
|
-
"row": "tE0trG_row",
|
|
1621
|
-
"button": "tE0trG_button",
|
|
1622
|
-
"rowMeta": "tE0trG_rowMeta",
|
|
1623
|
-
"rowBody": "tE0trG_rowBody",
|
|
1624
|
-
"demo": "tE0trG_demo",
|
|
1625
|
-
"rowText": "tE0trG_rowText",
|
|
1626
1620
|
"list": "tE0trG_list",
|
|
1627
|
-
"
|
|
1621
|
+
"empty": "tE0trG_empty",
|
|
1622
|
+
"dialog": "tE0trG_dialog",
|
|
1628
1623
|
"dot": "tE0trG_dot",
|
|
1624
|
+
"rowBody": "tE0trG_rowBody",
|
|
1629
1625
|
"bell": "tE0trG_bell",
|
|
1630
|
-
"
|
|
1626
|
+
"rowText": "tE0trG_rowText",
|
|
1631
1627
|
"rowTime": "tE0trG_rowTime",
|
|
1628
|
+
"pager": "tE0trG_pager",
|
|
1632
1629
|
"actions": "tE0trG_actions",
|
|
1630
|
+
"rowTitle": "tE0trG_rowTitle",
|
|
1631
|
+
"demo": "tE0trG_demo",
|
|
1632
|
+
"linkButton": "tE0trG_linkButton",
|
|
1633
|
+
"rowMeta": "tE0trG_rowMeta",
|
|
1634
|
+
"row": "tE0trG_row",
|
|
1633
1635
|
"rowIcon": "tE0trG_rowIcon",
|
|
1634
|
-
"
|
|
1635
|
-
"
|
|
1636
|
-
"badge": "tE0trG_badge",
|
|
1637
|
-
"rowTitle": "tE0trG_rowTitle"
|
|
1636
|
+
"button": "tE0trG_button",
|
|
1637
|
+
"badge": "tE0trG_badge"
|
|
1638
1638
|
};
|
|
1639
1639
|
//#endregion
|
|
1640
1640
|
//#region src/client/NotificationBell.tsx
|
|
@@ -1915,7 +1915,7 @@ window.__ModuleLoader__.load({
|
|
|
1915
1915
|
}
|
|
1916
1916
|
//#endregion
|
|
1917
1917
|
//#region \0dsh-css:/root/projects/dsh-plugins-plus/packages/dataops-managed/src/client/SkillPlazaSection.module.css.mjs
|
|
1918
|
-
const css$3 = "._9FdZvq_section{box-sizing:border-box;flex-direction:column;width:100%;max-width:960px;margin:0 auto;display:flex}._9FdZvq_head{flex-direction:column;margin-bottom:8px;display:flex}._9FdZvq_title{color:var(--dsw-alias-label-primary);align-items:baseline;gap:8px;margin:0;font-size:14px;font-weight:500;line-height:20px;display:flex}._9FdZvq_titleCount{color:var(--dsw-alias-label-tertiary);font-size:12px;font-weight:400}._9FdZvq_status{text-align:center;color:var(--dsw-alias-label-tertiary);margin:0;padding:20px 0;font-size:13px;line-height:20px}.
|
|
1918
|
+
const css$3 = "._9FdZvq_section{box-sizing:border-box;flex-direction:column;width:100%;max-width:960px;margin:0 auto;display:flex}._9FdZvq_head{flex-direction:column;margin-bottom:8px;display:flex}._9FdZvq_title{color:var(--dsw-alias-label-primary);align-items:baseline;gap:8px;margin:0;font-size:14px;font-weight:500;line-height:20px;display:flex}._9FdZvq_titleCount{color:var(--dsw-alias-label-tertiary);font-size:12px;font-weight:400}._9FdZvq_status{text-align:center;color:var(--dsw-alias-label-tertiary);margin:0;padding:20px 0;font-size:13px;line-height:20px}._9FdZvq_departmentBar{align-items:center;gap:8px;margin-bottom:10px;display:inline-flex}._9FdZvq_departmentLabel{color:var(--dsw-alias-label-secondary);font-size:12px;line-height:18px}._9FdZvq_departmentSelect{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);height:28px;color:var(--dsw-alias-label-primary);font:inherit;border-radius:8px;padding:0 8px;font-size:12px;line-height:18px}._9FdZvq_departmentSelect:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:1px}._9FdZvq_notice{color:var(--dsw-alias-state-business-primary);margin:4px 0 0;font-size:12px;line-height:18px}._9FdZvq_cards{grid-template-columns:repeat(auto-fill,minmax(272px,1fr));grid-auto-rows:max-content;align-content:start;align-items:stretch;gap:12px;margin:0;padding:0;list-style:none;display:grid}._9FdZvq_card{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);border-radius:10px;flex-direction:column;align-self:stretch;gap:10px;min-width:0;height:auto;padding:12px;display:flex}._9FdZvq_cardTop{justify-content:space-between;align-items:center;gap:10px;min-height:28px;display:flex}._9FdZvq_cardIcon{background:var(--dsw-alias-bg-layer-2);width:28px;height:28px;color:var(--dsw-alias-label-secondary);border-radius:50%;flex:none;place-items:center;display:grid}._9FdZvq_cardTitle{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:14px;font-weight:600;line-height:20px;overflow:hidden}._9FdZvq_mine{flex:none}._9FdZvq_cardDesc{min-height:36px;color:var(--dsw-alias-label-secondary);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;line-height:18px;display:-webkit-box;overflow:hidden}._9FdZvq_cardMarks{flex-wrap:wrap;align-content:flex-start;gap:6px;min-height:20px;display:flex}._9FdZvq_mark{background:color-mix(in srgb, var(--dsw-alias-state-business-primary) 14%, var(--dsw-alias-bg-layer-1));color:var(--dsw-alias-state-business-primary);white-space:nowrap;border:0;border-radius:4px;padding:2px 7px;font-size:11px;font-weight:500;line-height:16px}._9FdZvq_cardEnd{flex:none;align-items:center;gap:4px;margin-top:auto;padding-top:4px;display:flex}._9FdZvq_detailButton{margin-left:auto}._9FdZvq_detail{flex-direction:column;gap:12px;margin:0;display:flex}._9FdZvq_dialog{width:min(560px,100%)}._9FdZvq_detailRow{flex-direction:column;gap:2px;display:flex}._9FdZvq_detailLabel{color:var(--dsw-alias-label-caption);font-size:11px;line-height:16px}._9FdZvq_detailValue{max-height:160px;color:var(--dsw-alias-label-secondary);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:12px;line-height:18px;overflow:auto}._9FdZvq_empty{text-align:center;flex-direction:column;align-items:center;gap:10px;padding:28px 16px 32px;display:flex}._9FdZvq_emptyIcon{border:.5px solid var(--dsw-alias-border-l3);width:56px;height:56px;color:var(--dsw-alias-label-tertiary);border-radius:14px;justify-content:center;align-items:center;display:inline-flex}._9FdZvq_emptyText{color:var(--dsw-alias-label-tertiary);margin:0;font-size:13px;line-height:20px}._9FdZvq_headRow{align-items:center;gap:6px;display:flex}._9FdZvq_headRow ._9FdZvq_title{flex:none}._9FdZvq_demoTag{background:var(--dsw-alias-state-warn-secondary);color:var(--dsw-alias-state-warn-primary);border-radius:4px;padding:1px 6px;font-size:10px;line-height:16px}._9FdZvq_tabs{border-bottom:1px solid var(--dsw-alias-border-l1);align-items:center;gap:2px;margin-bottom:8px;display:flex}._9FdZvq_tab{height:30px;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;align-items:center;gap:5px;padding:0 9px;font-size:12px;display:inline-flex}._9FdZvq_tab:hover{color:var(--dsw-alias-label-primary)}._9FdZvq_tabActive{color:var(--dsw-alias-state-business-primary);border-bottom-color:var(--dsw-alias-state-business-primary);font-weight:500}._9FdZvq_tabCount{background:var(--dsw-alias-bg-layer-2);color:var(--dsw-alias-label-tertiary);border-radius:7px;padding:0 4px;font-size:10px;line-height:14px}._9FdZvq_tagTop{text-overflow:ellipsis;white-space:nowrap;border:1px solid var(--dsw-alias-border-l2);max-width:40%;color:var(--dsw-alias-label-secondary);border-radius:4px;flex:none;padding:1px 6px;font-size:10px;line-height:16px;overflow:hidden}._9FdZvq_sharedTag{color:#fff;background:#0e6b3a;border-radius:4px;padding:2px 7px;font-size:11px;font-weight:600;line-height:16px}._9FdZvq_pendingTag{color:#fff;background:#7a4a00;border-radius:4px;padding:2px 7px;font-size:11px;font-weight:600;line-height:16px}._9FdZvq_rejectedTag{color:#fff;background:#a8231b;border-radius:4px;padding:2px 7px;font-size:11px;font-weight:600;line-height:16px}._9FdZvq_reviewButton{margin-left:auto}._9FdZvq_reviewNote{border-left:3px solid var(--dsw-alias-state-error-primary);background:color-mix(in srgb, var(--dsw-alias-state-error-primary) 10%, var(--dsw-alias-bg-layer-1));color:var(--dsw-alias-label-primary);margin:0;padding:6px 8px;font-size:11px;line-height:16px}._9FdZvq_auditDialog{width:min(640px,100vw - 32px)}._9FdZvq_audit{flex-direction:column;gap:14px;display:flex}._9FdZvq_auditFooter{justify-content:flex-end;gap:6px;display:flex}._9FdZvq_risk{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);border-radius:6px;flex-direction:column;gap:8px;padding:10px;display:flex}._9FdZvq_riskHead{justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}._9FdZvq_riskEmpty,._9FdZvq_riskFailed{color:var(--dsw-alias-label-tertiary);margin:0;font-size:11px;line-height:16px}._9FdZvq_riskFailed{color:var(--dsw-alias-state-error-primary)}._9FdZvq_riskSummary{color:var(--dsw-alias-label-secondary);flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;line-height:18px;display:flex}._9FdZvq_riskScore{color:var(--dsw-alias-label-primary);font-weight:600}._9FdZvq_severity{background:var(--dsw-alias-bg-layer-2);color:var(--dsw-alias-label-secondary);text-transform:uppercase;border-radius:3px;padding:0 5px;font-size:10px;line-height:16px}._9FdZvq_severity[data-severity=high],._9FdZvq_severity[data-severity=critical]{background:var(--dsw-alias-state-error-secondary);color:var(--dsw-alias-state-error-primary)}._9FdZvq_severity[data-severity=medium]{background:var(--dsw-alias-state-warn-secondary);color:var(--dsw-alias-state-warn-primary)}._9FdZvq_findings{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}._9FdZvq_finding{flex-wrap:wrap;align-items:baseline;gap:5px;font-size:11px;line-height:16px;display:flex}._9FdZvq_findingText{color:var(--dsw-alias-label-secondary);flex-basis:100%}._9FdZvq_findingHint{color:var(--dsw-alias-label-tertiary);flex-basis:100%}._9FdZvq_noteField{color:var(--dsw-alias-label-secondary);flex-direction:column;gap:5px;font-size:12px;display:flex}._9FdZvq_noteField textarea{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-base);min-height:64px;color:var(--dsw-alias-label-primary);font:inherit;resize:vertical;border-radius:5px;padding:7px 9px}._9FdZvq_reviewError{color:var(--dsw-alias-state-error-primary);margin:0;font-size:11px}";
|
|
1919
1919
|
const tagId$3 = "@sparkelf/dsh-dataops-managed/SkillPlazaSection.module.css";
|
|
1920
1920
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$3) + "]") === null) {
|
|
1921
1921
|
const tag = document.createElement("style");
|
|
@@ -1925,62 +1925,62 @@ window.__ModuleLoader__.load({
|
|
|
1925
1925
|
document.head.appendChild(tag);
|
|
1926
1926
|
}
|
|
1927
1927
|
var SkillPlazaSection_module_css_default = {
|
|
1928
|
-
"
|
|
1929
|
-
"
|
|
1930
|
-
"head": "_9FdZvq_head",
|
|
1931
|
-
"dialog": "_9FdZvq_dialog",
|
|
1932
|
-
"cards": "_9FdZvq_cards",
|
|
1928
|
+
"titleCount": "_9FdZvq_titleCount",
|
|
1929
|
+
"auditDialog": "_9FdZvq_auditDialog",
|
|
1933
1930
|
"sharedTag": "_9FdZvq_sharedTag",
|
|
1934
|
-
"cardDesc": "_9FdZvq_cardDesc",
|
|
1935
|
-
"detailButton": "_9FdZvq_detailButton",
|
|
1936
|
-
"empty": "_9FdZvq_empty",
|
|
1937
|
-
"reviewButton": "_9FdZvq_reviewButton",
|
|
1938
|
-
"risk": "_9FdZvq_risk",
|
|
1939
|
-
"riskEmpty": "_9FdZvq_riskEmpty",
|
|
1940
|
-
"noteField": "_9FdZvq_noteField",
|
|
1941
|
-
"tab": "_9FdZvq_tab",
|
|
1942
|
-
"demoTag": "_9FdZvq_demoTag",
|
|
1943
|
-
"chip": "_9FdZvq_chip",
|
|
1944
|
-
"emptyIcon": "_9FdZvq_emptyIcon",
|
|
1945
|
-
"detailLabel": "_9FdZvq_detailLabel",
|
|
1946
|
-
"status": "_9FdZvq_status",
|
|
1947
|
-
"chipOn": "_9FdZvq_chipOn",
|
|
1948
|
-
"headRow": "_9FdZvq_headRow",
|
|
1949
|
-
"tabActive": "_9FdZvq_tabActive",
|
|
1950
|
-
"tabCount": "_9FdZvq_tabCount",
|
|
1951
|
-
"tagBar": "_9FdZvq_tagBar",
|
|
1952
1931
|
"section": "_9FdZvq_section",
|
|
1953
|
-
"
|
|
1932
|
+
"detailValue": "_9FdZvq_detailValue",
|
|
1933
|
+
"tabActive": "_9FdZvq_tabActive",
|
|
1954
1934
|
"pendingTag": "_9FdZvq_pendingTag",
|
|
1955
|
-
"
|
|
1956
|
-
"
|
|
1935
|
+
"tab": "_9FdZvq_tab",
|
|
1936
|
+
"audit": "_9FdZvq_audit",
|
|
1937
|
+
"headRow": "_9FdZvq_headRow",
|
|
1938
|
+
"head": "_9FdZvq_head",
|
|
1957
1939
|
"auditFooter": "_9FdZvq_auditFooter",
|
|
1958
|
-
"notice": "_9FdZvq_notice",
|
|
1959
|
-
"cardMarks": "_9FdZvq_cardMarks",
|
|
1960
|
-
"tagTop": "_9FdZvq_tagTop",
|
|
1961
|
-
"riskSummary": "_9FdZvq_riskSummary",
|
|
1962
|
-
"mark": "_9FdZvq_mark",
|
|
1963
|
-
"detailValue": "_9FdZvq_detailValue",
|
|
1964
|
-
"riskHead": "_9FdZvq_riskHead",
|
|
1965
|
-
"severity": "_9FdZvq_severity",
|
|
1966
|
-
"mine": "_9FdZvq_mine",
|
|
1967
1940
|
"detailRow": "_9FdZvq_detailRow",
|
|
1941
|
+
"title": "_9FdZvq_title",
|
|
1942
|
+
"cardTop": "_9FdZvq_cardTop",
|
|
1943
|
+
"detailLabel": "_9FdZvq_detailLabel",
|
|
1944
|
+
"emptyText": "_9FdZvq_emptyText",
|
|
1945
|
+
"risk": "_9FdZvq_risk",
|
|
1946
|
+
"riskEmpty": "_9FdZvq_riskEmpty",
|
|
1968
1947
|
"riskFailed": "_9FdZvq_riskFailed",
|
|
1969
|
-
"auditDialog": "_9FdZvq_auditDialog",
|
|
1970
|
-
"riskScore": "_9FdZvq_riskScore",
|
|
1971
1948
|
"findings": "_9FdZvq_findings",
|
|
1972
|
-
"cardTitle": "_9FdZvq_cardTitle",
|
|
1973
|
-
"cardIcon": "_9FdZvq_cardIcon",
|
|
1974
|
-
"finding": "_9FdZvq_finding",
|
|
1975
|
-
"findingText": "_9FdZvq_findingText",
|
|
1976
1949
|
"cardEnd": "_9FdZvq_cardEnd",
|
|
1977
|
-
"
|
|
1978
|
-
"
|
|
1979
|
-
"
|
|
1980
|
-
"
|
|
1950
|
+
"riskSummary": "_9FdZvq_riskSummary",
|
|
1951
|
+
"severity": "_9FdZvq_severity",
|
|
1952
|
+
"findingText": "_9FdZvq_findingText",
|
|
1953
|
+
"riskScore": "_9FdZvq_riskScore",
|
|
1954
|
+
"reviewError": "_9FdZvq_reviewError",
|
|
1955
|
+
"departmentLabel": "_9FdZvq_departmentLabel",
|
|
1956
|
+
"riskHead": "_9FdZvq_riskHead",
|
|
1981
1957
|
"card": "_9FdZvq_card",
|
|
1958
|
+
"finding": "_9FdZvq_finding",
|
|
1959
|
+
"empty": "_9FdZvq_empty",
|
|
1960
|
+
"mine": "_9FdZvq_mine",
|
|
1961
|
+
"departmentSelect": "_9FdZvq_departmentSelect",
|
|
1982
1962
|
"findingHint": "_9FdZvq_findingHint",
|
|
1983
|
-
"
|
|
1963
|
+
"noteField": "_9FdZvq_noteField",
|
|
1964
|
+
"emptyIcon": "_9FdZvq_emptyIcon",
|
|
1965
|
+
"cardDesc": "_9FdZvq_cardDesc",
|
|
1966
|
+
"cardMarks": "_9FdZvq_cardMarks",
|
|
1967
|
+
"detailButton": "_9FdZvq_detailButton",
|
|
1968
|
+
"tagTop": "_9FdZvq_tagTop",
|
|
1969
|
+
"demoTag": "_9FdZvq_demoTag",
|
|
1970
|
+
"notice": "_9FdZvq_notice",
|
|
1971
|
+
"status": "_9FdZvq_status",
|
|
1972
|
+
"cardTitle": "_9FdZvq_cardTitle",
|
|
1973
|
+
"tabs": "_9FdZvq_tabs",
|
|
1974
|
+
"detail": "_9FdZvq_detail",
|
|
1975
|
+
"cards": "_9FdZvq_cards",
|
|
1976
|
+
"dialog": "_9FdZvq_dialog",
|
|
1977
|
+
"mark": "_9FdZvq_mark",
|
|
1978
|
+
"cardIcon": "_9FdZvq_cardIcon",
|
|
1979
|
+
"departmentBar": "_9FdZvq_departmentBar",
|
|
1980
|
+
"tabCount": "_9FdZvq_tabCount",
|
|
1981
|
+
"rejectedTag": "_9FdZvq_rejectedTag",
|
|
1982
|
+
"reviewButton": "_9FdZvq_reviewButton",
|
|
1983
|
+
"reviewNote": "_9FdZvq_reviewNote"
|
|
1984
1984
|
};
|
|
1985
1985
|
//#endregion
|
|
1986
1986
|
//#region src/client/SkillPlazaSection.tsx
|
|
@@ -1994,6 +1994,48 @@ window.__ModuleLoader__.load({
|
|
|
1994
1994
|
total: counted.all
|
|
1995
1995
|
};
|
|
1996
1996
|
}
|
|
1997
|
+
/**
|
|
1998
|
+
* The department a plaza row belongs to.
|
|
1999
|
+
*
|
|
2000
|
+
* The backend normally sends `departmentCode`; a legacy row may carry only a name or path, so the
|
|
2001
|
+
* fallbacks keep those rows selectable instead of dropping them into an empty key.
|
|
2002
|
+
* @param skill - one plaza row.
|
|
2003
|
+
* @returns the code, the name, or the deepest path name; empty when the row says nothing.
|
|
2004
|
+
*/
|
|
2005
|
+
function departmentKeyOf(skill) {
|
|
2006
|
+
return skill.departmentCode ?? skill.departmentName ?? skill.departmentPath?.at(-1)?.name ?? "";
|
|
2007
|
+
}
|
|
2008
|
+
/**
|
|
2009
|
+
* The department choices present in the visible rows.
|
|
2010
|
+
*
|
|
2011
|
+
* The label falls back from the row's own name to the deepest path name and finally to the code,
|
|
2012
|
+
* so a department the backend can no longer name still renders as a readable option.
|
|
2013
|
+
* @param skills - every row the current query returned.
|
|
2014
|
+
* @returns distinct departments, sorted by label.
|
|
2015
|
+
*/
|
|
2016
|
+
function departmentOptionsOf(skills) {
|
|
2017
|
+
const options = /* @__PURE__ */ new Map();
|
|
2018
|
+
for (const skill of skills) {
|
|
2019
|
+
if (normalizeVisibility(skill.visibility) !== "department") continue;
|
|
2020
|
+
const code = departmentKeyOf(skill);
|
|
2021
|
+
if (code === "" || options.has(code)) continue;
|
|
2022
|
+
options.set(code, skill.departmentName ?? skill.departmentPath?.at(-1)?.name ?? code);
|
|
2023
|
+
}
|
|
2024
|
+
return [...options].map(([code, name]) => ({
|
|
2025
|
+
code,
|
|
2026
|
+
name
|
|
2027
|
+
})).sort((left, right) => left.name.localeCompare(right.name, "zh-Hans-CN"));
|
|
2028
|
+
}
|
|
2029
|
+
/**
|
|
2030
|
+
* The rows the department tab shows.
|
|
2031
|
+
* @param skills - every row the current query returned.
|
|
2032
|
+
* @param code - selected department key, or an empty string for all of them.
|
|
2033
|
+
* @returns the department-shared rows, narrowed to `code` when it is set.
|
|
2034
|
+
*/
|
|
2035
|
+
function filterByDepartment(skills, code) {
|
|
2036
|
+
const shared = skills.filter((skill) => normalizeVisibility(skill.visibility) === "department");
|
|
2037
|
+
return code === "" ? shared : shared.filter((skill) => departmentKeyOf(skill) === code);
|
|
2038
|
+
}
|
|
1997
2039
|
/** One skill as a card in the plaza grid. */
|
|
1998
2040
|
function PlazaCard({ skill, busy, canAudit, onInstall, onUnshare, onReview, t }) {
|
|
1999
2041
|
const [open, setOpen] = (0, react.useState)(false);
|
|
@@ -2205,7 +2247,7 @@ window.__ModuleLoader__.load({
|
|
|
2205
2247
|
const [state, setState] = (0, react.useState)({ kind: "loading" });
|
|
2206
2248
|
const [context, setContext] = (0, react.useState)(void 0);
|
|
2207
2249
|
const [tab, setTab] = (0, react.useState)("approved");
|
|
2208
|
-
const [
|
|
2250
|
+
const [department, setDepartment] = (0, react.useState)("");
|
|
2209
2251
|
const [busy, setBusy] = (0, react.useState)(false);
|
|
2210
2252
|
const [notice, setNotice] = (0, react.useState)(null);
|
|
2211
2253
|
const [audit, setAudit] = (0, react.useState)(null);
|
|
@@ -2235,23 +2277,14 @@ window.__ModuleLoader__.load({
|
|
|
2235
2277
|
setState({
|
|
2236
2278
|
kind: "ready",
|
|
2237
2279
|
listing: {
|
|
2238
|
-
skills: [...
|
|
2239
|
-
tags: [
|
|
2240
|
-
"性能",
|
|
2241
|
-
"数据",
|
|
2242
|
-
"数据库",
|
|
2243
|
-
"质量",
|
|
2244
|
-
"经营",
|
|
2245
|
-
"日报",
|
|
2246
|
-
"客户"
|
|
2247
|
-
],
|
|
2280
|
+
skills: [...demo],
|
|
2281
|
+
tags: [],
|
|
2248
2282
|
counts: countsOf(demo)
|
|
2249
2283
|
}
|
|
2250
2284
|
});
|
|
2251
2285
|
return;
|
|
2252
2286
|
}
|
|
2253
2287
|
const listing = await fetchPlaza({
|
|
2254
|
-
tag: filter.tag,
|
|
2255
2288
|
query: filter.query,
|
|
2256
2289
|
status: allowed ? "all" : "approved"
|
|
2257
2290
|
});
|
|
@@ -2264,7 +2297,7 @@ window.__ModuleLoader__.load({
|
|
|
2264
2297
|
kind: "ready",
|
|
2265
2298
|
listing: {
|
|
2266
2299
|
...listing,
|
|
2267
|
-
skills: [...
|
|
2300
|
+
skills: [...visible],
|
|
2268
2301
|
counts: countsOf(visible)
|
|
2269
2302
|
}
|
|
2270
2303
|
});
|
|
@@ -2273,29 +2306,11 @@ window.__ModuleLoader__.load({
|
|
|
2273
2306
|
}
|
|
2274
2307
|
}, [allowed]);
|
|
2275
2308
|
(0, react.useEffect)(() => {
|
|
2276
|
-
load({
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
}, [
|
|
2282
|
-
load,
|
|
2283
|
-
tab,
|
|
2284
|
-
tag,
|
|
2285
|
-
query
|
|
2286
|
-
]);
|
|
2287
|
-
const refresh = (0, react.useCallback)(async (nextTab = tab, nextTag = tag) => {
|
|
2288
|
-
await load({
|
|
2289
|
-
tab: nextTab,
|
|
2290
|
-
tag: nextTag,
|
|
2291
|
-
query
|
|
2292
|
-
});
|
|
2293
|
-
}, [
|
|
2294
|
-
load,
|
|
2295
|
-
tab,
|
|
2296
|
-
tag,
|
|
2297
|
-
query
|
|
2298
|
-
]);
|
|
2309
|
+
load({ query });
|
|
2310
|
+
}, [load, query]);
|
|
2311
|
+
const refresh = (0, react.useCallback)(async () => {
|
|
2312
|
+
await load({ query });
|
|
2313
|
+
}, [load, query]);
|
|
2299
2314
|
const act = (0, react.useCallback)(async (body, message) => {
|
|
2300
2315
|
setBusy(true);
|
|
2301
2316
|
setNotice(null);
|
|
@@ -2345,7 +2360,8 @@ window.__ModuleLoader__.load({
|
|
|
2345
2360
|
}
|
|
2346
2361
|
setAudit(null);
|
|
2347
2362
|
setNotice(t === void 0 ? null : t("plazaReviewDone"));
|
|
2348
|
-
|
|
2363
|
+
setTab("pending");
|
|
2364
|
+
await refresh();
|
|
2349
2365
|
} catch {
|
|
2350
2366
|
setReviewError(t === void 0 ? null : t("plazaReviewFailed"));
|
|
2351
2367
|
} finally {
|
|
@@ -2419,12 +2435,18 @@ window.__ModuleLoader__.load({
|
|
|
2419
2435
|
pending: listing.counts.pending,
|
|
2420
2436
|
all: listing.counts.total
|
|
2421
2437
|
};
|
|
2422
|
-
const
|
|
2423
|
-
const
|
|
2438
|
+
const reviewTabs = reviewTabsFor(context);
|
|
2439
|
+
const departmentOptions = departmentOptionsOf(listing.skills);
|
|
2440
|
+
const selectedDepartment = departmentOptions.some((option) => option.code === department) ? department : "";
|
|
2441
|
+
const departmentSkills = filterByDepartment(listing.skills, selectedDepartment);
|
|
2442
|
+
const tabs = departmentOptions.length === 0 ? reviewTabs : [...reviewTabs, "department"];
|
|
2443
|
+
const countOfTab = (item) => item === "department" ? departmentSkills.length : counts[item];
|
|
2444
|
+
const tabLabel = (item) => item === "approved" ? t("plazaTabApproved") : item === "pending" ? t("plazaTabPending") : item === "all" ? t("plazaTabAll") : t("plazaTabDepartment");
|
|
2445
|
+
const visibleSkills = tab === "department" ? departmentSkills : filterByReview(listing.skills, tab);
|
|
2424
2446
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
2425
2447
|
className: SkillPlazaSection_module_css_default.section,
|
|
2426
2448
|
children: [
|
|
2427
|
-
head(
|
|
2449
|
+
head(countOfTab(tab)),
|
|
2428
2450
|
tabs.length > 1 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2429
2451
|
className: SkillPlazaSection_module_css_default.tabs,
|
|
2430
2452
|
role: "tablist",
|
|
@@ -2436,55 +2458,51 @@ window.__ModuleLoader__.load({
|
|
|
2436
2458
|
className: tab === item ? SkillPlazaSection_module_css_default.tab + " " + SkillPlazaSection_module_css_default.tabActive : SkillPlazaSection_module_css_default.tab,
|
|
2437
2459
|
onClick: () => {
|
|
2438
2460
|
setTab(item);
|
|
2439
|
-
load({
|
|
2440
|
-
tab: item,
|
|
2441
|
-
tag,
|
|
2442
|
-
query
|
|
2443
|
-
});
|
|
2444
2461
|
},
|
|
2445
2462
|
children: [tabLabel(item), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
2446
2463
|
className: SkillPlazaSection_module_css_default.tabCount,
|
|
2447
|
-
children:
|
|
2464
|
+
children: countOfTab(item)
|
|
2448
2465
|
})]
|
|
2449
2466
|
}, item))
|
|
2450
2467
|
}) : null,
|
|
2451
|
-
|
|
2452
|
-
className: SkillPlazaSection_module_css_default.
|
|
2453
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
type: "button",
|
|
2463
|
-
className: tag === item ? SkillPlazaSection_module_css_default.chip + " " + SkillPlazaSection_module_css_default.chipOn : SkillPlazaSection_module_css_default.chip,
|
|
2464
|
-
onClick: () => {
|
|
2465
|
-
setTag(item);
|
|
2466
|
-
refresh(tab, item);
|
|
2468
|
+
tab === "department" && departmentOptions.length > 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
|
|
2469
|
+
className: SkillPlazaSection_module_css_default.departmentBar,
|
|
2470
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
2471
|
+
className: SkillPlazaSection_module_css_default.departmentLabel,
|
|
2472
|
+
children: t("plazaDepartment")
|
|
2473
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("select", {
|
|
2474
|
+
className: SkillPlazaSection_module_css_default.departmentSelect,
|
|
2475
|
+
value: selectedDepartment,
|
|
2476
|
+
"aria-label": t("plazaDepartment"),
|
|
2477
|
+
onChange: (event) => {
|
|
2478
|
+
setDepartment(event.target.value);
|
|
2467
2479
|
},
|
|
2468
|
-
children:
|
|
2469
|
-
|
|
2470
|
-
|
|
2480
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
|
|
2481
|
+
value: "",
|
|
2482
|
+
children: t("plazaDepartmentAll")
|
|
2483
|
+
}), departmentOptions.map((option) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
|
|
2484
|
+
value: option.code,
|
|
2485
|
+
children: option.name
|
|
2486
|
+
}, option.code))]
|
|
2487
|
+
})]
|
|
2488
|
+
}) : null,
|
|
2471
2489
|
notice === null ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
2472
2490
|
className: SkillPlazaSection_module_css_default.notice,
|
|
2473
2491
|
children: notice
|
|
2474
2492
|
}),
|
|
2475
|
-
|
|
2493
|
+
visibleSkills.length === 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
2476
2494
|
className: SkillPlazaSection_module_css_default.empty,
|
|
2477
2495
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
2478
2496
|
className: SkillPlazaSection_module_css_default.emptyIcon,
|
|
2479
2497
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconShareOutlineRegular, { size: 28 })
|
|
2480
2498
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
2481
2499
|
className: SkillPlazaSection_module_css_default.emptyText,
|
|
2482
|
-
children: tab === "pending" ? t("plazaPendingEmpty") : t("plazaEmpty")
|
|
2500
|
+
children: tab === "department" ? t("plazaDepartmentEmpty") : tab === "pending" ? t("plazaPendingEmpty") : t("plazaEmpty")
|
|
2483
2501
|
})]
|
|
2484
2502
|
}) : null,
|
|
2485
2503
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
|
|
2486
2504
|
className: SkillPlazaSection_module_css_default.cards,
|
|
2487
|
-
children:
|
|
2505
|
+
children: visibleSkills.map((skill) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PlazaCard, {
|
|
2488
2506
|
skill,
|
|
2489
2507
|
busy,
|
|
2490
2508
|
canAudit: allowed,
|
|
@@ -2627,19 +2645,19 @@ window.__ModuleLoader__.load({
|
|
|
2627
2645
|
document.head.appendChild(tag);
|
|
2628
2646
|
}
|
|
2629
2647
|
var WanxiangBrand_module_css_default = {
|
|
2630
|
-
"unit-core": "s0HPxG_unit-core",
|
|
2631
|
-
"unitRight": "s0HPxG_unitRight",
|
|
2632
2648
|
"mark": "s0HPxG_mark",
|
|
2649
|
+
"unit-left": "s0HPxG_unit-left",
|
|
2650
|
+
"harness": "s0HPxG_harness",
|
|
2651
|
+
"unitTop": "s0HPxG_unitTop",
|
|
2652
|
+
"sidebarName": "s0HPxG_sidebarName",
|
|
2633
2653
|
"wordmark": "s0HPxG_wordmark",
|
|
2634
|
-
"animatedMark": "s0HPxG_animatedMark",
|
|
2635
2654
|
"unitLeft": "s0HPxG_unitLeft",
|
|
2636
|
-
"sidebarName": "s0HPxG_sidebarName",
|
|
2637
2655
|
"unitCore": "s0HPxG_unitCore",
|
|
2656
|
+
"unitRight": "s0HPxG_unitRight",
|
|
2638
2657
|
"unit-top": "s0HPxG_unit-top",
|
|
2639
|
-
"unit-left": "s0HPxG_unit-left",
|
|
2640
2658
|
"unit-right": "s0HPxG_unit-right",
|
|
2641
|
-
"
|
|
2642
|
-
"
|
|
2659
|
+
"unit-core": "s0HPxG_unit-core",
|
|
2660
|
+
"animatedMark": "s0HPxG_animatedMark"
|
|
2643
2661
|
};
|
|
2644
2662
|
//#endregion
|
|
2645
2663
|
//#region src/client/WanxiangBrand.tsx
|
|
@@ -3056,72 +3074,72 @@ window.__ModuleLoader__.load({
|
|
|
3056
3074
|
document.head.appendChild(tag);
|
|
3057
3075
|
}
|
|
3058
3076
|
var PermissionCenterSection_module_css_default = {
|
|
3059
|
-
"detailGrid": "PNbOqW_detailGrid",
|
|
3060
|
-
"candidate": "PNbOqW_candidate",
|
|
3061
|
-
"departments": "PNbOqW_departments",
|
|
3062
|
-
"notice": "PNbOqW_notice",
|
|
3063
3077
|
"candidates": "PNbOqW_candidates",
|
|
3064
|
-
"
|
|
3065
|
-
"
|
|
3066
|
-
"protected": "PNbOqW_protected",
|
|
3067
|
-
"permDescription": "PNbOqW_permDescription",
|
|
3068
|
-
"tableScroll": "PNbOqW_tableScroll",
|
|
3069
|
-
"sectionTitle": "PNbOqW_sectionTitle",
|
|
3070
|
-
"matrixNote": "PNbOqW_matrixNote",
|
|
3071
|
-
"treeActions": "PNbOqW_treeActions",
|
|
3078
|
+
"waiting": "PNbOqW_waiting",
|
|
3079
|
+
"onlyAdmin": "PNbOqW_onlyAdmin",
|
|
3072
3080
|
"comboboxList": "PNbOqW_comboboxList",
|
|
3073
|
-
"
|
|
3074
|
-
"field": "PNbOqW_field",
|
|
3075
|
-
"treeChildren": "PNbOqW_treeChildren",
|
|
3076
|
-
"pager": "PNbOqW_pager",
|
|
3077
|
-
"combobox": "PNbOqW_combobox",
|
|
3078
|
-
"comboboxHint": "PNbOqW_comboboxHint",
|
|
3079
|
-
"search": "PNbOqW_search",
|
|
3080
|
-
"treeRow": "PNbOqW_treeRow",
|
|
3081
|
+
"matrixPermission": "PNbOqW_matrixPermission",
|
|
3081
3082
|
"comboboxOption": "PNbOqW_comboboxOption",
|
|
3082
|
-
"
|
|
3083
|
-
"
|
|
3084
|
-
"
|
|
3085
|
-
"
|
|
3086
|
-
"
|
|
3087
|
-
"
|
|
3088
|
-
"
|
|
3089
|
-
"
|
|
3090
|
-
"
|
|
3083
|
+
"departments": "PNbOqW_departments",
|
|
3084
|
+
"permCopy": "PNbOqW_permCopy",
|
|
3085
|
+
"tab": "PNbOqW_tab",
|
|
3086
|
+
"treeName": "PNbOqW_treeName",
|
|
3087
|
+
"treeRow": "PNbOqW_treeRow",
|
|
3088
|
+
"combobox": "PNbOqW_combobox",
|
|
3089
|
+
"sectionTitle": "PNbOqW_sectionTitle",
|
|
3090
|
+
"scopeBadge": "PNbOqW_scopeBadge",
|
|
3091
|
+
"comboboxPlaceholder": "PNbOqW_comboboxPlaceholder",
|
|
3091
3092
|
"table": "PNbOqW_table",
|
|
3092
|
-
"
|
|
3093
|
-
"subtitle": "PNbOqW_subtitle",
|
|
3093
|
+
"dialogHint": "PNbOqW_dialogHint",
|
|
3094
3094
|
"rowActions": "PNbOqW_rowActions",
|
|
3095
|
-
"matrix": "PNbOqW_matrix",
|
|
3096
|
-
"head": "PNbOqW_head",
|
|
3097
|
-
"scopeBadge": "PNbOqW_scopeBadge",
|
|
3098
3095
|
"matrixModule": "PNbOqW_matrixModule",
|
|
3099
3096
|
"panel": "PNbOqW_panel",
|
|
3100
|
-
"
|
|
3101
|
-
"
|
|
3102
|
-
"
|
|
3103
|
-
"
|
|
3104
|
-
"comboboxEmpty": "PNbOqW_comboboxEmpty",
|
|
3105
|
-
"error": "PNbOqW_error",
|
|
3106
|
-
"matrixPermission": "PNbOqW_matrixPermission",
|
|
3107
|
-
"permCopy": "PNbOqW_permCopy",
|
|
3108
|
-
"tabs": "PNbOqW_tabs",
|
|
3097
|
+
"department": "PNbOqW_department",
|
|
3098
|
+
"matrix": "PNbOqW_matrix",
|
|
3099
|
+
"tabActive": "PNbOqW_tabActive",
|
|
3100
|
+
"notice": "PNbOqW_notice",
|
|
3109
3101
|
"dialogBody": "PNbOqW_dialogBody",
|
|
3110
|
-
"
|
|
3111
|
-
"
|
|
3112
|
-
"
|
|
3102
|
+
"dialog": "PNbOqW_dialog",
|
|
3103
|
+
"subtitle": "PNbOqW_subtitle",
|
|
3104
|
+
"comboboxEmpty": "PNbOqW_comboboxEmpty",
|
|
3105
|
+
"detailGrid": "PNbOqW_detailGrid",
|
|
3106
|
+
"copied": "PNbOqW_copied",
|
|
3107
|
+
"adminTag": "PNbOqW_adminTag",
|
|
3108
|
+
"treeChildren": "PNbOqW_treeChildren",
|
|
3109
|
+
"matrixNote": "PNbOqW_matrixNote",
|
|
3110
|
+
"panelHead": "PNbOqW_panelHead",
|
|
3111
|
+
"treeToggle": "PNbOqW_treeToggle",
|
|
3112
|
+
"empty": "PNbOqW_empty",
|
|
3113
|
+
"comboboxCheck": "PNbOqW_comboboxCheck",
|
|
3114
|
+
"muted": "PNbOqW_muted",
|
|
3113
3115
|
"page": "PNbOqW_page",
|
|
3114
|
-
"
|
|
3116
|
+
"matrixGroup": "PNbOqW_matrixGroup",
|
|
3117
|
+
"tableScroll": "PNbOqW_tableScroll",
|
|
3115
3118
|
"treeRoot": "PNbOqW_treeRoot",
|
|
3116
|
-
"
|
|
3117
|
-
"
|
|
3118
|
-
"
|
|
3119
|
+
"comboboxOptionActive": "PNbOqW_comboboxOptionActive",
|
|
3120
|
+
"comboboxMenu": "PNbOqW_comboboxMenu",
|
|
3121
|
+
"field": "PNbOqW_field",
|
|
3122
|
+
"comboboxSearch": "PNbOqW_comboboxSearch",
|
|
3123
|
+
"tabs": "PNbOqW_tabs",
|
|
3119
3124
|
"demo": "PNbOqW_demo",
|
|
3125
|
+
"panelFoot": "PNbOqW_panelFoot",
|
|
3126
|
+
"pager": "PNbOqW_pager",
|
|
3127
|
+
"protected": "PNbOqW_protected",
|
|
3128
|
+
"permission": "PNbOqW_permission",
|
|
3129
|
+
"title": "PNbOqW_title",
|
|
3130
|
+
"treeActions": "PNbOqW_treeActions",
|
|
3131
|
+
"error": "PNbOqW_error",
|
|
3120
3132
|
"deptAdmins": "PNbOqW_deptAdmins",
|
|
3121
|
-
"
|
|
3133
|
+
"comboboxHint": "PNbOqW_comboboxHint",
|
|
3134
|
+
"candidate": "PNbOqW_candidate",
|
|
3135
|
+
"search": "PNbOqW_search",
|
|
3136
|
+
"readOnly": "PNbOqW_readOnly",
|
|
3137
|
+
"permDescription": "PNbOqW_permDescription",
|
|
3138
|
+
"matrixScroll": "PNbOqW_matrixScroll",
|
|
3122
3139
|
"comboboxTrigger": "PNbOqW_comboboxTrigger",
|
|
3123
|
-
"
|
|
3124
|
-
"
|
|
3140
|
+
"dialogFooter": "PNbOqW_dialogFooter",
|
|
3141
|
+
"head": "PNbOqW_head",
|
|
3142
|
+
"treeSpacer": "PNbOqW_treeSpacer"
|
|
3125
3143
|
};
|
|
3126
3144
|
//#endregion
|
|
3127
3145
|
//#region src/client/combobox.ts
|
|
@@ -4550,18 +4568,18 @@ window.__ModuleLoader__.load({
|
|
|
4550
4568
|
document.head.appendChild(tag);
|
|
4551
4569
|
}
|
|
4552
4570
|
var WorkspaceUpgradePrompt_module_css_default = {
|
|
4553
|
-
"
|
|
4554
|
-
"sessionList": "razUfG_sessionList",
|
|
4571
|
+
"dialogText": "razUfG_dialogText",
|
|
4555
4572
|
"banner": "razUfG_banner",
|
|
4556
|
-
"sessionRow": "razUfG_sessionRow",
|
|
4557
|
-
"sessionPath": "razUfG_sessionPath",
|
|
4558
|
-
"copy": "razUfG_copy",
|
|
4559
4573
|
"body": "razUfG_body",
|
|
4574
|
+
"copy": "razUfG_copy",
|
|
4575
|
+
"sessionPath": "razUfG_sessionPath",
|
|
4576
|
+
"title": "razUfG_title",
|
|
4577
|
+
"sessionRow": "razUfG_sessionRow",
|
|
4560
4578
|
"sessionTitle": "razUfG_sessionTitle",
|
|
4579
|
+
"dialogBody": "razUfG_dialogBody",
|
|
4580
|
+
"sessionList": "razUfG_sessionList",
|
|
4561
4581
|
"error": "razUfG_error",
|
|
4562
|
-
"
|
|
4563
|
-
"actions": "razUfG_actions",
|
|
4564
|
-
"title": "razUfG_title"
|
|
4582
|
+
"actions": "razUfG_actions"
|
|
4565
4583
|
};
|
|
4566
4584
|
//#endregion
|
|
4567
4585
|
//#region src/client/WorkspaceUpgradePrompt.tsx
|
|
@@ -4763,7 +4781,6 @@ window.__ModuleLoader__.load({
|
|
|
4763
4781
|
defaultsNeverPublished: "Not published yet",
|
|
4764
4782
|
defaultsNotAdmin: "Administrators only",
|
|
4765
4783
|
plazaTitle: "Skill plaza",
|
|
4766
|
-
plazaAllTags: "All tags",
|
|
4767
4784
|
plazaMine: "Shared by me",
|
|
4768
4785
|
plazaShowDetail: "Details",
|
|
4769
4786
|
plazaClose: "Close",
|
|
@@ -4782,6 +4799,10 @@ window.__ModuleLoader__.load({
|
|
|
4782
4799
|
plazaTabApproved: "Approved",
|
|
4783
4800
|
plazaTabPending: "Pending",
|
|
4784
4801
|
plazaTabAll: "All",
|
|
4802
|
+
plazaTabDepartment: "Department",
|
|
4803
|
+
plazaDepartment: "Department",
|
|
4804
|
+
plazaDepartmentAll: "All departments",
|
|
4805
|
+
plazaDepartmentEmpty: "No department-shared skills yet.",
|
|
4785
4806
|
plazaSharedTag: "Shared",
|
|
4786
4807
|
plazaReview: "Review",
|
|
4787
4808
|
plazaPendingEmpty: "No skills are waiting for review.",
|
|
@@ -4907,7 +4928,6 @@ window.__ModuleLoader__.load({
|
|
|
4907
4928
|
defaultsNeverPublished: "尚未发布",
|
|
4908
4929
|
defaultsNotAdmin: "仅管理员可发布",
|
|
4909
4930
|
plazaTitle: "技能广场",
|
|
4910
|
-
plazaAllTags: "全部标签",
|
|
4911
4931
|
plazaMine: "我共享的",
|
|
4912
4932
|
plazaShowDetail: "详情",
|
|
4913
4933
|
plazaClose: "关闭",
|
|
@@ -4926,6 +4946,10 @@ window.__ModuleLoader__.load({
|
|
|
4926
4946
|
plazaTabApproved: "已审核",
|
|
4927
4947
|
plazaTabPending: "未审核",
|
|
4928
4948
|
plazaTabAll: "全部",
|
|
4949
|
+
plazaTabDepartment: "部门",
|
|
4950
|
+
plazaDepartment: "部门",
|
|
4951
|
+
plazaDepartmentAll: "全部部门",
|
|
4952
|
+
plazaDepartmentEmpty: "暂无部门上架的技能。",
|
|
4929
4953
|
plazaSharedTag: "已共享",
|
|
4930
4954
|
plazaReview: "审核",
|
|
4931
4955
|
plazaPendingEmpty: "没有待审核的技能。",
|