@instructure/platform-institutional-tagging 9.1.0 → 9.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/utils.d.ts +34 -6
- package/dist/api/utils.d.ts.map +1 -1
- package/dist/components/Alert/styles.d.ts +2 -1
- package/dist/components/Alert/styles.d.ts.map +1 -1
- package/dist/components/AppContainer/GenericStoryWrapper.d.ts.map +1 -1
- package/dist/components/AppContainer/styles.d.ts +2 -1
- package/dist/components/AppContainer/styles.d.ts.map +1 -1
- package/dist/components/Category/BottomSection.d.ts.map +1 -1
- package/dist/components/Category/Category.d.ts.map +1 -1
- package/dist/components/Category/TagArea.d.ts.map +1 -1
- package/dist/components/Category/TopSection.d.ts.map +1 -1
- package/dist/components/Category/hooks/index.d.ts +2 -0
- package/dist/components/Category/hooks/index.d.ts.map +1 -0
- package/dist/components/Category/hooks/useMultiSelectToolbar.d.ts +15 -0
- package/dist/components/Category/hooks/useMultiSelectToolbar.d.ts.map +1 -0
- package/dist/components/Category/styles.d.ts +28 -21
- package/dist/components/Category/styles.d.ts.map +1 -1
- package/dist/components/SearchAndFilterSection/styles.d.ts +7 -6
- package/dist/components/SearchAndFilterSection/styles.d.ts.map +1 -1
- package/dist/components/Tag/Tag.d.ts +4 -0
- package/dist/components/Tag/Tag.d.ts.map +1 -1
- package/dist/components/Tag/styles.d.ts +9 -7
- package/dist/components/Tag/styles.d.ts.map +1 -1
- package/dist/components/UserTagList/styles.d.ts +3 -10
- package/dist/components/UserTagList/styles.d.ts.map +1 -1
- package/dist/constants/i18n.d.ts +37 -0
- package/dist/constants/i18n.d.ts.map +1 -1
- package/dist/constants/selection.d.ts +2 -0
- package/dist/constants/selection.d.ts.map +1 -0
- package/dist/contexts/CategoryContext.d.ts +1 -0
- package/dist/contexts/CategoryContext.d.ts.map +1 -1
- package/dist/contexts/DragContext.d.ts +1 -0
- package/dist/contexts/DragContext.d.ts.map +1 -1
- package/dist/contexts/FeatureFlagsContext.d.ts +1 -0
- package/dist/contexts/FeatureFlagsContext.d.ts.map +1 -1
- package/dist/graphql/mutations.d.ts +3 -0
- package/dist/graphql/mutations.d.ts.map +1 -1
- package/dist/graphql/queries.d.ts.map +1 -1
- package/dist/hooks/useAddPeople.d.ts +2 -2
- package/dist/hooks/useAddPeople.d.ts.map +1 -1
- package/dist/hooks/useBulkArchiveModal.d.ts +6 -0
- package/dist/hooks/useBulkArchiveModal.d.ts.map +1 -0
- package/dist/hooks/useBulkArchiveTags.d.ts +6 -0
- package/dist/hooks/useBulkArchiveTags.d.ts.map +1 -0
- package/dist/hooks/useBulkMoveTags.d.ts +6 -0
- package/dist/hooks/useBulkMoveTags.d.ts.map +1 -0
- package/dist/hooks/useBulkMoveTagsModal.d.ts +6 -0
- package/dist/hooks/useBulkMoveTagsModal.d.ts.map +1 -0
- package/dist/hooks/useDragAndDrop.d.ts +1 -0
- package/dist/hooks/useDragAndDrop.d.ts.map +1 -1
- package/dist/hooks/useFetchAccountUsers.d.ts +1 -1
- package/dist/hooks/useFetchAccountUsers.d.ts.map +1 -1
- package/dist/hooks/useFetchTagUsers.d.ts.map +1 -1
- package/dist/hooks/useSelectedUsers.d.ts +7 -0
- package/dist/hooks/useSelectedUsers.d.ts.map +1 -0
- package/dist/index.js +5439 -4838
- package/dist/modals/AddPeopleModal/AddPeopleModal.d.ts.map +1 -1
- package/dist/modals/AddPeopleModal/ManualUserSearch.d.ts +2 -1
- package/dist/modals/AddPeopleModal/ManualUserSearch.d.ts.map +1 -1
- package/dist/modals/AddPeopleModal/styles.d.ts +5 -4
- package/dist/modals/AddPeopleModal/styles.d.ts.map +1 -1
- package/dist/modals/AssignTagsModal/styles.d.ts +3 -2
- package/dist/modals/AssignTagsModal/styles.d.ts.map +1 -1
- package/dist/modals/GenericModal/GenericModal.d.ts.map +1 -1
- package/dist/modals/GenericModal/styles.d.ts +4 -3
- package/dist/modals/GenericModal/styles.d.ts.map +1 -1
- package/dist/modals/MoveTagModal/MoveTagModal.d.ts +2 -0
- package/dist/modals/MoveTagModal/MoveTagModal.d.ts.map +1 -1
- package/dist/modals/MoveTagModal/styles.d.ts +2 -1
- package/dist/modals/MoveTagModal/styles.d.ts.map +1 -1
- package/dist/modals/NewCategoryModal/styles.d.ts +2 -1
- package/dist/modals/NewCategoryModal/styles.d.ts.map +1 -1
- package/dist/modals/RestoreCategoryModal/styles.d.ts +3 -2
- package/dist/modals/RestoreCategoryModal/styles.d.ts.map +1 -1
- package/dist/modals/RestoreTagModal/RestoreTagModal.d.ts +1 -0
- package/dist/modals/RestoreTagModal/RestoreTagModal.d.ts.map +1 -1
- package/dist/modals/RestoreTagModal/styles.d.ts +3 -2
- package/dist/modals/RestoreTagModal/styles.d.ts.map +1 -1
- package/dist/modals/TagModal/CreateTagModal.d.ts.map +1 -1
- package/dist/modals/TagModal/EditTagModal.d.ts +1 -0
- package/dist/modals/TagModal/EditTagModal.d.ts.map +1 -1
- package/dist/modals/TagModal/fields/CategoryField.d.ts +2 -0
- package/dist/modals/TagModal/fields/CategoryField.d.ts.map +1 -1
- package/dist/modals/TagModal/hooks/useCategoryFormFields.d.ts +11 -1
- package/dist/modals/TagModal/hooks/useCategoryFormFields.d.ts.map +1 -1
- package/dist/modals/TagModal/hooks/useCreateTagForm.d.ts +2 -0
- package/dist/modals/TagModal/hooks/useCreateTagForm.d.ts.map +1 -1
- package/dist/modals/TagModal/hooks/useEditTagForm.d.ts +4 -1
- package/dist/modals/TagModal/hooks/useEditTagForm.d.ts.map +1 -1
- package/dist/modals/TagModal/hooks/useTagFormFields.d.ts +3 -0
- package/dist/modals/TagModal/hooks/useTagFormFields.d.ts.map +1 -1
- package/dist/modals/TagModal/styles.d.ts +2 -1
- package/dist/modals/TagModal/styles.d.ts.map +1 -1
- package/dist/modals/styles.d.ts +2 -1
- package/dist/modals/styles.d.ts.map +1 -1
- package/dist/query/events.d.ts +8 -0
- package/dist/query/events.d.ts.map +1 -1
- package/dist/query/keys.d.ts +4 -9
- package/dist/query/keys.d.ts.map +1 -1
- package/dist/query/map.d.ts.map +1 -1
- package/dist/screens/AccountTags/styles.d.ts +3 -2
- package/dist/screens/AccountTags/styles.d.ts.map +1 -1
- package/dist/screens/TagDetail/styles.d.ts +14 -17
- package/dist/screens/TagDetail/styles.d.ts.map +1 -1
- package/dist/screens/UserProfileTags/styles.d.ts +6 -5
- package/dist/screens/UserProfileTags/styles.d.ts.map +1 -1
- package/dist/skeletons/styles.d.ts +23 -22
- package/dist/skeletons/styles.d.ts.map +1 -1
- package/dist/types/category.d.ts +3 -0
- package/dist/types/category.d.ts.map +1 -1
- package/dist/types/styled.d.ts +4 -0
- package/dist/types/styled.d.ts.map +1 -0
- package/dist/types/tag.d.ts +3 -0
- package/dist/types/tag.d.ts.map +1 -1
- package/dist/utils/category.d.ts +11 -1
- package/dist/utils/category.d.ts.map +1 -1
- package/dist/utils/dragDrop.d.ts +23 -0
- package/dist/utils/dragDrop.d.ts.map +1 -0
- package/dist/utils/fieldErrors.d.ts +19 -0
- package/dist/utils/fieldErrors.d.ts.map +1 -0
- package/dist/utils/gqlMappers.d.ts.map +1 -1
- package/dist/utils/permissionMenu.d.ts +4 -2
- package/dist/utils/permissionMenu.d.ts.map +1 -1
- package/locales/en.json +37 -0
- package/package.json +4 -2
package/dist/api/utils.d.ts
CHANGED
|
@@ -1,10 +1,38 @@
|
|
|
1
|
-
interface
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
export interface GqlFieldError {
|
|
2
|
+
attribute?: string | null;
|
|
3
|
+
message: string;
|
|
4
|
+
}
|
|
5
|
+
export interface GqlPayload {
|
|
6
|
+
errors?: Array<GqlFieldError | null> | null;
|
|
6
7
|
}
|
|
7
8
|
export declare function isGqlError(payload: GqlPayload | null | undefined): boolean;
|
|
9
|
+
export declare function isGqlConflict(error: GqlFieldError | null | undefined): boolean;
|
|
8
10
|
export declare function hasGqlConflict(payload: GqlPayload | null | undefined): boolean;
|
|
9
|
-
export
|
|
11
|
+
export declare function gqlErrors(payload: GqlPayload | null | undefined): GqlFieldError[];
|
|
12
|
+
/**
|
|
13
|
+
* Turns a payload's `errors` into a rejection, so a mutation whose failure arrives in the
|
|
14
|
+
* payload can be reported through the same handler as one that never reached the server.
|
|
15
|
+
*/
|
|
16
|
+
export declare class GqlPayloadError extends Error {
|
|
17
|
+
readonly errors: GqlFieldError[];
|
|
18
|
+
constructor(errors: GqlFieldError[]);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* A failure raised while creating the inline category, which runs before the tag save is
|
|
22
|
+
* sent. Carries the original so the caller can report it as the category's failure — the
|
|
23
|
+
* tag never left the form, and saying it couldn't be saved sends the user to fix the
|
|
24
|
+
* wrong input.
|
|
25
|
+
*/
|
|
26
|
+
export declare class CategoryCreateError extends Error {
|
|
27
|
+
readonly reason: unknown;
|
|
28
|
+
constructor(reason: unknown);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* The server's own words, or undefined when the request died before the server spoke.
|
|
32
|
+
* A top-level `errors` array reaches us as a throw carrying `errors` (the host's
|
|
33
|
+
* `GraphqlError`, or `GqlPayloadError` above); a dead connection throws a plain Error
|
|
34
|
+
* whose message describes our transport, not the user's problem, and must not be shown.
|
|
35
|
+
*/
|
|
36
|
+
export declare function serverErrorMessage(error: unknown): string | undefined;
|
|
37
|
+
export declare function isTagLimitError(error: unknown): boolean;
|
|
10
38
|
//# sourceMappingURL=utils.d.ts.map
|
package/dist/api/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/api/utils.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/api/utils.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,UAAU;IACzB,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,IAAI,CAAC,GAAG,IAAI,CAAA;CAC5C;AAED,wBAAgB,UAAU,CAAC,OAAO,EAAE,UAAU,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAE1E;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAI9E;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,UAAU,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAE9E;AAED,wBAAgB,SAAS,CAAC,OAAO,EAAE,UAAU,GAAG,IAAI,GAAG,SAAS,GAAG,aAAa,EAAE,CAEjF;AAED;;;GAGG;AACH,qBAAa,eAAgB,SAAQ,KAAK;IACxC,QAAQ,CAAC,MAAM,EAAE,aAAa,EAAE,CAAA;gBAEpB,MAAM,EAAE,aAAa,EAAE;CAKpC;AAED;;;;;GAKG;AACH,qBAAa,mBAAoB,SAAQ,KAAK;IAC5C,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;gBAEZ,MAAM,EAAE,OAAO;CAK5B;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAOrE;AAMD,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAIvD"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { Styled } from '../../types/styled';
|
|
2
|
+
export declare const SrOnly: Styled<'span'>;
|
|
2
3
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAG3C,eAAO,MAAM,MAAM,EAAE,MAAM,CAAC,MAAM,CAUjC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GenericStoryWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/AppContainer/GenericStoryWrapper.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GenericStoryWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/AppContainer/GenericStoryWrapper.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,UAAU,wBAAwB;IAChC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAAA;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACtC;AAED,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAyBlE,CAAA"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { Styled } from '../../types/styled';
|
|
2
|
+
export declare const AppContainerWrapper: Styled<'div'>;
|
|
2
3
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/AppContainer/styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/AppContainer/styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAG3C,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,KAAK,CAG7C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomSection.d.ts","sourceRoot":"","sources":["../../../src/components/Category/BottomSection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"BottomSection.d.ts","sourceRoot":"","sources":["../../../src/components/Category/BottomSection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AASzB,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAExC,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAsDlD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Category.d.ts","sourceRoot":"","sources":["../../../src/components/Category/Category.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Category.d.ts","sourceRoot":"","sources":["../../../src/components/Category/Category.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,OAAO,CAAA;AAYzB,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AA+FvC,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAwB5C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagArea.d.ts","sourceRoot":"","sources":["../../../src/components/Category/TagArea.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TagArea.d.ts","sourceRoot":"","sources":["../../../src/components/Category/TagArea.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAAK,MAAM,OAAO,CAAA;AAQzB,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAGtC,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAsT1C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopSection.d.ts","sourceRoot":"","sources":["../../../src/components/Category/TopSection.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TopSection.d.ts","sourceRoot":"","sources":["../../../src/components/Category/TopSection.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAUzB,OAAO,EAAE,0BAA0B,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAEjE,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CAwHtE,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA2C5C,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Category/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CategoryType } from '../../../types/category';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
interface UseMultiSelectToolbarReturn {
|
|
4
|
+
showToggle: boolean;
|
|
5
|
+
toggleButton: React.ReactNode;
|
|
6
|
+
countText: React.ReactNode;
|
|
7
|
+
selectedText: React.ReactNode;
|
|
8
|
+
srOnlySelectedCount: React.ReactNode;
|
|
9
|
+
clearSelectionLink: React.ReactNode;
|
|
10
|
+
actionsMenu: React.ReactNode;
|
|
11
|
+
capMessage: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
export declare const useMultiSelectToolbar: (category: CategoryType, isExpanded: boolean, isMobile: boolean) => UseMultiSelectToolbarReturn;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=useMultiSelectToolbar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMultiSelectToolbar.d.ts","sourceRoot":"","sources":["../../../../src/components/Category/hooks/useMultiSelectToolbar.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAQ9C,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,UAAU,2BAA2B;IACnC,UAAU,EAAE,OAAO,CAAA;IACnB,YAAY,EAAE,KAAK,CAAC,SAAS,CAAA;IAC7B,SAAS,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,YAAY,EAAE,KAAK,CAAC,SAAS,CAAA;IAC7B,mBAAmB,EAAE,KAAK,CAAC,SAAS,CAAA;IACpC,kBAAkB,EAAE,KAAK,CAAC,SAAS,CAAA;IACnC,WAAW,EAAE,KAAK,CAAC,SAAS,CAAA;IAC5B,UAAU,EAAE,KAAK,CAAC,SAAS,CAAA;CAC5B;AAED,eAAO,MAAM,qBAAqB,GAChC,UAAU,YAAY,EACtB,YAAY,OAAO,EACnB,UAAU,OAAO,KAChB,2BA4IF,CAAA"}
|
|
@@ -1,38 +1,45 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
1
|
+
import { Styled } from '../../types/styled';
|
|
2
|
+
export declare const DragOverlayTagWrapper: Styled<'div'>;
|
|
3
|
+
export declare const DragOverlayTagClone: Styled<'div'>;
|
|
4
|
+
export declare const DragOverlayDropHint: Styled<'span'>;
|
|
5
|
+
export declare const CategoryListContainer: Styled<'ul'>;
|
|
5
6
|
interface CategoryWrapperProps {
|
|
6
7
|
$isDropTarget?: boolean;
|
|
7
8
|
}
|
|
8
|
-
export declare const CategoryWrapper:
|
|
9
|
-
export declare const DropTargetOverlay:
|
|
10
|
-
export declare const CategoryContainer:
|
|
11
|
-
export declare const CategoryToggleButtonWrapper:
|
|
9
|
+
export declare const CategoryWrapper: Styled<'li', CategoryWrapperProps>;
|
|
10
|
+
export declare const DropTargetOverlay: Styled<'div'>;
|
|
11
|
+
export declare const CategoryContainer: Styled<'div'>;
|
|
12
|
+
export declare const CategoryToggleButtonWrapper: Styled<'div'>;
|
|
12
13
|
interface CategoryInfoWrapperProps {
|
|
13
14
|
$isExpanded: boolean;
|
|
14
15
|
}
|
|
15
|
-
export declare const CategoryInfoWrapper:
|
|
16
|
+
export declare const CategoryInfoWrapper: Styled<'div', CategoryInfoWrapperProps>;
|
|
16
17
|
interface CategoryTopBarWrapperProps {
|
|
17
18
|
$isMobile?: boolean;
|
|
18
19
|
}
|
|
19
|
-
export declare const CategoryTopBarWrapper:
|
|
20
|
-
export declare const CategoryTextWrapper:
|
|
21
|
-
export declare const CategoryNameWrapper:
|
|
22
|
-
export declare const CategoryDescriptionWrapper:
|
|
23
|
-
export declare const CategoryTopBarActionsWrapper:
|
|
24
|
-
|
|
20
|
+
export declare const CategoryTopBarWrapper: Styled<'div', CategoryTopBarWrapperProps>;
|
|
21
|
+
export declare const CategoryTextWrapper: Styled<'div'>;
|
|
22
|
+
export declare const CategoryNameWrapper: Styled<'div'>;
|
|
23
|
+
export declare const CategoryDescriptionWrapper: Styled<'div'>;
|
|
24
|
+
export declare const CategoryTopBarActionsWrapper: Styled<'div'>;
|
|
25
|
+
interface CategoryBottomBarWrapperProps {
|
|
26
|
+
$isMobile?: boolean;
|
|
27
|
+
}
|
|
28
|
+
export declare const CategoryBottomBarWrapper: Styled<'div', CategoryBottomBarWrapperProps>;
|
|
29
|
+
export declare const CategoryBottomBarCapMessageWrapper: Styled<'div'>;
|
|
30
|
+
export declare const CategoryBottomBarMobileToggleRow: Styled<'div'>;
|
|
25
31
|
interface CategoryBottomBarInfoWrapperProps {
|
|
26
32
|
$withInlineSpacing?: boolean;
|
|
27
33
|
}
|
|
28
|
-
export declare const CategoryBottomBarInfoWrapper:
|
|
29
|
-
export declare const TagAreaContainer:
|
|
30
|
-
export declare const TagListWrapper:
|
|
34
|
+
export declare const CategoryBottomBarInfoWrapper: Styled<'div', CategoryBottomBarInfoWrapperProps>;
|
|
35
|
+
export declare const TagAreaContainer: Styled<'div'>;
|
|
36
|
+
export declare const TagListWrapper: Styled<'div'>;
|
|
31
37
|
interface TagListItemWrapperProps {
|
|
32
38
|
$columns: number;
|
|
33
39
|
}
|
|
34
|
-
export declare const TagListItemWrapper:
|
|
35
|
-
export declare const TagListItem:
|
|
36
|
-
export declare const TagAreaEmptyStateWrapper:
|
|
40
|
+
export declare const TagListItemWrapper: Styled<'ul', TagListItemWrapperProps>;
|
|
41
|
+
export declare const TagListItem: Styled<'li'>;
|
|
42
|
+
export declare const TagAreaEmptyStateWrapper: Styled<'div'>;
|
|
43
|
+
export declare const MultiSelectInfoRowWrapper: Styled<'div'>;
|
|
37
44
|
export {};
|
|
38
45
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Category/styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Category/styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAU3C,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,KAAK,CAM/C,CAAA;AAID,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,KAAK,CAE7C,CAAA;AAID,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,CAsB9C,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,IAAI,CAO9C,CAAA;AAED,UAAU,oBAAoB;IAC5B,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,IAAI,EAAE,oBAAoB,CAe9D,CAAA;AAID,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,KAAK,CAO3C,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,KAAK,CAU3C,CAAA;AAID,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAAC,KAAK,CAGrD,CAAA;AAED,UAAU,wBAAwB;IAChC,WAAW,EAAE,OAAO,CAAA;CACrB;AAED,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,KAAK,EAAE,wBAAwB,CAOvE,CAAA;AACD,UAAU,0BAA0B;IAClC,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,KAAK,EAAE,0BAA0B,CAO3E,CAAA;AACD,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,KAAK,CAS7C,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,KAAK,CAK7C,CAAA;AACD,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,KAAK,CAKpD,CAAA;AACD,eAAO,MAAM,4BAA4B,EAAE,MAAM,CAAC,KAAK,CAItD,CAAA;AACD,UAAU,6BAA6B;IACrC,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,KAAK,EAAE,6BAA6B,CASjF,CAAA;AAED,eAAO,MAAM,kCAAkC,EAAE,MAAM,CAAC,KAAK,CAE5D,CAAA;AAED,eAAO,MAAM,gCAAgC,EAAE,MAAM,CAAC,KAAK,CAO1D,CAAA;AACD,UAAU,iCAAiC;IACzC,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAC7B;AAED,eAAO,MAAM,4BAA4B,EAAE,MAAM,CAAC,KAAK,EAAE,iCAAiC,CASzF,CAAA;AACD,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,KAAK,CAE1C,CAAA;AACD,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,KAAK,CAKxC,CAAA;AACD,UAAU,uBAAuB;IAC/B,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,IAAI,EAAE,uBAAuB,CAQpE,CAAA;AACD,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,IAAI,CAIpC,CAAA;AACD,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,KAAK,CAKlD,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,KAAK,CAMnD,CAAA"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
1
|
+
import { Styled } from '../../types/styled';
|
|
2
|
+
export declare const SearchAndFilterSectionWrapper: Styled<'div'>;
|
|
3
|
+
export declare const SelectWrapper: Styled<'div'>;
|
|
4
|
+
export declare const SearchBarWrapper: Styled<'div'>;
|
|
5
|
+
export declare const SearchNoResultsWrapper: Styled<'div'>;
|
|
6
|
+
export declare const SearchBarSeparator: Styled<'hr'>;
|
|
7
|
+
export declare const SearchBarButtonsWrapper: Styled<'div'>;
|
|
7
8
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/SearchAndFilterSection/styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/SearchAndFilterSection/styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAG3C,eAAO,MAAM,6BAA6B,EAAE,MAAM,CAAC,KAAK,CAavD,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,KAAK,CAcvC,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,KAAK,CAc1C,CAAA;AAED,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,KAAK,CAGhD,CAAA;AACD,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,IAAI,CAI3C,CAAA;AACD,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,KAAK,CASjD,CAAA"}
|
|
@@ -10,6 +10,10 @@ export interface TagProps {
|
|
|
10
10
|
moveToHandler: () => void;
|
|
11
11
|
moreButtonRef?: (el: HTMLElement | null) => void;
|
|
12
12
|
dragHandleRef?: (el: HTMLElement | null) => void;
|
|
13
|
+
isSelectable?: boolean;
|
|
14
|
+
isSelected?: boolean;
|
|
15
|
+
isSelectionDisabled?: boolean;
|
|
16
|
+
onToggleSelect?: () => void;
|
|
13
17
|
}
|
|
14
18
|
export declare const Tag: React.FC<TagProps>;
|
|
15
19
|
export declare const OverlayTag: React.FC<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/Tag.tsx"],"names":[],"mappings":"AAkBA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAOpC,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/Tag.tsx"],"names":[],"mappings":"AAkBA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAOpC,OAAO,KAAK,MAAM,OAAO,CAAA;AAmBzB,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,OAAO,CAAA;IACZ,WAAW,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAA;IACnC,0BAA0B,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACnD,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACzC,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACvC,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACvC,aAAa,EAAE,MAAM,IAAI,CAAA;IACzB,aAAa,CAAC,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAA;IAChD,aAAa,CAAC,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAA;IAChD,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAA;CAC5B;AAqQD,eAAO,MAAM,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CAKlC,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,GAAG,EAAE,OAAO,CAAA;CAAE,CAQjD,CAAA"}
|
|
@@ -1,20 +1,22 @@
|
|
|
1
|
-
|
|
1
|
+
import { Styled } from '../../types/styled';
|
|
2
|
+
export declare const TagContainer: Styled<'div'>;
|
|
2
3
|
interface WrapperArgs {
|
|
3
4
|
$isSelected?: boolean;
|
|
4
5
|
$isDragging?: boolean;
|
|
5
6
|
}
|
|
6
|
-
export declare const TagWrapper:
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
7
|
+
export declare const TagWrapper: Styled<'div', WrapperArgs>;
|
|
8
|
+
export declare const TagSelectButton: Styled<'button'>;
|
|
9
|
+
export declare const TagTextWrapper: Styled<'div'>;
|
|
10
|
+
export declare const TagNameWrapper: Styled<'div'>;
|
|
9
11
|
interface TagDragHandleWrapperProps {
|
|
10
12
|
$isDraggable?: boolean;
|
|
11
13
|
$isDragging?: boolean;
|
|
12
14
|
}
|
|
13
|
-
export declare const TagDragHandleWrapper:
|
|
14
|
-
export declare const TagPillWrapper:
|
|
15
|
+
export declare const TagDragHandleWrapper: Styled<'div', TagDragHandleWrapperProps>;
|
|
16
|
+
export declare const TagPillWrapper: Styled<'div'>;
|
|
15
17
|
interface TagMenuTriggerWrapperProps {
|
|
16
18
|
$isArchived: boolean;
|
|
17
19
|
}
|
|
18
|
-
export declare const TagMenuTriggerWrapper:
|
|
20
|
+
export declare const TagMenuTriggerWrapper: Styled<'div', TagMenuTriggerWrapperProps>;
|
|
19
21
|
export {};
|
|
20
22
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/styles.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAM3C,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,KAAK,CAUtC,CAAA;AAED,UAAU,WAAW;IACnB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,KAAK,EAAE,WAAW,CA2BjD,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,QAAQ,CAW5C,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,KAAK,CAWxC,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,KAAK,CAExC,CAAA;AAED,UAAU,yBAAyB;IACjC,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAID,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,KAAK,EAAE,yBAAyB,CAUzE,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,KAAK,CAIxC,CAAA;AAED,UAAU,0BAA0B;IAClC,WAAW,EAAE,OAAO,CAAA;CACrB;AAED,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,KAAK,EAAE,0BAA0B,CAS3E,CAAA"}
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
ref?: ((instance: HTMLUListElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLUListElement> | null | undefined;
|
|
5
|
-
}, "role">>> & string;
|
|
6
|
-
export declare const TagListItem: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref" | "key" | keyof import('react').LiHTMLAttributes<HTMLLIElement>> & Omit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
7
|
-
ref?: ((instance: HTMLLIElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLLIElement> | null | undefined;
|
|
8
|
-
}, "role"> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref" | "key" | keyof import('react').LiHTMLAttributes<HTMLLIElement>> & Omit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
9
|
-
ref?: ((instance: HTMLLIElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLLIElement> | null | undefined;
|
|
10
|
-
}, "role">>> & string;
|
|
1
|
+
import { Styled } from '../../types/styled';
|
|
2
|
+
export declare const TagListWrapper: Styled<'ul'>;
|
|
3
|
+
export declare const TagListItem: Styled<'li'>;
|
|
11
4
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/UserTagList/styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/UserTagList/styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAK3C,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,IAAI,CAOvC,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,IAAI,CAEpC,CAAA"}
|
package/dist/constants/i18n.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ export declare const i18nKeys: {
|
|
|
23
23
|
readonly one: "%{count} tag in %{categoryName} category";
|
|
24
24
|
readonly other: "%{count} tags in %{categoryName} category";
|
|
25
25
|
};
|
|
26
|
+
readonly categoryTagsSelected: "%{count} of %{total} tags selected in %{categoryName} category";
|
|
26
27
|
readonly collapseAll: "Collapse all";
|
|
27
28
|
readonly collapseCategory: "Collapse %{categoryName} category";
|
|
28
29
|
readonly createNewCategoryOption: "Create new category";
|
|
@@ -46,8 +47,16 @@ export declare const i18nKeys: {
|
|
|
46
47
|
readonly addTags: "Add tags";
|
|
47
48
|
readonly archiveTag: "Archive tag";
|
|
48
49
|
readonly archiveTagConfirmation: "Archiving this tag means it will no longer be active or available for use. You can restore it later if needed.";
|
|
50
|
+
readonly archiveTags: {
|
|
51
|
+
readonly one: "Archive tag";
|
|
52
|
+
readonly other: "Archive tags";
|
|
53
|
+
};
|
|
49
54
|
readonly assignedUsers: "Assigned users";
|
|
50
55
|
readonly assignTagsToUser: "Assign tags";
|
|
56
|
+
readonly bulkArchiveTagsConfirmation: {
|
|
57
|
+
readonly one: "Archiving this tag means it will no longer be active or available for use. You can restore it later if needed.";
|
|
58
|
+
readonly other: "Archiving these tags means they will no longer be active or available for use. You can restore them later if needed.";
|
|
59
|
+
};
|
|
51
60
|
readonly confirmRemoveTagBody: "This will remove the tag from the user. You can reassign it later if needed.";
|
|
52
61
|
readonly confirmRemoveTagTitle: "Remove tag?";
|
|
53
62
|
readonly confirmRemoveUserBody: "This will remove the user from the tag.";
|
|
@@ -88,6 +97,10 @@ export declare const i18nKeys: {
|
|
|
88
97
|
readonly one: "Warning: %{count} associated user with tag: %{tagName}";
|
|
89
98
|
readonly other: "Warning: %{count} associated users with tag: %{tagName}";
|
|
90
99
|
};
|
|
100
|
+
readonly tagCount: {
|
|
101
|
+
readonly one: "%{count} tag";
|
|
102
|
+
readonly other: "%{count} tags";
|
|
103
|
+
};
|
|
91
104
|
readonly tagDescriptionLabel: "Tag description";
|
|
92
105
|
readonly tagDescriptionPlaceholder: "Briefly describe this tag";
|
|
93
106
|
readonly tagFieldGroupLabel: "Tag details";
|
|
@@ -110,6 +123,14 @@ export declare const i18nKeys: {
|
|
|
110
123
|
readonly one: "%{count} tag assigned";
|
|
111
124
|
readonly other: "%{count} tags assigned";
|
|
112
125
|
};
|
|
126
|
+
readonly bulkArchiveTagsSuccess: {
|
|
127
|
+
readonly one: "%{count} tag archived";
|
|
128
|
+
readonly other: "%{count} tags archived";
|
|
129
|
+
};
|
|
130
|
+
readonly bulkMoveTagsSuccess: {
|
|
131
|
+
readonly one: "%{count} tag moved to %{categoryName}";
|
|
132
|
+
readonly other: "%{count} tags moved to %{categoryName}";
|
|
133
|
+
};
|
|
113
134
|
readonly categoryArchiveSuccess: "Category archived";
|
|
114
135
|
readonly categoryCreated: "Category created";
|
|
115
136
|
readonly categoryRestoreSuccess: "Category restored";
|
|
@@ -128,9 +149,12 @@ export declare const i18nKeys: {
|
|
|
128
149
|
readonly archiveTagFailed: "Failed to archive tag.";
|
|
129
150
|
readonly assignTagsFailed: "Failed to assign tags.";
|
|
130
151
|
readonly assignTagsRequired: "Select at least one tag.";
|
|
152
|
+
readonly bulkArchiveTagsFailed: "Failed to archive one or more tags.";
|
|
153
|
+
readonly bulkMoveTagsFailed: "Failed to move one or more tags.";
|
|
131
154
|
readonly categoryNameAlreadyExists: "A category with this name already exists.";
|
|
132
155
|
readonly categoryNameRequired: "Category name is required.";
|
|
133
156
|
readonly categoryRequired: "Category is required.";
|
|
157
|
+
readonly fieldErrorWithLabel: "%{fieldLabel} %{errorMessage}";
|
|
134
158
|
readonly loadCategories: "Failed to load categories: %{errorMessage}";
|
|
135
159
|
readonly loadTagsFailed: "Failed to load tags.";
|
|
136
160
|
readonly removeTagFromUserFailed: "Failed to remove tag from user.";
|
|
@@ -139,9 +163,12 @@ export declare const i18nKeys: {
|
|
|
139
163
|
readonly restoreTagCategoryRequired: "Select a category to restore the tag.";
|
|
140
164
|
readonly restoreTagFailed: "Failed to restore tag.";
|
|
141
165
|
readonly saveCategoryFailed: "Failed to save category. Please try again.";
|
|
166
|
+
readonly saveCategoryFailedWithReason: "Failed to save category: %{errorMessage}";
|
|
142
167
|
readonly saveTagFailed: "Failed to save tag. Please try again.";
|
|
168
|
+
readonly saveTagFailedWithReason: "Failed to save tag: %{errorMessage}";
|
|
143
169
|
readonly tagAlreadyExists: "This tag name already exists.";
|
|
144
170
|
readonly tagDescriptionRequired: "Tag description is required.";
|
|
171
|
+
readonly tagLimitReached: "This category has reached its limit on tags. Archive a tag in it, or pick another category.";
|
|
145
172
|
readonly tagMoveConflict: "A tag with this name already exists in the selected category.";
|
|
146
173
|
readonly tagMoveFailed: "Failed to move the tag. Please try again.";
|
|
147
174
|
readonly tagNameRequired: "Tag name is required.";
|
|
@@ -154,6 +181,7 @@ export declare const i18nKeys: {
|
|
|
154
181
|
readonly cancel: "Cancel";
|
|
155
182
|
readonly categoryListPagination: "Category list pagination";
|
|
156
183
|
readonly clearSearch: "Clear search";
|
|
184
|
+
readonly clearSelection: "Clear selection";
|
|
157
185
|
readonly close: "Close";
|
|
158
186
|
readonly closeTagDetails: "Close tag details";
|
|
159
187
|
readonly createdAtStub: "Created";
|
|
@@ -164,11 +192,15 @@ export declare const i18nKeys: {
|
|
|
164
192
|
readonly moreOptionsForUser: "More options for %{userName}";
|
|
165
193
|
readonly move: "Move";
|
|
166
194
|
readonly multiSelectFieldDescription: "Type or use arrow keys to navigate options. Multiple selections allowed.";
|
|
195
|
+
readonly multiSelectOff: "Multi-select off";
|
|
196
|
+
readonly multiSelectOn: "Multi-select on";
|
|
197
|
+
readonly multiTagActions: "Actions for selected tags";
|
|
167
198
|
readonly name: "Name";
|
|
168
199
|
readonly nextPage: "Next page";
|
|
169
200
|
readonly noData: "No data";
|
|
170
201
|
readonly pageNumber: "Page %{pageNumber}";
|
|
171
202
|
readonly people: "People";
|
|
203
|
+
readonly peopleSelectionCapReached: "You can select up to %{selectionCap} people at a time.";
|
|
172
204
|
readonly previousPage: "Previous page";
|
|
173
205
|
readonly remove: "Remove %{userName}";
|
|
174
206
|
readonly restoreAssociations: "Restore previous account associations";
|
|
@@ -180,10 +212,15 @@ export declare const i18nKeys: {
|
|
|
180
212
|
readonly searchPeople: "Search or select people";
|
|
181
213
|
readonly searchUsers: "Search users";
|
|
182
214
|
readonly searchUsersDescription: "Results update as you type";
|
|
215
|
+
readonly selectedCount: {
|
|
216
|
+
readonly one: "%{count} selected";
|
|
217
|
+
readonly other: "%{count} selected";
|
|
218
|
+
};
|
|
183
219
|
readonly selectedPeople: {
|
|
184
220
|
readonly one: "%{count} person selected";
|
|
185
221
|
readonly other: "%{count} people selected";
|
|
186
222
|
};
|
|
223
|
+
readonly selectionCapReached: "You can select up to %{selectionCap} tags at a time.";
|
|
187
224
|
readonly sisId: "SIS ID";
|
|
188
225
|
readonly typeToSearchForPeople: "Type to search for people";
|
|
189
226
|
readonly useArrowKeysToNavigate: "Use arrow keys to navigate options.";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/constants/i18n.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/constants/i18n.ts"],"names":[],"mappings":"AAuOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMX,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selection.d.ts","sourceRoot":"","sources":["../../src/constants/selection.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,KAAK,CAAA"}
|
|
@@ -5,6 +5,7 @@ interface CategoryProviderProps {
|
|
|
5
5
|
editHandler?: (id: string) => void;
|
|
6
6
|
archiveHandler?: (id: string, returnFocusElement?: HTMLElement | null) => void;
|
|
7
7
|
restoreHandler?: (id: string, returnFocusElement?: HTMLElement | null) => void;
|
|
8
|
+
isExpanded?: boolean;
|
|
8
9
|
}
|
|
9
10
|
export declare const CategoryProvider: React.FC<CategoryProviderProps>;
|
|
10
11
|
export declare const useCategoryContext: () => CategoryContextValue;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CategoryContext.d.ts","sourceRoot":"","sources":["../../src/contexts/CategoryContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AAErD,OAAO,KAAK,MAAM,OAAO,CAAA;AAUzB,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,kBAAkB,CAAC,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAA;IAC9E,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,kBAAkB,CAAC,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAA;
|
|
1
|
+
{"version":3,"file":"CategoryContext.d.ts","sourceRoot":"","sources":["../../src/contexts/CategoryContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AAErD,OAAO,KAAK,MAAM,OAAO,CAAA;AAUzB,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,kBAAkB,CAAC,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAA;IAC9E,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,kBAAkB,CAAC,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAA;IAC9E,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAkC5D,CAAA;AAED,eAAO,MAAM,kBAAkB,4BAA0C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DragContext.d.ts","sourceRoot":"","sources":["../../src/contexts/DragContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,wBAAwB,EAM9B,MAAM,eAAe,CAAA;AAGtB,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,UAAU,gBAAgB;IACxB,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAA;IAClC,WAAW,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,gBAAgB,EAAE,MAAM,CAAC;QAAC,gBAAgB,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAA;CAC1F;
|
|
1
|
+
{"version":3,"file":"DragContext.d.ts","sourceRoot":"","sources":["../../src/contexts/DragContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,wBAAwB,EAM9B,MAAM,eAAe,CAAA;AAGtB,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,UAAU,gBAAgB;IACxB,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAA;IAClC,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,WAAW,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,gBAAgB,EAAE,MAAM,CAAC;QAAC,gBAAgB,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAA;CAC1F;AAmBD,eAAO,MAAM,2BAA2B,EAAE,wBAoEzC,CAAA;AAED,eAAO,MAAM,cAAc,wBAAsC,CAAA;AAEjE,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAoChE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeatureFlagsContext.d.ts","sourceRoot":"","sources":["../../src/contexts/FeatureFlagsContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,WAAW,YAAY;IAC3B,oBAAoB,EAAE,OAAO,CAAA;IAC7B,cAAc,EAAE,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"FeatureFlagsContext.d.ts","sourceRoot":"","sources":["../../src/contexts/FeatureFlagsContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,WAAW,YAAY;IAC3B,oBAAoB,EAAE,OAAO,CAAA;IAC7B,cAAc,EAAE,OAAO,CAAA;IACvB,iBAAiB,EAAE,OAAO,CAAA;CAC3B;AAUD,UAAU,yBAAyB;IACjC;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAA;IACpC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B;AAED,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAOpE,CAAA;AAED,eAAO,MAAM,eAAe,QAAO,YAAqD,CAAA"}
|
|
@@ -6,5 +6,8 @@ export declare const CREATE_INSTITUTIONAL_TAG: DocumentNode;
|
|
|
6
6
|
export declare const UPDATE_INSTITUTIONAL_TAG: DocumentNode;
|
|
7
7
|
export declare const ARCHIVE_INSTITUTIONAL_TAG: DocumentNode;
|
|
8
8
|
export declare const APPLY_INSTITUTIONAL_TAG: DocumentNode;
|
|
9
|
+
export declare const APPLY_INSTITUTIONAL_TAG_TO_USERS: DocumentNode;
|
|
9
10
|
export declare const REMOVE_INSTITUTIONAL_TAG: DocumentNode;
|
|
11
|
+
export declare const UPDATE_INSTITUTIONAL_TAGS_CATEGORY: DocumentNode;
|
|
12
|
+
export declare const UPDATE_INSTITUTIONAL_TAGS_ARCHIVED_STATE: DocumentNode;
|
|
10
13
|
//# sourceMappingURL=mutations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/graphql/mutations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAQ3C,eAAO,MAAM,iCAAiC,EAAE,YAiB/C,CAAA;AAED,eAAO,MAAM,iCAAiC,EAAE,YAiB/C,CAAA;AAED,eAAO,MAAM,kCAAkC,EAAE,YAahD,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,YAsBtC,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,YAsBtC,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,YAavC,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,YAsBrC,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,YAYtC,CAAA"}
|
|
1
|
+
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/graphql/mutations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAQ3C,eAAO,MAAM,iCAAiC,EAAE,YAiB/C,CAAA;AAED,eAAO,MAAM,iCAAiC,EAAE,YAiB/C,CAAA;AAED,eAAO,MAAM,kCAAkC,EAAE,YAahD,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,YAsBtC,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,YAsBtC,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,YAavC,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,YAsBrC,CAAA;AAED,eAAO,MAAM,gCAAgC,EAAE,YAoB9C,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,YAYtC,CAAA;AAED,eAAO,MAAM,kCAAkC,EAAE,YAgBhD,CAAA;AAED,eAAO,MAAM,wCAAwC,EAAE,YAatD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../src/graphql/queries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAQ3C,eAAO,MAAM,gCAAgC,EAAE,
|
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../src/graphql/queries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAQ3C,eAAO,MAAM,gCAAgC,EAAE,YAiE9C,CAAA;AAED,eAAO,MAAM,oCAAoC,EAAE,YA6BlD,CAAA;AAED,eAAO,MAAM,mCAAmC,EAAE,YAyCjD,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,YA+BnC,CAAA;AAED,eAAO,MAAM,0BAA0B,EAAE,YAUxC,CAAA;AAED,eAAO,MAAM,8BAA8B,EAAE,YAU5C,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,YA0B/B,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,YA2BjC,CAAA;AAKD,eAAO,MAAM,2BAA2B,EAAE,YAiBzC,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ApplyInstitutionalTagToUsersMutation } from '@instructure/platform-graphql-types';
|
|
2
2
|
export declare const useAddPeople: (tagId: string, tagName: string, categoryId: string) => {
|
|
3
|
-
addPeople: import('@tanstack/react-query').UseMutateFunction<
|
|
3
|
+
addPeople: import('@tanstack/react-query').UseMutateFunction<ApplyInstitutionalTagToUsersMutation, Error, string[], unknown>;
|
|
4
4
|
isPending: boolean;
|
|
5
5
|
};
|
|
6
6
|
//# sourceMappingURL=useAddPeople.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAddPeople.d.ts","sourceRoot":"","sources":["../../src/hooks/useAddPeople.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,
|
|
1
|
+
{"version":3,"file":"useAddPeople.d.ts","sourceRoot":"","sources":["../../src/hooks/useAddPeople.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oCAAoC,EAErC,MAAM,qCAAqC,CAAA;AAU5C,eAAO,MAAM,YAAY,GAAI,OAAO,MAAM,EAAE,SAAS,MAAM,EAAE,YAAY,MAAM;;;CA2C9E,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TagType } from '../types/tag';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export declare const useBulkArchiveModal: (tags: TagType[], onSuccess: () => void, returnFocusRef: React.MutableRefObject<HTMLElement | null>) => {
|
|
4
|
+
handleBulkArchive: () => void;
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=useBulkArchiveModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBulkArchiveModal.d.ts","sourceRoot":"","sources":["../../src/hooks/useBulkArchiveModal.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AACpC,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,mBAAmB,GAC9B,MAAM,OAAO,EAAE,EACf,WAAW,MAAM,IAAI,EACrB,gBAAgB,KAAK,CAAC,gBAAgB,CAAC,WAAW,GAAG,IAAI,CAAC;;CAoB3D,CAAA"}
|