@nyaruka/temba-components 0.111.5 → 0.111.7

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/CHANGELOG.md CHANGED
@@ -4,8 +4,20 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ #### [v0.111.7](https://github.com/nyaruka/temba-components/compare/v0.111.6...v0.111.7)
8
+
9
+ - Fix RunList.allowDelete [`cb9f732`](https://github.com/nyaruka/temba-components/commit/cb9f73276c5d16907a5419a5b11cdfd418ee2c44)
10
+
11
+ #### [v0.111.6](https://github.com/nyaruka/temba-components/compare/v0.111.5...v0.111.6)
12
+
13
+ > 21 November 2024
14
+
15
+ - Make configurable whether run list allows deletion [`#464`](https://github.com/nyaruka/temba-components/pull/464)
16
+
7
17
  #### [v0.111.5](https://github.com/nyaruka/temba-components/compare/v0.111.4...v0.111.5)
8
18
 
19
+ > 11 November 2024
20
+
9
21
  - Fix more inconsistent temba headers [`23c9da0`](https://github.com/nyaruka/temba-components/commit/23c9da063b44f0e7bc2391e48890293eadf461b6)
10
22
 
11
23
  #### [v0.111.4](https://github.com/nyaruka/temba-components/compare/v0.111.3...v0.111.4)
@@ -234,17 +246,13 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
234
246
 
235
247
  - Use base_template instead of array [`#442`](https://github.com/nyaruka/temba-components/pull/442)
236
248
 
237
- #### [v0.97.0](https://github.com/nyaruka/temba-components/compare/v0.96.0...v0.97.0)
249
+ #### [v0.97.0](https://github.com/nyaruka/temba-components/compare/v0.95.0...v0.97.0)
238
250
 
239
251
  > 11 July 2024
240
252
 
241
253
  - Make location fields have select box [`#441`](https://github.com/nyaruka/temba-components/pull/441)
242
254
  - Update select searching [`5d2b096`](https://github.com/nyaruka/temba-components/commit/5d2b09639eaf6aae37876a8b30f0e8d41c663cd9)
243
255
 
244
- #### [v0.96.0](https://github.com/nyaruka/temba-components/compare/v0.95.0...v0.96.0)
245
-
246
- > 11 July 2024
247
-
248
256
  #### [v0.95.0](https://github.com/nyaruka/temba-components/compare/v0.94.5...v0.95.0)
249
257
 
250
258
  > 3 July 2024
@@ -749,16 +757,12 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
749
757
  - Fix reading created_by for msg events [`#364`](https://github.com/nyaruka/temba-components/pull/364)
750
758
  - Add logical icon names for optin and optout [`#365`](https://github.com/nyaruka/temba-components/pull/365)
751
759
 
752
- #### [v0.58.8](https://github.com/nyaruka/temba-components/compare/v0.58.7...v0.58.8)
760
+ #### [v0.58.8](https://github.com/nyaruka/temba-components/compare/v0.58.6...v0.58.8)
753
761
 
754
762
  > 28 September 2023
755
763
 
756
764
  - Update publish.yml [`7dc7d69`](https://github.com/nyaruka/temba-components/commit/7dc7d69822942b39c3b35e06846cfd4c65108b2d)
757
765
 
758
- #### [v0.58.7](https://github.com/nyaruka/temba-components/compare/v0.58.6...v0.58.7)
759
-
760
- > 28 September 2023
761
-
762
766
  #### [v0.58.6](https://github.com/nyaruka/temba-components/compare/v0.58.5...v0.58.6)
763
767
 
764
768
  > 28 September 2023
@@ -5631,12 +5631,12 @@ let br=Ks,yr=!1;const _r=["es","fr","pt"],{setLocale:xr}=(t=>(function(t){if(yr)
5631
5631
  Started
5632
5632
  </div>
5633
5633
  </div>
5634
- <temba-icon
5635
- clickable
5636
- style="margin-left:0.75em;"
5637
- name=${ve.delete}
5638
- onclick="deleteRun(${this.selectedRun.id});"
5639
- ></temba-icon>
5634
+ ${this.allowDelete?Z` <temba-icon
5635
+ clickable
5636
+ style="margin-left:0.75em;"
5637
+ name=${ve.delete}
5638
+ onclick="deleteRun(${this.selectedRun.id});"
5639
+ ></temba-icon>`:null}
5640
5640
  </div>
5641
5641
 
5642
5642
  ${t.length>0?Z`
@@ -5665,7 +5665,7 @@ let br=Ks,yr=!1;const _r=["es","fr","pt"],{setLocale:xr}=(t=>(function(t){if(yr)
5665
5665
  </div>
5666
5666
  `:null}
5667
5667
  </div>
5668
- </div>`}constructor(){super(),this.responses=!0,this.resultKeys={},this.reverseRefresh=!1,this.valueKey="uuid",this.hideShadow=!0,this.createRenderOption()}}t([ue({type:String})],Rh.prototype,"flow",void 0),t([ue({type:Object,attribute:!1})],Rh.prototype,"results",void 0),t([ue({type:Boolean})],Rh.prototype,"responses",void 0),t([ue({type:Object})],Rh.prototype,"resultPreview",void 0),t([ue({type:Object})],Rh.prototype,"selectedRun",void 0);class qh extends Ol{constructor(){super(...arguments),this.endpoint="/api/v2/flows.json?uuid="}prepareData(t){return t&&t.length>0&&(t=t[0]),t}updated(t){super.updated(t),t.has("flow")&&(this.flow?this.url=`${this.endpoint}${this.flow}`:this.url=null)}render(){if(this.data)return Z`<div></div>`}}t([ue({type:String})],qh.prototype,"flow",void 0),t([ue({type:Object,attribute:!1})],qh.prototype,"data",void 0),t([ue({type:String})],qh.prototype,"endpoint",void 0);class Fh extends Ll{constructor(){super(...arguments),this.size=20}static get styles(){return r`
5668
+ </div>`}constructor(){super(),this.responses=!0,this.allowDelete=!1,this.resultKeys={},this.reverseRefresh=!1,this.valueKey="uuid",this.hideShadow=!0,this.createRenderOption()}}t([ue({type:String})],Rh.prototype,"flow",void 0),t([ue({type:Object,attribute:!1})],Rh.prototype,"results",void 0),t([ue({type:Boolean})],Rh.prototype,"responses",void 0),t([ue({type:Object})],Rh.prototype,"resultPreview",void 0),t([ue({type:Object})],Rh.prototype,"selectedRun",void 0),t([ue({type:Boolean})],Rh.prototype,"allowDelete",void 0);class qh extends Ol{constructor(){super(...arguments),this.endpoint="/api/v2/flows.json?uuid="}prepareData(t){return t&&t.length>0&&(t=t[0]),t}updated(t){super.updated(t),t.has("flow")&&(this.flow?this.url=`${this.endpoint}${this.flow}`:this.url=null)}render(){if(this.data)return Z`<div></div>`}}t([ue({type:String})],qh.prototype,"flow",void 0),t([ue({type:Object,attribute:!1})],qh.prototype,"data",void 0),t([ue({type:String})],qh.prototype,"endpoint",void 0);class Fh extends Ll{constructor(){super(...arguments),this.size=20}static get styles(){return r`
5669
5669
  :host {
5670
5670
  display: flex;
5671
5671
  }