@fayz-ai/plugin-crm 0.34.0 → 0.35.1
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/{CrmPage-Z2HRXNCW.js → CrmPage-Z5OYCBKA.js} +421 -388
- package/dist/CrmPage-Z5OYCBKA.js.map +1 -0
- package/dist/components/DealsToolbar.d.ts +37 -0
- package/dist/components/DealsToolbar.d.ts.map +1 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/locales/en.d.ts.map +1 -1
- package/dist/locales/pt-BR.d.ts.map +1 -1
- package/dist/views/DealListView.d.ts.map +1 -1
- package/dist/views/PipelineView.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/CrmPage-Z2HRXNCW.js.map +0 -1
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface DisplayOption {
|
|
3
|
+
key: string;
|
|
4
|
+
label: string;
|
|
5
|
+
}
|
|
6
|
+
export interface DisplayConfig {
|
|
7
|
+
/** The page title inside the menu ("Card properties", "Columns"). */
|
|
8
|
+
title: string;
|
|
9
|
+
options: DisplayOption[];
|
|
10
|
+
visible: Record<string, boolean>;
|
|
11
|
+
onChange: (next: Record<string, boolean>) => void;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Display — the view's preferences, in pages like the card menu: the top level
|
|
15
|
+
* lists the section ("Card properties ▸"), the inner page carries ‹ Back.
|
|
16
|
+
* Options that are ON are highlighted in the brand ink; OFF ones are muted, so
|
|
17
|
+
* the state reads before the label.
|
|
18
|
+
*/
|
|
19
|
+
export declare function DisplayPopover({ config }: {
|
|
20
|
+
config: DisplayConfig;
|
|
21
|
+
}): React.JSX.Element;
|
|
22
|
+
export interface DealsToolbarProps {
|
|
23
|
+
search: string;
|
|
24
|
+
onSearchChange: (value: string) => void;
|
|
25
|
+
/** Chips of filters in use, the filters menu, the unit picker, actions. */
|
|
26
|
+
children?: React.ReactNode;
|
|
27
|
+
/** Rendered after `children`, as the last control of the bar. */
|
|
28
|
+
display?: DisplayConfig;
|
|
29
|
+
/**
|
|
30
|
+
* `card` draws its own card (the board, where nothing sits under the bar);
|
|
31
|
+
* `header` is the top row of a card the caller owns (the list, where the
|
|
32
|
+
* bar and the table are one surface).
|
|
33
|
+
*/
|
|
34
|
+
variant?: 'card' | 'header';
|
|
35
|
+
}
|
|
36
|
+
export declare function DealsToolbar({ search, onSearchChange, children, display, variant }: DealsToolbarProps): React.JSX.Element;
|
|
37
|
+
//# sourceMappingURL=DealsToolbar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DealsToolbar.d.ts","sourceRoot":"","sources":["../../src/components/DealsToolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAA;AAiBvC,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,aAAa;IAC5B,qEAAqE;IACrE,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,aAAa,EAAE,CAAA;IACxB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAChC,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAA;CAClD;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,aAAa,CAAA;CAAE,qBAqEnE;AAED,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAA;IACd,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACvC,2EAA2E;IAC3E,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,iEAAiE;IACjE,OAAO,CAAC,EAAE,aAAa,CAAA;IACvB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAA;CAC5B;AAED,wBAAgB,YAAY,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAkB,EAAE,EAAE,iBAAiB,qBAuBhH"}
|
package/dist/index.js
CHANGED
|
@@ -5732,6 +5732,7 @@ var en = {
|
|
|
5732
5732
|
"crm.deals.viewFunnel": "Conversion",
|
|
5733
5733
|
"crm.deals.colDeal": "Deal",
|
|
5734
5734
|
"crm.deals.colIdle": "Idle for",
|
|
5735
|
+
"crm.deals.columns": "List columns",
|
|
5735
5736
|
"crm.deals.searchPlaceholder": "Search deal, contact or stage",
|
|
5736
5737
|
"crm.deals.summary": "{{count}} deals \xB7 {{value}}",
|
|
5737
5738
|
"crm.funnelView.fromTop": "{{pct}}% of the top",
|
|
@@ -6762,6 +6763,7 @@ var ptBR = {
|
|
|
6762
6763
|
"crm.deals.viewFunnel": "Convers\xE3o",
|
|
6763
6764
|
"crm.deals.colDeal": "Neg\xF3cio",
|
|
6764
6765
|
"crm.deals.colIdle": "Sem mexer h\xE1",
|
|
6766
|
+
"crm.deals.columns": "Colunas da lista",
|
|
6765
6767
|
"crm.deals.searchPlaceholder": "Buscar por neg\xF3cio, contato ou etapa",
|
|
6766
6768
|
"crm.deals.summary": "{{count}} neg\xF3cios \xB7 {{value}}",
|
|
6767
6769
|
"crm.funnelView.fromTop": "{{pct}}% do topo",
|
|
@@ -7832,7 +7834,7 @@ var crmV1SettingsTabs = [
|
|
|
7832
7834
|
];
|
|
7833
7835
|
|
|
7834
7836
|
// src/index.ts
|
|
7835
|
-
var CrmPage = React.lazy(() => import('./CrmPage-
|
|
7837
|
+
var CrmPage = React.lazy(() => import('./CrmPage-Z5OYCBKA.js').then((m) => ({ default: m.CrmPage })));
|
|
7836
7838
|
var CrmGeneralSettings = lazyComponent(() => import('./CrmGeneralSettings-6XPS3L42.js').then((m) => m.CrmGeneralSettings));
|
|
7837
7839
|
var SegmentsView = lazyComponent(() => import('./SegmentsView-PHLN2MOW.js').then((m) => m.SegmentsView));
|
|
7838
7840
|
var DEFAULT_LABELS = {
|