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

library-detail-document-dummy

v0.0.2

Published

library-detail-document-mse merupakan component yang dapat digunakan menampilkan .

Downloads

4

Readme

library-detail-document-mse

library-detail-document-mse merupakan component yang dapat digunakan menampilkan .

History versi

Features

  • details-data-terminal
  • details-dokument-template
  • details-dual-col-template
  • details-fasilitas-cicilan-nol-template
  • details-faasilitas-default0template
  • details-fasilitas-e-commerce-template
  • details-simple-template

Tech

Untuk menggunakan library-detail-document-dummy kamu membutuhkan:

And of course Dillinger itself is open source with a public repository on GitHub.

Installation

Dillinger requires Node.js v10+ to run.

Install the dependencies and devDependencies and start the server.

cd project
npm i library-detail-document-dummy

Development

  • update html kamu dengan :
<mse-details-data-terminal-template [dataOutlet]="data"></mse-details-data-terminal-template>
<app-details-dokumen-template [dataList]="data.data.merchantDocuments"></app-details-dokumen-template>
<mse-details-dual-col-template  [title]="'User E-commerce'" 
                                [detailsListLeft]="detailsUserEcommerceLeft" 
                                [detailsListRight]="detailsUserEcommerceRight" 
                                [data]="data">
</mse-details-dual-col-template>
<mse-details-fasilitas-cicilan-nol-template [data]="data.oFacilities">
</mse-details-fasilitas-cicilan-nol-template>
<mse-details-fasilitas-default-template [category]="'outlet'" [data]="data.oFacilities">
</mse-details-fasilitas-default-template>
<mse-details-fasilitas-e-commerce-template [dataList]="data.oFacilities">
</mse-details-fasilitas-e-commerce-template>
<mse-details-simple-template [title]="'Data Pameran'" [detailsList]="detailsOutletNamaPameran" [data]="data">
</mse-details-simple-template>
<app-detail-controller *ngFor="let detail of detailsListPemilik" [detail]="detail" [data]="dataPemilik"></app-detail-controller>
  • Typescript
  detailsOutletEcommerce : DetailContent[] =
  [
    {
      jsonName : 'mid',
      label : 'MID',
      type : 'default'
    },
    {
      jsonName : 'jenisOutlet',
      label : 'Jenis Outlet',
      altValue : {'jenisOutlet' : {'ecomm' : 'e-Commerce'}},
      type : 'default'
    },
    {
      jsonName : 'ecommType',
      label : 'Tipe',
      altValue : {'ecommType' : {'pg' : 'Payment Gateway'}},
      type : 'default'
    },
    {
      jsonName : 'name',
      label : 'Nama Outlet',
      type : 'default'
    },
    {
      jsonName : ['mccCode', 'mccName'],
      label : 'Jenis Usaha',
      seperator : ' - ',
      type : 'default'
    },
    {
      jsonName : 'address1',
      label : 'Alamat 1',
      type : 'default'
    },
    {
      jsonName : 'address2',
      label : 'Alamat 2',
      type : 'default'
    },
    {
      type : 'address'
    },
    {
      jsonName : 'phone',
      label : 'Telepon / HP',
      type : 'default'
    },
    {
      jsonName : 'email',
      label : 'Email',
      type : 'default'
    },
    {
      jsonName : 'tipeLokasiUsahaName',
      label : 'Lokasi Usaha',
      type : 'default'
    },
    {
      jsonName : 'ecommIntegration',
      altValue : {'ecommIntegration' : {'0' : '3 Party', '1' : '3 Party dan 2.5 Party', '2' : '3 Party dan 2 Party'}},
      label : 'Fasilitas e-Commerce',
      type : 'children',
      children :
      {
        '0' : 
        [
          {
            jsonName : 'ecommCallbackUrl',
            label : '3 Party Return URL',
            colLabel : 5,
            type : 'default'
          },
          {
            jsonName : 'ecommBackendUrl',
            label : '3 Party Back End URL',
            colLabel : 5,
            type : 'default'
          },
        ],
        '1' : 
        [
          {
            jsonName : 'ecommCallbackUrl',
            label : '3 Party Return URL',
            colLabel : 5,
            type : 'default'
          },
          {
            jsonName : 'ecommBackendUrl',
            label : '3 Party Back End URL',
            colLabel : 5,
            type : 'default'
          },
          {
            jsonName : 'ecommIntegrationReturnUrl',
            label : '2.5 Party Return URL',
            colLabel : 5,
            type : 'default'
          },
          {
            jsonName : 'ecommIntegrationBackendUrl',
            label : '2.5 Party Back End URL',
            colLabel : 5,
            type : 'default'
          },
        ],
        '2' : 
        [
          {
            jsonName : 'ecommCallbackUrl',
            label : '3 Party Return URL',
            colLabel : 5,
            type : 'default'
          },
          {
            jsonName : 'ecommBackendUrl',
            label : '3 Party Back End URL',
            colLabel : 5,
            type : 'default'
          },
          {
            jsonName : 'ecommIntegrationReturnUrl',
            label : '2 Party Return URL',
            colLabel : 5,
            type : 'default'
          },
          {
            jsonName : 'ecommIntegrationBackendUrl',
            label : '2 Party Back End URL',
            colLabel : 5,
            type : 'default'
          },
        ]
      }
    },
    {
      jsonName : 'ecomm3Dsecure',
      altValue : {'ecomm3Dsecure' : {'0' : 'Non-3DS', '1' : '3DS/Partial', '2' : 'Full Autentication Only'}},
      label : '3d Secure',
      type : 'children',
      children :
      {
        '1' : 
        [
          {
            jsonName : 'ecommAmount3Dsecure',
            label : 'Minimum Amount',
            colLabel : 5,
            isNumber : {'ecommAmount3Dsecure' : true},
            type : 'default'
          },
        ]
      }
    },
    {
      jsonName : 'ecommWebUrl',
      label : 'Website Merchant',
      type : 'default'
    },
    {
      jsonName : 'ecommApps',
      label : 'Mobile Apps',
      type : 'default'
    },
    {
      jsonName : 'ecommFraud',
      label : 'Fraud Detection System',
      type : 'input-disabled',
      inputConfig : 
      {
        inputType : 'radio-children' ,
        option : 
        [
          {
            key : 'Ada',
            value : true
          },
          {
            key : 'Tidak',
            value : false
          }
        ]
      },
      children  :
      {
        'true' : 
        [
          {
            jsonName  : 'ecommFraudPspName',
            label : 'Nama PSP',
            type  : 'non-input-text'
          }
        ]
      }
    },
    {
      jsonName : 'ecommInventoryMngmt',
      label : 'Inventory Management',
      type : 'input-disabled',
      inputConfig : 
      {
        inputType : 'radio-children' ,
        option : 
        [
          {
            key : 'Ada',
            value : true
          },
          {
            key : 'Tidak',
            value : false
          }
        ]
      },
    },
    {
      jsonName : ['agentBankCode', 'agentBankName'],
      label : 'Agent Bank',
      seperator : ' - ',
      type : 'default'
    },
    {
      jsonName : 'ecommKlikpayName',
      label : 'Tampilan Nama Merchant di KlikPay',
      type : 'default'
    },
    {
      jsonName : 'ecommMutationName',
      label : 'Tampilan Nama Merchant di Mutasi Rekening',
      type : 'default'
    },
    {
      jsonName : ['merchantSettleCode', 'merchantSettleName'],
      label : 'Kode Settle',
      seperator : ' - ',
      type : 'default'
    },
    {
      jsonName : ['salesCode', 'salesName'],
      label : 'Kode Officer',
      seperator : ' - ',
      type : 'default'
    },
    {
      jsonName : 'memo',
      label : 'Memo',
      type : 'default'
    },
  ]

  detailsUserEcommerceLeft : DetailContent[] =
  [
    {
      label : '<div class="row mt-3"><div class="col"><span><strong>Super Admin</strong></span></div></div>',
      type : 'text-custom'
    },
    {
      type : 'border'
    },
    {
      jsonName : 'ecommSuperAdminName',
      label : 'Nama',
      type : 'default'
    },
    {
      jsonName : 'ecommSuperAdminPhone',
      label : 'Telp/HP',
      type : 'default'
    },
    {
      jsonName : 'ecommSuperAdminEmail',
      label : 'Email',
      type : 'default'
    },
    {
      label : '<div class="row mt-3"><div class="col"><span><strong>Secret Key Receiver</strong></span></div></div>',
      type : 'text-custom'
    },
    {
      type : 'border'
    },
    {
      jsonName : 'ecommKeyReceiverName',
      label : 'Nama',
      type : 'default'
    },
    {
      jsonName : 'ecommKeyReceiverPhone',
      label : 'Telp/HP',
      type : 'default'
    },
    {
      jsonName : 'ecommKeyReceiverEmail',
      label : 'Email',
      type : 'default'
    },
    {
      label : '<div class="row mt-3"><div class="col"><span><strong>Secret Password Receiver</strong></span></div></div>',
      type : 'text-custom'
    },
    {
      type : 'border'
    },
    {
      jsonName : 'ecommPassReceiverName',
      label : 'Nama',
      type : 'default'
    },
    {
      jsonName : 'ecommPassReceiverPhone',
      label : 'Telp/HP',
      type : 'default'
    },
    {
      jsonName : 'ecommPassReceiverEmail',
      label : 'Email',
      type : 'default'
    },
  ]

  detailsUserEcommerceRight : DetailContent[] =
  [
    {
      label : '<div class="row mt-3"><div class="col"><span><strong>Business and Complaint Handling</strong></span></div></div>',
      type : 'text-custom'
    },
    {
      type : 'border'
    },
    {
      jsonName : 'ecommBchName',
      label : 'Nama',
      type : 'default'
    },
    {
      jsonName : 'ecommBchPhone',
      label : 'Telp/HP',
      type : 'default'
    },
    {
      jsonName : 'ecommBchEmail',
      label : 'Email',
      type : 'default'
    },
    {
      label : '<div class="row mt-3"><div class="col"><span><strong>Project Manager</strong></span></div></div>',
      type : 'text-custom'
    },
    {
      type : 'border'
    },
    {
      jsonName : 'ecommPmName',
      label : 'Nama',
      type : 'default'
    },
    {
      jsonName : 'ecommPmPhone',
      label : 'Telp/HP',
      type : 'default'
    },
    {
      jsonName : 'ecommPmEmail',
      label : 'Email',
      type : 'default'
    },
    {
      label : '<div class="row mt-3"><div class="col"><span><strong>Fraud Handling</strong></span></div></div>',
      type : 'text-custom'
    },
    {
      type : 'border'
    },
    {
      jsonName : 'ecommFraudhandlingName',
      label : 'Nama',
      type : 'default'
    },
    {
      jsonName : 'ecommFraudhandlingPhone',
      label : 'Telp/HP',
      type : 'default'
    },
    {
      jsonName : 'ecommFraudhandlingEmail',
      label : 'Email',
      type : 'default'
    },
    
  ]
 detailsListPemilik : DetailContent[] =[
  {
      jsonName : 'name',
      label : 'Nama Pemilik',
      type : 'default'
    }
  ]

Note: parameter inputList dapat berubah-ubah tergantung dengan jenis kebutuhan.

  • Input Parameter dan definisi:
 detailsListPemilik : DetailContent[] =[
  {
      jsonName : String,
      label : String,
      type : String
    }
  ]

input Type parameter Details Controler

| Syntax | Description | | ----------- | ----------- | | default | Menampilkan text dalam bentuk text | | address | Menampilkan table alamat seperti keluarahan kodepos, kecamatan, kota, dan provinsi | | address-two | Menampilkan field untuk memilih inputan dalam bentuk dropdown | | multi-value | Menampilkan field untuk memilih inputan dalam bentuk dropdown | | sub-title | Menampilkan field untuk memilih inputan dalam bentuk dropdown | | border | Menampilkan field untuk memilih inputan dalam bentuk dropdown | | multi-json-label | Menampilkan field untuk memilih inputan dalam bentuk dropdown | | input-disabled | Menampilkan field untuk memilih inputan dalam bentuk dropdown | | text-custom | Menampilkan title dengan pilihan kalimat yang anda mau |