@masterkeymaterial/ui 0.2.26 → 0.2.27

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.
@@ -6921,6 +6921,13 @@ class MkGrid {
6921
6921
  actionsLineConfig: { ...GRID_CONFIG_DEFAULTS.actionsLineConfig, ...c.actionsLineConfig },
6922
6922
  };
6923
6923
  }, ...(ngDevMode ? [{ debugName: "cfg" }] : /* istanbul ignore next */ []));
6924
+ startSelected = computed(() => {
6925
+ const startSelected = this.cfg().startSelected;
6926
+ if (startSelected) {
6927
+ return startSelected.map(s => s?.toString() ?? '');
6928
+ }
6929
+ return [];
6930
+ }, ...(ngDevMode ? [{ debugName: "startSelected" }] : /* istanbul ignore next */ []));
6924
6931
  performance = computed(() => {
6925
6932
  return this.cfg().timeRequest
6926
6933
  ? `${this.cfg().timeRequest}ms`
@@ -7003,7 +7010,7 @@ class MkGrid {
7003
7010
  }, 0);
7004
7011
  }
7005
7012
  iniciarSelectedRows(lista) {
7006
- let listaSelecionados = this.cfg().startSelected;
7013
+ let listaSelecionados = this.startSelected();
7007
7014
  if (!listaSelecionados || !lista) {
7008
7015
  this.clearSelections();
7009
7016
  return;