vue-ms-forms-plugin

0.2.2 • Public • Published

Vue 3 + Vite + Primevue

MP componentes par interactuar con ms-forms setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.

How to use

1.- Install component

$ npm i vue-ms-forms-plugin

2.- In main.js file

import MsFormsPugin from 'vue-ms-forms-plugin';
import 'vue-ms-forms-plugin/dist/style.css';
...
app.use(MsFormsPugin, {
  useServices: true, // si su proyecto ya usa primevue [false]
  usePrimeVue: true, // si su proyecto ya usa primevue [false]
  useDirectives: true, // si su proyecto ya usa primevue [false]
});

Components

  1. ManageForm
<ManageForm
  ref="formRef"
  :back-url="backUrl"
  app-tag="test-app"
  token="sometoken"
  :form-type="tipoFormulario"
  show-response-json
>
  <template #options="{ loading, isSmall }">
    <Button
      class="p-button-help p-button-outlined"
      :loading="loading"
      icon="pi pi-printer"
      :label="isSmall ? undefined : 'Struct'"
      @click="onGetResultStructure"
    />
  </template>
</ManageForm>
  1. ResponseForm
<ResponseForm
  :form-type="tipoFormulario"
  :answered-by="{ funcId: 66, ci: '10529939', nombreCompleto: 'Erwin Ramiro Flores Marca' }"
  :back-url="backUrl"
  :no-save="false"
  token="sometoken"
  buttons-position="bottom"
  :columns="1"
/>

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.2.20latest

Version History

VersionDownloads (Last 7 Days)Published
0.2.20
0.2.10
0.2.00
0.1.20
0.1.10
0.1.00
0.0.230
0.0.220
0.0.210
0.0.200
0.0.190
0.0.180
0.0.170
0.0.160
0.0.150
0.0.140
0.0.130
0.0.121
0.0.110
0.0.100
0.0.90
0.0.80
0.0.70
0.0.60
0.0.50
0.0.40
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i vue-ms-forms-plugin

Weekly Downloads

1

Version

0.2.2

License

none

Unpacked Size

1.67 MB

Total Files

8

Last publish

Collaborators

  • erwin.flores