@things-factory/integration-ui 6.0.0-zeta.20 → 6.0.0-zeta.23

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.
@@ -52,8 +52,23 @@ export class Connection extends connect(store)(localize(i18next)(PageView)) {
52
52
  }
53
53
 
54
54
  get context() {
55
+ const value = this.grist.searchText
56
+
55
57
  return {
56
- title: i18next.t('text.connection list'),
58
+ search: {
59
+ handler: search => {
60
+ this.grist.searchText = search
61
+ },
62
+ placeholder: i18next.t('text.connection list'),
63
+ value
64
+ },
65
+ // 필터가 설정되면, 아래 코멘트 해제
66
+ // filter: {
67
+ // handler: () => {
68
+ // const display = this.headroom.style.display
69
+ // this.headroom.style.display = display !== 'none' ? 'none' : 'flex'
70
+ // }
71
+ // },
57
72
  help: 'integration/ui/connection',
58
73
  actions: [
59
74
  {
@@ -77,9 +92,7 @@ export class Connection extends connect(store)(localize(i18next)(PageView)) {
77
92
  .config=${this.gristConfig}
78
93
  .fetchHandler=${this.fetchHandler.bind(this)}
79
94
  >
80
- <div slot="headroom" id="filters">
81
- <ox-filters-form autofocus></ox-filters-form>
82
- </div>
95
+ <div slot="headroom" id="filters"></div>
83
96
  </ox-grist>
84
97
  `
85
98
  }
@@ -59,8 +59,23 @@ export class Scenario extends connect(store)(localize(i18next)(PageView)) {
59
59
  }
60
60
 
61
61
  get context() {
62
+ const value = this.grist.searchText
63
+
62
64
  return {
63
- title: i18next.t('text.scenario list'),
65
+ search: {
66
+ handler: search => {
67
+ this.grist.searchText = search
68
+ },
69
+ placeholder: i18next.t('text.scenario list'),
70
+ value
71
+ },
72
+ // 필터가 설정되면, 아래 코멘트 해제
73
+ // filter: {
74
+ // handler: () => {
75
+ // const display = this.headroom.style.display
76
+ // this.headroom.style.display = display !== 'none' ? 'none' : 'flex'
77
+ // }
78
+ // },
64
79
  help: 'integration/ui/scenario',
65
80
  actions: [
66
81
  {
@@ -103,9 +118,7 @@ export class Scenario extends connect(store)(localize(i18next)(PageView)) {
103
118
  .config=${this.gristConfig}
104
119
  .fetchHandler=${this.fetchHandler.bind(this)}
105
120
  >
106
- <div slot="headroom" id="filters">
107
- <ox-filters-form autofocus></ox-filters-form>
108
- </div>
121
+ <div slot="headroom" id="filters"></div>
109
122
  </ox-grist>
110
123
  `
111
124
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/integration-ui",
3
- "version": "6.0.0-zeta.20",
3
+ "version": "6.0.0-zeta.23",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -38,5 +38,5 @@
38
38
  "@things-factory/integration-base": "^6.0.0-zeta.20",
39
39
  "moment-timezone": "^0.5.27"
40
40
  },
41
- "gitHead": "a9ce22fe4130d97245e7377b460d0d76a03de263"
41
+ "gitHead": "a22f29b106b69902502aa78b77ce7d8eb87cec07"
42
42
  }