@grapadigital/shared-app-modules 0.0.197 → 0.0.198
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/assets/switch.css +1 -1
- package/dist/chuncks/badge.tZcF7uIJ.js +2834 -0
- package/dist/chuncks/{format.util.Pd1CbTqQ.js → format.util.Frd0spI4.js} +1 -1
- package/dist/chuncks/index.CQj95ye6.js +7 -0
- package/dist/chuncks/{organization-users.service.I1WrInGh.js → organization-users.service.B8hU1HtK.js} +1 -1
- package/dist/chuncks/{switch.D4GUsewk.js → switch.D_38xWg-.js} +1714 -1710
- package/dist/chuncks/use-shared-app-modules.hook.DKoXZuvy.js +54 -0
- package/dist/chuncks/youtube-icon.component.BFVooMDQ.js +5686 -0
- package/dist/components.d.ts +34 -0
- package/dist/components.js +176 -229
- package/dist/configs.d.ts +22 -0
- package/dist/configs.js +4 -0
- package/dist/constants.js +20 -20
- package/dist/dictionaries.d.ts +15 -15
- package/dist/dictionaries.js +12 -105
- package/dist/events.js +1 -1
- package/dist/hooks.js +3 -3
- package/dist/pages.js +1 -1
- package/dist/shadcn.js +196 -207
- package/dist/utils.js +28 -29
- package/package.json +11 -3
- package/dist/chuncks/axios.lib.DebbmKD8.js +0 -38
- package/dist/chuncks/badge.Cur4Mrd7.js +0 -416
- package/dist/chuncks/directory.util.EdDxCF_I.js +0 -33
- package/dist/chuncks/popover.C3VFqVxV.js +0 -2413
- package/dist/chuncks/youtube-icon.component.DQAFOsU7.js +0 -4503
package/dist/components.d.ts
CHANGED
|
@@ -599,6 +599,10 @@ declare interface MentionTextProps {
|
|
|
599
599
|
className?: string;
|
|
600
600
|
}
|
|
601
601
|
|
|
602
|
+
declare type Module = "sales" | "invoices" | "payments" | "actions";
|
|
603
|
+
|
|
604
|
+
export declare function ModuleTags({ module, organizationId, currentTags, useUpdateModuleTags, }: TagsProps): JSX.Element;
|
|
605
|
+
|
|
602
606
|
declare interface NegotiationInterface {
|
|
603
607
|
calculatorType: CalculatorType;
|
|
604
608
|
childPermit?: boolean;
|
|
@@ -981,6 +985,36 @@ declare interface TableSkeletonProps {
|
|
|
981
985
|
actionsCount?: number;
|
|
982
986
|
}
|
|
983
987
|
|
|
988
|
+
declare interface TagConfig {
|
|
989
|
+
module: Module;
|
|
990
|
+
organizationId: string;
|
|
991
|
+
currentTags?: string[];
|
|
992
|
+
useUpdateModuleTags: () => any;
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
declare interface TagsProps extends TagConfig {
|
|
996
|
+
/**
|
|
997
|
+
* Tags associadas ao módulo, definidas no card e retornadas pela API.
|
|
998
|
+
*/
|
|
999
|
+
currentTags?: string[];
|
|
1000
|
+
/**
|
|
1001
|
+
* Hook responsável por atualizar as tags de um módulo.
|
|
1002
|
+
*
|
|
1003
|
+
* Espera um `useMutation` com um serviço que
|
|
1004
|
+
* receba os dados no seguinte formato:
|
|
1005
|
+
*
|
|
1006
|
+
* ```ts
|
|
1007
|
+
* interface Input {
|
|
1008
|
+
* id: string;
|
|
1009
|
+
* payload: {
|
|
1010
|
+
* tags: string[];
|
|
1011
|
+
* };
|
|
1012
|
+
* }
|
|
1013
|
+
* ```
|
|
1014
|
+
*/
|
|
1015
|
+
useUpdateModuleTags: () => any;
|
|
1016
|
+
}
|
|
1017
|
+
|
|
984
1018
|
export declare function TikTokIcon({ size, color, ...props }: LucideProps): JSX.Element;
|
|
985
1019
|
|
|
986
1020
|
export declare function TwitterIcon({ size, color, ...props }: LucideProps): JSX.Element;
|