@stsdti/funky-ui-kit 1.4.4 → 1.4.5

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.
@@ -81328,8 +81328,8 @@ const _sfc_main$8 = {
81328
81328
  __name: "AppFormModal",
81329
81329
  props: {
81330
81330
  form: {},
81331
- title: {
81332
- default: "Editare / Creare"
81331
+ resourceName: {
81332
+ default: "resursă"
81333
81333
  },
81334
81334
  buttons: {},
81335
81335
  clickToClose: {
@@ -81341,6 +81341,10 @@ const _sfc_main$8 = {
81341
81341
  setup(__props, { expose: __expose, emit: __emit }) {
81342
81342
  const emits = __emit;
81343
81343
  const props2 = __props;
81344
+ const title = computed(() => {
81345
+ var _a3;
81346
+ return (((_a3 = formContext.item) == null ? void 0 : _a3.id) ? "Editare" : "Creare") + " " + props2.resourceName;
81347
+ });
81344
81348
  let formContext = reactive({});
81345
81349
  const isModalVisible = ref(false);
81346
81350
  const button = {
@@ -81397,7 +81401,7 @@ const _sfc_main$8 = {
81397
81401
  class: "animated fadeIn"
81398
81402
  }, {
81399
81403
  title: withCtx(() => [
81400
- createElementVNode("div", null, toDisplayString(__props.title), 1)
81404
+ createElementVNode("div", null, toDisplayString(title.value), 1)
81401
81405
  ]),
81402
81406
  "heading-elements": withCtx(() => [
81403
81407
  createVNode(_component_app_button_group, { value: buttonsList.value }, null, 8, ["value"])