@nyaruka/temba-components 0.111.5 → 0.111.6

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,14 @@ 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.6](https://github.com/nyaruka/temba-components/compare/v0.111.5...v0.111.6)
8
+
9
+ - Make configurable whether run list allows deletion [`#464`](https://github.com/nyaruka/temba-components/pull/464)
10
+
7
11
  #### [v0.111.5](https://github.com/nyaruka/temba-components/compare/v0.111.4...v0.111.5)
8
12
 
13
+ > 11 November 2024
14
+
9
15
  - Fix more inconsistent temba headers [`23c9da0`](https://github.com/nyaruka/temba-components/commit/23c9da063b44f0e7bc2391e48890293eadf461b6)
10
16
 
11
17
  #### [v0.111.4](https://github.com/nyaruka/temba-components/compare/v0.111.3...v0.111.4)
@@ -234,17 +240,13 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
234
240
 
235
241
  - Use base_template instead of array [`#442`](https://github.com/nyaruka/temba-components/pull/442)
236
242
 
237
- #### [v0.97.0](https://github.com/nyaruka/temba-components/compare/v0.96.0...v0.97.0)
243
+ #### [v0.97.0](https://github.com/nyaruka/temba-components/compare/v0.95.0...v0.97.0)
238
244
 
239
245
  > 11 July 2024
240
246
 
241
247
  - Make location fields have select box [`#441`](https://github.com/nyaruka/temba-components/pull/441)
242
248
  - Update select searching [`5d2b096`](https://github.com/nyaruka/temba-components/commit/5d2b09639eaf6aae37876a8b30f0e8d41c663cd9)
243
249
 
244
- #### [v0.96.0](https://github.com/nyaruka/temba-components/compare/v0.95.0...v0.96.0)
245
-
246
- > 11 July 2024
247
-
248
250
  #### [v0.95.0](https://github.com/nyaruka/temba-components/compare/v0.94.5...v0.95.0)
249
251
 
250
252
  > 3 July 2024
@@ -749,16 +751,12 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
749
751
  - Fix reading created_by for msg events [`#364`](https://github.com/nyaruka/temba-components/pull/364)
750
752
  - Add logical icon names for optin and optout [`#365`](https://github.com/nyaruka/temba-components/pull/365)
751
753
 
752
- #### [v0.58.8](https://github.com/nyaruka/temba-components/compare/v0.58.7...v0.58.8)
754
+ #### [v0.58.8](https://github.com/nyaruka/temba-components/compare/v0.58.6...v0.58.8)
753
755
 
754
756
  > 28 September 2023
755
757
 
756
758
  - Update publish.yml [`7dc7d69`](https://github.com/nyaruka/temba-components/commit/7dc7d69822942b39c3b35e06846cfd4c65108b2d)
757
759
 
758
- #### [v0.58.7](https://github.com/nyaruka/temba-components/compare/v0.58.6...v0.58.7)
759
-
760
- > 28 September 2023
761
-
762
760
  #### [v0.58.6](https://github.com/nyaruka/temba-components/compare/v0.58.5...v0.58.6)
763
761
 
764
762
  > 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=!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),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
  }