@zgfe/modules-attribution 1.0.1-alpha.23 → 1.0.1-alpha.24

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.
@@ -80,7 +80,9 @@ var AttributableEvents = function AttributableEvents(props) {
80
80
  if (value.attributionSubdivision && value.attributionSubdivision.conditions) {
81
81
  setBizAttributeSelectorValue({
82
82
  id: value.attributionSubdivision.conditions.attrId,
83
- propCategory: value.attributionSubdivision.conditions.propCategory
83
+ propCategory: value.attributionSubdivision.conditions.propCategory,
84
+ name: value.attributionSubdivision.conditions.attrName,
85
+ category: value.attributionSubdivision.conditions.category
84
86
  });
85
87
  setAttrSelectShow(true);
86
88
  }
@@ -159,7 +161,9 @@ var AttributableEvents = function AttributableEvents(props) {
159
161
  } else {
160
162
  setBizAttributeSelectorValue({
161
163
  id: attr.id,
162
- propCategory: attr.propCategory
164
+ propCategory: attr.propCategory,
165
+ name: attr.name,
166
+ category: attr.category
163
167
  });
164
168
  }
165
169
  var _minceAttr = attr === undefined ? undefined : {
@@ -35,6 +35,8 @@ export declare namespace SearchPanelTypes {
35
35
  interface bizAttributeSelectorValueProp {
36
36
  id?: number;
37
37
  propCategory?: string;
38
+ name?: string;
39
+ category?: string;
38
40
  }
39
41
  interface targetDataProp {
40
42
  event?: {
package/es/types.d.ts CHANGED
@@ -19,16 +19,17 @@ export interface FiltersProps {
19
19
  attributionSubdivision?: AttributionSubdivisionProps | undefined;
20
20
  }
21
21
  export interface AttributionSubdivisionProps {
22
- relation: 'and' | 'or';
23
- conditions: {
24
- attrId: number | undefined;
25
- propCategory: string | undefined;
26
- type: string | undefined;
27
- id?: number | undefined;
28
- name?: string | undefined;
29
- category?: string | undefined;
30
- attrName?: string | undefined;
31
- };
22
+ relation: string;
23
+ conditions: ConditionsnProps;
24
+ }
25
+ export interface ConditionsnProps {
26
+ attrId: number | undefined;
27
+ propCategory: string | undefined;
28
+ type: string | undefined;
29
+ id?: number | undefined;
30
+ name?: string | undefined;
31
+ category?: string | undefined;
32
+ attrName?: string | undefined;
32
33
  }
33
34
  export interface TableDataHandleProps {
34
35
  xAxis: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-attribution",
3
- "version": "1.0.1-alpha.23",
3
+ "version": "1.0.1-alpha.24",
4
4
  "module": "es/index.js",
5
5
  "typings": "es/index.d.ts",
6
6
  "files": [
@@ -50,5 +50,5 @@
50
50
  "react": "^16.12.0 || ^17.0.0",
51
51
  "yorkie": "^2.0.0"
52
52
  },
53
- "gitHead": "29c789967da8b0268c0d9e70e481252935120876"
53
+ "gitHead": "2d3ab096fd12d162ccc7b0b9128ed188b2086cfd"
54
54
  }