@gooddata/sdk-ui-ext 11.43.0-alpha.3 → 11.43.0-alpha.5
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/NOTICE +641 -841
- package/esm/index.d.ts +2 -2
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -1
- package/esm/internal/translations/de-DE.localization-bundle.d.ts +42 -0
- package/esm/internal/translations/de-DE.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/de-DE.localization-bundle.js +43 -1
- package/esm/internal/translations/en-AU.localization-bundle.d.ts +42 -0
- package/esm/internal/translations/en-AU.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/en-AU.localization-bundle.js +44 -2
- package/esm/internal/translations/en-GB.localization-bundle.d.ts +42 -0
- package/esm/internal/translations/en-GB.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/en-GB.localization-bundle.js +44 -2
- package/esm/internal/translations/es-419.localization-bundle.d.ts +42 -0
- package/esm/internal/translations/es-419.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/es-419.localization-bundle.js +44 -2
- package/esm/internal/translations/es-ES.localization-bundle.d.ts +42 -0
- package/esm/internal/translations/es-ES.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/es-ES.localization-bundle.js +44 -2
- package/esm/internal/translations/fi-FI.localization-bundle.d.ts +42 -0
- package/esm/internal/translations/fi-FI.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/fi-FI.localization-bundle.js +43 -1
- package/esm/internal/translations/fr-CA.localization-bundle.d.ts +42 -0
- package/esm/internal/translations/fr-CA.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/fr-CA.localization-bundle.js +43 -1
- package/esm/internal/translations/fr-FR.localization-bundle.d.ts +42 -0
- package/esm/internal/translations/fr-FR.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/fr-FR.localization-bundle.js +43 -1
- package/esm/internal/translations/id-ID.localization-bundle.d.ts +42 -0
- package/esm/internal/translations/id-ID.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/id-ID.localization-bundle.js +43 -1
- package/esm/internal/translations/it-IT.localization-bundle.d.ts +42 -0
- package/esm/internal/translations/it-IT.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/it-IT.localization-bundle.js +43 -1
- package/esm/internal/translations/ja-JP.localization-bundle.d.ts +42 -0
- package/esm/internal/translations/ja-JP.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/ja-JP.localization-bundle.js +43 -1
- package/esm/internal/translations/ko-KR.localization-bundle.d.ts +42 -0
- package/esm/internal/translations/ko-KR.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/ko-KR.localization-bundle.js +43 -1
- package/esm/internal/translations/nl-NL.localization-bundle.d.ts +42 -0
- package/esm/internal/translations/nl-NL.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/nl-NL.localization-bundle.js +43 -1
- package/esm/internal/translations/pl-PL.localization-bundle.d.ts +42 -0
- package/esm/internal/translations/pl-PL.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/pl-PL.localization-bundle.js +43 -1
- package/esm/internal/translations/pt-BR.localization-bundle.d.ts +42 -0
- package/esm/internal/translations/pt-BR.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/pt-BR.localization-bundle.js +43 -1
- package/esm/internal/translations/pt-PT.localization-bundle.d.ts +42 -0
- package/esm/internal/translations/pt-PT.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/pt-PT.localization-bundle.js +43 -1
- package/esm/internal/translations/ru-RU.localization-bundle.d.ts +42 -0
- package/esm/internal/translations/ru-RU.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/ru-RU.localization-bundle.js +43 -1
- package/esm/internal/translations/sl-SI.localization-bundle.d.ts +42 -0
- package/esm/internal/translations/sl-SI.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/sl-SI.localization-bundle.js +43 -1
- package/esm/internal/translations/th-TH.localization-bundle.d.ts +42 -0
- package/esm/internal/translations/th-TH.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/th-TH.localization-bundle.js +43 -1
- package/esm/internal/translations/tr-TR.localization-bundle.d.ts +42 -0
- package/esm/internal/translations/tr-TR.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/tr-TR.localization-bundle.js +43 -1
- package/esm/internal/translations/uk-UA.localization-bundle.d.ts +42 -0
- package/esm/internal/translations/uk-UA.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/uk-UA.localization-bundle.js +43 -1
- package/esm/internal/translations/vi-VN.localization-bundle.d.ts +42 -0
- package/esm/internal/translations/vi-VN.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/vi-VN.localization-bundle.js +43 -1
- package/esm/internal/translations/zh-HK.localization-bundle.d.ts +42 -0
- package/esm/internal/translations/zh-HK.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/zh-HK.localization-bundle.js +44 -2
- package/esm/internal/translations/zh-Hans.localization-bundle.d.ts +42 -0
- package/esm/internal/translations/zh-Hans.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/zh-Hans.localization-bundle.js +43 -1
- package/esm/internal/translations/zh-Hant.localization-bundle.d.ts +42 -0
- package/esm/internal/translations/zh-Hant.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/zh-Hant.localization-bundle.js +45 -3
- package/esm/sdk-ui-ext.d.ts +31 -10
- package/esm/share/ObjectShareDialog.js +2 -2
- package/esm/share/objectShareController.helpers.d.ts +1 -27
- package/esm/share/objectShareController.helpers.d.ts.map +1 -1
- package/esm/share/objectShareController.helpers.js +25 -48
- package/esm/share/objectShareController.types.d.ts +46 -4
- package/esm/share/objectShareController.types.d.ts.map +1 -1
- package/esm/share/useAccessList.d.ts +31 -18
- package/esm/share/useAccessList.d.ts.map +1 -1
- package/esm/share/useAccessList.js +85 -133
- package/esm/share/useLabelScope.d.ts +6 -8
- package/esm/share/useLabelScope.d.ts.map +1 -1
- package/esm/share/useLabelScope.js +34 -28
- package/esm/share/useObjectShareController.d.ts +19 -16
- package/esm/share/useObjectShareController.d.ts.map +1 -1
- package/esm/share/useObjectShareController.js +212 -119
- package/package.json +21 -22
- package/esm/share/useObjectShare.d.ts +0 -50
- package/esm/share/useObjectShare.d.ts.map +0 -1
- package/esm/share/useObjectShare.js +0 -17
|
@@ -605,5 +605,47 @@ export const vi_VN = {
|
|
|
605
605
|
"objectShare.toast.generalAccessUpdated": "Đã cập nhật quyền truy cập chung.",
|
|
606
606
|
"objectShare.toast.error": "Không thể cập nhật quyền truy cập.",
|
|
607
607
|
"objectShare.toast.labelScopePartial": "Không thể lưu một số quyền truy cập vào nhãn.",
|
|
608
|
-
"objectShare.loadError": "Không thể tải cài đặt chia sẻ. Vui lòng đóng và thử lại."
|
|
608
|
+
"objectShare.loadError": "Không thể tải cài đặt chia sẻ. Vui lòng đóng và thử lại.",
|
|
609
|
+
"properties.conditionalFormatting.title": "Định dạng có điều kiện",
|
|
610
|
+
"properties.conditionalFormatting.empty": "Tô sáng các ô hoặc hàng khớp với một quy tắc.",
|
|
611
|
+
"properties.conditionalFormatting.rulesLabel": "Quy tắc",
|
|
612
|
+
"properties.conditionalFormatting.addRule": "Thêm",
|
|
613
|
+
"properties.conditionalFormatting.rule.invalid": "Không tìm thấy cột",
|
|
614
|
+
"properties.conditionalFormatting.rule.edit": "Chỉnh sửa quy tắc",
|
|
615
|
+
"properties.conditionalFormatting.rule.delete": "Xóa quy tắc",
|
|
616
|
+
"properties.conditionalFormatting.dialog.addTitle": "Thêm quy tắc",
|
|
617
|
+
"properties.conditionalFormatting.dialog.editTitle": "Chỉnh sửa quy tắc",
|
|
618
|
+
"properties.conditionalFormatting.dialog.target": "Khi",
|
|
619
|
+
"properties.conditionalFormatting.dialog.selectTarget": "Chọn một phép đo hoặc thuộc tính",
|
|
620
|
+
"properties.conditionalFormatting.dialog.condition": "Điều kiện",
|
|
621
|
+
"properties.conditionalFormatting.dialog.format": "Định dạng",
|
|
622
|
+
"properties.conditionalFormatting.dialog.addCondition": "Thêm điều kiện",
|
|
623
|
+
"properties.conditionalFormatting.dialog.removeCondition": "Xóa điều kiện",
|
|
624
|
+
"properties.conditionalFormatting.dialog.textColor": "Văn bản",
|
|
625
|
+
"properties.conditionalFormatting.dialog.fillColor": "Tô",
|
|
626
|
+
"properties.conditionalFormatting.dialog.noColor": "Không có màu",
|
|
627
|
+
"properties.conditionalFormatting.dialog.scope.cell": "Ô",
|
|
628
|
+
"properties.conditionalFormatting.dialog.scope.row": "Hàng",
|
|
629
|
+
"properties.conditionalFormatting.dialog.value": "Giá trị",
|
|
630
|
+
"properties.conditionalFormatting.dialog.from": "Từ",
|
|
631
|
+
"properties.conditionalFormatting.dialog.to": "Đến",
|
|
632
|
+
"properties.conditionalFormatting.dialog.cancel": "Hủy",
|
|
633
|
+
"properties.conditionalFormatting.dialog.save": "Lưu",
|
|
634
|
+
"properties.conditionalFormatting.operator.all": "Tất cả giá trị",
|
|
635
|
+
"properties.conditionalFormatting.operator.equalTo": "Bằng",
|
|
636
|
+
"properties.conditionalFormatting.operator.notEqualTo": "Không bằng",
|
|
637
|
+
"properties.conditionalFormatting.operator.greaterThan": "Lớn hơn",
|
|
638
|
+
"properties.conditionalFormatting.operator.greaterThanOrEqualTo": "Lớn hơn hoặc bằng",
|
|
639
|
+
"properties.conditionalFormatting.operator.lessThan": "Nhỏ hơn",
|
|
640
|
+
"properties.conditionalFormatting.operator.lessThanOrEqualTo": "Nhỏ hơn hoặc bằng",
|
|
641
|
+
"properties.conditionalFormatting.operator.between": "Trong khoảng",
|
|
642
|
+
"properties.conditionalFormatting.operator.notBetween": "Không trong khoảng",
|
|
643
|
+
"properties.conditionalFormatting.operator.contains": "Chứa",
|
|
644
|
+
"properties.conditionalFormatting.operator.notContains": "Không chứa",
|
|
645
|
+
"properties.conditionalFormatting.operator.startsWith": "Bắt đầu bằng",
|
|
646
|
+
"properties.conditionalFormatting.operator.notStartsWith": "Không bắt đầu bằng",
|
|
647
|
+
"properties.conditionalFormatting.operator.endsWith": "Kết thúc bằng",
|
|
648
|
+
"properties.conditionalFormatting.operator.notEndsWith": "Không kết thúc bằng",
|
|
649
|
+
"properties.conditionalFormatting.operator.isEmpty": "Trống",
|
|
650
|
+
"properties.conditionalFormatting.operator.isNotEmpty": "Không trống"
|
|
609
651
|
};
|
|
@@ -604,5 +604,47 @@ export declare const zh_HK: {
|
|
|
604
604
|
"objectShare.toast.error": string;
|
|
605
605
|
"objectShare.toast.labelScopePartial": string;
|
|
606
606
|
"objectShare.loadError": string;
|
|
607
|
+
"properties.conditionalFormatting.title": string;
|
|
608
|
+
"properties.conditionalFormatting.empty": string;
|
|
609
|
+
"properties.conditionalFormatting.rulesLabel": string;
|
|
610
|
+
"properties.conditionalFormatting.addRule": string;
|
|
611
|
+
"properties.conditionalFormatting.rule.invalid": string;
|
|
612
|
+
"properties.conditionalFormatting.rule.edit": string;
|
|
613
|
+
"properties.conditionalFormatting.rule.delete": string;
|
|
614
|
+
"properties.conditionalFormatting.dialog.addTitle": string;
|
|
615
|
+
"properties.conditionalFormatting.dialog.editTitle": string;
|
|
616
|
+
"properties.conditionalFormatting.dialog.target": string;
|
|
617
|
+
"properties.conditionalFormatting.dialog.selectTarget": string;
|
|
618
|
+
"properties.conditionalFormatting.dialog.condition": string;
|
|
619
|
+
"properties.conditionalFormatting.dialog.format": string;
|
|
620
|
+
"properties.conditionalFormatting.dialog.addCondition": string;
|
|
621
|
+
"properties.conditionalFormatting.dialog.removeCondition": string;
|
|
622
|
+
"properties.conditionalFormatting.dialog.textColor": string;
|
|
623
|
+
"properties.conditionalFormatting.dialog.fillColor": string;
|
|
624
|
+
"properties.conditionalFormatting.dialog.noColor": string;
|
|
625
|
+
"properties.conditionalFormatting.dialog.scope.cell": string;
|
|
626
|
+
"properties.conditionalFormatting.dialog.scope.row": string;
|
|
627
|
+
"properties.conditionalFormatting.dialog.value": string;
|
|
628
|
+
"properties.conditionalFormatting.dialog.from": string;
|
|
629
|
+
"properties.conditionalFormatting.dialog.to": string;
|
|
630
|
+
"properties.conditionalFormatting.dialog.cancel": string;
|
|
631
|
+
"properties.conditionalFormatting.dialog.save": string;
|
|
632
|
+
"properties.conditionalFormatting.operator.all": string;
|
|
633
|
+
"properties.conditionalFormatting.operator.equalTo": string;
|
|
634
|
+
"properties.conditionalFormatting.operator.notEqualTo": string;
|
|
635
|
+
"properties.conditionalFormatting.operator.greaterThan": string;
|
|
636
|
+
"properties.conditionalFormatting.operator.greaterThanOrEqualTo": string;
|
|
637
|
+
"properties.conditionalFormatting.operator.lessThan": string;
|
|
638
|
+
"properties.conditionalFormatting.operator.lessThanOrEqualTo": string;
|
|
639
|
+
"properties.conditionalFormatting.operator.between": string;
|
|
640
|
+
"properties.conditionalFormatting.operator.notBetween": string;
|
|
641
|
+
"properties.conditionalFormatting.operator.contains": string;
|
|
642
|
+
"properties.conditionalFormatting.operator.notContains": string;
|
|
643
|
+
"properties.conditionalFormatting.operator.startsWith": string;
|
|
644
|
+
"properties.conditionalFormatting.operator.notStartsWith": string;
|
|
645
|
+
"properties.conditionalFormatting.operator.endsWith": string;
|
|
646
|
+
"properties.conditionalFormatting.operator.notEndsWith": string;
|
|
647
|
+
"properties.conditionalFormatting.operator.isEmpty": string;
|
|
648
|
+
"properties.conditionalFormatting.operator.isNotEmpty": string;
|
|
607
649
|
};
|
|
608
650
|
//# sourceMappingURL=zh-HK.localization-bundle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zh-HK.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/internal/translations/zh-HK.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"zh-HK.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/internal/translations/zh-HK.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwoBjB,CAAC"}
|
|
@@ -382,7 +382,7 @@ export const zh_HK = {
|
|
|
382
382
|
"properties.comparison.measureNumber.format.template.trendSymbols": "趨勢符號",
|
|
383
383
|
"properties.comparison.measureNumber.format.template.timeFromSeconds": "時間(以秒為單位)",
|
|
384
384
|
"properties.comparison.measureNumber.format.template.zeroInsteadOfNull": "零值而唔係空白值",
|
|
385
|
-
"properties.comparison.valueSubSection.title": "
|
|
385
|
+
"properties.comparison.valueSubSection.title": "值",
|
|
386
386
|
"properties.comparison.format.title": "格式",
|
|
387
387
|
"properties.comparison.subFormat.title": "(格式)",
|
|
388
388
|
"properties.comparison.indicator.title": "指示器",
|
|
@@ -605,5 +605,47 @@ export const zh_HK = {
|
|
|
605
605
|
"objectShare.toast.generalAccessUpdated": "已更新一般存取權。",
|
|
606
606
|
"objectShare.toast.error": "無法更新存取權。",
|
|
607
607
|
"objectShare.toast.labelScopePartial": "無法儲存部分標籤存取權。",
|
|
608
|
-
"objectShare.loadError": "無法載入共享設定。請關閉並重試。"
|
|
608
|
+
"objectShare.loadError": "無法載入共享設定。請關閉並重試。",
|
|
609
|
+
"properties.conditionalFormatting.title": "條件式格式設定",
|
|
610
|
+
"properties.conditionalFormatting.empty": "醒目標示符合規則的儲存格或列。",
|
|
611
|
+
"properties.conditionalFormatting.rulesLabel": "規則",
|
|
612
|
+
"properties.conditionalFormatting.addRule": "增加",
|
|
613
|
+
"properties.conditionalFormatting.rule.invalid": "找不到欄",
|
|
614
|
+
"properties.conditionalFormatting.rule.edit": "編輯規則",
|
|
615
|
+
"properties.conditionalFormatting.rule.delete": "刪除規則",
|
|
616
|
+
"properties.conditionalFormatting.dialog.addTitle": "新增規則",
|
|
617
|
+
"properties.conditionalFormatting.dialog.editTitle": "編輯規則",
|
|
618
|
+
"properties.conditionalFormatting.dialog.target": "幾時",
|
|
619
|
+
"properties.conditionalFormatting.dialog.selectTarget": "選擇測量或屬性",
|
|
620
|
+
"properties.conditionalFormatting.dialog.condition": "條件",
|
|
621
|
+
"properties.conditionalFormatting.dialog.format": "格式",
|
|
622
|
+
"properties.conditionalFormatting.dialog.addCondition": "新增條件",
|
|
623
|
+
"properties.conditionalFormatting.dialog.removeCondition": "移除條件",
|
|
624
|
+
"properties.conditionalFormatting.dialog.textColor": "文字",
|
|
625
|
+
"properties.conditionalFormatting.dialog.fillColor": "填補",
|
|
626
|
+
"properties.conditionalFormatting.dialog.noColor": "無顏色",
|
|
627
|
+
"properties.conditionalFormatting.dialog.scope.cell": "儲存格",
|
|
628
|
+
"properties.conditionalFormatting.dialog.scope.row": "列",
|
|
629
|
+
"properties.conditionalFormatting.dialog.value": "值",
|
|
630
|
+
"properties.conditionalFormatting.dialog.from": "從",
|
|
631
|
+
"properties.conditionalFormatting.dialog.to": "到",
|
|
632
|
+
"properties.conditionalFormatting.dialog.cancel": "取消",
|
|
633
|
+
"properties.conditionalFormatting.dialog.save": "儲存",
|
|
634
|
+
"properties.conditionalFormatting.operator.all": "所有值",
|
|
635
|
+
"properties.conditionalFormatting.operator.equalTo": "等於",
|
|
636
|
+
"properties.conditionalFormatting.operator.notEqualTo": "不等於",
|
|
637
|
+
"properties.conditionalFormatting.operator.greaterThan": "大於",
|
|
638
|
+
"properties.conditionalFormatting.operator.greaterThanOrEqualTo": "大於或等於",
|
|
639
|
+
"properties.conditionalFormatting.operator.lessThan": "小於",
|
|
640
|
+
"properties.conditionalFormatting.operator.lessThanOrEqualTo": "小於或等於",
|
|
641
|
+
"properties.conditionalFormatting.operator.between": "之間",
|
|
642
|
+
"properties.conditionalFormatting.operator.notBetween": "不在之間",
|
|
643
|
+
"properties.conditionalFormatting.operator.contains": "包含",
|
|
644
|
+
"properties.conditionalFormatting.operator.notContains": "不包含",
|
|
645
|
+
"properties.conditionalFormatting.operator.startsWith": "以…開始",
|
|
646
|
+
"properties.conditionalFormatting.operator.notStartsWith": "不以…開始",
|
|
647
|
+
"properties.conditionalFormatting.operator.endsWith": "以…結束",
|
|
648
|
+
"properties.conditionalFormatting.operator.notEndsWith": "不以…結束",
|
|
649
|
+
"properties.conditionalFormatting.operator.isEmpty": "為空白",
|
|
650
|
+
"properties.conditionalFormatting.operator.isNotEmpty": "不是空白"
|
|
609
651
|
};
|
|
@@ -604,5 +604,47 @@ export declare const zh_Hans: {
|
|
|
604
604
|
"objectShare.toast.error": string;
|
|
605
605
|
"objectShare.toast.labelScopePartial": string;
|
|
606
606
|
"objectShare.loadError": string;
|
|
607
|
+
"properties.conditionalFormatting.title": string;
|
|
608
|
+
"properties.conditionalFormatting.empty": string;
|
|
609
|
+
"properties.conditionalFormatting.rulesLabel": string;
|
|
610
|
+
"properties.conditionalFormatting.addRule": string;
|
|
611
|
+
"properties.conditionalFormatting.rule.invalid": string;
|
|
612
|
+
"properties.conditionalFormatting.rule.edit": string;
|
|
613
|
+
"properties.conditionalFormatting.rule.delete": string;
|
|
614
|
+
"properties.conditionalFormatting.dialog.addTitle": string;
|
|
615
|
+
"properties.conditionalFormatting.dialog.editTitle": string;
|
|
616
|
+
"properties.conditionalFormatting.dialog.target": string;
|
|
617
|
+
"properties.conditionalFormatting.dialog.selectTarget": string;
|
|
618
|
+
"properties.conditionalFormatting.dialog.condition": string;
|
|
619
|
+
"properties.conditionalFormatting.dialog.format": string;
|
|
620
|
+
"properties.conditionalFormatting.dialog.addCondition": string;
|
|
621
|
+
"properties.conditionalFormatting.dialog.removeCondition": string;
|
|
622
|
+
"properties.conditionalFormatting.dialog.textColor": string;
|
|
623
|
+
"properties.conditionalFormatting.dialog.fillColor": string;
|
|
624
|
+
"properties.conditionalFormatting.dialog.noColor": string;
|
|
625
|
+
"properties.conditionalFormatting.dialog.scope.cell": string;
|
|
626
|
+
"properties.conditionalFormatting.dialog.scope.row": string;
|
|
627
|
+
"properties.conditionalFormatting.dialog.value": string;
|
|
628
|
+
"properties.conditionalFormatting.dialog.from": string;
|
|
629
|
+
"properties.conditionalFormatting.dialog.to": string;
|
|
630
|
+
"properties.conditionalFormatting.dialog.cancel": string;
|
|
631
|
+
"properties.conditionalFormatting.dialog.save": string;
|
|
632
|
+
"properties.conditionalFormatting.operator.all": string;
|
|
633
|
+
"properties.conditionalFormatting.operator.equalTo": string;
|
|
634
|
+
"properties.conditionalFormatting.operator.notEqualTo": string;
|
|
635
|
+
"properties.conditionalFormatting.operator.greaterThan": string;
|
|
636
|
+
"properties.conditionalFormatting.operator.greaterThanOrEqualTo": string;
|
|
637
|
+
"properties.conditionalFormatting.operator.lessThan": string;
|
|
638
|
+
"properties.conditionalFormatting.operator.lessThanOrEqualTo": string;
|
|
639
|
+
"properties.conditionalFormatting.operator.between": string;
|
|
640
|
+
"properties.conditionalFormatting.operator.notBetween": string;
|
|
641
|
+
"properties.conditionalFormatting.operator.contains": string;
|
|
642
|
+
"properties.conditionalFormatting.operator.notContains": string;
|
|
643
|
+
"properties.conditionalFormatting.operator.startsWith": string;
|
|
644
|
+
"properties.conditionalFormatting.operator.notStartsWith": string;
|
|
645
|
+
"properties.conditionalFormatting.operator.endsWith": string;
|
|
646
|
+
"properties.conditionalFormatting.operator.notEndsWith": string;
|
|
647
|
+
"properties.conditionalFormatting.operator.isEmpty": string;
|
|
648
|
+
"properties.conditionalFormatting.operator.isNotEmpty": string;
|
|
607
649
|
};
|
|
608
650
|
//# sourceMappingURL=zh-Hans.localization-bundle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zh-Hans.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/internal/translations/zh-Hans.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"zh-Hans.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/internal/translations/zh-Hans.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwoBnB,CAAC"}
|
|
@@ -605,5 +605,47 @@ export const zh_Hans = {
|
|
|
605
605
|
"objectShare.toast.generalAccessUpdated": "已更新常规访问权限。",
|
|
606
606
|
"objectShare.toast.error": "无法更新访问权限。",
|
|
607
607
|
"objectShare.toast.labelScopePartial": "无法保存某些标签访问权限。",
|
|
608
|
-
"objectShare.loadError": "无法加载共享设置。请关闭并重试。"
|
|
608
|
+
"objectShare.loadError": "无法加载共享设置。请关闭并重试。",
|
|
609
|
+
"properties.conditionalFormatting.title": "条件格式设置",
|
|
610
|
+
"properties.conditionalFormatting.empty": "突出显示与规则匹配的单元格或行。",
|
|
611
|
+
"properties.conditionalFormatting.rulesLabel": "规则",
|
|
612
|
+
"properties.conditionalFormatting.addRule": "添加",
|
|
613
|
+
"properties.conditionalFormatting.rule.invalid": "未找到列",
|
|
614
|
+
"properties.conditionalFormatting.rule.edit": "编辑规则",
|
|
615
|
+
"properties.conditionalFormatting.rule.delete": "删除规则",
|
|
616
|
+
"properties.conditionalFormatting.dialog.addTitle": "添加规则",
|
|
617
|
+
"properties.conditionalFormatting.dialog.editTitle": "编辑规则",
|
|
618
|
+
"properties.conditionalFormatting.dialog.target": "何时",
|
|
619
|
+
"properties.conditionalFormatting.dialog.selectTarget": "选择度量或属性",
|
|
620
|
+
"properties.conditionalFormatting.dialog.condition": "条件",
|
|
621
|
+
"properties.conditionalFormatting.dialog.format": "格式",
|
|
622
|
+
"properties.conditionalFormatting.dialog.addCondition": "添加条件",
|
|
623
|
+
"properties.conditionalFormatting.dialog.removeCondition": "移除条件",
|
|
624
|
+
"properties.conditionalFormatting.dialog.textColor": "文本",
|
|
625
|
+
"properties.conditionalFormatting.dialog.fillColor": "填充",
|
|
626
|
+
"properties.conditionalFormatting.dialog.noColor": "无颜色",
|
|
627
|
+
"properties.conditionalFormatting.dialog.scope.cell": "单元格",
|
|
628
|
+
"properties.conditionalFormatting.dialog.scope.row": "行",
|
|
629
|
+
"properties.conditionalFormatting.dialog.value": "数值",
|
|
630
|
+
"properties.conditionalFormatting.dialog.from": "从",
|
|
631
|
+
"properties.conditionalFormatting.dialog.to": "到",
|
|
632
|
+
"properties.conditionalFormatting.dialog.cancel": "取消",
|
|
633
|
+
"properties.conditionalFormatting.dialog.save": "保存",
|
|
634
|
+
"properties.conditionalFormatting.operator.all": "所有值",
|
|
635
|
+
"properties.conditionalFormatting.operator.equalTo": "等于",
|
|
636
|
+
"properties.conditionalFormatting.operator.notEqualTo": "不等于",
|
|
637
|
+
"properties.conditionalFormatting.operator.greaterThan": "大于",
|
|
638
|
+
"properties.conditionalFormatting.operator.greaterThanOrEqualTo": "大于或等于",
|
|
639
|
+
"properties.conditionalFormatting.operator.lessThan": "小于",
|
|
640
|
+
"properties.conditionalFormatting.operator.lessThanOrEqualTo": "小于或等于",
|
|
641
|
+
"properties.conditionalFormatting.operator.between": "介于",
|
|
642
|
+
"properties.conditionalFormatting.operator.notBetween": "不介于",
|
|
643
|
+
"properties.conditionalFormatting.operator.contains": "包含",
|
|
644
|
+
"properties.conditionalFormatting.operator.notContains": "不包含",
|
|
645
|
+
"properties.conditionalFormatting.operator.startsWith": "开头为",
|
|
646
|
+
"properties.conditionalFormatting.operator.notStartsWith": "开头不为",
|
|
647
|
+
"properties.conditionalFormatting.operator.endsWith": "结尾为",
|
|
648
|
+
"properties.conditionalFormatting.operator.notEndsWith": "结尾不为",
|
|
649
|
+
"properties.conditionalFormatting.operator.isEmpty": "为空",
|
|
650
|
+
"properties.conditionalFormatting.operator.isNotEmpty": "不为空"
|
|
609
651
|
};
|
|
@@ -604,5 +604,47 @@ export declare const zh_Hant: {
|
|
|
604
604
|
"objectShare.toast.error": string;
|
|
605
605
|
"objectShare.toast.labelScopePartial": string;
|
|
606
606
|
"objectShare.loadError": string;
|
|
607
|
+
"properties.conditionalFormatting.title": string;
|
|
608
|
+
"properties.conditionalFormatting.empty": string;
|
|
609
|
+
"properties.conditionalFormatting.rulesLabel": string;
|
|
610
|
+
"properties.conditionalFormatting.addRule": string;
|
|
611
|
+
"properties.conditionalFormatting.rule.invalid": string;
|
|
612
|
+
"properties.conditionalFormatting.rule.edit": string;
|
|
613
|
+
"properties.conditionalFormatting.rule.delete": string;
|
|
614
|
+
"properties.conditionalFormatting.dialog.addTitle": string;
|
|
615
|
+
"properties.conditionalFormatting.dialog.editTitle": string;
|
|
616
|
+
"properties.conditionalFormatting.dialog.target": string;
|
|
617
|
+
"properties.conditionalFormatting.dialog.selectTarget": string;
|
|
618
|
+
"properties.conditionalFormatting.dialog.condition": string;
|
|
619
|
+
"properties.conditionalFormatting.dialog.format": string;
|
|
620
|
+
"properties.conditionalFormatting.dialog.addCondition": string;
|
|
621
|
+
"properties.conditionalFormatting.dialog.removeCondition": string;
|
|
622
|
+
"properties.conditionalFormatting.dialog.textColor": string;
|
|
623
|
+
"properties.conditionalFormatting.dialog.fillColor": string;
|
|
624
|
+
"properties.conditionalFormatting.dialog.noColor": string;
|
|
625
|
+
"properties.conditionalFormatting.dialog.scope.cell": string;
|
|
626
|
+
"properties.conditionalFormatting.dialog.scope.row": string;
|
|
627
|
+
"properties.conditionalFormatting.dialog.value": string;
|
|
628
|
+
"properties.conditionalFormatting.dialog.from": string;
|
|
629
|
+
"properties.conditionalFormatting.dialog.to": string;
|
|
630
|
+
"properties.conditionalFormatting.dialog.cancel": string;
|
|
631
|
+
"properties.conditionalFormatting.dialog.save": string;
|
|
632
|
+
"properties.conditionalFormatting.operator.all": string;
|
|
633
|
+
"properties.conditionalFormatting.operator.equalTo": string;
|
|
634
|
+
"properties.conditionalFormatting.operator.notEqualTo": string;
|
|
635
|
+
"properties.conditionalFormatting.operator.greaterThan": string;
|
|
636
|
+
"properties.conditionalFormatting.operator.greaterThanOrEqualTo": string;
|
|
637
|
+
"properties.conditionalFormatting.operator.lessThan": string;
|
|
638
|
+
"properties.conditionalFormatting.operator.lessThanOrEqualTo": string;
|
|
639
|
+
"properties.conditionalFormatting.operator.between": string;
|
|
640
|
+
"properties.conditionalFormatting.operator.notBetween": string;
|
|
641
|
+
"properties.conditionalFormatting.operator.contains": string;
|
|
642
|
+
"properties.conditionalFormatting.operator.notContains": string;
|
|
643
|
+
"properties.conditionalFormatting.operator.startsWith": string;
|
|
644
|
+
"properties.conditionalFormatting.operator.notStartsWith": string;
|
|
645
|
+
"properties.conditionalFormatting.operator.endsWith": string;
|
|
646
|
+
"properties.conditionalFormatting.operator.notEndsWith": string;
|
|
647
|
+
"properties.conditionalFormatting.operator.isEmpty": string;
|
|
648
|
+
"properties.conditionalFormatting.operator.isNotEmpty": string;
|
|
607
649
|
};
|
|
608
650
|
//# sourceMappingURL=zh-Hant.localization-bundle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zh-Hant.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/internal/translations/zh-Hant.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"zh-Hant.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/internal/translations/zh-Hant.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwoBnB,CAAC"}
|
|
@@ -276,7 +276,7 @@ export const zh_Hant = {
|
|
|
276
276
|
"properties.colors.reset-colors": "重置顏色",
|
|
277
277
|
"properties.colors": "顏色",
|
|
278
278
|
"properties.colorsAndFills": "顏色和填充",
|
|
279
|
-
"properties.fill": "
|
|
279
|
+
"properties.fill": "填滿",
|
|
280
280
|
"properties.fill.solid": "實心(預設)",
|
|
281
281
|
"properties.fill.pattern": "圖案",
|
|
282
282
|
"properties.fill.outline": "外框",
|
|
@@ -382,7 +382,7 @@ export const zh_Hant = {
|
|
|
382
382
|
"properties.comparison.measureNumber.format.template.trendSymbols": "趨勢符號",
|
|
383
383
|
"properties.comparison.measureNumber.format.template.timeFromSeconds": "時間(從秒開始)",
|
|
384
384
|
"properties.comparison.measureNumber.format.template.zeroInsteadOfNull": "零代替空白值",
|
|
385
|
-
"properties.comparison.valueSubSection.title": "
|
|
385
|
+
"properties.comparison.valueSubSection.title": "值",
|
|
386
386
|
"properties.comparison.format.title": "格式",
|
|
387
387
|
"properties.comparison.subFormat.title": "(格式)",
|
|
388
388
|
"properties.comparison.indicator.title": "指標",
|
|
@@ -605,5 +605,47 @@ export const zh_Hant = {
|
|
|
605
605
|
"objectShare.toast.generalAccessUpdated": "已更新一般存取權。",
|
|
606
606
|
"objectShare.toast.error": "無法更新存取權。",
|
|
607
607
|
"objectShare.toast.labelScopePartial": "無法儲存某些標籤存取權。",
|
|
608
|
-
"objectShare.loadError": "無法載入共用設定。請關閉並再試一次。"
|
|
608
|
+
"objectShare.loadError": "無法載入共用設定。請關閉並再試一次。",
|
|
609
|
+
"properties.conditionalFormatting.title": "條件式格式設定",
|
|
610
|
+
"properties.conditionalFormatting.empty": "醒目標示符合規則的儲存格或列。",
|
|
611
|
+
"properties.conditionalFormatting.rulesLabel": "規則",
|
|
612
|
+
"properties.conditionalFormatting.addRule": "添加",
|
|
613
|
+
"properties.conditionalFormatting.rule.invalid": "找不到欄",
|
|
614
|
+
"properties.conditionalFormatting.rule.edit": "編輯規則",
|
|
615
|
+
"properties.conditionalFormatting.rule.delete": "刪除規則",
|
|
616
|
+
"properties.conditionalFormatting.dialog.addTitle": "新增規則",
|
|
617
|
+
"properties.conditionalFormatting.dialog.editTitle": "編輯規則",
|
|
618
|
+
"properties.conditionalFormatting.dialog.target": "什麼時候",
|
|
619
|
+
"properties.conditionalFormatting.dialog.selectTarget": "選擇量值或屬性",
|
|
620
|
+
"properties.conditionalFormatting.dialog.condition": "條件",
|
|
621
|
+
"properties.conditionalFormatting.dialog.format": "格式",
|
|
622
|
+
"properties.conditionalFormatting.dialog.addCondition": "新增條件",
|
|
623
|
+
"properties.conditionalFormatting.dialog.removeCondition": "移除條件",
|
|
624
|
+
"properties.conditionalFormatting.dialog.textColor": "文字",
|
|
625
|
+
"properties.conditionalFormatting.dialog.fillColor": "填滿",
|
|
626
|
+
"properties.conditionalFormatting.dialog.noColor": "無顏色",
|
|
627
|
+
"properties.conditionalFormatting.dialog.scope.cell": "儲存格",
|
|
628
|
+
"properties.conditionalFormatting.dialog.scope.row": "列",
|
|
629
|
+
"properties.conditionalFormatting.dialog.value": "值",
|
|
630
|
+
"properties.conditionalFormatting.dialog.from": "從",
|
|
631
|
+
"properties.conditionalFormatting.dialog.to": "到",
|
|
632
|
+
"properties.conditionalFormatting.dialog.cancel": "取消",
|
|
633
|
+
"properties.conditionalFormatting.dialog.save": "儲存",
|
|
634
|
+
"properties.conditionalFormatting.operator.all": "所有值",
|
|
635
|
+
"properties.conditionalFormatting.operator.equalTo": "等於",
|
|
636
|
+
"properties.conditionalFormatting.operator.notEqualTo": "不等於",
|
|
637
|
+
"properties.conditionalFormatting.operator.greaterThan": "大於",
|
|
638
|
+
"properties.conditionalFormatting.operator.greaterThanOrEqualTo": "大於或等於",
|
|
639
|
+
"properties.conditionalFormatting.operator.lessThan": "小於",
|
|
640
|
+
"properties.conditionalFormatting.operator.lessThanOrEqualTo": "小於或等於",
|
|
641
|
+
"properties.conditionalFormatting.operator.between": "介於",
|
|
642
|
+
"properties.conditionalFormatting.operator.notBetween": "不介於",
|
|
643
|
+
"properties.conditionalFormatting.operator.contains": "包含",
|
|
644
|
+
"properties.conditionalFormatting.operator.notContains": "不包含",
|
|
645
|
+
"properties.conditionalFormatting.operator.startsWith": "開頭為",
|
|
646
|
+
"properties.conditionalFormatting.operator.notStartsWith": "開頭不為",
|
|
647
|
+
"properties.conditionalFormatting.operator.endsWith": "結尾為",
|
|
648
|
+
"properties.conditionalFormatting.operator.notEndsWith": "結尾不為",
|
|
649
|
+
"properties.conditionalFormatting.operator.isEmpty": "為空",
|
|
650
|
+
"properties.conditionalFormatting.operator.isNotEmpty": "不為空"
|
|
609
651
|
};
|
package/esm/sdk-ui-ext.d.ts
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* @packageDocumentation
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
+
import type { AccessGranularPermission } from '@gooddata/sdk-model';
|
|
13
14
|
import { AutomationType } from '@gooddata/sdk-backend-spi';
|
|
14
15
|
import { ChartInlineVisualizationType } from '@gooddata/sdk-ui-charts';
|
|
15
16
|
import { ComponentType } from 'react';
|
|
@@ -1576,6 +1577,12 @@ export declare interface IObjectShareGrantee {
|
|
|
1576
1577
|
* the row's "effective permission" warning badge.
|
|
1577
1578
|
*/
|
|
1578
1579
|
effectivePermission?: ObjectSharePermissionLevel;
|
|
1580
|
+
/**
|
|
1581
|
+
* Whether the grantee inherits SHARE (e.g. via a group), regardless of the
|
|
1582
|
+
* current direct `level`. Retained from the fetch so `effectivePermission` can
|
|
1583
|
+
* be recomputed locally when the direct level changes (no refetch).
|
|
1584
|
+
*/
|
|
1585
|
+
inheritsShare?: boolean;
|
|
1579
1586
|
/**
|
|
1580
1587
|
* Row-level in-flight state for optimistic updates: `"saving"` while a level
|
|
1581
1588
|
* change or freshly-added grant is being committed, `"removing"` while a
|
|
@@ -1912,12 +1919,15 @@ export declare function NotificationsPanel(props: INotificationsPanelProps): JSX
|
|
|
1912
1919
|
export declare function ObjectShareDialog({ target, objectTitle, isOpen, onClose, onSaved, labels, labelsLoading, labelsError, controller }: IObjectShareDialogProps): JSX.Element;
|
|
1913
1920
|
|
|
1914
1921
|
/**
|
|
1915
|
-
* Permission level surfaced in the share dialog
|
|
1916
|
-
*
|
|
1922
|
+
* Permission level surfaced in the share dialog — the model's granular access
|
|
1923
|
+
* permission (VIEW / EDIT / SHARE). `EDIT` is display-only: the dialog reflects
|
|
1924
|
+
* an EDIT grant as a read-only "Can edit" row but cannot assign or change it
|
|
1925
|
+
* (granting EDIT is not part of the share UI), so only VIEW and SHARE are
|
|
1926
|
+
* selectable in the permission menu.
|
|
1917
1927
|
*
|
|
1918
1928
|
* @internal
|
|
1919
1929
|
*/
|
|
1920
|
-
export declare type ObjectSharePermissionLevel =
|
|
1930
|
+
export declare type ObjectSharePermissionLevel = AccessGranularPermission;
|
|
1921
1931
|
|
|
1922
1932
|
/**
|
|
1923
1933
|
* @alpha
|
|
@@ -2025,14 +2035,25 @@ export declare function useInsightPickerState(author?: string): {
|
|
|
2025
2035
|
};
|
|
2026
2036
|
|
|
2027
2037
|
/**
|
|
2028
|
-
*
|
|
2029
|
-
*
|
|
2030
|
-
*
|
|
2031
|
-
*
|
|
2032
|
-
*
|
|
2038
|
+
* Manages the share dialog state and backend I/O for a single shareable object.
|
|
2039
|
+
*
|
|
2040
|
+
* The access list is fetched once and seeded into local state, which is the
|
|
2041
|
+
* source of truth while the dialog/summary is mounted. Each access change is
|
|
2042
|
+
* written through to local state immediately and sent to the backend; on failure
|
|
2043
|
+
* the one changed entry is rolled back. There is no post-write refetch, so the
|
|
2044
|
+
* grantee list never blanks and never fights the backend's read-after-write lag.
|
|
2045
|
+
* Top-level open/close is the consumer's concern (see {@link ObjectShareDialog}).
|
|
2046
|
+
*
|
|
2047
|
+
* Mutations follow a **commit-on-interaction** model: each access change is sent
|
|
2048
|
+
* immediately; the general-access toggle goes through a confirm step because it
|
|
2049
|
+
* is high-impact. There is no batched Save. The list is fetched eagerly so
|
|
2050
|
+
* `state.summary` also drives an inline access row while closed.
|
|
2033
2051
|
*
|
|
2034
|
-
*
|
|
2035
|
-
*
|
|
2052
|
+
* Most consumers do not call this directly — render {@link ObjectShareDialog} with
|
|
2053
|
+
* plain props and it owns its controller. Call this (exported as `useObjectShare`)
|
|
2054
|
+
* only to share a single access-list fetch between the dialog and an inline summary
|
|
2055
|
+
* row: call it once, read `state.summary` for the row, and pass the controller into
|
|
2056
|
+
* the dialog.
|
|
2036
2057
|
*
|
|
2037
2058
|
* @internal
|
|
2038
2059
|
*/
|
|
@@ -4,7 +4,7 @@ import { useCallback } from "react";
|
|
|
4
4
|
import { useIntl } from "react-intl";
|
|
5
5
|
import { UiAddGranteeDialog, UiConfirmDialog, UiGranteeRowControls, UiObjectShareDialog, } from "@gooddata/sdk-ui-kit";
|
|
6
6
|
import { objectShareMessages } from "./messages.js";
|
|
7
|
-
import {
|
|
7
|
+
import { useObjectShareController } from "./useObjectShareController.js";
|
|
8
8
|
/**
|
|
9
9
|
* Connected share dialog. Renders the main share modal, the add-grantee
|
|
10
10
|
* sub-dialog and the general-access confirm dialog, all driven by one
|
|
@@ -28,7 +28,7 @@ export function ObjectShareDialog({ target, objectTitle, isOpen, onClose, onSave
|
|
|
28
28
|
// unconditionally (rules of hooks), so when a controller is injected we pass
|
|
29
29
|
// it an undefined target — it then no-ops and never duplicates the fetch the
|
|
30
30
|
// injected controller already owns.
|
|
31
|
-
const ownController =
|
|
31
|
+
const ownController = useObjectShareController(controller ? undefined : target, {
|
|
32
32
|
onSaved,
|
|
33
33
|
labels,
|
|
34
34
|
labelsError,
|
|
@@ -5,7 +5,7 @@ import type { IObjectShareLabel } from "./types.js";
|
|
|
5
5
|
export declare function granteeId(kind: "user" | "group", ref: ObjRef): string;
|
|
6
6
|
/** Case-insensitive match of an assignee against the picker query (name, or email for users). */
|
|
7
7
|
export declare function assigneeMatchesQuery(assignee: IAvailableAccessGrantee, query: string): boolean;
|
|
8
|
-
/** The row's directly-granted level
|
|
8
|
+
/** The row's directly-granted level — the strongest permission present, defaulting to VIEW. */
|
|
9
9
|
export declare function directLevel(permissions: readonly string[]): ObjectSharePermissionLevel;
|
|
10
10
|
/**
|
|
11
11
|
* The effective permission to surface as a warning, or undefined when the direct
|
|
@@ -15,32 +15,6 @@ export declare function directLevel(permissions: readonly string[]): ObjectShare
|
|
|
15
15
|
*/
|
|
16
16
|
export declare function effectivePermissionAbove(direct: ObjectSharePermissionLevel, inheritedPermissions: readonly string[]): ObjectSharePermissionLevel | undefined;
|
|
17
17
|
export declare function granteesFromAccessList(list: IObjectAccessList | undefined): IObjectShareGrantee[];
|
|
18
|
-
/**
|
|
19
|
-
* Optimistic overlay entry for a single grantee id. `"set"` carries the intended
|
|
20
|
-
* row (a fresh add or a level change); `"remove"` marks a removal. `pending` is
|
|
21
|
-
* true while the backend write is in flight.
|
|
22
|
-
*/
|
|
23
|
-
export type IGranteeOverlayEntry = {
|
|
24
|
-
op: "set";
|
|
25
|
-
grantee: IObjectShareGrantee;
|
|
26
|
-
pending: boolean;
|
|
27
|
-
} | {
|
|
28
|
-
op: "remove";
|
|
29
|
-
pending: boolean;
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* Merge the committed rows with the optimistic overlay: `set` replaces/inserts a
|
|
33
|
-
* row (annotated pending), `remove` drops it. Entries with no committed effect
|
|
34
|
-
* still apply so the UI reflects the user's intent during read-after-write lag.
|
|
35
|
-
*/
|
|
36
|
-
export declare function mergeOverlay(committed: IObjectShareGrantee[], overlay: Record<string, IGranteeOverlayEntry>): IObjectShareGrantee[];
|
|
37
|
-
/**
|
|
38
|
-
* Drop overlay entries the freshly-fetched list now confirms: a `set` whose
|
|
39
|
-
* committed level matches the intended level, or a `remove` whose grantee is
|
|
40
|
-
* gone. Unconfirmed entries are kept (server still lagging) but lose `pending`
|
|
41
|
-
* so the row shows the intended value without a spinner.
|
|
42
|
-
*/
|
|
43
|
-
export declare function reconcileOverlay(committed: IObjectShareGrantee[], overlay: Record<string, IGranteeOverlayEntry>): Record<string, IGranteeOverlayEntry>;
|
|
44
18
|
export declare function toGranularGrantee(kind: "user" | "group", granteeRef: ObjRef, level: ObjectSharePermissionLevel | "none"): IGranularAccessGrantee;
|
|
45
19
|
/**
|
|
46
20
|
* The principal a label-scope reconcile applies to: a named user/group, or the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"objectShareController.helpers.d.ts","sourceRoot":"","sources":["../../src/share/objectShareController.helpers.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,KAAK,MAAM,EAId,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,mBAAmB,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AACxG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD,6FAA6F;AAC7F,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAErE;AAED,iGAAiG;AACjG,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,uBAAuB,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAM9F;
|
|
1
|
+
{"version":3,"file":"objectShareController.helpers.d.ts","sourceRoot":"","sources":["../../src/share/objectShareController.helpers.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,KAAK,MAAM,EAId,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,mBAAmB,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AACxG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD,6FAA6F;AAC7F,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAErE;AAED,iGAAiG;AACjG,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,uBAAuB,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAM9F;AAKD,iGAA+F;AAC/F,wBAAgB,WAAW,CAAC,WAAW,EAAE,SAAS,MAAM,EAAE,GAAG,0BAA0B,CAEtF;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACpC,MAAM,EAAE,0BAA0B,EAClC,oBAAoB,EAAE,SAAS,MAAM,EAAE,GACxC,0BAA0B,GAAG,SAAS,CAGxC;AAYD,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,iBAAiB,GAAG,SAAS,GAAG,mBAAmB,EAAE,CA0BjG;AAUD,wBAAgB,iBAAiB,CAC7B,IAAI,EAAE,MAAM,GAAG,OAAO,EACtB,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,0BAA0B,GAAG,MAAM,GAC3C,sBAAsB,CAKxB;AAED;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GACzB;IAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,GAC9C;IAAE,iBAAiB,EAAE,IAAI,CAAA;CAAE,CAAC;AAElC,wBAAgB,kBAAkB,CAC9B,SAAS,EAAE,mBAAmB,EAC9B,KAAK,EAAE,0BAA0B,GAAG,MAAM,0BAO7C;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAC/B,SAAS,EAAE,mBAAmB,EAC9B,eAAe,EAAE,WAAW,CAAC,MAAM,CAAC,EACpC,eAAe,EAAE,WAAW,CAAC,MAAM,CAAC,EACpC,MAAM,EAAE,iBAAiB,EAAE,GAC5B,KAAK,CAAC;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,sBAAsB,CAAA;CAAE,CAAC,CAWzD;AAED,sFAAsF;AACtF,eAAO,MAAM,SAAS,EAAE,iBAAiB,EAAO,CAAC;AAEjD,0DAA0D;AAC1D,eAAO,MAAM,SAAS,EAAE,WAAW,CAAC,MAAM,CAAqB,CAAC;AAEhE;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,iBAAiB,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAU/E"}
|