Idx Package - Sitetheory/stratus GitHub Wiki

Home / Packages


npm version

AngularJS idx/property Service and Components bundle to be used as an add on to Stratus

Usage

Stratus HTML Components enabled

  • <stratus-idx-property-list></stratus-idx-property-list>
  • <stratus-idx-property-details></stratus-idx-property-details>
  • <stratus-idx-property-search></stratus-idx-property-search>
  • <stratus-idx-member-list></stratus-idx-member-list>
  • <stratus-idx-member-details></stratus-idx-member-details>
  • <stratus-idx-member-search></stratus-idx-member-search>

See Idx Package Usage for detailed instructions on usage and parameters.


Frameworks & Libraries

Installation

Within the project directory of Stratus

Either Yarn install

  • yarn add @stratusjs/idx

Or NPM install

  • npm install @stratusjs/idx

And include the the library paths into your stratus config.js such as

boot.configuration.paths = {
  // Idx Package
  '@stratusjs/idx/*': boot.deployment + '@stratusjs/idx/src/*' + boot.suffix,

  // Components (Until upgraded to Angular 8+)
  'stratus.components.idxPropertyDetails': boot.deployment + '@stratusjs/idx/src/property/details.component' + boot.suffix,
  'stratus.components.idxPropertyDetailsSubSection': boot.deployment + '@stratusjs/idx/src/property/details-sub-section.component' + boot.suffix,
  'stratus.components.idxPropertyList': boot.deployment + '@stratusjs/idx/src/property/list.component' + boot.suffix,
  'stratus.components.idxPropertySearch': boot.deployment + '@stratusjs/idx/src/property/search.component' + boot.suffix,
  'stratus.components.idxMemberList': boot.deployment + '@stratusjs/idx/src/member/list.component' + boot.suffix,
  'stratus.components.idxMemberDetails': boot.deployment + '@stratusjs/idx/src/member/details.component' + boot.suffix,
  'stratus.components.idxMemberSearch': boot.deployment + '@stratusjs/idx/src/member/search.component' + boot.suffix,
}

Dependencies

The following dependencies will be installed