npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@openimis/fe-contract

v1.5.1

Published

openIMIS Frontend Contract module

Downloads

52

Readme

openIMIS Frontend Contract module

This repository holds the files of the openIMIS Frontend Contract reference module. It is dedicated to be deployed as a module of openimis-fe_js.

License: AGPL v3

Main Menu Contributions

None

Other Contributions

  • core.Router: registering contracts, contracts/contract route in openIMIS client-side router

  • invoice.MainMenu:

    Contracts (menu.contracts translation key)

  • invoice.SubjectAndThirdpartyPicker: providing Contract picker for Invoice module

Available Contribution Points

  • contract.TabPanel.label ability to extend Contract tab panel with a label
  • contract.TabPanel.panel ability to extend Contract tab panel with a panel displayed on click on an appropriate label
  • contract.ContractDetails.calculation placeholder for Calculation module contributions

Published Components

  • contract.ContractPicker, picker for Contract
  • contract.ContractStatePicker, picker for Contract State

Dispatched Redux Actions

  • CONTRACT_CONTRACTS_{REQ|RESP|ERR}, fetching Contracts (as triggered by the searcher)
  • CONTRACT_CONTRACT_{REQ|RESP|ERR}, fetching Contract
  • CONTRACT_CONTRACTDETAILS_{REQ|RESP|ERR}, fetching Contract Details (as triggered by the searcher)
  • CONTRACT_MUTATION_{REQ|ERR}, sending a mutation
  • CONTRACT_CREATE_CONTRACT_RESP, receiving a result of create Contract mutation
  • CONTRACT_UPDATE_CONTRACT_RESP, receiving a result of update Contract mutation
  • CONTRACT_DELETE_CONTRACT_RESP, receiving a result of delete Contract mutation
  • CONTRACT_SUBMIT_CONTRACT_RESP, receiving a result of submit Contract mutation
  • CONTRACT_APPROVE_CONTRACT_RESP, receiving a result of approve Contract mutation
  • CONTRACT_APPROVE_CONTRACT_BULK_RESP, receiving a result of approve Contract bulk mutation
  • CONTRACT_COUNTER_CONTRACT_RESP, receiving a result of counter Contract mutation
  • CONTRACT_COUNTER_CONTRACT_BULK_RESP, receiving a result of counter Contract bulk mutation
  • CONTRACT_AMEND_CONTRACT_RESP, receiving a result of amend Contract mutation
  • CONTRACT_CREATE_CONTRACTDETAILS_RESP, receiving a result of create Contract Details mutation
  • CONTRACT_UPDATE_CONTRACTDETAILS_RESP, receiving a result of update Contract Details mutation
  • CONTRACT_DELETE_CONTRACTDETAILS_RESP, receiving a result of delete Contract Details mutation

Other Modules Listened Redux Actions

None

Other Modules Redux State Bindings

  • state.core.user, to access user info (rights,...)
  • state.policyHolder, to retrieve Policy Holders and Policy Holder Insurees for their respective pickers

Configurations Options

  • contractForm.updatable: list of states of an updatable Contract (Default: [1,2,11])
  • contractForm.approvable: list of states of an approvable Contract (Default: [4])
  • contractFilter.contractStateOptions: options for ContractStatePicker component (Default:
    [{
        "value": "1",
        "label": {
            "fr": "Demande d'information",
            "en": "Request for information"
        }
    }, {
        "value": "2",
        "label": {
            "fr": "Brouillon",
            "en": "Draft"
        }
    }, {
        "value": "3",
        "label": {
            "fr": "Offre",
            "en": "Offer"
        }
    }, {
        "value": "4",
        "label": {
            "fr": "En negociation",
            "en": "Negotiable"
        }
    }, {
        "value": "5",
        "label": {
            "fr": "Apprové",
            "en": "Executable"
        }
    }, {
        "value": "6",
        "label": {
            "fr": "Addendum",
            "en": "Addendum"
        }
    }, {
        "value": "7",
        "label": {
            "fr": "En cours",
            "en": "Effective"
        }
    }, {
        "value": "8",
        "label": {
            "fr": "Appliqué",
            "en": "Executed"
        }
    }, {
        "value": "9",
        "label": {
            "fr": "Suspendu",
            "en": "Disputed"
        }
    }, {
        "value": "10",
        "label": {
            "fr": "Terminé",
            "en": "Terminated"
        }
    }, {
        "value": "11",
        "label": {
            "fr": "Révision demandé",
            "en": "Counter"
        }
    }]

)