@bizdoc/core 1.14.11 → 1.14.12

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.
@@ -4128,7 +4128,7 @@ class AceInput {
4128
4128
  enableLiveAutocompletion: true
4129
4129
  });
4130
4130
  this._editor.setValue(this._value || '');
4131
- const rules = this._http.get(`api/form/rules`, { params: this.params });
4131
+ const rules = this._http.get(`/api/form/rules`, { params: this.params });
4132
4132
  this._editor.addEventListener('change', () => {
4133
4133
  const val = this._editor.getValue();
4134
4134
  this._value = val;
@@ -6946,7 +6946,7 @@ class CubeService {
6946
6946
  }
6947
6947
  /** get currencies */
6948
6948
  currencies() {
6949
- return this._cacheOr('currencies', () => this._http.get('api/cube/currencies'));
6949
+ return this._cacheOr('currencies', () => this._http.get('/api/cube/currencies'));
6950
6950
  }
6951
6951
  /**
6952
6952
  * get exchange rate
@@ -6959,7 +6959,7 @@ class CubeService {
6959
6959
  let key = currencyCode;
6960
6960
  if (date)
6961
6961
  key += date.toJSON();
6962
- return this._cacheOr(key, () => this._http.get(`api/cube/exchangeRate/${currencyCode}`, {
6962
+ return this._cacheOr(key, () => this._http.get(`/api/cube/exchangeRate/${currencyCode}`, {
6963
6963
  params: date ? { date: date.toJSON() } : null,
6964
6964
  headers: { 'no-progress': 'true' }
6965
6965
  }));
@@ -29352,7 +29352,7 @@ let PatternsComponent = class PatternsComponent {
29352
29352
  }
29353
29353
  ngOnInit() {
29354
29354
  this.form.valueChanges.pipe(takeUntil(this._destroy)).subscribe(() => this.dirty = true);
29355
- this._http.get('api/positions/roles').subscribe(r => {
29355
+ this._http.get('/api/positions/roles').subscribe(r => {
29356
29356
  this._ref.populate().subscribe(p => {
29357
29357
  this._columns(r);
29358
29358
  this._datasource(p);